/* ===== Variables & Reset ===== */
:root {
    --barley: #f5f0e8;
    --woodsmoke: #faf8f4;
    --linen: #f0e8da;
    --orange: #e8862d;
    --orange-dark: #c9712a;
    --orange-light: #fff4eb;
    --yellow: #f2c94c;
    --pink: #e87c9e;
    --cream: #fdf8f2;
    --white: #ffffff;
    --text: #2d2d2d;
    --text-light: #7a7168;
    --text-heading: #3a3027;
    --radius: 16px;
    --shadow: 0 4px 24px rgba(58, 48, 39, 0.06);
    --shadow-lg: 0 12px 40px rgba(58, 48, 39, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
}

/* ===== Typography ===== */
h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
    color: var(--text-heading);
}

.section-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 0.75rem;
}

/* ===== Navbar ===== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 3rem;
    background: var(--cream);
    border-bottom: 1px solid rgba(58, 48, 39, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo img {
    height: 52px;
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: var(--orange-light);
    color: var(--orange);
}

.nav-links a.active {
    background: var(--orange);
    color: var(--white);
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(232, 134, 45, 0.3);
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(232, 134, 45, 0.35);
}

/* ===== Menu Filter Bar ===== */
.menu-filter {
    position: sticky;
    top: 0;
    z-index: 95;
    background: var(--cream);
    border-bottom: 1px solid rgba(58, 48, 39, 0.08);
    padding: 0.85rem 2rem;
    box-shadow: 0 2px 8px rgba(58, 48, 39, 0.06);
}

.menu-filter-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.menu-filter-inner::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.15rem;
    border: 2px solid rgba(58, 48, 39, 0.1);
    border-radius: 50px;
    background: var(--white);
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}

.filter-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.filter-btn.active {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(232, 134, 45, 0.25);
}

/* ===== Hero (Home) ===== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    background: linear-gradient(170deg, var(--woodsmoke) 0%, var(--barley) 50%, var(--linen) 100%);
    text-align: center;
    padding: 6rem 2rem 8rem;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(232, 134, 45, 0.07) 0%, transparent 50%),
        radial-gradient(circle at 85% 20%, rgba(242, 201, 76, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(232, 124, 158, 0.04) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    max-width: 650px;
    animation: fadeInUp 1s ease-out;
}

.hero-logo {
    width: 480px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 8px 32px rgba(58, 48, 39, 0.15));
    animation: float 6s ease-in-out infinite;
}

.tagline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-style: italic;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
}

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

/* ===== About Section ===== */
.about {
    padding: 6rem 2rem;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto 4rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(58, 48, 39, 0.05);
}

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

.feature-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: var(--orange-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon {
    font-size: 1.75rem;
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Hours Section ===== */
.hours {
    background: var(--barley);
    color: var(--text);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
}

.hours-inner {
    max-width: 900px;
    margin: 0 auto;
}

.hours h2 {
    font-size: 2.25rem;
    margin-bottom: 2.5rem;
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.hours-card {
    background: var(--white);
    border: 1px solid rgba(58, 48, 39, 0.06);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: left;
    box-shadow: var(--shadow);
}

.hours-card h3 {
    font-size: 1.2rem;
    color: var(--orange);
    margin-bottom: 1.25rem;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(58, 48, 39, 0.06);
    font-size: 0.95rem;
    color: var(--text);
}

.hours-list li:last-child {
    border-bottom: none;
}

.address {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text);
}

.email-link {
    color: var(--orange);
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.email-link:hover {
    border-bottom-color: var(--orange);
}

/* ===== Menu Hero ===== */
.menu-hero {
    width: 100%;
    overflow: hidden;
}

.menu-hero-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

/* ===== Menu Section ===== */
.menu {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

.menu-category {
    margin-bottom: 3.5rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(58, 48, 39, 0.05);
    scroll-margin-top: 70px;
}

.menu-category.highlight {
    background: linear-gradient(135deg, var(--orange-light) 0%, #fff9f2 100%);
    border: 1px solid rgba(232, 134, 45, 0.15);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--barley);
}

.highlight .category-header {
    border-bottom-color: rgba(232, 134, 45, 0.2);
}

.category-icon {
    font-size: 1.75rem;
}

.category-header h2 {
    font-size: 1.6rem;
}

.menu-items {
    display: grid;
    gap: 0.25rem;
}

.menu-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(58, 48, 39, 0.05);
}

.menu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.menu-item.has-img {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-item.has-img .menu-item-info {
    flex: 1;
    min-width: 0;
}

.item-img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.menu-item-header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.item-name {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-heading);
    white-space: nowrap;
}

.item-dots {
    flex: 1;
    border-bottom: 2px dotted rgba(58, 48, 39, 0.15);
    min-width: 20px;
    margin-bottom: 4px;
}

.item-price {
    font-weight: 700;
    color: var(--orange);
    font-size: 1.05rem;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

.item-desc {
    color: var(--text-light);
    font-size: 0.88rem;
    padding-left: 0;
}

/* ===== Footer ===== */
footer {
    background: var(--linen);
    color: var(--text-light);
    padding: 3rem 2rem;
    border-top: 1px solid rgba(58, 48, 39, 0.06);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

footer p {
    font-size: 0.85rem;
}

/* ===== Lightbox ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.open {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    object-fit: contain;
    animation: lightboxIn 0.25s ease-out;
}

.lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

@keyframes lightboxIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.item-img {
    cursor: pointer;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1.5rem;
    }

    .nav-logo img {
        height: 42px;
    }

    .hero {
        min-height: 75vh;
        padding: 5rem 1.5rem 6rem;
    }

    .hero-logo {
        width: 340px;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .about {
        padding: 4rem 1.5rem;
    }

    .about h2 {
        font-size: 2rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

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

    .menu-hero-img {
        height: 200px;
    }

    .menu {
        padding: 2.5rem 1rem 4rem;
    }

    .menu-category {
        padding: 1.75rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .nav-links a {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .hero-logo {
        width: 260px;
    }

    .btn-primary {
        padding: 0.85rem 2rem;
        font-size: 0.9rem;
    }
}
