/* ============================================
   GLACIER GRILL & PIZZA — Brand Styles
   Palette: Burgundy (#7B1E3A) + Blush (#F4A8B8)
   ============================================ */

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

:root {
    --burgundy: #7B1E3A;
    --burgundy-dark: #5C1529;
    --burgundy-deeper: #3D0F1C;
    --blush: #F4A8B8;
    --blush-light: #FDDFE8;
    --blush-pale: #FFF0F4;
    --cream: #FFF8F9;
    --dark: #1A0A10;
    --dark-soft: #2D1520;
    --text: #2D1520;
    --text-muted: #6B4A5A;
    --white: #FFFFFF;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --shadow: 0 4px 24px rgba(123, 30, 58, 0.12);
    --shadow-lg: 0 12px 48px rgba(123, 30, 58, 0.18);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Work Sans', sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   GEOMETRIC BACKGROUND
   ============================================ */
.geometric-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--blush);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--burgundy);
    opacity: 0.15;
    bottom: 20%;
    left: -100px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--blush-light);
    top: 50%;
    right: 10%;
    opacity: 0.5;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: var(--burgundy);
    opacity: 0.1;
    top: 60%;
    left: 30%;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 248, 249, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(123, 30, 58, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 248, 249, 0.95);
    box-shadow: 0 2px 20px rgba(123, 30, 58, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--burgundy);
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--burgundy);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--burgundy);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--burgundy);
    padding: 8px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}

.btn-primary:hover {
    background: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--burgundy);
    transform: translateY(-2px);
}

.btn-nav {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
    padding: 10px 22px;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--burgundy-deeper) 0%, var(--burgundy) 40%, var(--blush) 100%);
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.h-shape {
    position: absolute;
    border-radius: var(--radius);
}

.hs-1 {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.06);
    top: 10%;
    left: -5%;
    transform: rotate(15deg);
    border-radius: var(--radius-lg);
}

.hs-2 {
    width: 200px;
    height: 200px;
    background: rgba(244, 168, 184, 0.2);
    top: 20%;
    right: 5%;
    border-radius: 50%;
}

.hs-3 {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    bottom: 20%;
    left: 10%;
    transform: rotate(-30deg);
}

.hs-4 {
    width: 100px;
    height: 100px;
    background: rgba(244, 168, 184, 0.15);
    bottom: 30%;
    right: 15%;
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--blush-light);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--blush);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-num {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--white);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    color: var(--cream);
}

.hero-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--burgundy);
    background: var(--blush-pale);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.accent {
    color: var(--burgundy);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   MENU SECTION
   ============================================ */
.menu-section {
    padding: 100px 0;
    background: var(--cream);
}

.menu-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.menu-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(123, 30, 58, 0.06);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.menu-card--grill .card-badge { background: var(--burgundy); }
.menu-card--pizza .card-badge { background: #C0392B; }
.menu-card--sides .card-badge { background: #D4A017; }

.card-visual {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-card:hover .card-visual img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--burgundy);
    color: var(--white);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border-radius: 50px;
}

.card-content {
    padding: 28px;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--dark);
}

.card-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-content li {
    font-size: 0.92rem;
    color: var(--text-muted);
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}

.card-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--blush);
    border-radius: 50%;
}

.menu-note {
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--blush-pale);
    border-radius: 50%;
    opacity: 0.6;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
}

.about-visuals {
    position: relative;
}

.about-img-stack {
    position: relative;
    height: 580px;
}

.about-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: absolute;
}

.about-img--main {
    width: 75%;
    height: 420px;
    top: 0;
    left: 0;
}

.about-img--accent {
    width: 55%;
    height: 260px;
    bottom: 0;
    right: 0;
    border: 6px solid var(--white);
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-accent-box {
    position: absolute;
    bottom: 180px;
    left: -20px;
    background: var(--burgundy);
    color: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-accent-box .accent-num {
    display: block;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.7;
}

.about-accent-box .accent-num-lg {
    display: block;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
}

.about-content {
    position: relative;
}

.about-text {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--blush-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
}

.feature-item strong {
    display: block;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 2px;
}

.feature-item span {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
    padding: 100px 0;
    background: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item--large {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    height: 340px;
}

.gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
    height: 220px;
}

.gallery-item--wide {
    grid-column: 1 / -1;
    height: 260px;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: linear-gradient(transparent, rgba(26, 10, 16, 0.7));
    color: var(--white);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* ============================================
   VISIT SECTION
   ============================================ */
.visit-section {
    padding: 100px 0;
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.visit-section::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: var(--burgundy);
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(100px);
}

.visit-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--blush);
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(80px);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
    position: relative;
}

.visit-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.visit-info .section-tag {
    background: rgba(244, 168, 184, 0.15);
    color: var(--blush);
    align-self: flex-start;
}

.visit-info .section-title {
    color: var(--white);
    text-align: left;
}

.visit-info .section-title .accent {
    color: var(--blush);
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 20px 24px;
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(244, 168, 184, 0.3);
    transform: translateX(4px);
}

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--burgundy);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.contact-card strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--blush);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.contact-card a {
    color: var(--blush);
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--white);
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 400px;
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(255, 255, 255, 0.08);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark-soft);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links strong,
.footer-contact strong {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blush);
    margin-bottom: 4px;
}

.footer-links a {
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--blush);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 12px;
}

/* ============================================
   MOBILE NAV
   ============================================ */
.nav-menu {
    display: flex;
}

.nav-toggle {
    display: none;
}

@media (max-width: 900px) {
    .menu-categories {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-img-stack {
        height: 400px;
        max-width: 400px;
        margin: 0 auto;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item--large {
        grid-column: 1 / -1;
        grid-row: auto;
        height: 280px;
    }

    .gallery-item--wide {
        grid-column: 1 / -1;
    }

    .visit-grid {
        grid-template-columns: 1fr;
    }

    .visit-map {
        min-height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 24px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 998;
    }

    .nav-overlay.active {
        display: block;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 100px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item--large,
    .gallery-item--wide {
        grid-column: auto;
        height: 240px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .about-img-stack {
        height: 320px;
    }

    .about-img--main {
        height: 300px;
    }

    .about-img--accent {
        height: 200px;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .menu-card,
    .gallery-item,
    .contact-card,
    .feature-item {
        transition: var(--transition);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}
