@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* Local Cyrillic Cinzel variant */
@font-face {
    font-family: 'Cinzel Cyrillic';
    src: url('fonts/cinzel-regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Cinzel Cyrillic';
    src: url('fonts/cinzel-bold.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --brown: #3b2419;
    --brown-light: #5b3827;
    --cream: #f6efe2;
    --paper: #fffaf1;
    --red: #7c2d27;
    --gold: #b78a4a;
    --ink: #30251f;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Source Sans 3', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.65;
}

a {
    color: inherit;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;
    padding: 8px 5%;
    background: rgba(255, 250, 241, 0.97);
    border-bottom: 1px solid #e4d8c7;
}

.brand img {
    width: 82px;
    height: 70px;
    object-fit: contain;
}

.header nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header nav a {
    text-decoration: none;
    font-weight: 600;
}

.header nav a:hover {
    color: var(--red);
}

.lang {
    display: flex;
    gap: 6px;
}

.lang b {
    color: var(--red);
}

.menu-toggle {
    display: none;
    padding: 0;
    background: none;
    border: 0;
    font-size: 28px;
    cursor: pointer;
    color: var(--brown);
    -webkit-appearance: none;
    appearance: none;
    -webkit-text-fill-color: var(--brown);
}

/* Hero */
.hero {
    position: relative;
    display: grid;
    place-items: center;
    min-height: calc(100vh - 88px);
    background: url('images/meraklii-01.webp') center / cover no-repeat;
    color: #fff;
    text-align: center;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(31, 18, 12, 0.76),
        rgba(31, 18, 12, 0.45),
        rgba(31, 18, 12, 0.72)
    );
}

.hero-content {
    position: relative;
    max-width: 850px;
    padding: 60px 25px;
}

.hero-logo {
    width: 210px;
    margin-bottom: 8px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.53));
}

.eyebrow,
.kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* Bulgarian display headings use the locally embedded Cyrillic Cinzel. */
.hero h1,
.section h2,
.gallery h2 {
    font-family: 'Cinzel Cyrillic', Georgia, 'Times New Roman', serif;
    font-weight: 700;
}

.hero h1 {
    margin: 12px 0 18px;
    font-size: clamp(2.3rem, 4.4vw, 4.25rem);
    line-height: 1.12;
    text-shadow: 0 3px 15px #000;
}

.hero p:not(.eyebrow) {
    font-size: 1.2rem;
}

.actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 13px 23px;
    background: var(--red);
    border: 1px solid var(--red);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.btn:hover {
    background: var(--brown);
}

.btn.ghost {
    background: transparent;
    border-color: #fff;
}

/* Main sections */
.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 100px 30px;
}

.kicker {
    margin-bottom: 6px;
    color: var(--red);
}

.section h2,
.gallery h2 {
    margin: 0 0 28px;
    color: var(--brown);
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.2;
}

/* About */
.about {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.about figure {
    position: relative;
    margin: 0;
}

.about figure::before {
    content: '';
    position: absolute;
    inset: -7px 7px 7px -7px;
    border: 1px solid var(--gold);
}

.about img {
    position: relative;
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
}

/* Highlights */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 55px max(6%, calc((100% - 1180px) / 2));
    background: var(--brown);
    color: #f8efe2;
    text-align: center;
}

.features div {
    padding: 10px 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.features div:last-child {
    border-right: 0;
}

.features span {
    color: #d3ad74;
    font-size: 2rem;
}

.features h3,
.menu-preview h3 {
    font-family: 'Cinzel Cyrillic', Georgia, 'Times New Roman', serif;
}

.features p {
    opacity: 0.8;
}

/* Menu */
.menu-section {
    max-width: none;
    background: var(--cream);
}

.section-head {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}

.menu-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto;
}

.menu-preview div {
    min-height: 145px;
    padding: 28px;
    background: #fffaf3;
    border: 1px solid #ded0bc;
}

.menu-preview h3 {
    margin: 0 0 8px;
    color: var(--brown);
}

.menu-preview p {
    margin: 0;
    color: #725f53;
}

/* Gallery */
.gallery {
    padding: 100px 4%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 310px;
    gap: 10px;
}

.gallery-grid a {
    overflow: hidden;
}

.gallery-grid a:first-child {
    grid-column: span 2;
}

.gallery-grid img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-grid a:hover img {
    transform: scale(1.025);
}

/* Quote */
.quote {
    padding: 65px 25px;
    background: var(--red);
    color: #fff;
    text-align: center;
}

.quote p {
    max-width: 950px;
    margin: 0 auto;
    font-family: 'Cinzel Cyrillic', Georgia, 'Times New Roman', serif;
    font-size: clamp(1.4rem, 3vw, 2.3rem);
    font-weight: 700;
    line-height: 1.5;
}

/* Contacts */
.contact {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 65px;
}

.contact a {
    text-decoration: none;
    font-weight: 700;
}

.contact .actions {
    justify-content: flex-start;
}

.gps {
    color: #746359;
    font-size: 0.9rem;
}

.map iframe {
    width: 100%;
    height: 480px;
    border: 0;
}

/* Footer */
footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding: 28px 5%;
    background: #241711;
    color: #d9cbbc;
    font-size: 0.9rem;
}

footer > div:nth-child(2) {
    text-align: center;
}

footer > div:last-child {
    text-align: right;
}

footer img {
    width: 42px;
    height: 42px;
    margin-right: 10px;
    object-fit: contain;
    vertical-align: middle;
}

footer a {
    text-decoration: none;
}

/* Back to top */
.back {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 15;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    background: var(--red);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
}

/* Gallery lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(22, 14, 11, 0.94);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.open {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 94vw;
    max-height: 90vh;
    transform: scale(0.96);
    transition: transform 0.25s ease;
}

.lightbox.open img {
    transform: scale(1);
}

.lightbox button {
    position: absolute;
    top: 15px;
    right: 25px;
    background: none;
    border: 0;
    color: #fff;
    font-size: 44px;
    cursor: pointer;
}

/* Tablet and mobile */
@media (max-width: 800px) {
    body {
        font-size: 17px;
    }

    .header {
        height: 72px;
    }

    .brand img {
        width: 65px;
        height: 55px;
    }

    .menu-toggle {
        display: block;
    }

    .header nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        gap: 16px;
        padding: 25px;
        background: var(--paper);
        border-bottom: 1px solid #ddd;
    }

    .header nav.open {
        display: flex;
    }

    .hero {
        min-height: 720px;
    }

    .hero-logo {
        width: 170px;
    }

    .about,
    .contact {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section {
        padding: 70px 22px;
    }

    .about img {
        height: 400px;
    }

    .features {
        grid-template-columns: 1fr;
        padding: 35px 25px;
    }

    .features div {
        padding: 25px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .features div:last-child {
        border-bottom: 0;
    }

    .menu-preview {
        grid-template-columns: 1fr 1fr;
    }

    .gallery {
        padding: 70px 12px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-grid a:first-child {
        grid-column: span 2;
    }

    footer {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: center;
    }

    footer > div:nth-child(2),
    footer > div:last-child {
        text-align: center;
    }
}

@media (max-width: 520px) {
    .section {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .about h2 {
        font-size: 1.65rem;
        line-height: 1.18;
        letter-spacing: -0.015em;
        margin-bottom: 22px;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero-content {
        padding-top: 30px;
    }

    .about img {
        height: 340px;
    }

    .menu-preview {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 260px;
    }

    .gallery-grid a:first-child {
        grid-column: auto;
    }
}

/* Phone icon */
.phone-icon {
  display: inline-block;
  margin-right: 0.3em;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
}

/* Menu cover - real photo supplied by the restaurant */
.menu-intro-photo {
  max-width: 720px;
  margin: 1.75rem auto 2rem;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(43, 29, 19, 0.14);
}
.menu-intro-photo img { display: block; width: 100%; height: auto; }

/* Smooth gallery viewer */
.lightbox-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(88vw, 1280px);
    height: 88vh;
    overflow: hidden;
}

.lightbox-stage img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 1;
    transform: translateX(0) scale(1);
    transition: opacity 0.22s ease, transform 0.28s ease;
}

.lightbox-stage img.changing-next {
    opacity: 0;
    transform: translateX(-22px) scale(0.985);
}

.lightbox-stage img.changing-prev {
    opacity: 0;
    transform: translateX(22px) scale(0.985);
}

.lightbox .lightbox-close,
.lightbox .lightbox-prev,
.lightbox .lightbox-next {
    position: absolute;
    z-index: 2;
    border: 0;
    background: rgba(0, 0, 0, 0.18);
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.lightbox .lightbox-close {
    top: 15px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 42px;
}

.lightbox .lightbox-prev,
.lightbox .lightbox-next {
    top: 50%;
    width: 52px;
    height: 70px;
    margin-top: -35px;
    border-radius: 6px;
    font-size: 40px;
}

.lightbox .lightbox-prev { left: 18px; }
.lightbox .lightbox-next { right: 18px; }

@media (max-width: 800px) {
    .lightbox {
        padding: 20px 12px;
    }

    .lightbox-stage {
        width: 100%;
        height: 82vh;
    }

    .lightbox .lightbox-prev,
    .lightbox .lightbox-next {
        width: 44px;
        height: 62px;
        font-size: 34px;
        background: rgba(0, 0, 0, 0.3);
    }

    .lightbox .lightbox-prev { left: 6px; }
    .lightbox .lightbox-next { right: 6px; }
}

/* Menu showcase - prepared for the full page-by-page menu viewer */
.menu-showcase {
    display: grid;
    grid-template-columns: minmax(260px, 420px) minmax(280px, 520px);
    align-items: center;
    justify-content: center;
    gap: clamp(36px, 6vw, 82px);
    max-width: 1040px;
    margin: 0 auto;
}

.menu-cover-card {
    margin: 0;
    padding: 12px;
    background: #fffaf3;
    border: 1px solid #ded0bc;
    box-shadow: 0 18px 42px rgba(58, 35, 24, 0.13);
}

.menu-cover-card img {
    display: block;
    width: 100%;
    height: auto;
}

.menu-copy h3 {
    margin: 8px 0 18px;
    color: var(--brown);
    font-family: 'Cinzel Cyrillic', Georgia, 'Times New Roman', serif;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.menu-copy > p:not(.kicker) {
    color: #5f4b3f;
    font-size: 1.05rem;
    line-height: 1.75;
}

.menu-copy .menu-note {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #d8c7b2;
    font-size: 0.93rem;
    opacity: 0.8;
}

@media (max-width: 760px) {
    .menu-showcase {
        grid-template-columns: 1fr;
        max-width: 520px;
    }

    .menu-copy {
        text-align: center;
    }
}

/* Online menu viewer */

.menu-viewer {
    max-width: 920px;
    margin: 34px auto 0;
}

.menu-book {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    align-items: center;
    gap: 16px;
}

.menu-page-stage {
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    background: #efe6d6;
    border-radius: 10px;
    box-shadow: 0 18px 42px rgba(50, 30, 20, .18);
}

.menu-page-stage img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    transition: opacity .22s ease, transform .28s ease;
}

.menu-page-stage img.menu-changing {
    opacity: .25;
    transform: translateX(10px);
}

.menu-arrow {
    width: 50px;
    height: 50px;
    background: #fffaf2;
    color: #6c3127;
    border: 1px solid rgba(108, 49, 39, .25);
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.menu-arrow:hover {
    background: #f3e5d4;
    transform: scale(1.06);
}

.menu-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    max-width: 600px;
    margin: 16px auto;
    color: #6b5547;
}

#menuCounter {
    font-family: 'Cinzel Local', Georgia, serif;
    font-weight: 700;
}

.menu-hint {
    font-size: .92rem;
}

.menu-hint-touch {
    display: none;
}

.menu-thumbs {
    display: flex;
    gap: 8px;
    max-width: 600px;
    margin: 0 auto;
    padding: 8px 4px 12px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.menu-thumbs button {
    flex: 0 0 58px;
    padding: 0;
    overflow: hidden;
    background: none;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    opacity: .68;
}

.menu-thumbs button.active {
    border-color: #8b342a;
    opacity: 1;
}

.menu-thumbs img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

@media (max-width: 700px) {
    .menu-book {
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        gap: 6px;
    }

    .menu-arrow {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    .menu-hint-desktop {
        display: none;
    }

    .menu-hint-touch {
        display: inline;
    }

    .menu-viewer {
        margin-top: 24px;
    }

    .menu-thumbs button {
        flex-basis: 48px;
    }
}

/* Header logo - vertically centered */
.brand {
    display: flex;
    align-items: center;
    align-self: stretch;
}

.brand img {
    display: block;
    width: 92px;
    height: 76px;
    object-fit: contain;
}

@media (max-width: 800px) {
    .brand img {
        width: 72px;
        height: 60px;
    }
}

.hours-note{margin-top:-8px;font-size:.94em;opacity:.88;max-width:560px}
