/* ============================================
   Cowtown Snow Balls — Custom Styles
   Classic & Elegant • Deep Navy + Warm Gold
   ============================================ */

/* Base & Typography */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', 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;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1226;
}
::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e6b030;
}

/* Navbar transition */
.nav-text {
    transition: color 0.3s ease;
}

/* Hero floating animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-5deg); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 7s ease-in-out infinite;
    animation-delay: 1s;
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* Feature items */
.feature-item {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.feature-item:last-child {
    border-right: none;
}

/* Menu cards */
.menu-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

/* Gallery items */
.gallery-item {
    cursor: pointer;
}
.gallery-item img {
    transition: transform 0.7s ease;
}

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

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

.mobile-link {
    position: relative;
}
.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: width 0.3s ease;
}
.mobile-link:hover::after {
    width: 100%;
}

/* Back to top button */
#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    translate: 0 0;
}

/* Selection color */
::selection {
    background: #d4af37;
    color: #0a1226;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav, #back-to-top, #mobile-menu-btn {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
}
