/* Cabana Klausenburg — stil „lemn discret”
   Fără resurse externe: fonturi de sistem, textura de lemn generată în CSS/SVG inline. */

:root {
  --bg: #faf6ef;
  --surface: #fffdf9;
  --surface-2: #f3eadc;
  --text: #3a2819;
  --muted: #6a5341;
  --line: #e2d4bf;
  --honey: #c8913f;
  --honey-soft: #f1dfbf;
  --walnut: #5b3a22;
  --walnut-dark: #3f2716;
  --red: #8e2f25;
  --red-dark: #6f2119;
  --cream: #fdf6e8;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(58, 40, 25, .08), 0 6px 18px rgba(58, 40, 25, .08);
  --max: 1160px;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-head: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --wood: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='160'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0035 0.11' numOctaves='3' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.09 0 0 0 0 0.04 1.3 0 0 0 -0.42'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  padding-bottom: 76px; /* loc pentru bara de jos pe mobil */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red); text-underline-offset: .15em; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; color: var(--walnut-dark); font-weight: 700; }
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.6rem, 3.8vw, 2.3rem); margin: 0 0 .6em; }
h3 { font-size: 1.3rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--red); color: #fff; padding: .7em 1em; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .container { padding: 0 28px; } }

.section { padding: 56px 0; }
.section--alt { background: var(--surface-2); }
.section--tight { padding: 36px 0; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 46em; }
.eyebrow {
  font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin: 0 0 .5em;
}

/* ---------- Header cu textură de lemn ---------- */
.wood {
  background-color: var(--walnut);
  background-image:
    var(--wood),
    repeating-linear-gradient(180deg, rgba(255, 230, 190, .045) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #654128, #4f321d);
  color: var(--cream);
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 2px 10px rgba(30, 18, 8, .25);
}
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 64px; }

.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--cream); text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; line-height: 1.1;
  margin-right: auto; padding: 8px 0;
}
.brand:hover { color: #fff; }
.brand svg { flex: none; width: 36px; height: 36px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 48px; min-height: 48px; padding: 0 12px;
  background: rgba(0, 0, 0, .18); color: var(--cream);
  border: 1px solid rgba(253, 246, 232, .35); border-radius: 8px;
  font: inherit; font-size: .95rem; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; color: var(--cream); text-decoration: none;
  padding: 12px 14px; border-radius: 6px; font-weight: 500;
}
.site-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.site-nav a[aria-current="page"] { background: rgba(0, 0, 0, .22); box-shadow: inset 0 -3px 0 var(--honey); }

.lang-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 48px; min-height: 48px;
  color: var(--cream); text-decoration: none; font-weight: 700; font-size: .95rem;
  border-radius: 8px;
}
.lang-link:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.site-header .header-call { display: none; }

/* Meniul pe mobil (doar când JS e activ; fără JS meniul rămâne vizibil) */
@media (max-width: 899px) {
  .header-inner { flex-wrap: wrap; gap: 4px; }
  .brand { font-size: 1.08rem; gap: 8px; }
  .brand svg { width: 32px; height: 32px; }
  .lang-link { min-width: 44px; }
  .site-nav { flex-basis: 100%; order: 10; }
  .site-nav ul { padding: 4px 0 12px; }
  .site-nav a { padding: 14px 12px; font-size: 1.1rem; border-top: 1px solid rgba(253, 246, 232, .12); }
  .js .site-nav { display: none; }
  .js.nav-open .site-nav { display: block; }
}
.no-js-hide { display: none; }
.js .nav-toggle.no-js-hide { display: inline-flex; }
@media (min-width: 900px) {
  .js .nav-toggle.no-js-hide { display: none; }
  .site-nav ul { display: flex; gap: 2px; }
  .site-header .header-call { display: inline-flex; }
  .header-inner { min-height: 72px; }
}

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .7em 1.35em;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--wa { background: var(--walnut); color: #fff; }
.btn--wa:hover { background: var(--walnut-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--walnut-dark); border-color: var(--walnut); }
.btn--ghost:hover { background: var(--walnut); color: #fff; }
.btn--light { background: var(--cream); color: var(--walnut-dark); }
.btn--light:hover { background: #fff; color: var(--red-dark); }
.btn--small { min-height: 44px; padding: .5em 1em; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .btn-row .btn { flex: 1 1 100%; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--walnut-dark); color: #fff; overflow: hidden; }
.hero-img { width: 100%; height: 62vh; min-height: 340px; max-height: 760px; object-fit: cover; object-position: 50% 60%; }
.hero-text {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 90px 0 30px;
  background: linear-gradient(180deg, rgba(30, 18, 9, 0) 0%, rgba(30, 18, 9, .62) 38%, rgba(30, 18, 9, .86) 100%);
}
.hero h1 { color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); margin-bottom: .25em; }
.hero-sub { font-size: clamp(1.05rem, 2.6vw, 1.35rem); margin: 0 0 1.1em; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
@media (max-width: 599px) {
  /* pe telefon textul stă sub poză, pe fundal închis */
  .hero-img { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .hero-text { position: static; padding: 22px 0 28px; background: var(--walnut-dark); }
}
@media (min-width: 900px) { .hero-img { height: 78vh; } .hero-text { padding-bottom: 48px; } }

/* Antet de pagină (paginile interioare) */
.page-head { position: relative; color: #fff; background: var(--walnut-dark); }
.page-head img { width: 100%; height: 34vh; min-height: 220px; max-height: 420px; object-fit: cover; }
.page-head-text {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 0 22px;
  background: linear-gradient(180deg, rgba(30, 18, 9, 0), rgba(30, 18, 9, .82));
}
.page-head h1 { color: #fff; margin: 0; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.page-head p { margin: .3em 0 0; font-size: 1.1rem; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
@media (max-width: 599px) {
  .page-head img { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
  .page-head-text { position: static; padding: 18px 0 20px; background: var(--walnut-dark); }
}

/* ---------- Avantaje ---------- */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(5, 1fr); } }
.features li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; display: flex; gap: 14px; align-items: flex-start;
}
@media (min-width: 1000px) { .features li { flex-direction: column; } }
.features svg { flex: none; width: 38px; height: 38px; color: var(--red); }
.features strong { display: block; font-family: var(--font-head); font-size: 1.12rem; color: var(--walnut-dark); }
.features span { color: var(--muted); font-size: .97rem; }

/* ---------- Carduri ---------- */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s;
}
a.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(58, 40, 25, .1), 0 12px 28px rgba(58, 40, 25, .14); color: inherit; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.card-body p { color: var(--muted); }
.card-more { margin-top: auto; color: var(--red); font-weight: 700; }

/* ---------- Bandă CTA ---------- */
.cta-band { text-align: center; }
.cta-band .btn-row { justify-content: center; }
.cta-band .lead { margin: 0 auto 1.3em; }
.cta-band.wood h2 { color: var(--cream); }
.cta-band.wood .lead { color: #f0e2cb; }

/* ---------- Text + imagine ---------- */
.split { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: 44px; }
  .split--rev > :first-child { order: 2; }
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

.space { padding: 34px 0; border-top: 1px solid var(--line); }
.space:first-of-type { border-top: 0; }

/* ---------- Grilă foto ---------- */
.photo-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1100px) { .photo-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.photo-grid figure { margin: 0; }
.photo-grid a { display: block; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.photo-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .25s; }
.photo-grid a:hover img { transform: scale(1.04); }
.photo-grid figcaption { font-size: .92rem; color: var(--muted); padding: 6px 2px 0; line-height: 1.35; }

.gallery-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.gallery-group { padding-top: 40px; }
.gallery-group h2 { scroll-margin-top: 90px; }

/* ---------- Liste ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .checklist--cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .checklist--cols3 { grid-template-columns: repeat(3, 1fr); } }
.checklist li {
  position: relative; padding: 12px 14px 12px 46px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
}
.checklist li::before {
  content: ""; position: absolute; left: 14px; top: 15px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.rules { padding-left: 1.2em; margin: 0; }
.rules li { margin-bottom: .7em; padding-left: .2em; }
.rules li::marker { color: var(--red); font-weight: 700; }

.facts { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin: 0; }
@media (min-width: 800px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.facts dt { font-size: .88rem; color: var(--muted); }
.facts dd { margin: 0; font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--walnut-dark); }

.box {
  background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--honey);
  border-radius: var(--radius); padding: 20px 22px; margin: 0 0 20px;
}
.box--warn { border-left-color: var(--red); background: #fbf0ec; }
.box > :last-child { margin-bottom: 0; }

.season { padding: 44px 0; border-top: 1px solid var(--line); }
.season:first-of-type { border-top: 0; }
.season-tag {
  display: inline-block; background: var(--honey-soft); color: var(--walnut-dark);
  font-weight: 700; font-size: .85rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px;
}
.season-photos { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 18px; }
.season-photos figure { margin: 0; }
.season-photos img { border-radius: 8px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.season-photos figcaption { font-size: .9rem; color: var(--muted); padding-top: 4px; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .contact-list { grid-template-columns: 1fr 1fr; } }
.contact-list a, .contact-list .contact-static {
  display: flex; align-items: center; gap: 14px; min-height: 64px;
  padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--text); overflow-wrap: anywhere;
}
.contact-list a:hover { border-color: var(--red); color: var(--text); }
.contact-list svg { flex: none; width: 28px; height: 28px; color: var(--red); }
.contact-list small { display: block; color: var(--muted); font-size: .85rem; }
.contact-list strong { font-weight: 700; }
address { font-style: normal; }

/* ---------- Footer ---------- */
.site-footer { padding: 44px 0 30px; font-size: .97rem; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h2 { color: var(--cream); font-size: 1.15rem; margin-bottom: .6em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45em; }
.footer-bottom { border-top: 1px solid rgba(253, 246, 232, .2); margin-top: 30px; padding-top: 18px; color: #e9dcc6; font-size: .9rem; }

/* ---------- Bara de jos pe mobil ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(250, 246, 239, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -4px 14px rgba(58, 40, 25, .12);
}
.mobile-bar .btn { min-height: 54px; border-radius: 12px; padding: .5em .6em; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(22, 13, 6, .95); color: #fff;
  display: flex; align-items: center; justify-content: center;
  touch-action: pan-y;
}
.lightbox[hidden] { display: none; }
.lb-open { overflow: hidden; }
.lightbox figure { margin: 0; max-width: 100vw; padding: 0 8px; text-align: center; }
.lightbox img {
  max-width: min(100%, 1600px); max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px);
  width: auto; height: auto; margin: 0 auto; border-radius: 4px; background: #1d120a;
}
.lightbox figcaption { padding: 10px 56px 0; font-size: 1rem; line-height: 1.4; color: #f3e9d8; }
.lb-count { display: block; font-size: .85rem; color: #cbbba3; margin-top: 2px; }
.lb-btn {
  position: absolute; width: 56px; height: 56px; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .45); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lb-btn:hover { background: var(--red); }
.lb-btn svg { width: 28px; height: 28px; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
@media (max-width: 599px) {
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
}

/* utilitare */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.mt-24 { margin-top: 24px; }
.photo-figure { margin: 0; }
.photo-figure figcaption { font-size: .95rem; color: var(--muted); padding-top: 8px; }
.video-figure { margin-top: 32px; max-width: 900px; }
.video-figure video { display: block; width: 100%; height: auto; border-radius: 8px; background: #000; }
