/* ============================================
   Greenside Grill — Custom Styles
   ============================================ */

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

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

.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

/* --- Section Labels --- */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #D4A03C;
    background: linear-gradient(135deg, rgba(212,160,60,0.1) 0%, rgba(212,160,60,0.05) 100%);
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(212,160,60,0.2);
}

.section-label-light {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #F2C95C;
    background: linear-gradient(135deg, rgba(242,201,92,0.15) 0%, rgba(242,201,92,0.05) 100%);
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(242,201,92,0.2);
}

/* --- Section Titles --- */
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 600;
    line-height: 1.15;
    color: #2D1C28;
    letter-spacing: -0.02em;
}

.section-title-light {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 600;
    line-height: 1.15;
    color: #F9F5F7;
    letter-spacing: -0.02em;
}

/* --- Buttons --- */
.btn-primary {
    background: linear-gradient(135deg, #6B4662 0%, #7B4F64 100%);
    color: #F9F5F7;
    border: none;
    border-radius: 9999px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(107, 70, 98, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4A2E44 0%, #6B4662 100%);
    box-shadow: 0 8px 25px rgba(107, 70, 98, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #6B4662;
    border: 2px solid #E8D5E0;
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #F9F5F7;
    border-color: #D4B5C8;
    color: #4A2E44;
}

/* --- Inputs --- */
.input-field {
    background: #F9F5F7;
    transition: all 0.2s ease;
}

.input-field:focus {
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(212, 160, 60, 0.15);
}

/* --- Feature Pills --- */
.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #F9F5F7;
    border: 1px solid #E8D5E0;
    border-radius: 9999px;
    font-size: 0.875rem;
    color: #6B4662;
    font-weight: 500;
    transition: all 0.2s ease;
}

.feature-pill:hover {
    background: #F3EBF0;
    border-color: #D4B5C8;
    transform: translateY(-1px);
}

/* --- Menu Cards --- */
.menu-card {
    background: #FFFFFF;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(45, 28, 40, 0.06);
    border: 1px solid rgba(232, 213, 224, 0.5);
    transition: all 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(45, 28, 40, 0.12);
}

.menu-card-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #D4A03C;
    background: linear-gradient(135deg, rgba(212,160,60,0.12) 0%, rgba(212,160,60,0.06) 100%);
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(45, 28, 40, 0.08);
}

.gallery-item:nth-child(1) { grid-column: span 1; }
.gallery-item:nth-child(2) { grid-column: span 1; }
.gallery-item:nth-child(3) { grid-column: span 1; }
.gallery-item:nth-child(4) { grid-column: span 1; }
.gallery-item:nth-child(5) { grid-column: span 1; }
.gallery-item:nth-child(6) { grid-column: span 1; }

/* --- Navbar --- */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #D4A03C, #EAB324);
    border-radius: 1px;
    transition: width 0.3s ease;
}

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

/* --- Mobile Menu --- */
.mobile-link {
    position: relative;
}

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

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

/* Hero animations (progressive enhancement via JS) */
.hero-content {
    opacity: 1;
    transform: none;
}

.hero-images {
    opacity: 1;
    transform: none;
}

.hero-deco {
    opacity: 1;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .animate-float {
        animation: none;
    }
    .menu-card-img img,
    .gallery-item img {
        transition: none;
    }
    .menu-card:hover .menu-card-img img,
    .gallery-item:hover img {
        transform: none;
    }
    .menu-card:hover,
    .btn-primary:hover,
    .btn-secondary:hover,
    .feature-pill:hover {
        transform: none;
    }
}

/* --- Scroll Reveal (progressive enhancement) --- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:nth-child(6) {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item:nth-child(6) {
        grid-column: span 1;
    }
}
