@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');
:root {
    --green:#24483c;
    --cream:#f6f3eb;
    --ink:#27352e;
    --gold:#b18b55;
}

* {
    box-sizing:border-box;
}

html {
    scroll-behavior:smooth;
}

body {
    margin:0;
    font:16px/1.75 Manrope,Arial,sans-serif;
    color:var(--ink);
    background:#fff;
}

h1, h2 {
    font-family:ArtScript,Georgia,serif;
    font-weight:400;
    line-height:1.3;
}

h3 {
    font-family:'Playfair Display',Georgia,serif;
    line-height:1.18;
}

h1 {
    font-size:clamp(43px,6vw,83px);
    margin:16px 0;
}

h2 {
    font-size: clamp(36px, 4.8vw, 56px);
    margin:12px 0 25px;
}

h3 {
    font-size:25px;
}

a {
    color:var(--green);
}

.wrap {
    width:min(1120px,90%);
    margin:auto;
}

.section {
    padding:92px 0;
}

.eyebrow {
    text-transform:uppercase;
    letter-spacing:.21em;
    font-size:12px;
    font-weight:700;
    color:var(--gold);
}

header {
    position:sticky;
    top:0;
    background:rgba(255,255,255,.97);
    z-index:10;
    box-shadow:0 3px 20px #0001;
}

.nav {
    min-height:90px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
}

.brand img {
    width:155px;
    max-height:77px;
    object-fit:contain;
}

nav {
    display:flex;
    gap:24px;
}

nav a {
    text-decoration:none;
    font-weight:700;
    font-size:14px;
}

#toggle {
    display:none;
}

.hero {
    min-height:630px;
    display:flex;
    align-items:center;
    color:#fff;
    background:linear-gradient(115deg,#173b32 5%,#466857 70%,#8c9b7a);
    position:relative;
    overflow:hidden;
}

.hero:after {
    content:'';
    position:absolute;
    right:-8%;
    bottom:-50%;
    height:110%;
    aspect-ratio:1;
    border:90px solid #ffffff12;
    border-radius:50%;
}

.hero-inner {
    position:relative;
    z-index:1;
}

.hero p {
    font-size:19px;
    max-width:600px;
}

.hero .eyebrow {
    color:#f3d7a7;
}

.button {
    display:inline-block;
    background:var(--gold);
    color:#fff;
    text-decoration:none;
    padding:12px 25px;
    border-radius:4px;
    font-weight:700;
    margin-top:12px;
}

.split {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.photo-slot {
    height:420px;
    background:linear-gradient(140deg,#d5d8c8,#809b8a);
    display:grid;
    place-items:center;
    padding:35px;
    text-align:center;
    color:#fff;
    border-radius:4px;
}

.stats {
    background:var(--green);
    color:#fff;
    padding:35px 0;
}

.stats-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    text-align:center;
}

.stats strong {
    display:block;
    font:46px Georgia;
}

.stats span {
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:.13em;
}

.cards {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.cards article {
    background:var(--cream);
    padding:30px;
    border-top:4px solid var(--gold);
}

.shaded {
    background:var(--cream);
}

.filters {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:30px;
}

.filters button {
    border:1px solid #c4c9bf;
    background:#fff;
    padding:9px 19px;
    border-radius:30px;
    cursor:pointer;
}

.filters button.active {
    background:var(--green);
    color:#fff;
}

.photos {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
}

.photos button {
    padding:0;
    border:0;
    background:none;
    cursor:pointer;
}

.photos img {
    width:100%;
    height:245px;
    object-fit:cover;
    display:block;
}

.empty {
    grid-column:1/-1;
    padding:55px;
    text-align:center;
    border:2px dashed #b5c1b8;
}

.price-table {
    max-width:850px;
    border-top:2px solid var(--green);
}

.price-row {
    display:flex;
    justify-content:space-between;
    gap:20px;
    padding:14px 10px;
    border-bottom:1px solid #ddd;
}

.price-row strong {
    white-space:nowrap;
    color:var(--green);
}

.fine {
    font-size:14px;
    color:#666;
    max-width:850px;
}

.video-frame {
    width: 100%;
    max-width: none;
    aspect-ratio: 16/9;
}

.video-frame iframe,.map iframe {
    border:0;
    width:100%;
    height:100%;
}

.map {
    height:350px;
}

footer {
    background:#193b31;
    color:#eee;
    padding:28px 0;
}

.foot {
    display:flex;
    justify-content:space-between;
    gap:15px;
}

.foot a {
    color:#eee;
    text-decoration:none;
}

dialog {
    border:0;
    background:#111e;
    padding:45px;
    max-width:100vw;
    max-height:100vh;
}

dialog::backdrop {
    background:#000d;
}

/* Плавно преливане между снимките в увеличената галерия. */
.lightbox-stage {
    position: relative;
    width: min(80vw, 1200px);
    height: 80vh;
    overflow: hidden;
    touch-action: pan-y;
}

.lightbox-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 400ms ease-in-out;
    pointer-events: none;
}

.lightbox-image.is-visible {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .lightbox-image { transition: none; }
}

dialog button {
    position:absolute;
    border:0;
    background:#fff9;
    font-size:28px;
    cursor:pointer;
}

#close {
    right:5px;
    top:5px;
}

#prev {
    left:5px;
    top:45%;
}

#next {
    right:5px;
    top:45%;
}

@media(max-width:800px) {
    .section {
        padding:60px 0;
    }

    .split,.cards {
        grid-template-columns:1fr;
        gap:25px;
    }

    .stats-grid {
        grid-template-columns:repeat(2,1fr);
        gap:20px;
    }

    .photos {
        grid-template-columns:repeat(2,1fr);
    }

    .photos img {
        height:180px;
    }

    #toggle {
        display:block;
        border:0;
        background:none;
        color:var(--green);
        -webkit-text-fill-color:var(--green);
        font-size:25px;
        cursor:pointer;
        -webkit-appearance:none;
        appearance:none;
    }

    nav {
        display:none;
        position:absolute;
        top:90px;
        left:0;
        right:0;
        background:#fff;
        padding:20px;
        flex-direction:column;
    }

    nav.open {
        display:flex;
    }

    .foot {
        flex-direction:column;
    }

    .hero {
        min-height:500px;
    }

}

@font-face {
    font-family:ArtScript;
    src:url("../fonts/art_script.ttf") format("truetype");
    font-display:swap;
}

.hero {
    background:linear-gradient(90deg,rgba(16,36,29,.82),rgba(16,36,29,.35) 58%,rgba(16,36,29,.08)),url("../images/vasilena-32.webp") center 49%/cover no-repeat;
}

.hero:after {
    display:none;
}

.hero h1 {
    font-family:ArtScript,Georgia,serif;
    font-weight:400;
    font-size:clamp(54px,7.4vw,106px);
    line-height:1.1;
}

.photo-slot {
    padding:0;
    overflow:hidden;
    background:#eee;
}

.photo-slot img {
    width:100%;
    height:100%;
    object-fit:cover;
}

.photos button {
    overflow:hidden;
    border-radius:5px;
}

.photos img {
    transition:transform .4s ease;
}

.photos button:hover img {
    transform:scale(1.055);
}

.back-top {
    position:fixed;
    bottom:25px;
    right:25px;
    background:#24483c;
    color:white;
    text-decoration:none;
    border:0;
    cursor:pointer;
    font-size:24px;
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:50%;
    z-index:9;
    box-shadow:0 4px 14px #0004;
}

button:focus-visible,a:focus-visible {
    outline:3px solid #b18b55;
    outline-offset:3px;
}

@media(max-width:800px) {
    .hero {
        background-position:58% center;
    }

    .hero h1 {
        font-size:clamp(50px,12vw,78px);
    }

}


/* Скриване на снимките при филтриране */
.gallery-photo[hidden] {
    display: none !important;
}

/* Контакти и форма за запитвания */
.contact-links p { display:flex; align-items:center; gap:12px; margin:12px 0; }
.contact-icon { display:inline-grid; place-items:center; width:34px; height:34px; flex:none; border-radius:50%; background:#e5e8dd; color:#24483c; font-size:21px; }
.contact-form { max-width:800px; display:grid; gap:18px; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.contact-form label { display:grid; gap:7px; font-weight:600; }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { width:100%; padding:12px 14px; border:1px solid #b9c2b9; border-radius:5px; background:#fff; color:#203b32; font:inherit; }
.contact-form textarea { resize:vertical; }
.contact-form .consent { display:flex; align-items:flex-start; gap:10px; font-weight:400; }
.contact-form .consent input { margin-top:5px; }
.contact-form .button { justify-self:start; cursor:pointer; }
.form-trap { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
#form-status { margin:0; }
@media(max-width:600px) { .form-grid { grid-template-columns:1fr; } }

/* Additional guest amenities */
.amenities-details {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}
.amenity-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 16px;
    border: 1px solid rgba(95, 75, 48, .15);
    border-radius: 12px;
    background: #fffdf8;
}
.amenity-symbol {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1e7d5;
    color: #76582d;
    font-size: 20px;
    font-weight: 700;
}
.amenity-detail h3 { margin: 0 0 8px; font-size: 1.05rem; }
.amenity-detail p { margin: 0; line-height: 1.5; }
@media (max-width: 1000px) {
    .amenities-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
    .amenities-details { grid-template-columns: 1fr; }
}

/* Условия към цените */
.price-notes {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    font-size: 14px;
    font-style: italic;
    line-height: 1.7;
}

.price-notes li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
}

.price-notes li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #24483c;
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
}

/* Видимо потвърждение при изпращане на запитване */
#form-status:empty { display: none; }
.form-feedback {
    padding: 16px 18px;
    border: 1px solid;
    border-radius: 8px;
    line-height: 1.6;
    font-weight: 600;
}
.form-feedback--success {
    background: #eaf3ec;
    border-color: #b8d6bf;
    color: #24483c;
}
.form-feedback--error {
    background: #fff1ef;
    border-color: #e5b7b0;
    color: #872f26;
}
.tavern-feature {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    margin-top: 28px;
    background: #f6f3eb;
    border-radius: 10px;
    overflow: hidden;
}
.tavern-feature-text { padding: 24px 26px; }
.tavern-feature-text h3 { margin: 0 0 12px; color: #24483c; }
.tavern-feature-text p { margin: 0 0 14px; }
.tavern-feature-text p:last-child { margin-bottom: 0; }
.tavern-feature-photo { min-height: 280px; overflow: hidden; }
.tavern-feature-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 55% center;
}
@media (max-width: 700px) {
    .tavern-feature { grid-template-columns: 1fr; }
    .tavern-feature-photo { height: 240px; min-height: 0; }
}
/* BG / EN language switcher - desktop and mobile */
#menu .language-switch {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: 12px;
    white-space: nowrap;
    font-family: Manrope, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}
#menu .language-switch a {
    display: inline-block;
    padding: 5px 3px;
    color: #24483c;
    text-decoration: none;
}
#menu .language-switch a[aria-current="page"] {
    border-bottom: 2px solid #24483c;
}
#menu .language-switch .language-separator {
    color: #8b938b;
    font-weight: 400;
}
@media (max-width: 800px) {
    #menu .language-switch {
        margin: 8px 0 2px;
        padding: 3px 0;
        align-self: flex-start;
    }
}