@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Oswald:wght@400;500;600;700&display=swap');

:root {
    --primary: #000000;
    --accent: #c19441;
    --text: #ffffff;
    --text-muted: #cccccc;
    --bg-dark: #0a0a0a;
    --bg-light: #ffffff;
    --transition: all 0.3s ease;
}

/* Closure Banner - zobrazí se když je restaurace zavřená */
#closure-banner {
    background-color: #1a1a1a;
    color: var(--accent);
    text-align: center;
    padding: 0.9375rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 9999;
    position: relative;
    box-shadow: 0 2px 0.625rem rgba(0, 0, 0, 0.3);
}

#closure-banner p {
    margin: 0;
    max-width: 50rem;
    margin: 0 auto;
}

/* Opening Status Bar - otevřeno/zavřeno indikátor */
#opening-status-bar {
    width: 100%;
    padding: 0.8125rem 1.25rem;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
    z-index: 9998;
    position: relative;
}

#opening-status-bar.status-open {
    background: #1a3d1f;
    color: #a3e4a8;
}

#opening-status-bar.status-closed {
    background: #3d1a1a;
    color: #e4a3a3;
}

.status-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9375rem;
}

.status-badge {
    padding: 4px 0.625rem;
    border-radius: 1.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.status-badge::before {
    content: '';
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    animation: statusPulse 2s infinite;
}

.status-open .status-badge::before {
    background: #4ade80;
    box-shadow: 0 0 0.5rem #4ade80;
}

.status-closed .status-badge::before {
    background: #f87171;
    box-shadow: 0 0 0.5rem #f87171;
}

.status-hours {
    font-weight: 400;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Modifikátor pro desktop - vložení do sekundárního menu */
#opening-status-bar.desktop-inline {
    width: auto;
    padding: 0;
    background: transparent !important;
    display: flex;
    align-items: center;
}

#opening-status-bar.desktop-inline .status-bar-inner {
    gap: 0.9375rem;
}

#opening-status-bar.desktop-inline .status-hours {
    color: black !important;
    font-weight: 600;
}

#opening-status-bar.desktop-inline .status-badge {
    padding: 0;
    border-radius: 0;
    background: transparent !important;
}

#opening-status-bar.desktop-inline.status-open .status-badge {
    color: #1a3d1f;
}

#opening-status-bar.desktop-inline.status-closed .status-badge {
    color: #b91c1c;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--primary);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.category-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Navigation */
.desktop-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #000000;
    color: white;
    padding: 0.625rem 0 0 0;
    /* Updated padding to match Tbilisuri */
}

.nav-logo-container {
    text-align: center;
    padding: 0 0 0.5rem 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9375rem;
    font-size: 1.8rem;
    font-family: 'Oswald', sans-serif;
    color: white;
    /* Changed from var(--accent) to white as per user's logo preference */
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-logo img {
    height: 3.75rem;
    width: auto;
    border-radius: 50%;
}

.nav-logo span {
    color: white;
}

.nav-container {
    display: flex;
    justify-content: center;
    gap: 1.875rem;
    padding: 0;
    border-top: none;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

.nav-secondary {
    background: var(--accent);
    color: black;
    padding: 0.3125rem 0;
    font-size: 0.75rem;
    margin-top: 0.625rem;
    text-align: center;
    font-weight: 600;
}

.nav-secondary-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.875rem;
}

.nav-secondary-item strong {
    margin-right: 0.3125rem;
}

/* Main container */
.main-content {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    max-width: none !important;
    margin: 0 !important;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.25rem;
    text-transform: none;
    /* Changed to none to respect "Kuře v letu" casing */
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-style: italic;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.cta-button {
    display: inline-block;
    padding: 0.9375rem 2.5rem;
    background: var(--accent);
    color: black;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 2px solid var(--accent);
    transition: var(--transition);
}

.cta-button:hover {
    background: transparent;
    color: var(--accent);
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3.75rem;
    position: relative;
    padding-bottom: 0.9375rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3.75rem;
    height: 3px;
    background: var(--accent);
}

.section-title.left-align {
    text-align: left;
}

.section-title.left-align::after {
    left: 0;
    transform: none;
}

section {
    padding: 6.25rem 1.25rem;
    max-width: 75rem;
    margin: 0 auto;
}

/* Daily Menu */
.daily-menu-section {
    background: #f9f9f9;
    max-width: 100%;
}

#daily-menu-container {
    max-width: 100%;
    margin: 0 auto;
}

@media (min-width: 48.0625rem) {
    #daily-menu-container {
        max-width: 80%;
    }
}

/* About Section */
.flex-container {
    display: flex;
    align-items: center;
    gap: 3.75rem;
}

.flex-container.reverse {
    flex-direction: row-reverse;
}

.section-image {
    flex: 1;
}

.section-image img {
    width: 100%;
    height: 31.25rem;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 1.25rem 1.25rem 0 var(--accent);
}

.section-text {
    flex: 1;
}

.section-text p {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    color: #444;
}

/* Our Menu (Overview) */
.menu-overview-section {
    background: var(--primary);
    color: white;
    max-width: 100%;
}

.menu-overview-section .section-title {
    color: white;
}

.menu-overview-section .section-text p {
    color: var(--text-muted);
}

.menu-buttons {
    display: flex;
    gap: 0.9375rem;
    margin-top: 1.5625rem;
}

/* Reference Slider */
.references-section {
    background: #fff;
    max-width: 100%;
}

.reference-slider-container {
    position: relative;
    max-width: 56.25rem;
    margin: 0 auto;
    padding: 2.5rem;
}

.reference-item {
    display: none;
    text-align: center;
}

.reference-item.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.ref-text {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1.25rem;
    font-family: 'Oswald', sans-serif;
}

.ref-author {
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--accent);
    cursor: pointer;
}

.slider-btn.prev {
    left: 0;
}

.slider-btn.next {
    right: 0;
}

/* Reservation */
.reservation-section {
    text-align: center;
    background: var(--accent);
    color: black;
    max-width: 100%;
    padding: 1.25rem 1.25rem 3.75rem;
    /* Aggressively reduced top padding */
}

.reservation-section .section-title {
    margin-bottom: 0;
    padding-bottom: 0;
}

.reservation-section .section-title::after {
    display: none;
    /* Removed the line to bring content even closer */
}

.reservation-content {
    font-family: 'Oswald', sans-serif;
}

.res-phone {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0;
    /* Reduced from 6.25rem */
}

.res-address {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Footer */
.footer {
    background: black;
    color: white;
    padding: 5rem 1.25rem 1.25rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 75rem;
    margin: 0 auto;
    gap: 2.5rem;
}

.footer-col h4 {
    color: var(--accent);
    margin-bottom: 1.25rem;
    font-size: 1.2rem;
}

.footer-col p {
    margin-bottom: 0.625rem;
    color: var(--text-muted);
}

.footer-bottom {
    margin-top: 3.75rem;
    text-align: center;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(193, 148, 65, 0.2);
    font-size: 0.8rem;
    color: #666;
}

/* Subpage Padding */
.subpage-main {
    padding-top: 11.25rem;
}

@media (max-width: 48rem) {
    .subpage-main {
        padding-top: 0.9375rem;
        /* Ultra-tight padding for mobile subpages */
    }
}

#menu-icon {
    display: none;
    position: fixed;
    top: 1.25rem;
    right: 1.5625rem;
    z-index: 9999;
    /* Zvýšeno, aby překrylo notifikační bannery */
    cursor: pointer;
    width: 2.1875rem;
    height: 1.5625rem;
    mix-blend-mode: difference;
    /* Ensures visibility on any background */
}

#menu-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    transition: 0.3s;
    box-shadow: 0 0 0.3125rem rgba(0, 0, 0, 0.5);
    /* Added for better visibility */
}

#menu-icon span:nth-child(2) {
    margin: 0.3125rem 0;
}

#menu-icon.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

#menu-icon.active span:nth-child(2) {
    opacity: 0;
}

#menu-icon.active span:nth-child(3) {
    transform: translateY(-0.5rem) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 15.625rem;
    height: 100%;
    background: black;
    z-index: 9998;
    /* Zvýšeno nad status banner (9998) */
    transition: 0.3s;
    padding-top: 5rem;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    padding: 0 2.5rem;
}

.mobile-menu-link {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

/* Menu Components */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.menu-category {
    margin-bottom: 2.5rem;
}

.category-title {
    color: var(--accent);
    font-size: 1.8rem;
    margin-bottom: 1.5625rem;
    text-transform: uppercase;
}

.menu-item {
    display: flex;
    align-items: flex-end;
    margin-bottom: 0.625rem;
}

.item-dots {
    flex-grow: 1;
    border-bottom: 1px dotted #ccc;
    margin: 0 0.625rem;
}

.item-price {
    font-weight: 600;
    white-space: nowrap;
}

.menu-date-header {
    text-align: center;
    margin-bottom: 2.5rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--accent);
}

.menu-footer-note {
    font-style: italic;
    color: #666;
    text-align: center;
    margin-top: 2.5rem;
}

.menu-fallback {
    text-align: center;
    padding: 3.75rem;
    border: 1px solid #eee;
}

.menu-fallback .cta-button {
    margin-top: 1.875rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Map placeholder style */
.map-container img {
    width: 100%;
    height: 25rem;
    object-fit: cover;
    filter: none;
    /* Removed grayscale as per user's map request */
    transition: var(--transition);
}

/* Mobile Responsiveness */
@media (max-width: 48rem) {
    .desktop-nav {
        display: none;
    }

    #menu-icon {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.9375rem;
        /* Added gap for mobile buttons */
        align-items: center;
    }

    .flex-container {
        flex-direction: column;
    }

    .flex-container.reverse {
        flex-direction: column;
    }

    .section-image img {
        height: 18.75rem;
        box-shadow: 0.625rem 0.625rem 0 var(--accent);
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .res-phone {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .map-container {
        order: 2;
        /* Map below contact info on mobile */
    }

    .menu-buttons {
        flex-direction: column !important;
        gap: 0.9375rem !important;
        display: flex !important;
        width: 100% !important;
        max-width: 18.75rem;
    }

    .menu-buttons .cta-button {
        width: 100%;
        text-align: center;
        margin: 0 !important;
    }

    .map-container img {
        height: 18.75rem;
    }
}

/* =========================================
   INFORMAČNÍ BANNER (POP-UP)
   ========================================= */

.banner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    padding: 1.25rem;
}

.banner-overlay.fade-out {
    opacity: 0;
}

.banner-popup-content {
    background: var(--bg-dark);
    /* Dark theme */
    position: relative;
    max-width: 31.25rem;
    width: 100%;
    border: 2px solid var(--accent);
    /* Golden accent */
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.8);
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.banner-popup-content h2 {
    font-family: 'Oswald', sans-serif;
    color: var(--accent);
    margin-bottom: 1.25rem;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.banner-popup-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

.banner-close-btn {
    position: absolute;
    top: 0.625rem;
    right: 0.9375rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--accent);
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.banner-close-btn:hover {
    transform: scale(1.2);
    color: #e5b05c;
    /* Lighter gold */
}



/* --- Mobile Status Bar Overrides --- */
@media (max-width: 48rem) {
    #opening-status-bar {
        font-size: 0.75rem !important;
        padding: 0.75rem 2.8125rem !important;
    }

    .status-badge {
        font-size: 0.6875rem !important;
        padding: 3px 0.5rem !important;
    }
}