/* ===== Angel Ferienhaus – свежа зелена тема ===== */

@font-face { font-family: "Lora"; font-weight: 500; font-display: swap; src: url("../fonts/lora-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Lora"; font-weight: 500; font-display: swap; src: url("../fonts/lora-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Lora"; font-weight: 600; font-display: swap; src: url("../fonts/lora-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Lora"; font-weight: 600; font-display: swap; src: url("../fonts/lora-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-display: swap; src: url("../fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-display: swap; src: url("../fonts/nunito-sans-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Nunito Sans"; font-weight: 600; font-display: swap; src: url("../fonts/nunito-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Nunito Sans"; font-weight: 600; font-display: swap; src: url("../fonts/nunito-sans-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Nunito Sans"; font-weight: 700; font-display: swap; src: url("../fonts/nunito-sans-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Nunito Sans"; font-weight: 700; font-display: swap; src: url("../fonts/nunito-sans-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --forest: #1f4d3a;
  --forest-2: #163a2b;
  --leaf: #3c7d57;
  --leaf-hover: #2f6847;
  --sage: #a9c7a4;
  --mint: #eef5ec;
  --cream: #fbfaf6;
  --wood: #b98a5e;
  --ink: #1d2b24;
  --muted: #5d7266;
  --line: #dfe8dc;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(31, 77, 58, .28);
  --font-head: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { font-family: var(--font-body); color: var(--ink); background: var(--cream); font-size: 1.05rem; line-height: 1.65; }
a { color: var(--leaf); }
a:hover { color: var(--forest); }
h1, h2, h3, .section-title { font-family: var(--font-head); font-weight: 600; color: var(--forest); letter-spacing: -.01em; }
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 1rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--leaf); margin-bottom: .5rem; }
.text-muted-green { color: var(--muted); }
.lead-text p { font-size: 1.1rem; color: #33463c; }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: 8px; }

/* Бутони */
.btn { border-radius: 999px; font-weight: 600; display: inline-flex; align-items: center; gap: .45rem; justify-content: center; }
.btn-leaf { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.btn-leaf:hover, .btn-leaf:focus { background: var(--leaf-hover); border-color: var(--leaf-hover); color: #fff; }
.btn-outline-leaf { border: 1.5px solid var(--leaf); color: var(--leaf); background: transparent; }
.btn-outline-leaf:hover { background: var(--leaf); color: #fff; }
.btn-booking { background: #003b95; border-color: #003b95; color: #fff; }
.btn-booking:hover { background: #002a6b; color: #fff; }
.btn-airbnb { background: #ff385c; border-color: #ff385c; color: #fff; }
.btn-airbnb:hover { background: #e0314f; color: #fff; }
.btn-ghost { background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.75); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--forest); }

/* Хедър */
.site-header { position: sticky; top: 0; z-index: 1030; transition: background .25s, box-shadow .25s; }
.site-header.is-solid, .site-header.scrolled { background: rgba(251, 250, 246, .92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-overlay { position: fixed; left: 0; right: 0; }
.site-header .navbar { padding: .8rem 0; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--forest); text-decoration: none; }
.brand-mark { width: 30px; height: 30px; color: var(--leaf); flex: none; }
.site-header .nav-link { color: var(--ink); font-weight: 600; padding: .5rem .85rem !important; border-radius: 999px; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--leaf); }
.site-header .nav-link.active { background: var(--mint); }
.navbar-toggler { border: 0; font-size: 1.8rem; color: var(--forest); padding: .2rem .4rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(60,125,87,.35); }
.dropdown-item.active, .dropdown-item:active { background: var(--leaf); }

.site-header.is-overlay:not(.scrolled) .brand,
.site-header.is-overlay:not(.scrolled) .nav-link,
.site-header.is-overlay:not(.scrolled) .navbar-toggler { color: #fff; }
.site-header.is-overlay:not(.scrolled) .brand-mark { color: #cfe6c9; }
.site-header.is-overlay:not(.scrolled) .nav-link.active { background: rgba(255,255,255,.18); }

@media (max-width: 991.98px) {
  .site-header .navbar-collapse { background: var(--cream); border-radius: var(--radius); margin-top: .6rem; padding: .6rem; box-shadow: var(--shadow); }
  .site-header.is-overlay:not(.scrolled) .navbar-collapse .nav-link { color: var(--ink); }
  .site-header.is-overlay:not(.scrolled) .navbar-collapse .nav-link.active { background: var(--mint); color: var(--leaf); }
}

/* Hero */
.hero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end; color: #fff;
  background: var(--forest) var(--hero-img) center / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,34,25,.55) 0%, rgba(14,34,25,.08) 35%, rgba(14,34,25,.25) 60%, rgba(14,34,25,.78) 100%); }
.hero-inner { position: relative; padding-bottom: 6.5rem; padding-top: 8rem; }
.hero-kicker { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .82rem; color: #d7ecd2; margin-bottom: .6rem; }
.hero-title { color: #fff; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.05; margin-bottom: 1rem; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero-sub { font-size: clamp(1.08rem, 2vw, 1.35rem); max-width: 40rem; color: #f1f7ef; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-scroll { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); color: #fff; font-size: 1.6rem; opacity: .8; animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }
@media (prefers-reduced-motion: reduce) { .hero-scroll { animation: none; } html { scroll-behavior: auto; } }

/* Секции */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tint { background: var(--mint); }
.page-pad { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem); min-height: 60vh; }
.page-head { margin-bottom: 2rem; max-width: 46rem; }

.about-collage { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem; align-items: end; }
.about-img .photo-tile img { aspect-ratio: 4 / 5; }
.about-img-2 { margin-bottom: 2.5rem; }
.about-img-2 .photo-tile img { aspect-ratio: 3 / 4; }
@media (min-width: 992px) { .leaf-deco { right: -18px !important; } }
.leaf-deco { position: absolute; width: 140px; height: 140px; right: 0; top: -26px; z-index: -1; border-radius: 60% 0 60% 0; background: var(--sage); opacity: .55; }

.feature { display: flex; align-items: center; gap: 1rem; background: #fff; border-radius: var(--radius); padding: 1.1rem 1.2rem; height: 100%; box-shadow: 0 1px 0 var(--line); font-weight: 600; }
.feature-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--mint); color: var(--leaf); font-size: 1.3rem; }
.section-tint .feature-icon { background: #e1eedd; }

/* Снимки */
.photo-tile { display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: #dfe8dc; box-shadow: var(--shadow); }
.photo-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-tile:hover img, .photo-tile:focus-visible img { transform: scale(1.04); }
.photo-tile:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }

.teaser-grid { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; }
.teaser-grid .photo-tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 767.98px) {
  .teaser-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .teaser-grid .photo-tile:nth-child(1) { grid-row: span 2; }
}

/* Галерия: редовете следват реда от админ панела */
.gallery-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.gallery-grid .photo-tile { aspect-ratio: 4 / 3; }
@media (max-width: 575.98px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; } .gallery-grid .photo-tile { border-radius: 12px; } }

/* Карта */
.map-box { position: relative; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, #e3eee0, #f4f8f2); min-height: 340px; box-shadow: var(--shadow); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; color: var(--muted); }
.map-consent .bi-map { color: var(--leaf); margin-bottom: .5rem; }
.map-consent p { max-width: 28rem; }
.address-line { font-weight: 600; color: var(--forest); }
.address-line .bi { color: var(--leaf); }

/* CTA */
.cta-band { background: radial-gradient(1200px 400px at 20% 0%, #2e6b4c 0%, var(--forest) 60%); color: #fff; padding: clamp(3rem, 7vw, 5rem) 0; }
.cta-text { color: #d9eadb; font-size: 1.1rem; margin-bottom: 1.5rem; }

/* Контакти */
.contact-card { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 1.3rem; height: 100%; box-shadow: 0 1px 0 var(--line); }
.contact-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.contact-value { font-weight: 600; color: var(--forest); word-break: break-word; text-decoration: none; }
a.contact-value:hover { color: var(--leaf); text-decoration: underline; }
.book-strip { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; background: var(--mint); border-radius: var(--radius); padding: 1.4rem 1.6rem; }

/* Правни страници */
.legal { max-width: 52rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal-note { background: var(--mint); border-radius: 12px; padding: .8rem 1rem; color: var(--muted); }
.missing { background: #fff3cd; color: #7a5b00; padding: 0 .3rem; border-radius: 4px; }

/* Футър */
.site-footer { background: var(--forest-2); color: #cfe0d2; padding: 3.5rem 0 1.5rem; }
.site-footer a { color: #e8f3e6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.brand-footer { color: #fff; }
.brand-footer .brand-mark { color: var(--sage); }
.footer-muted { color: #a9c2b0; max-width: 26rem; }
.footer-h { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--sage); font-weight: 700; margin-bottom: 1rem; }
.footer-list li { margin-bottom: .45rem; }
.footer-list .bi { color: var(--sage); margin-right: .35rem; }
.footer-langs a { display: inline-block; padding: .15rem .45rem; border-radius: 6px; font-weight: 700; font-size: .85rem; }
.footer-langs a[aria-current] { background: rgba(255,255,255,.12); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; color: #8fab98; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; }
.made-by strong { color: #cfe0d2; font-weight: 700; letter-spacing: .02em; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(10, 22, 16, .94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 92vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; }
.lb-img { max-width: 92vw; max-height: 80vh; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-caption { color: #e3efe0; margin-top: .8rem; text-align: center; min-height: 1.4em; }
.lb-btn { position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; }
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(255,255,255,.25); outline: none; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: #a9c2b0; font-size: .9rem; }
@media (max-width: 575.98px) { .lb-prev, .lb-next { top: auto; bottom: .7rem; transform: none; } }
body.lb-open { overflow: hidden; }

/* Отзиви */
.stars { color: #e0a526; display: inline-flex; gap: 2px; font-size: 1rem; }
.stars-lg { font-size: 1.35rem; }
.review-summary { display: flex; align-items: center; gap: 1rem; background: var(--mint); border-radius: var(--radius); padding: 1.1rem 1.4rem; }
.review-avg { font-family: var(--font-head); font-size: 2.8rem; line-height: 1; color: var(--forest); font-weight: 600; }
.review-list { display: grid; gap: 1rem; }
.review-card { background: #fff; border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: 0 1px 0 var(--line); height: 100%; }
.review-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem; }
.review-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--leaf); font-weight: 700; font-size: 1.1rem; flex: none; }
.review-name { font-weight: 700; color: var(--forest); }
.review-meta { font-size: .85rem; color: var(--muted); }
.lang-badge { font-size: .72rem; font-weight: 700; letter-spacing: .05em; color: var(--leaf); border: 1px solid #cfe1cb; border-radius: 6px; padding: .1rem .4rem; flex: none; }
.review-body { margin: .7rem 0 0; color: #33463c; white-space: normal; }
.review-reply { margin-top: 1rem; background: var(--mint); border-left: 3px solid var(--leaf); border-radius: 0 12px 12px 0; padding: .8rem 1rem; font-size: .95rem; }
.review-reply-h { font-weight: 700; color: var(--forest); font-size: .85rem; margin-bottom: .3rem; }
.review-policy { color: var(--muted); }
.empty-reviews { text-align: center; padding: 2.5rem 1rem; background: var(--mint); border-radius: var(--radius); color: var(--muted); }
.empty-reviews .bi { font-size: 2rem; color: var(--leaf); }
.review-form-card { background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); position: sticky; top: 90px; }
@media (max-width: 991.98px) { .review-form-card { position: static; } }
.review-form-card .form-control:focus, .review-form-card .form-check-input:focus { border-color: var(--leaf); box-shadow: 0 0 0 .2rem rgba(60,125,87,.2); }
.form-check-input:checked { background-color: var(--leaf); border-color: var(--leaf); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 1.9rem; color: #d7dfd4; cursor: pointer; transition: color .15s, transform .15s; line-height: 1; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #e0a526; }
.star-input input:focus-visible + label { outline: 2px solid var(--leaf); outline-offset: 2px; border-radius: 4px; }
.star-input label:active { transform: scale(.9); }
.review-form-title { font-family: var(--font-head); font-weight: 600; color: var(--forest); font-size: 1.5rem; margin-bottom: 1rem; }

/* Полезни връзки */
.useful-h { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--leaf); font-weight: 700; margin: 1.6rem 0 .7rem; }
.useful-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.useful-links a { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--forest); transition: border-color .2s, color .2s; }
.useful-links a:hover { border-color: var(--leaf); color: var(--leaf); }
.useful-links .bi { font-size: .8rem; color: var(--leaf); }
.footer-links .bi { font-size: .75rem; }
