/* -------------------------------------------------------------
   DESIGN SYSTEM & CUSTOM VARIABLES
------------------------------------------------------------- */
:root {
    /* Brand Harmonious Colors */
    --primary-red: #d02828;
    --primary-red-hover: #a81a1a;
    --primary-orange: #e05e36;
    --primary-yellow: #eed149;
    --primary-green: #95b353;
    
    /* Neutral Shades */
    --color-bg-base: #fdfcf7;
    --color-text: #252525;
    --color-text-muted: #5a5a5a;
    --color-card-bg: #ffffff;
    --color-border: #eae8df;
    
    /* Typography Tokens */
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Shadows & Effects */
    --box-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --box-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
    --box-shadow-lg: 0 20px 50px rgba(208, 40, 40, 0.08);
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Spacing & Borders */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 32px;
}

/* -------------------------------------------------------------
   RESET & BASE STYLES
------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--color-bg-base);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

h1, h2, h3, h4 {
    font-family: var(--font-headings);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* -------------------------------------------------------------
   BACKGROUND DESIGN (ORGANIC SHAPES & DOTS)
------------------------------------------------------------- */
.blob {
    position: absolute;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    transition: var(--transition-smooth);
}

/* Recreating the organic menu card shapes */
.blob-yellow {
    width: 600px;
    height: 600px;
    background-color: var(--primary-yellow);
    border-radius: 43% 57% 70% 30% / 45% 45% 55% 55%;
    top: -150px;
    right: -100px;
}

.blob-green {
    width: 500px;
    height: 500px;
    background-color: var(--primary-green);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    top: 50%;
    left: -200px;
}

.blob-orange {
    width: 550px;
    height: 550px;
    background-color: var(--primary-orange);
    border-radius: 50% 50% 70% 30% / 30% 60% 40% 70%;
    bottom: -100px;
    right: -150px;
}

/* Recreating the red paint splatter dots from the menu card */
.dots-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    background-image: radial-gradient(rgba(208, 40, 40, 0.12) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    pointer-events: none;
}

/* -------------------------------------------------------------
   COMMON COMPONENTS: BUTTONS
------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-headings);
    font-weight: 700;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-red);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(208, 40, 40, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(208, 40, 40, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background-color: rgba(208, 40, 40, 0.05);
    transform: translateY(-3px);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: var(--border-radius-sm);
}

.btn-md {
    padding: 12px 24px;
    font-size: 1rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* -------------------------------------------------------------
   HEADER SECTION
------------------------------------------------------------- */
.main-header {
    background-color: rgba(253, 252, 247, 0.85);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: block;
}

.header-logo {
    height: 64px;
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 100%;
    width: auto;
    border-radius: 6px;
}

.nav-bar {
    display: flex;
    gap: 32px;
}

.nav-item {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-text-muted);
    position: relative;
    padding: 6px 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-red);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-item:hover {
    color: var(--primary-red);
}

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

/* -------------------------------------------------------------
   HERO SECTION
------------------------------------------------------------- */
.hero-section {
    max-width: 900px;
    margin: 60px auto 40px auto;
    padding: 0 24px;
    text-align: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid var(--color-border);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 24px;
    box-shadow: var(--box-shadow-sm);
}

.status-badge.open {
    color: var(--primary-green);
    border-color: rgba(149, 179, 83, 0.4);
}

.status-badge.open .status-dot {
    background-color: var(--primary-green);
    box-shadow: 0 0 10px var(--primary-green);
}

.status-badge.closed {
    color: var(--primary-red);
    border-color: rgba(208, 40, 40, 0.3);
}

.status-badge.closed .status-dot {
    background-color: var(--primary-red);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-text-muted);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--color-text);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    margin-bottom: 36px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* -------------------------------------------------------------
   PROMO DEL GIOVEDÌ SECTION
------------------------------------------------------------- */
.promo-section {
    padding: 40px 0;
}

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

.promo-card {
    background-color: #ffffff;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: var(--box-shadow-md);
    overflow: hidden;
    position: relative;
    padding: 40px;
    transition: var(--transition-smooth);
}

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

/* Curved yellow aesthetic border inspired by the menu */
.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--primary-green), var(--primary-orange));
}

.promo-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background-color: var(--primary-yellow);
    color: var(--color-text);
    font-family: var(--font-headings);
    font-weight: 900;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.promo-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.promo-text-column h2 {
    font-size: 2.2rem;
    color: var(--primary-orange);
    margin-bottom: 12px;
}

.promo-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.promo-price-bubble {
    display: inline-flex;
    flex-direction: column;
    background-color: rgba(149, 179, 83, 0.12);
    border: 1px solid rgba(149, 179, 83, 0.3);
    padding: 12px 24px;
    border-radius: var(--border-radius-md);
    margin-bottom: 20px;
}

.promo-price-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-green);
    letter-spacing: 0.05em;
}

.promo-price-val {
    font-family: var(--font-headings);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-green);
}

.promo-info {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.promo-graphic-column {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.promo-pizza-icon {
    font-size: 7rem;
    color: rgba(224, 94, 54, 0.15);
    display: flex;
    gap: 20px;
}

/* -------------------------------------------------------------
   PIZZA SCROLL CAROUSEL SECTION
------------------------------------------------------------- */
.pizza-carousel-section {
    padding: 40px 0;
}

.pizza-carousel-container {
    position: relative;
    width: 100%;
}

.pizza-carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 10px 4px 24px 4px;
    scrollbar-width: thin; /* Show thin scrollbar on desktop */
    scrollbar-color: var(--primary-orange) var(--color-border);
}

/* Custom scrollbar for Webkit browsers (Chrome, Safari, Edge) */
.pizza-carousel-track::-webkit-scrollbar {
    height: 8px;
}

.pizza-carousel-track::-webkit-scrollbar-track {
    background: var(--color-border);
    border-radius: 10px;
}

.pizza-carousel-track::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 10px;
}

.pizza-carousel-track::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red);
}

.pizza-carousel-card {
    flex: 0 0 300px; /* Exact card width */
    scroll-snap-align: start;
    height: 360px;
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition-smooth);
}

.pizza-carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    display: block;
}

.pizza-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0) 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition-smooth);
}

.pizza-card-price {
    background-color: var(--primary-red);
    color: #ffffff;
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 8px;
    box-shadow: 0 4px 10px rgba(208, 40, 40, 0.3);
}

.pizza-card-overlay h3 {
    font-family: var(--font-headings);
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
}

/* Animations and hover states */
.pizza-carousel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-md);
    border-color: rgba(224, 94, 54, 0.25);
}

.pizza-carousel-card:hover img {
    transform: scale(1.08);
}

.pizza-carousel-card:hover .pizza-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.45) 70%, rgba(0, 0, 0, 0.05) 100%);
}

.carousel-scroll-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
    opacity: 0.7;
    animation: pulse-opacity 2s infinite ease-in-out;
}

@keyframes pulse-opacity {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.carousel-scroll-hint i {
    color: var(--primary-orange);
}

/* -------------------------------------------------------------
   MENU SECTION
------------------------------------------------------------- */
.menu-section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* Responsive Sticky Menu Controls */
.menu-controls {
    background-color: rgba(253, 252, 247, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--color-border);
    padding: 20px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-sm);
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

#menu-search {
    width: 100%;
    padding: 16px 50px 16px 48px;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
    background-color: #ffffff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
    color: var(--color-text);
}

#menu-search:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 4px rgba(208, 40, 40, 0.08);
}

#clear-search {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

#clear-search:hover {
    color: var(--primary-red);
}

.category-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none; /* Hide scrollbar for clean style */
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 22px;
    border-radius: 50px;
    border: 1px solid var(--color-border);
    background-color: #ffffff;
    color: var(--color-text-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.tab-btn:hover {
    color: var(--color-text);
    border-color: var(--color-text-muted);
    background-color: #faf9f5;
}

.tab-btn.active {
    background-color: var(--primary-red);
    color: #ffffff;
    border-color: var(--primary-red);
    box-shadow: 0 4px 12px rgba(208, 40, 40, 0.15);
}

/* Dynamic Categories Colors when active to match the menu board */
.category-tabs .tab-btn[data-category="classiche"].active {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    box-shadow: 0 4px 12px rgba(224, 94, 54, 0.2);
}

.category-tabs .tab-btn[data-category="speciali"].active {
    background-color: var(--primary-yellow);
    border-color: var(--primary-yellow);
    color: var(--color-text);
    box-shadow: 0 4px 12px rgba(238, 209, 73, 0.2);
}

.category-tabs .tab-btn[data-category="bianche"].active {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    box-shadow: 0 4px 12px rgba(149, 179, 83, 0.2);
}

/* -------------------------------------------------------------
   MENU GRID & ITEMS
------------------------------------------------------------- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.menu-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-md);
    border-color: rgba(208, 40, 40, 0.15);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 8px;
}

.item-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

.item-price {
    font-family: var(--font-headings);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-red);
    white-space: nowrap;
}

.item-ingredients {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* Highlighting Search Matches */
.highlight {
    background-color: rgba(238, 209, 73, 0.35);
    border-radius: 2px;
    padding: 0 2px;
    font-weight: 500;
}

/* No Results Section */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-muted);
}

.no-results i {
    font-size: 3.5rem;
    margin-bottom: 16px;
    color: rgba(0, 0, 0, 0.15);
}

.no-results p {
    font-size: 1.15rem;
}

/* -------------------------------------------------------------
   MENU EXTRAS & LEGEND
------------------------------------------------------------- */
.menu-extras {
    margin-top: 50px;
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.extra-card {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--box-shadow-sm);
}

.extra-card h4 {
    font-size: 1.35rem;
    margin-bottom: 20px;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.extra-card h4 i {
    color: var(--primary-orange);
}

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

.extra-card li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: 8px;
    font-size: 0.95rem;
}

.extra-card li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.extra-card li span {
    color: var(--color-text-muted);
}

.extra-card li strong {
    font-family: var(--font-headings);
    color: var(--color-text);
    font-weight: 700;
}

.asterisks-legend {
    margin-top: 16px;
    color: var(--color-text-muted);
    font-style: italic;
}

/* -------------------------------------------------------------
   GALLERY SECTION
------------------------------------------------------------- */
.gallery-section {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--box-shadow-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition-smooth);
}

.gallery-tag {
    background-color: var(--primary-yellow);
    color: var(--color-text);
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gallery-overlay h3 {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-md);
    border-color: rgba(208, 40, 40, 0.15);
}

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

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 75%, rgba(0, 0, 0, 0.1) 100%);
}

/* -------------------------------------------------------------
   CONTACT & DETAILS SECTION
------------------------------------------------------------- */
.info-section {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    padding: 36px;
    box-shadow: var(--box-shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

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

.info-icon-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.info-icon-title i {
    font-size: 2rem;
    color: var(--primary-red);
}

.info-icon-title h3 {
    font-size: 1.5rem;
}

.address-text {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.order-phone {
    font-family: var(--font-headings);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.order-text {
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

/* Opening Hours styling */
.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table tr {
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.hours-table tr:last-child {
    border-bottom: none;
}

.hours-table td {
    padding: 10px 0;
    font-size: 0.95rem;
}

.hours-table td:last-child {
    text-align: right;
    font-weight: 600;
}

.hours-table tr.active-day {
    background-color: rgba(149, 179, 83, 0.08);
    font-weight: 700;
    border-bottom: 1px solid rgba(149, 179, 83, 0.3);
}

.hours-table tr.active-day td {
    color: var(--primary-green);
    padding-left: 8px;
    padding-right: 8px;
}

.promo-day-tag {
    background-color: var(--primary-yellow);
    color: var(--color-text);
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    font-weight: 700;
}

/* -------------------------------------------------------------
   FOOTER SECTION
------------------------------------------------------------- */
.main-footer {
    background-color: #1f1f1d;
    color: #aeaeae;
    padding: 30px 0;
    font-size: 0.9rem;
    border-top: 4px solid var(--primary-orange);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.piva-text {
    font-size: 0.8rem;
    color: #7b7b75;
    margin-top: 4px;
}

.footer-right {
    text-align: right;
}

/* -------------------------------------------------------------
   RESPONSIVE DESIGN Breakpoints
------------------------------------------------------------- */
@media (max-width: 992px) {
    .promo-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .promo-graphic-column {
        display: none; /* Hide visual column on smaller screens to prioritize text */
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .header-container {
        padding: 10px 16px;
        flex-wrap: wrap;
    }
    
    .nav-bar {
        width: 100%;
        order: 3;
        margin-top: 12px;
        justify-content: space-between;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    
    .nav-bar::-webkit-scrollbar {
        display: none;
    }
    
    .nav-item {
        font-size: 0.95rem;
        white-space: nowrap;
    }
    
    .hero-section {
        margin: 40px auto 20px auto;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .menu-controls {
        padding: 15px;
        border-radius: var(--border-radius-md);
    }
    
    .category-tabs {
        gap: 8px;
    }
    
    .tab-btn {
        padding: 10px 18px;
        font-size: 0.95rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr; /* Single column layout on mobile for premium readability */
        gap: 16px;
    }
    
    .menu-item {
        padding: 20px;
    }
    
    .gallery-item {
        height: 240px;
    }
    
    .pizza-carousel-card {
        height: 280px;
        flex: 0 0 240px; /* Make cards slightly narrower on mobile to fit screen elegantly */
    }
    
    .info-card {
        padding: 24px;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-right {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header-logo {
        height: 56px;
    }
    
    #header-phone-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .promo-card {
        padding: 24px;
    }
    
    .promo-badge {
        position: relative;
        top: 0;
        right: 0;
        display: inline-block;
        margin-bottom: 16px;
    }
    
    .promo-text-column h2 {
        font-size: 1.8rem;
    }
    
    .order-phone {
        font-size: 1.8rem;
    }
}
