:root {
    /* Warm, rustic palette matching banner */
    --bg-cream: #f5f0e1;
    --bg-tan: #e8dcc8;
    --bg-card: #ffffff;
    --text-primary: #2d2a24;
    --text-secondary: #6b6560;
    --accent: #2e7d32;
    --accent-dark: #1b5e20;
    --highlight: #e85d04;
    --border-color: #d4c9b5;
    --gold: #c9a55c;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 30px rgba(232, 93, 4, 0.4);
    --radius: 20px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-cream);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ==================== WOOD TEXTURE BACKGROUND ==================== */
.wood-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('pngtree-graphic-wood-texture-background-illustration-vector-png-image_7098160.png');
    background-repeat: repeat;
    background-size: 600px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

/* ==================== SCATTERED LINE ART DECORATIONS ==================== */
.deco {
    position: fixed;
    pointer-events: none;
    z-index: 1;
    opacity: 0.08;
}

.deco-1 {
    top: 3%;
    left: 2%;
    width: 200px;
    transform: rotate(-25deg);
}

.deco-2 {
    top: 15%;
    right: 3%;
    width: 180px;
    transform: rotate(15deg);
}

.deco-3 {
    top: 45%;
    left: -2%;
    width: 220px;
    transform: rotate(30deg);
}

.deco-4 {
    top: 55%;
    right: -3%;
    width: 200px;
    transform: rotate(-20deg);
}

.deco-5 {
    bottom: 25%;
    left: 5%;
    width: 160px;
    transform: rotate(10deg);
}

.deco-6 {
    bottom: 5%;
    right: 5%;
    width: 180px;
    transform: rotate(-35deg);
}

/* ==================== FLOATING CTA ==================== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--highlight), #ff7043);
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-glow), var(--shadow-hover);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-cta:hover {
    transform: scale(1.05);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: var(--shadow-glow), var(--shadow-hover);
    }

    50% {
        box-shadow: 0 0 50px rgba(232, 93, 4, 0.6), var(--shadow-hover);
    }
}

.floating-cta svg {
    animation: ring 1.5s ease-in-out infinite;
}

@keyframes ring {

    0%,
    100% {
        transform: rotate(0);
    }

    10%,
    30% {
        transform: rotate(-10deg);
    }

    20%,
    40% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(0);
    }
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background: linear-gradient(180deg, var(--bg-tan) 0%, var(--bg-cream) 100%);
    border-bottom: 4px solid var(--accent-dark);
    z-index: 2;
    overflow: hidden;
}

.hero-cabin {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 120px;
    filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.1));
    z-index: 10;
}

.hero-logo {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 100px;
    filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.1));
    z-index: 10;
}

.hero-content {
    text-align: center;
    z-index: 2;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-primary);
    text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.slogan {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.8rem;
    color: var(--gold);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--highlight), #ff7043);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

.cta-button-white {
    background: white;
    color: var(--accent);
}

.cta-button-white:hover {
    background: var(--gold);
    color: var(--text-primary);
}

/* ==================== PIZZA GALLERY ==================== */
.pizza-gallery {
    padding: 4rem 2rem;
    position: relative;
    z-index: 2;
    background: transparent;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.gallery-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    width: 220px;
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.1) rotate(-5deg);
}

.gallery-item img {
    width: 100%;
    filter: drop-shadow(5px 10px 20px rgba(0, 0, 0, 0.25));
}

.gallery-label {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== STICKY NAVIGATION ==================== */
#category-nav-container {
    position: sticky;
    top: 0;
    background: rgba(245, 240, 225, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 2px solid var(--border-color);
    border-top: 2px solid var(--border-color);
    padding: 1rem 0;
}

#category-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0 1rem;
    scrollbar-width: none;
}

#category-nav::-webkit-scrollbar {
    display: none;
}

.nav-btn {
    background: transparent;
    border: 2px solid transparent;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-btn:hover {
    color: var(--accent);
    background: rgba(46, 125, 50, 0.1);
}

.nav-btn.active {
    background: var(--accent);
    color: white;
}

/* ==================== MENU LAYOUT ==================== */
#menu-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 2;
}

.category-section {
    margin-bottom: 4rem;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 3rem 0 2rem;
    color: var(--text-primary);
    text-align: center;
}

.category-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--gold));
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==================== MENU ITEM CARD ==================== */
.menu-item {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-soft);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), var(--gold));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.menu-item:hover::before {
    opacity: 1;
}

.item-content {
    flex: 1;
    margin-bottom: 1rem;
}

.item-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.item-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
}

/* ==================== PRICING ==================== */
.price-container {
    border-top: 2px dashed var(--border-color);
    padding-top: 1rem;
}

.single-price {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--highlight);
    text-align: right;
}

.price-grid {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.price-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-tan);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    min-width: 70px;
    border: 1px solid var(--border-color);
}

.p-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 1px;
}

.p-val {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    padding: 5rem 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.cta-cabin {
    position: absolute;
    left: 5%;
    bottom: 10%;
    width: 150px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
    opacity: 0.85;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.cta-logo {
    width: 150px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.cta-text-block {
    text-align: center;
    color: white;
}

.cta-text-block h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cta-text-block p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 2;
}

.footer-cabin {
    width: 100px;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.3));
    opacity: 0.9;
    margin-bottom: 1rem;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.footer-phone a {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
}

.footer-phone a:hover {
    color: var(--gold);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {

    .hero-cabin,
    .hero-logo {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .slogan {
        font-size: 1.3rem;
    }

    .gallery-item {
        width: 150px;
    }

    .deco {
        opacity: 0.05;
    }
}

@media (max-width: 600px) {
    .floating-cta .cta-text {
        display: none;
    }

    .floating-cta {
        padding: 18px;
        border-radius: 50%;
    }

    .gallery-item {
        width: 120px;
    }

    .gallery-label {
        font-size: 0.8rem;
    }
}