/* Loving Le' Vineyard — Custom Styles */

:root {
    --navy: #13203e;
    --navy-light: #2d4678;
    --gold: #dbaa2e;
    --gold-light: #f4e0a8;
    --cream: #faf8f5;
}

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

/* Selection color */
::selection {
    background: rgba(219, 170, 46, 0.2);
    color: var(--navy);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--cream);
}
::-webkit-scrollbar-thumb {
    background: var(--navy-light);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--navy);
}

/* Image reveal animation */
.img-reveal {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s cubic-bezier(0.77, 0, 0.175, 1);
}
.img-reveal.revealed {
    clip-path: inset(0 0 0 0);
}

/* Fade-in animation for below-fold content */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: no-preference) {
    .img-reveal {
        clip-path: inset(0 0 0 0);
    }
    .fade-in {
        opacity: 1;
        transform: none;
    }
}

/* Gold line accent */
.gold-line {
    width: 60px;
    height: 1px;
    background: var(--gold);
}

/* Card hover effect */
.card-hover {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(19, 32, 62, 0.12);
}

/* Thin decorative line */
.thin-line {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

/* Mobile menu animations */
.mobile-link {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-menu-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu-open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu-open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu-open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* Nav color transitions */
.nav-color {
    transition: color 0.3s ease;
}
