/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
    --color-bg: #f7f0e3;
    --color-cream-card: #f3ead9;
    --color-green: #5b6a3a;
    --color-green-dark: #4a5730;
    --color-orange: #d98a3d;
    --color-ink: #2b2a26;
    --color-ink-soft: #5c584f;
    --color-gold: #d9b675;
    --color-white: #ffffff;

    --font-display: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;

    --radius-card: 20px;
    --shadow-card: 0 18px 40px -18px rgba(43, 42, 38, 0.25);
    --transition-slide: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
    --color-content-bg: #eee2c9;
    --shadow-carousel: 0 24px 48px -14px rgba(30, 28, 20, 0.5);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;

    overflow-x: hidden;
    width: 100%;
}

body {
    margin: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-ink);
    
    
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Section
   ========================================================================== */
.menu-section {
    padding: 96px 0 88px;
    background: var(--color-bg);
    background: url("../images/FeaturedBg.png")  ;
}

/* ---- Header ---- */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-green);
}

.eyebrow i {
    font-size: 13px;
}

.section-title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.15;
    color: var(--color-ink);
}

.accent-italic {
    display: block;
    font-style: italic;
    font-weight: 600;
    color: var(--color-orange);
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 22px auto;
    color: var(--color-orange);
}

.divider-line {
    width: 46px;
    height: 1px;
    background: var(--color-gold);
}

.divider i {
    font-size: 10px;
}

.section-subtitle {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-ink-soft);
}

/* ==========================================================================
   Cards grid
   ========================================================================== */
.cards-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.category-card {
    position: relative;
    min-width: 0;
    background: var(--color-cream-card);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: visible;
    transition: box-shadow 0.3s ease;
}

.category-card:hover {
    box-shadow: 0 26px 50px -20px rgba(43, 42, 38, 0.35);
}

/* ---- Icon badge ---- */
.card-icon {
    position: absolute;
    top: -4%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: var(--color-green);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 3;
    box-shadow: 0 0 0 4px var(--color-cream-card), 0 0 0 6px var(--color-gold);
    transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.category-card:hover .card-icon,
.category-card:focus-within .card-icon {
    background: var(--color-orange);
    transform: translate(-50%, -50%) scale(1.12) rotate(-6deg);
    box-shadow: 0 0 0 4px var(--color-cream-card), 0 0 0 6px var(--color-orange);
}

/* ---- Carousel ---- */
.carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4;
    overflow: hidden;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    background: #ddd;
    box-shadow: var(--shadow-carousel);
}

.carousel::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(to top, rgba(20, 18, 12, 0.65), rgba(20, 18, 12, 0) 100%);
    pointer-events: none;
    z-index: 2;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transform: translateX(0%);
    transition: var(--transition-slide);
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- Prev / next buttons ---- */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(43, 42, 38, 0.45);
    color: var(--color-white);
    display: none;
    /* shown via responsive.css on touch breakpoints */
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 4;
    backdrop-filter: blur(2px);
    transition: background 0.25s ease;
}

.carousel-btn:hover {
    background: var(--color-green);
}

.carousel-prev {
    left: 12px;
}

.carousel-next {
    right: 12px;
}

/* ---- Dots ---- */
.carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    z-index: 4;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    transition: all 0.3s ease;
}

.carousel-dot.is-active {
    width: 18px;
    border-radius: 4px;
    background: var(--color-white);
}

/* ---- Card content ---- */
.card-content {
    text-align: center;
    padding: 26px 20px 32px;
    background: var(--color-content-bg);
    border-radius: 0 0 var(--radius-card) var(--radius-card);
}

.card-title {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 26px;
    color: var(--color-green-dark);
}

.mini-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 12px;
    color: var(--color-orange);
    font-size: 10px;
}

.mini-divider::before,
.mini-divider::after {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--color-gold);
}

.card-count {
    margin: 0;
    font-size: 15px;
    color: var(--color-ink-soft);
}

.count-number {
    font-weight: 700;
    color: var(--color-orange);
    font-size: 20px;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-wrap {
    text-align: center;
    margin-top: 56px;
}

.view-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 34px;
    border-radius: 999px;
    background: var(--color-green);
    color: var(--color-white);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: background 0.25s ease, transform 0.25s ease;
}

.view-menu-btn:hover {
    background: var(--color-green-dark);
    transform: translateY(-2px);
}

.view-menu-btn i {
    font-size: 13px;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
.carousel-btn:focus-visible,
.view-menu-btn:focus-visible {
    outline: 2px solid var(--color-orange);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .carousel-track {
        transition: none;
    }

    html {
        scroll-behavior: smooth;
        overflow-x: hidden;
        width: 100%;
    }
}