/* Custom Styles for Devils Thumb Ranch */

/* Color Palette */
:root {
    --plum-50: #faf5f7;
    --plum-100: #f3e8ed;
    --plum-200: #e8d0d9;
    --plum-300: #d4a9bc;
    --plum-400: #c07e96;
    --plum-500: #a85f78;
    --plum-600: #924862;
    --plum-700: #783951;
    --plum-800: #633045;
    --plum-900: #522839;
    --plum-950: #2d1520;
    
    --amber-50: #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;
    
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
}

/* Base Styles */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* Buttons */
.btn-primary {
    @apply bg-amber-500 text-plum-900 font-semibold px-6 py-3 rounded-full hover:bg-amber-400 transition-all duration-300 shadow-lg hover:shadow-xl;
}

.btn-secondary {
    @apply bg-white/10 text-white font-semibold px-6 py-3 rounded-full hover:bg-white/20 transition-all duration-300 border border-white/30;
}

/* Navbar */
.navbar {
    background: linear-gradient(to bottom, rgba(45, 21, 32, 0.95), transparent);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(45, 21, 32, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber-400);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-link {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--plum-900);
}

::-webkit-scrollbar-thumb {
    background: var(--amber-500);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--amber-400);
}

/* Image Hover Effects */
img {
    transition: transform 0.5s ease;
}

/* Form Styles */
input, select, textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e7e5e4;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-playfair {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
