/* Custom Styles for South Fork Ranch */

:root {
    --color-plum-50: #faf5f7;
    --color-plum-100: #f5eef2;
    --color-plum-200: #eadde6;
    --color-plum-300: #dbbecf;
    --color-plum-400: #c493b0;
    --color-plum-500: #af7193;
    --color-plum-600: #9a5579;
    --color-plum-700: #834464;
    --color-plum-800: #6c3853;
    --color-plum-900: #5a3046;
    --color-plum-950: #2d1b2e;
    
    --color-amber-400: #fbbf24;
    --color-amber-500: #f59e0b;
    --color-amber-600: #d97706;
}

/* Custom Tailwind Config */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Color Classes */
.bg-plum-900\/30 {
    background-color: rgba(90, 48, 70, 0.3);
}

.bg-plum-900\/60 {
    background-color: rgba(90, 48, 70, 0.6);
}

.bg-plum-950 {
    background-color: var(--color-plum-950);
}

.border-plum-700\/50 {
    border-color: rgba(131, 68, 100, 0.5);
}

.text-plum-500 {
    color: var(--color-plum-500);
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

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

::-webkit-scrollbar-track {
    background: #1c1917;
}

::-webkit-scrollbar-thumb {
    background: #d97706;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f59e0b;
}

/* Navbar Transition */
#navbar.scrolled {
    background-color: rgba(28, 25, 23, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu Transitions */
#mobile-menu.active {
    display: flex;
    opacity: 1;
}

#mobile-menu.hidden {
    display: none;
    opacity: 0;
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

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

/* Focus States for Accessibility */
a:focus, button:focus {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

/* 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;
    }
    
    .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}
