/* Snowy Village Bellevue - Custom Styles */

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

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

::-webkit-scrollbar-track {
    background: #0d1b2a;
}

::-webkit-scrollbar-thumb {
    background: #c9a962;
    border-radius: 4px;
}

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

/* Selection Color */
::selection {
    background: rgba(201, 169, 98, 0.3);
    color: #f5f0e8;
}

/* Base Typography */
body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Navbar Styles */
#navbar {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

#navbar.scrolled {
    background: rgba(13, 27, 42, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu Animation */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu-open .mobile-link {
    animation: fadeInUp 0.4s ease forwards;
}

.mobile-menu-open .mobile-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu-open .mobile-link:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(4) { animation-delay: 0.25s; }
.mobile-menu-open .mobile-link:nth-child(5) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Menu Item Hover */
.menu-item {
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: translateX(8px);
}

.menu-item:hover h4 {
    color: #c9a962;
}

/* Card Hover Effects */
.group:hover .group-hover\:bg-snowy-gold\/20 {
    background-color: rgba(201, 169, 98, 0.2);
}

.group:hover .group-hover\:bg-snowy-teal\/30 {
    background-color: rgba(45, 143, 168, 0.3);
}

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

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

/* Print Styles */
@media print {
    #navbar,
    #mobile-menu-btn,
    .mobile-menu {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    a {
        color: black !important;
    }
}

/* Focus Styles for Accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #c9a962;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Loading State */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Gold Gradient Text */
.text-gold-gradient {
    background: linear-gradient(135deg, #d4b978 0%, #c9a962 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle Glow Effects */
.glow-gold {
    box-shadow: 0 0 40px rgba(201, 169, 98, 0.15);
}

.glow-teal {
    box-shadow: 0 0 40px rgba(26, 95, 122, 0.2);
}

/* Border Gradient Animation */
@keyframes borderGlow {
    0%, 100% {
        border-color: rgba(201, 169, 98, 0.2);
    }
    50% {
        border-color: rgba(201, 169, 98, 0.4);
    }
}

.border-glow-animate {
    animation: borderGlow 3s ease-in-out infinite;
}
