:root {
  --forest: #1f3a2e;
  --forest-2: #2c5040;
  --cream: #f7f3ec;
  --sand: #ece4d6;
  --ink: #1d1d1b;
  --muted: #6b6b63;
  --gold: #b08d57;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --white: #fff;
  --radius: 6px;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.eyebrow {
  font-size: .95rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .8em;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .85em 1.8em;
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
  border-radius: 999px;
  font: 700 .95rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: #9a7745; border-color: #9a7745; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--white); border-color: var(--forest); }
.btn-small { padding: .7em 1.3em; }
.btn-whatsapp { background: var(--whatsapp); border-color: var(--whatsapp); display: inline-flex; align-items: center; gap: .6em; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); border-color: var(--whatsapp-dark); }
.btn-whatsapp i { font-size: 1.35em; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background .3s, box-shadow .3s, color .3s;
}
.site-header.scrolled { background: var(--cream); color: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.45rem; font-weight: 700; }
.brand-sub { font-size: .8rem; margin-top: .3em; opacity: .85; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) {
  text-decoration: none; font-size: .95rem;
  position: relative; padding-block: .3em;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: currentColor; transition: right .25s;
}
.nav a:not(.btn):hover::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: inherit; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .25s, opacity .25s; }

/* Hero */
.hero {
  position: relative;
  min-height: clamp(560px, 100svh, 980px);
  display: flex; align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15,30,22,.55) 0%, rgba(15,30,22,.2) 30%, rgba(15,30,22,.8) 100%),
    linear-gradient(90deg, rgba(15,30,22,.55) 0%, rgba(15,30,22,0) 65%);
}
.hero-content { text-shadow: 0 1px 2px rgba(0,0,0,.45), 0 2px 18px rgba(0,0,0,.35); }
.hero-content .btn { text-shadow: none; }
.hero-content { position: relative; padding-block: 140px 90px; max-width: 760px; margin-left: max(16px, (100% - 1180px) / 2); pointer-events: none; }
.hero-content a { pointer-events: auto; }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: #e8d4ad; }
.hero .eyebrow { color: #e8d4ad; }
.lead { font-size: 1.15rem; max-width: 600px; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

/* Stats */
.stats { background: var(--forest); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; padding-block: 2.2rem; }
.stats-grid div + div { border-left: 1px solid rgba(255,255,255,.15); }
.stats strong { display: block; font-size: 2.2rem; font-weight: 700; line-height: 1; color: #e8d4ad; }
.stats span { font-size: .95rem; opacity: .85; }

/* Sections */
.section { padding-block: clamp(70px, 10vw, 120px); }
.section-tint { background: var(--sand); }
.section-dark { background: var(--forest); color: var(--white); }
.section-dark .eyebrow { color: #e8d4ad; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.2rem; }
.section-intro { color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.host { color: var(--forest); margin-top: 1.6em; }

.collage { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 520px; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); cursor: zoom-in; }
.collage img:first-child { grid-row: span 2; }

/* Amenities */
.amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.amenity-group { background: var(--cream); padding: 2rem; border-radius: var(--radius); }
.amenity-group h3 { color: var(--forest); border-bottom: 1px solid rgba(0,0,0,.1); padding-bottom: .6rem; margin-bottom: 1rem; }
.amenity-group ul { list-style: none; margin: 0; padding: 0; }
.amenity-group li { display: flex; align-items: center; gap: .85rem; padding: .45rem 0; }
.amenity-group small { color: var(--muted); font-size: .8rem; }
.amenity-group svg {
  flex: none; width: 24px; height: 24px;
  fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.card img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; transition: transform .6s; cursor: zoom-in; }
.card:hover img { transform: scale(1.04); }
.card-body { padding: 1.4rem 1.6rem 1.6rem; }
.card-body p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.filter {
  background: transparent; border: 1px solid rgba(0,0,0,.18); border-radius: 999px;
  padding: .5em 1.2em; font: 400 .9rem var(--sans); cursor: pointer; color: var(--ink);
  transition: background .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--forest); }
.filter.is-active { background: var(--forest); color: var(--white); border-color: var(--forest); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 10px; }
.gallery button { padding: 0; border: 0; cursor: zoom-in; border-radius: 4px; overflow: hidden; background: var(--cream); }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.gallery button:hover img { transform: scale(1.06); }

/* Tour */
.tour { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #111; }
.tour iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour-poster { position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; background: #111; }
.tour-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .65; transition: opacity .3s, transform .6s; }
.tour-poster:hover img { opacity: .5; transform: scale(1.02); }
.tour-play {
  position: absolute; inset: 0; margin: auto; width: max-content; height: max-content;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  color: var(--white); font: 700 1rem var(--sans);
}
.tour-play svg {
  width: 84px; height: 84px; padding: 24px 22px 24px 28px; border-radius: 50%;
  fill: var(--white); background: rgba(176,141,87,.9); transition: transform .25s;
}
.tour-poster:hover .tour-play svg { transform: scale(1.08); }
.tour-link { text-align: center; margin-top: 1.2rem; }
.tour-link a { color: var(--forest); font-size: .9rem; }

/* Location */
.address { font-size: 1.1rem; font-weight: 700; color: var(--forest); }
.distances { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.distances li { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid rgba(0,0,0,.1); }
.distances li span:last-child { font-weight: 700; color: var(--forest); }
.map { border-radius: var(--radius); overflow: hidden; height: 460px; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Rules */
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; border-top: 1px solid rgba(0,0,0,.1); }
.rules div { padding: 1.6rem 1.4rem 1.6rem 0; border-bottom: 1px solid rgba(0,0,0,.1); }
.rules dt { font-size: 1.05rem; font-weight: 700; color: var(--forest); }
.rules dd { margin: .3rem 0 0; color: var(--muted); font-size: .95rem; }

/* Booking */
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.contact-list li { padding: .4rem 0; display: flex; align-items: center; gap: .8rem; }
.contact-list i { width: 1.4rem; text-align: center; color: #e8d4ad; font-size: 1.15rem; }
.contact-list a { font-size: 1.2rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(232,212,173,.4); }
.contact-list a:hover { border-color: #e8d4ad; }
.contact-list .is-whatsapp i { color: var(--whatsapp); font-size: 1.4rem; }
.muted { opacity: .75; font-size: .95rem; }
.booking-form {
  background: var(--cream); color: var(--ink); padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius); display: grid; gap: 1rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.booking-form label { display: grid; gap: .3rem; font-size: .9rem; font-weight: 700; color: var(--muted); }
.booking-form input, .booking-form textarea {
  font: 400 1rem var(--sans); color: var(--ink); background: var(--white);
  border: 1px solid rgba(0,0,0,.15); border-radius: 4px; padding: .7em .8em; width: 100%;
}
.booking-form label, .field-row > * { min-width: 0; }
/* iOS Safari: câmpurile de dată au o lățime minimă proprie și altă înălțime când sunt goale */
.booking-form input[type="date"] {
  -webkit-appearance: none; appearance: none;
  display: block; min-width: 0; max-width: 100%;
}
.booking-form input { height: 2.9em; }
.booking-form input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.booking-form input[type="date"]::-webkit-calendar-picker-indicator { margin-left: auto; }
.booking-form input:focus, .booking-form textarea:focus { outline: 2px solid var(--gold); outline-offset: -1px; border-color: transparent; }
.booking-form textarea { resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.form-error { color: #a33; font-size: .9rem; margin: 0; min-height: 0; }
.form-error:empty { display: none; }

/* Butoane contact rapid */
.quick-contact {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; flex-direction: column; gap: 12px;
}
.qc-btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--white); font-size: 1.6rem; text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s;
}
.qc-btn:hover { transform: scale(1.08); box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.qc-whatsapp { background: var(--whatsapp); font-size: 1.9rem; }
.qc-phone { background: var(--gold); }
.qc-phone i { font-size: 1.3rem; }
body.menu-open .quick-contact, body.lb-open .quick-contact { display: none; }

/* Footer */
.site-footer { background: #142821; color: rgba(255,255,255,.75); padding-block: 2.4rem; font-size: .88rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-inner > div { display: flex; flex-direction: column; color: var(--white); }
.footer-inner p { margin: 0; }

/* Lightbox pe tot ecranul */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: #0b0f0d; color: var(--white);
  display: grid; grid-template-rows: auto 1fr auto;
}
.lightbox[hidden] { display: none; }
.lb-top { display: flex; align-items: center; gap: 1rem; padding: .8rem 1rem .8rem 1.4rem; }
.lb-counter { font-weight: 700; font-variant-numeric: tabular-nums; opacity: .8; white-space: nowrap; }
.lb-cap { flex: 1; text-align: center; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-tools { display: flex; gap: .4rem; }
.lightbox button { background: none; border: 0; color: var(--white); cursor: pointer; }
.lb-tools button { width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; transition: background .2s; }
.lb-tools button:hover { background: rgba(255,255,255,.12); }
.lb-stage { position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 72px; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; transition: opacity .25s; }
.lb-stage img.loading { opacity: .35; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.2rem;
  background: rgba(255,255,255,.1) !important; transition: background .2s;
}
.lb-nav:hover { background: rgba(255,255,255,.22) !important; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-thumbs { display: flex; gap: 8px; padding: 12px 16px 16px; overflow-x: auto; scrollbar-width: none; }
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumbs button { flex: none; width: 84px; height: 58px; padding: 0; border-radius: 4px; overflow: hidden; opacity: .45; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .2s, outline-color .2s; }
.lb-thumbs button:hover { opacity: .8; }
.lb-thumbs button.active { opacity: 1; outline-color: var(--gold); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
body.lb-open { overflow: hidden; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .amenities, .cards { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 22vw; }
  .rules { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; background: var(--forest); color: var(--white);
    flex-direction: column; justify-content: center; gap: 1.6rem;
    font-size: 1.2rem; transform: translateX(100%); transition: transform .35s ease;
  }
  .nav a:not(.btn) { font-size: 1.3rem; }
  .nav.open { transform: none; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-header { color: var(--white); background: transparent; box-shadow: none; }
  body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .split { grid-template-columns: 1fr; }
  .collage { height: 380px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 1.6rem; }
  .stats-grid div:nth-child(4) { border-left: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .amenities, .cards, .rules { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 34vw; gap: 6px; }
  .field-row { grid-template-columns: 1fr; }
  .tour { aspect-ratio: 3 / 4; }
  .map { height: 340px; }
  .hero-content { padding-bottom: 60px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(15,30,22,.5) 0%, rgba(15,30,22,.45) 30%, rgba(15,30,22,.82) 60%, rgba(15,30,22,.9) 100%); }
  .hero .eyebrow { color: #f0dfbd; }
  .btn-ghost { background: rgba(15,30,22,.35); }
  .stats strong { font-size: 2rem; }
  .quick-contact { right: 14px; bottom: 14px; gap: 10px; }
  .qc-btn { width: 50px; height: 50px; }
  .lb-stage { padding: 0; }
  .lb-nav { width: 42px; height: 42px; background: rgba(0,0,0,.35) !important; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-thumbs button { width: 64px; height: 46px; }
}
