/* ========================================
   Celebrity's Sports and Grill — Styles
   Emerald + Cream Palette
   ======================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---- Navbar ---- */
.nav-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 254, 247, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(6, 95, 70, 0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-scrolled .nav-link {
    color: #065f46;
}

.nav-link {
    color: #047857;
    transition: background 0.2s ease;
}

.nav-link:hover {
    background: rgba(6, 95, 70, 0.08);
}

/* ---- Mobile Menu ---- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: rgba(2, 44, 34, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: flex-start;
}

.mobile-menu.open {
    transform: translateY(0);
}

.mobile-link {
    color: #d9f99d !important;
    transition: background 0.2s ease;
}

.mobile-link:hover {
    background: rgba(217, 249, 157, 0.1);
}

/* ---- Hero ---- */
.hero-section {
    position: relative;
    min-height: 100vh;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/3465604/pexels-photo-3465604.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    transform: scale(1.02);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.02); }
    to { transform: scale(1.08); }
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 44, 34, 0.88) 0%,
        rgba(6, 78, 59, 0.80) 40%,
        rgba(4, 120, 87, 0.70) 100%
    );
}

.hero-content {
    animation: heroFadeIn 1s ease-out both;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    animation: heroFadeIn 1s ease-out 0.2s both;
}

.hero-content h1 {
    animation: heroFadeIn 1s ease-out 0.4s both;
}

.hero-content p {
    animation: heroFadeIn 1s ease-out 0.6s both;
}

.hero-content > div > div:last-child {
    animation: heroFadeIn 1s ease-out 0.8s both;
}

.hero-wave {
    line-height: 0;
}

/* ---- Scroll Reveal ---- */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up {
        opacity: 0;
        transform: translateY(40px);
    }
    .reveal-left {
        opacity: 0;
        transform: translateX(-40px);
    }
    .reveal-right {
        opacity: 0;
        transform: translateX(40px);
    }

    .reveal-up.visible,
    .reveal-left.visible,
    .reveal-right.visible {
        opacity: 1;
        transform: none;
    }
}

/* ---- Buttons ---- */
a {
    text-decoration: none;
}

/* ---- Utility ---- */
::selection {
    background: #a7f3d0;
    color: #064e3b;
}

/* ---- Responsive tweaks ---- */
@media (max-width: 640px) {
    html {
        scroll-padding-top: 70px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.125rem;
    }
}
