/* Custom Styles for Triple C Ranch */

:root {
    --color-navy: #1e3a5f;
    --color-navy-light: #2a4d75;
    --color-gold: #c5a059;
    --color-cream: #f9f7f2;
    --color-white: #ffffff;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--color-cream);
    color: var(--color-navy);
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Cormorant Garamond', serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-cream);
}
::-webkit-scrollbar-thumb {
    background: var(--color-navy);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Navbar Scroll State */
nav.scrolled {
    background-color: rgba(30, 58, 95, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Form Focus States */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 2px var(--color-gold);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.3s ease-in-out;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

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

/* Utility for text selection color */
::selection {
    background: var(--color-gold);
    color: var(--color-navy);
}
