/* =========================================
   Reset & Base
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

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

:root {
    --bg-color: #ffffff;
    --bg-secondary: #f5f5f5;
    --text-main: #111111;
    --text-secondary: #666666;
    --border-color: #dddddd;
    --accent-color: #000000;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================================
   Closure Banner
   ========================================= */
#closure-banner {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
    z-index: 9999;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    display: none;
}

#closure-banner p {
    margin: 0 auto;
    max-width: 800px;
    letter-spacing: 0.5px;
}

/* =========================================
   Typography
   ========================================= */
h1, h2, h3, h4 {
    font-weight: 300;
    letter-spacing: -0.5px;
    color: var(--text-main);
    text-transform: uppercase;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* =========================================
   Mobile Menu Icon
   ========================================= */
.menu-icon {
    display: none;
    position: fixed;
    top: 18px;
    left: 15px;
    z-index: 10001;
    width: 30px;
    height: 20px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    mix-blend-mode: difference;
}

.menu-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.menu-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-icon.active span:nth-child(2) {
    opacity: 0;
}

.menu-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================================
   Mobile Menu Sidebar
   ========================================= */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 10000;
    transition: left 0.3s ease;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-menu-link {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =========================================
   Desktop Navigation
   ========================================= */
.desktop-nav {
    display: block;
    background-color: var(--bg-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0 0 0;
}

.nav-logo-container {
    text-align: center;
    padding-bottom: 15px;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-main);
}

.nav-logo img {
    max-height: 60px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 50px;
}

.nav-link {
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nav-secondary {
    background-color: var(--bg-color);
    padding: 10px 0;
    font-size: 12px;
    text-align: center;
    border-bottom: 2px solid var(--text-main);
    margin-top: 15px;
}

.nav-secondary-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    color: var(--text-secondary);
}

.nav-secondary-item strong {
    color: var(--text-main);
    font-weight: 600;
    margin-right: 5px;
}

/* =========================================
   Main Content
   ========================================= */
.main-content {
    flex: 1;
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.52)),
        url('assets/restaurace-na-verande-veranda.jpg') center/cover no-repeat;
    padding: 0 20px;
    color: #ffffff;
    position: relative;
}

.hero-content {
    max-width: 750px;
    position: relative;
    z-index: 1;
}

.hero-pretitle {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: #ffffff;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 45px;
    font-weight: 300;
    letter-spacing: 0.5px;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.hero-section .cta-button {
    color: #ffffff;
    border-color: rgba(255,255,255,0.7);
    min-width: 250px;
    text-align: center;
}

.hero-section .cta-button:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
    opacity: 1;
}

/* =========================================
   CTA Button
   ========================================= */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.cta-button:hover {
    background-color: var(--text-main);
    color: var(--bg-color);
    opacity: 1;
}

/* =========================================
   Sections
   ========================================= */
section {
    padding: 80px 20px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* =========================================
   Daily Menu Section
   ========================================= */
.daily-menu-section {
    background-color: var(--bg-color);
}

/* =========================================
   Menu Grid – Clean Layout
   ========================================= */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    font-weight: 400;
    letter-spacing: 1px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
    align-items: baseline;
}

.item-name {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-main);
}

.item-dots {
    flex: 1;
    border-bottom: 1px solid var(--border-color);
    margin: 0 12px;
    opacity: 0.4;
}

.item-price {
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    color: var(--text-main);
}

/* =========================================
   Layout Utilities
   ========================================= */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex-container {
    display: flex;
    align-items: center;
    gap: 80px;
    text-align: left;
}

.flex-container.reverse {
    flex-direction: row-reverse;
}

.section-image {
    flex: 1;
}

.section-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    display: block;
}

.section-text {
    flex: 1.2;
}

.section-text p {
    margin-bottom: 22px;
    font-size: 17px;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.8;
}

.left-align {
    text-align: left;
    margin-bottom: 30px;
}

.menu-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* =========================================
   About Section
   ========================================= */
.about-section {
    background-color: var(--bg-secondary);
}

/* =========================================
   Menu Overview Section
   ========================================= */
.menu-overview-section {
    background-color: var(--bg-color);
}

/* =========================================
   Reference Slider
   ========================================= */
.references-section {
    background-color: var(--bg-secondary);
}

.reference-slider-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
}

.reference-slider {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
}

.reference-item {
    display: none;
    text-align: center;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

.reference-item.active {
    display: block;
}

.ref-text {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.8;
}

.ref-author {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.slider-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 20px;
    flex-shrink: 0;
}

.slider-btn:hover {
    background: var(--text-main);
    color: var(--bg-color);
    border-color: var(--text-main);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   Reservation Section
   ========================================= */
.reservation-section {
    text-align: center;
    background-color: var(--text-main);
    color: var(--bg-color);
    padding: 80px 20px;
}

.reservation-section .section-title {
    color: var(--bg-color);
    margin-bottom: 30px;
}

.reservation-content {
    max-width: 600px;
    margin: 0 auto;
}

.res-phone {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.res-phone a {
    color: var(--bg-color);
}

.res-phone a:hover {
    opacity: 0.7;
}

.res-address {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.res-address a {
    color: rgba(255,255,255,0.6);
}

.reservation-section .delivery-links {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.reservation-section .delivery-links .cta-button {
    color: #ffffff;
    border-color: rgba(255,255,255,0.5);
    font-size: 12px;
}

.reservation-section .delivery-links .cta-button:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
    opacity: 1;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--bg-secondary);
    color: var(--text-main);
    padding: 60px 20px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.footer-col h4 {
    font-size: 13px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-weight: 600;
}

.footer-col p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 50px;
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

/* =========================================
   Menu Page Specific
   ========================================= */
.menu-page-section {
    padding: 80px 20px;
    min-height: 60vh;
}

/* =========================================
   Contact Page Specific
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.map-container {
    width: 100%;
    height: 450px;
    background-color: var(--bg-secondary);
    border-radius: 2px;
    overflow: hidden;
}

.info-card {
    background-color: var(--bg-color);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    margin-bottom: 18px;
    color: var(--text-main);
    letter-spacing: 1.5px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.info-card p {
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--text-secondary);
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }

    .desktop-nav {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-pretitle {
        font-size: 10px;
    }

    .hero-section {
        height: auto;
        min-height: auto;
        padding: 100px 20px 80px;
    }

    .hero-buttons .cta-button {
        min-width: 220px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .flex-container,
    .flex-container.reverse {
        flex-direction: column;
        gap: 40px;
    }

    .section-text {
        text-align: center;
    }

    .left-align {
        text-align: center;
    }

    .menu-buttons {
        justify-content: center;
    }

    .res-phone {
        font-size: 28px;
    }

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

    .map-container {
        height: 300px;
    }

    .section-title {
        font-size: 24px;
    }

    .reference-slider-container {
        gap: 10px;
        padding: 0 10px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .ref-text {
        font-size: 16px;
    }
}

/* =========================================
   Opening Status Bar
   ========================================= */
#opening-status-bar {
    width: 100%;
    padding: 10px 20px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 9998;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

#opening-status-bar.desktop-inline {
    width: auto;
    padding: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
}

#opening-status-bar.status-open {
    background: #f5f5f5;
    color: #111111;
}

#opening-status-bar.desktop-inline.status-open {
    background: transparent;
    color: #111111;
}

#opening-status-bar.status-closed {
    background: #000000;
    color: #ffffff;
    border-bottom: none;
}

#opening-status-bar.desktop-inline.status-closed {
    background: transparent;
    color: #000000;
}

.status-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

#opening-status-bar.desktop-inline .status-bar-inner {
    justify-content: flex-start;
}

.status-badge {
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.1);
    color: var(--accent-color);
}

#opening-status-bar.status-closed .status-badge {
    padding: 4px 10px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.status-hours {
    font-weight: 500;
}

/* --- Unified Secondary Nav Styling (Desktop Inline) --- */
#opening-status-bar.desktop-inline {
    font-family: inherit !important;
    font-size: inherit !important;
    letter-spacing: inherit !important;
    text-transform: none !important;
}

#opening-status-bar.desktop-inline .status-hours {
    font-weight: inherit !important;
    color: var(--text-secondary) !important;
}

#opening-status-bar.desktop-inline .status-badge {
    border-radius: 30px;
    color: var(--text-secondary) !important;
    background: transparent !important;
    border: 1px solid var(--text-secondary) !important;
    padding: 4px 10px;
}

/* --- Mobile Status Bar Overrides --- */
@media (max-width: 768px) {
    #opening-status-bar {
        font-size: 12px !important;
        padding: 12px 45px !important;
    }

    .status-badge {
        font-size: 11px !important;
        padding: 3px 8px !important;
    }
}

/* =========================================
   Info Banner Pop-up
   ========================================= */
.banner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(17, 17, 17, 0.85);
    z-index: 10002;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.banner-overlay.fade-out {
    opacity: 0;
}

.banner-popup-content {
    background: var(--bg-color);
    position: relative;
    max-width: 500px;
    width: 100%;
    border: 1px solid var(--border-color);
    padding: 50px 40px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    border-radius: 2px;
}

@keyframes popIn {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.banner-popup-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--text-main);
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    text-transform: none;
}

.banner-popup-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.banner-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.banner-close-btn:hover {
    transform: scale(1.1);
    opacity: 1;
    color: var(--accent-color);
}

/* =========================================
   Gallery Section
   ========================================= */
.gallery-section {
    padding-bottom: 20px;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-tab {
    padding: 10px 25px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-tab:hover, .gallery-tab.active {
    background-color: var(--text-main);
    color: var(--bg-color);
    border-color: var(--text-main);
}

.gallery-content {
    display: none;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease;
}

.gallery-content.active {
    display: block;
}

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

@media (min-width: 769px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
        gap: 30px;
    }
}

.gallery-item {
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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