/* CSS променливи за цветовете – OTTO Palette v1 */
:root {
    /* Brand / Primary */
    --primary: #174F40;          /* логото, основни бутони, ключови акценти */
    --primary-dark: #0E2F26;     /* хедър фон, по-тъмен hover */
    --primary-light: #2A8F74;    /* по-светъл hover, чипове, бордъри */
    --primary-soft: #D3F2EA;     /* много светъл фон за картички / секции */

    /* Warm food accent (terracotta family) */
    --accent-warm: #C76A3D;      /* основен топъл акцент */
    --accent-warm-soft: #E6B08A; /* по-светъл за hover / бейджове */
    --accent-gold: #D9A441;      /* златист детайл – иконки, small highlights */

    /* Neutrals */
    --background: #F5F1E8;       /* основен фон */
    --background-alt: #FFFFFF;   /* бели блокове / карти */
    --surface-muted: #F0E8DD;    /* вторични секции */

    --text-main: #2F2F2F;
    --text-muted: #6A6A6A;

    --border-soft: rgba(23, 79, 64, 0.12);
    --border-strong: rgba(23, 79, 64, 0.24);

    /* Backwards-compat променливи (ползвани в текущия CSS) */
    --terracotta: var(--accent-warm);
    --light-terracotta: var(--accent-warm-soft);

    --cream: var(--background);
    --olive-green: var(--primary);

    --charcoal: var(--text-main);
    --light-charcoal: var(--text-muted);
}

/* RESET / базови стилове */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background:
        radial-gradient(circle at top left, rgba(215, 204, 181, 0.5), transparent 55%),
        radial-gradient(circle at bottom right, rgba(211, 242, 234, 0.6), transparent 55%),
        var(--background);
    padding-top: 70px; /* място за фиксирания хедър */
}

/* Типография */
h1, h2, h3, h4 {
    font-family: 'Georgia', serif;
    font-weight: normal;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    letter-spacing: 0.03em;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-warm), var(--accent-gold));
    margin: 0.5rem auto;
    border-radius: 999px;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Контейнер и секции */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

section {
    padding: 4rem 0;
}

.page-main {
    min-height: calc(100vh - 260px); /* да не стои футърът в средата */
}

/* Бутони – модерни, с дълбочина */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.8rem 1.6rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, filter 0.18s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow:
        0 10px 25px rgba(14, 47, 38, 0.35),
        0 0 0 1px var(--border-soft);
}

.btn:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-2px);
    filter: brightness(1.02);
    box-shadow:
        0 14px 35px rgba(14, 47, 38, 0.45),
        0 0 0 1px var(--border-strong);
}

.btn:active {
    transform: translateY(0);
    box-shadow:
        0 6px 14px rgba(14, 47, 38, 0.35),
        0 0 0 1px var(--border-strong);
}

/* Secondary – топъл акцент */
.btn-secondary {
    background: linear-gradient(135deg, var(--accent-warm), var(--accent-warm-soft));
    color: #fff;
    box-shadow:
        0 10px 25px rgba(157, 83, 42, 0.35),
        0 0 0 1px rgba(199, 106, 61, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--accent-warm-soft), var(--accent-warm));
}

/* Outline – луксозен, минимален */
.btn-outline {
    background-color: transparent;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    color: var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(23, 79, 64, 0.06);
    box-shadow: 0 8px 18px rgba(23, 79, 64, 0.18);
}

/* Header & Navigation */
header {
    background: rgba(14, 47, 38, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 5%;
}

/* Лого */
.logo {
    color: var(--cream);
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
}

.logo-text span {
    color: var(--accent-warm);
}

/* Навигация – десктоп */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    position: relative;
    opacity: 0.9;
}

.nav-links a:hover {
    color: var(--accent-warm-soft);
    opacity: 1;
    transform: translateY(-1px);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-warm), var(--accent-gold));
}

/* CSS Hamburger Icon (по подразбиране скрит – показва се в mobile) */
.hamburger {
    position: relative;
    display: none;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.hamburger-box {
    width: 22px;
    height: 16px;
    display: inline-block;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--cream);
    border-radius: 999px;
    left: 0;
    transition:
        transform 0.2s ease,
        top 0.2s ease,
        opacity 0.2s ease;
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
}

.hamburger-inner::before {
    top: -6px;
}

.hamburger-inner::after {
    top: 6px;
}

/* Отворено меню – превръщаме бургер в X */
body.nav-open .hamburger-inner {
    transform: translateY(-50%) rotate(45deg);
}

body.nav-open .hamburger-inner::before {
    top: 0;
    transform: rotate(-90deg);
}

body.nav-open .hamburger-inner::after {
    top: 0;
    opacity: 0;
}

/* Когато менюто е отворено – блокираме скрола и слагаме лек оувърлей */
body.nav-open {
    overflow: hidden;
}

body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
    z-index: 900; /* под менюто, над съдържанието */
}

/* Hero */
.hero {
    height: calc(100vh - 70px);
    background:
        linear-gradient(rgba(14, 47, 38, 0.82), rgba(14, 47, 38, 0.85)),
        url('/assets/img/bg.png')
        no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero-content {
    max-width: 800px;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    background: radial-gradient(circle at top, rgba(211, 242, 234, 0.16), rgba(8, 28, 22, 0.92));
    box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(211, 242, 234, 0.12);
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    color: white;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(245, 241, 232, 0.92);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Highlight секция на началната страница */
.highlight-section {
    background-color: var(--background-alt);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

/* Карти – общ стил: дълбочина, „tile“ визия */
.highlight-card,
.menu-item,
.gallery-item,
.contact-card,
.footer-block-card {
    background: linear-gradient(145deg, var(--background-alt), var(--surface-muted));
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.08),
        0 0 0 1px var(--border-soft);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.highlight-card::before,
.menu-item::before,
.gallery-item::before,
.contact-card::before,
.footer-block-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(211, 242, 234, 0.36), transparent 55%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.highlight-card:hover,
.menu-item:hover,
.gallery-item:hover,
.contact-card:hover,
.footer-block-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.18),
        0 0 0 1px var(--border-strong);
    background: linear-gradient(145deg, var(--background-alt), var(--primary-soft));
}

.highlight-card:hover::before,
.menu-item:hover::before,
.gallery-item:hover::before,
.contact-card:hover::before,
.footer-block-card:hover::before {
    opacity: 1;
}

.highlight-card {
    padding: 1.5rem 1.7rem;
}

/* Menu Section */
.menu {
    background-color: var(--background-alt);
}

.menu-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* Category chips */
.category-btn {
    padding: 0.5rem 1.5rem;
    background-color: rgba(23, 79, 64, 0.04);
    border: 1px solid var(--border-soft);
    color: var(--primary);
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.category-btn.active,
.category-btn:hover {
    background: rgba(23, 79, 64, 0.12);
    border-color: var(--border-strong);
    box-shadow: 0 10px 24px rgba(23, 79, 64, 0.22);
}

/* Menu cards */
.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.menu-item {
    padding: 0;
}

.menu-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    display: block;
}

.menu-item-content {
    padding: 1.3rem 1.4rem 1.5rem;
}

.menu-item h3 {
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: 0.4rem;
}

.menu-item p {
    color: var(--light-charcoal);
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
}

.price {
    color: var(--accent-warm);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Story Section */
.story {
    background-color: var(--cream);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-text h2 {
    text-align: left;
}

.story-text h2:after {
    margin: 0.5rem 0;
}

.story-image img {
    border-radius: 18px;
    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.4);
}

/* Gallery Section */
.gallery {
    background-color: var(--background-alt);
}

.gallery-lead {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--light-charcoal);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.3rem;
}

/* gallery-item вече наследява card стила */
.gallery-item {
    height: 250px;
    padding: 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.07);
}

/* Contact Section */
.contact {
    background-color: var(--cream);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Card за лявата колона */
.contact-info {
    /* ще използваме общия card стил чрез допълнителен клас */
}

.contact-card {
    /* празен – стилът идва от общия card селектор */
}

.contact-info h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.contact-details i {
    margin-right: 0.5rem;
    color: var(--accent-warm);
    width: 20px;
}

.contact-details a {
    text-decoration: none;
    color: inherit;
}

.hours {
    margin-bottom: 2rem;
}

.hours-table {
    width: 100%;
}

.hours-table tr td:first-child {
    font-weight: bold;
    padding-right: 1rem;
}

/* Map card */
.map-container {
    height: 400px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.14),
        0 0 0 1px var(--border-soft);
    background-color: #eee;
}

.map-placeholder {
    height: 100%;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-charcoal);
    padding: 1rem;
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--cream);
    padding: 3rem 0 1.5rem;
}

/* Footer „cards“ */
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-about,
.footer-links,
.footer-contact {
    padding: 1.3rem 1.2rem;
    border-radius: 16px;
    background: radial-gradient(circle at top left, rgba(211, 242, 234, 0.22), rgba(6, 20, 16, 0.96));
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(211, 242, 234, 0.16);
}

/* за селектора отгоре – ако искаш по-строго, може да добавиш клас footer-block-card към тях */

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--accent-warm);
}

.footer-about p {
    margin-bottom: 1rem;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--cream);
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-warm-soft);
    transform: translateX(2px);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-contact i {
    margin-top: 3px;
    color: var(--accent-warm);
    width: 20px;
}

.footer-contact a {
    color: inherit;
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(245, 241, 232, 0.06);
    border-radius: 50%;
    color: var(--cream);
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.social-icons a:hover {
    background: rgba(199, 106, 61, 0.7);
    transform: translateY(-3px) scale(1.03);
}

copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(245, 241, 232, 0.2);
    font-size: 0.9rem;
    color: rgba(250, 248, 243, 0.78);
}

/* Responsive */
@media (max-width: 992px) {
    .story-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .story-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(14, 47, 38, 0.98);
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        backdrop-filter: blur(20px);
        z-index: 950;
    }

    .nav-links.nav-open {
        left: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 80%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .menu-items {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .gallery-item {
        height: 150px;
    }
}


/* Кредит във футъра – BulNation */
.site-credit {
    margin-top: 0.8rem;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.8;
}

.site-credit a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: var(--cream);
    text-decoration: none;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(245, 241, 232, 0.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease,
                background 0.2s ease;
}

.site-credit a:hover {
    opacity: 1;
    transform: translateY(-1px);
    background: rgba(0, 0, 0, 0.25);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.credit-logo {
    height: 18px;      /* тук контролираш размера на логото */
    width: auto;
    display: block;
}

/* малко фина настройка за текста до логото */
.site-credit span {
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.8rem;
}


/* Центриране на авторския текст и BulNation кредита */
footer .copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(245, 241, 232, 0.2);
    font-size: 0.9rem;
    color: rgba(250, 248, 243, 0.78);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem; /* разстояние между © текста и BulNation кредита */
}

footer .copyright p {
    margin: 0;       /* премахваме default margin, пречи на центровката */
    text-align: center;
}

/* за всеки случай — понякога потребителски стилове пречат */
.site-credit {
    text-align: center !important;
}


/* --- Inline footer credit (вариант 2) --- */
.footer-inline-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    margin: 0;
    color: rgba(250, 248, 243, 0.78);
    text-align: center;
}

.footer-inline-credit .separator {
    opacity: 0.6;
    font-weight: 300;
    margin: 0 0.1rem;
}

/* Линкът BulNation */
.footer-credit-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--cream);
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-credit-link:hover {
    opacity: 1;
    transform: translateY(-1px);
}

/* SVG логото */
.credit-logo {
    height: 14px; /* перфектен размер */
    width: auto;
    display: inline-block;
}

.footer-visits {
    margin-top: 0.25rem;
    font-size: 0.8rem;
    opacity: 0.7;
    text-align: center;
}

.footer-visits strong {
    font-weight: 600;
}

.footer-visits .dot {
    margin: 0 0.25rem;
    opacity: 0.5;
}


/* --- Otto Green Social Icons --- */
.social-icons {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.social-icons a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    background: rgba(255, 255, 255, 0.04); /* лек прозрачeн фон */
    border-radius: 50%;

    color: #ffffff; /* бели иконки */
    font-size: 1.25rem;

    transition: all 0.25s ease;
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}

.social-icons a:hover {
    background: rgba(217, 164, 65, 0.25); /* златист hover */
    color: var(--accent-gold); /* златна иконка при hover */
    transform: translateY(-3px);

    box-shadow: 
        0 10px 22px rgba(0, 0, 0, 0.35),
        0 0 6px rgba(217, 164, 65, 0.45); /* златно сияние */
}

/* Footer: подредба на малки екрани */
@media (max-width: 576px) {
    .footer-inline-credit {
        flex-direction: column;   /* става на колона, по един ред */
        gap: 0.15rem;
    }

    .footer-inline-credit .separator {
        display: none;            /* махаме вертикалната черта при колона */
    }
}


/* --- Gallery Section --- */
.gallery {
    background: var(--background-alt);
}

.gallery-lead {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--light-charcoal);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.4rem;
}

.gallery-item {
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 18px;
    overflow: hidden;
    height: 250px;
    display: block;
    box-shadow:
        0 18px 45px rgba(0,0,0,0.08),
        0 0 0 1px var(--border-soft);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transition: transform 0.45s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow:
        0 24px 60px rgba(0,0,0,0.16),
        0 0 0 1px var(--border-strong);
}

.gallery-item:hover img {
    transform: scale(1.07);
}

/* Empty state */
.gallery-empty {
    text-align: center;
    color: var(--text-muted);
    margin-top: 2rem;
}

/* --- Lightbox --- */
.lightbox-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    z-index: 900;
}

.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 901;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    pointer-events: none;
}

.lightbox-modal img {
    max-width: min(95%, 1000px);
    max-height: 75vh;
    border-radius: 20px;
    background: #000;
    box-shadow: 0 20px 60px rgba(0,0,0,0.75);
    pointer-events: auto;
}

.lightbox-caption {
    margin-top: 1rem;
    max-width: 900px;
    text-align: center;
    color: var(--cream);
    font-size: 0.95rem;
    line-height: 1.4;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.16);
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 1.7rem;
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.25s ease;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.28);
}

/* Responsive */
@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    .gallery-item {
        height: 150px;
    }
}

.lightbox-modal,
.lightbox-backdrop {
    transition: none !important;
}






/* --- Lightbox (Otto gallery) --- */
.otto-lightbox-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.otto-lightbox-modal {
    position: relative;
    max-width: min(95%, 1000px);
    max-height: 80vh;
    border-radius: 20px;
    background: #000;
    box-shadow: 0 20px 60px rgba(0,0,0,0.75);
    padding: 1.2rem 1.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.otto-lightbox-image {
    max-width: 100%;
    max-height: 60vh;
    border-radius: 14px;
    display: block;
}

.otto-lightbox-caption {
    margin-top: 0.8rem;
    max-width: 900px;
    text-align: center;
    color: var(--cream, #f7f0e8);
    font-size: 0.95rem;
    line-height: 1.4;
}

.otto-lightbox-close {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.16);
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.otto-lightbox-close:hover {
    background: rgba(255,255,255,0.28);
}

@media (max-width: 576px) {
    .otto-lightbox-backdrop {
        padding: 1rem;
    }
    .otto-lightbox-modal {
        padding: 0.8rem 0.8rem 1.1rem;
        border-radius: 16px;
    }
    .otto-lightbox-image {
        max-height: 55vh;
    }
}









/* === Allergen pills – компактна, дискретна версия === */

.allergen-panel {
    margin: 1.5rem auto 2.5rem;
    max-width: 1100px;
    padding: 0 1rem;
}

/* тъмна полупрозрачна лента */
.allergen-panel-inner {
    background: rgba(0, 0, 0, 0.18);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;

    display: flex;
    flex-wrap: wrap;           /* падаме на втори ред при нужда */
    gap: 0.35rem 0.55rem;      /* ред/колона разстояния */
    justify-content: center;
    align-items: center;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* едно „пилсче“ */
.allergen-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;

    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    background: rgba(245, 241, 232, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.7);

    font-size: 0.78rem;
    line-height: 1.2;
    white-space: nowrap;       /* пазим текста в един ред вътре */
}

/* кръгчето с номера */
.alg-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #d46d3d;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* текстът на алергена */
.alg-text {
    color: #222;
}

/* по-малко и по-свито на мобилен */
@media (max-width: 768px) {
    .allergen-panel {
        margin-top: 1.2rem;
        margin-bottom: 2rem;
    }

    .allergen-panel-inner {
        padding: 0.3rem 0.5rem;
    }

    .allergen-item {
        font-size: 0.74rem;
        padding: 0.15rem 0.5rem;
    }

    .alg-num {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }
}




@font-face {
    font-family: 'RosewoodFill';
    src: url('/assets/fonts/Rosewood-Fill.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


.otto-logo-font {
    font-family: 'RosewoodFill', "Georgia", "Times New Roman", serif;
    letter-spacing: 0.08em;
    font-weight: 400;
}









.otto-notice {
    position: fixed;
    top: 72px; /* настрой според височината на хедъра ти */
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 999;
    pointer-events: none; /* за да не пречи извън самата карта */
    animation: fadeIn 0.4s ease;
}

.otto-notice-content {
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    pointer-events: auto; /* само самото съобщение да „хваща“ клик */
}

.otto-notice-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

.otto-notice.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}


.menu-maintenance {
    text-align: center;
    padding: 4rem 1rem;
}

.menu-maintenance h2 {
    font-size: 2.4rem;
    color: var(--terracotta);
    margin-bottom: 1rem;
}

.menu-maintenance p {
    font-size: 1.1rem;
    opacity: 0.85;
}
