:root{
  --text:#ffffff;
  --muted: rgba(255,255,255,.78);
  --muted2: rgba(255,255,255,.6);
  --line: rgba(255,255,255,.22);

  --nav-h: 92px;

  --shadow: 0 20px 60px rgba(0,0,0,.55);
  --radius: 18px;

  --btn-bg: rgba(0,0,0,.22);
  --btn-bg-hover: rgba(0,0,0,.32);
  --btn-line: rgba(255,255,255,.38);

  /* glass defaults */
  --glass-bg: rgba(255,255,255,.82);
  --glass-bg-strong: rgba(255,255,255,.88);
  --glass-text: #111111;
  --glass-muted: rgba(0,0,0,.72);
  --glass-muted2: rgba(0,0,0,.55);
  --glass-line: rgba(0,0,0,.12);
  --glass-btn-bg: rgba(0,0,0,.06);
  --glass-btn-bg-hover: rgba(0,0,0,.12);
  --glass-btn-line: rgba(0,0,0,.25);

  /* safe areas iOS */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  background: #000;
  color: var(--text);
  line-height: 1.55;

  /* spațiu sub nav fix */
  padding-top: calc(var(--nav-h) + 24px);
}

/* prevenim zoom iOS la input */
input, select, textarea, button { font-size: 16px; }

a{ color:inherit; text-decoration:none; }
a:hover{ opacity:.95; }
img{ max-width:100%; height:auto; display:block; }

.container{
  width:min(1200px, calc(100% - 64px));
  margin:0 auto;
}
@media (max-width: 720px){
  .container{ width: min(1200px, calc(100% - 28px)); }
}

.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:12px; top:12px; width:auto; height:auto; padding:10px 12px;
  background:#000; border:1px solid var(--line); border-radius:12px; z-index:9999;
}

/* =========================
   GLOBAL VIDEO BACKGROUND
========================= */
#bg-video{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
#bg-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: -1;
  pointer-events: none;
}

/* Asigură că tot conținutul e peste video */
header, main, footer, .social-rail, .action-rail{
  position: relative;
  z-index: 1;
}

/* =========================
   HERO (Home)
========================= */
.hero{
  min-height: 100vh;
  display:flex;
  align-items:stretch;
  position:relative;
  background:
    linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.08) 55%, rgba(0,0,0,.24)),
    radial-gradient(900px 520px at 18% 40%, rgba(0,0,0,.60), rgba(0,0,0,0) 55%);
}

/* viewport corect pe mobile (bara de adrese) */
.hero{ min-height: 100svh; }
@supports (height: 100dvh){
  .hero{ min-height: 100dvh; }
}

.hero::after{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,0) 35%, rgba(0,0,0,.45));
}
.hero-inner{
  position:relative;
  z-index:2;
  width:100%;
}

/* wrapper pentru home */
.hero-stack{
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding: clamp(84px, 10vh, 160px) 0 clamp(64px, 9vh, 160px);
}

/* HOME: nu acoperi video-ul global cu background-ul din .hero */
body.home .hero{ background: transparent !important; }
/* păstrează doar un overlay fin */
body.home .hero::after{
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,0) 35%, rgba(0,0,0,.35)) !important;
}
body.home #bg-overlay{ background: rgba(0,0,0,.22) !important; }

/* =========================
   HEADER / NAV
========================= */
header{
  position:fixed;
  top:0; left:0; right:0;
  height: var(--nav-h);
  display:flex;
  align-items:center;
  z-index:1000;
  padding-top: var(--safe-top);

  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0));
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  letter-spacing:.3px;
  white-space:nowrap;
}
.brand img{
  width:56px;
  height:56px;
  object-fit:contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.45));
}

nav ul{
  list-style:none;
  padding:0; margin:0;
  display:flex;
  align-items:center;
  gap:26px;
  text-transform:uppercase;
  letter-spacing:.7px;
}
nav a{
  font-weight:700;
  font-size:13px;
  color: rgba(255,255,255,.92);
  padding:10px 2px;
  border-bottom:2px solid transparent;
}
nav a[aria-current="page"]{ border-bottom-color: rgba(255,255,255,.92); }
nav a:hover{ border-bottom-color: rgba(255,255,255,.55); }

.nav-actions{
  display:flex;
  align-items:center;
  gap:14px;
}

.icon-btn{
  width:38px; height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid transparent;
  background: transparent;
  color: var(--text);
}
.icon-btn:hover{
  background: rgba(0,0,0,.18);
  border-color: rgba(255,255,255,.18);
}

/* mobile default */
.mobile-menu{ display:none; }
.mobile-panel{ display:none; }

@media (max-width: 980px){
  nav ul{ display:none; }
  .mobile-menu{ display:inline-flex; }
  header{ background: rgba(0,0,0,.55); }
  body{ padding-top: calc(var(--nav-h) + 14px); }
}

/* buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--btn-line);
  background: var(--btn-bg);
  color: var(--text);
  font-weight:800;
  font-size:13px;
  letter-spacing:.5px;
  text-transform:uppercase;
}
.btn:hover{ background: var(--btn-bg-hover); }

/* =========================
   MOBILE MENU: FULL HEIGHT + SCROLL
========================= */
@media (max-width: 1024px){
  /* ascundem telefonul din header ca să nu înghesuie */
  .phone-link{ display:none; }

  /* logo puțin mai mic */
  .brand img{ width:44px; height:44px; }

  /* panel overlay fix sub header */
  .mobile-panel{
    position: fixed;
    top: calc(var(--nav-h) + var(--safe-top));
    left: 0;
    right: 0;
    z-index: 2000;

    display: none; /* controlat de JS */
    padding: 12px;
    padding-bottom: calc(12px + var(--safe-bottom));

    max-height: calc(100dvh - var(--nav-h) - var(--safe-top));
    overflow: auto;

    background: rgba(0,0,0,.72);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,.12);
  }

  .mobile-panel .card.tile{
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.14);
  }

  .mobile-panel .btn{
    width: 100%;
    justify-content: center;
    padding: 14px 14px;
    border-radius: 16px;
  }
}

/* =========================
   Social rail
========================= */
.social-rail{
  position:fixed;
  left:16px;
  top:50%;
  transform: translateY(-50%);
  display:flex;
  flex-direction:column;
  gap:18px;
  z-index:1100;
}
.social-rail a{
  width:34px; height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background: rgba(0,0,0,.20);
  border:1px solid rgba(255,255,255,.18);
}
.social-rail a:hover{ background: rgba(0,0,0,.32); }

/* =========================
   Action rail
========================= */
.action-rail{
  position:fixed;
  right:14px;
  top:50%;
  transform: translateY(-50%);
  display:flex;
  flex-direction:column;
  gap:10px;
  z-index:1100;
}
.action-rail a{
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding:14px 10px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.38);
  background: rgba(0,0,0,.20);
  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;
  font-size:13px;
}
.action-rail a:hover{ background: rgba(0,0,0,.32); }

/* pe mobile: ascundem social rail + action rail devine bară jos */
@media (max-width: 1024px){
  .social-rail{ display:none !important; }

  .action-rail{
    left: 12px !important;
    right: 12px !important;
    bottom: calc(12px + var(--safe-bottom)) !important;
    top: auto !important;
    transform: none !important;
    flex-direction: row !important;
    gap: 10px !important;
    z-index: 1500 !important;
  }
  .action-rail a{
    writing-mode: initial !important;
    transform: none !important;
    flex: 1 !important;
    text-align:center !important;
    padding: 14px 12px !important;
    border-radius: 14px !important;
  }
}

/* =========================
   CONTENT PAGES (GLASS)
========================= */
.page{
  min-height: 100vh;
  background: transparent;
  color: var(--text);
}

.page .container{
  background: transparent;
  color: var(--glass-text);
  border-radius: 18px;
  padding: 28px;
  box-shadow: none;
}

/* Variabile locale pt interior */
.page{
  --text: var(--glass-text);
  --muted: var(--glass-muted);
  --muted2: var(--glass-muted2);
  --line: var(--glass-line);

  --btn-bg: var(--glass-btn-bg);
  --btn-bg-hover: var(--glass-btn-bg-hover);
  --btn-line: var(--glass-btn-line);
}

/* Carduri */
.card{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35);
  box-shadow: var(--shadow);
}

/* În paginile .page: carduri glass */
.page .card{
  border:1px solid rgba(0,0,0,.12);
  background: var(--glass-bg-strong);
  box-shadow: 0 18px 50px rgba(0,0,0,.10);
  backdrop-filter: blur(6px);
}

.tile{ padding:18px; }

.lead{ color:var(--muted); font-size:16px; margin: 0 0 18px; }
.small{ font-size:12px; color: var(--muted2); }

.section{ padding: 20px 0; }

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
  margin-top:16px;
}
@media (max-width: 980px){ .grid3{ grid-template-columns:1fr; } }

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  margin-top:16px;
}
@media (max-width: 980px){ .split{ grid-template-columns:1fr; } }

/* pills */
.meta{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.pill{
  font-size:12px;
  color: var(--muted);
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.18);
  padding:6px 10px;
  border-radius:999px;
}
.page .pill{
  border:1px solid rgba(0,0,0,.12);
  background: rgba(0,0,0,.06);
}

/* forms */
.form{ display:grid; gap:10px; margin-top:12px; }
input, textarea, select{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.22);
  color: var(--text);
  outline:none;
}
textarea{ min-height: 120px; resize: vertical; }
label{ font-size:13px; color: var(--muted); font-weight:700; }

/* Form controls pe paginile .page */
.page input, .page textarea, .page select{
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(255,255,255,.75);
  color: #111;
}

/* table */
.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.12);
  margin-top:12px;
}
.table th, .table td{
  padding:12px;
  border-bottom:1px solid rgba(255,255,255,.12);
  text-align:left;
  font-size:14px;
}
.table th{ color: var(--text); background: rgba(255,255,255,.06); }
.table td{ color: var(--muted); }

/* table pe .page */
.page .table{
  border:1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.70);
}
.page .table th, .page .table td{ border-bottom:1px solid rgba(0,0,0,.08); }
.page .table th{ background: rgba(0,0,0,.04); color:#111; }
.page .table td{ color: rgba(0,0,0,.72); }

/* footer */
footer{
  padding:26px 0;
  background: rgba(0,0,0,.65);
  border-top:1px solid rgba(255,255,255,.12);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
}
@media (max-width: 980px){ .footer-grid{ grid-template-columns:1fr; } }

/* =========================
   ACTIVITIES
========================= */
.section-title {
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.activity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin: 80px 0;
}
.activity-img img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.activity-text h2 { margin-bottom: 14px; font-size: 28px; }
.activity-text p { font-size: 16px; line-height: 1.6; }
.activity.reverse .activity-img { order: 2; }
.activity.reverse .activity-text { order: 1; }

@media (max-width: 900px) {
  .activity { grid-template-columns: 1fr; gap: 30px; margin: 36px 0; }
  .activity.reverse .activity-img,
  .activity.reverse .activity-text { order: unset; }
}

/* calendar embed */
.calendar-embed{
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
}
.calendar-embed iframe{
  width: 100%;
  max-width: 100%;
  height: 600px;
  border: 0;
  display: block;
}

/* responsive padding page containers */
@media (max-width: 900px){
  .page .container{
    padding: 18px;
    border-radius: 16px;
  }
}

/* =========================
   CONTACT — FIX (RO+EN)
   (folosește main-ul cu clase contact-*)
========================= */
.contact-hero{
  text-align:center;
  padding: 34px 0 18px;
}
.contact-title{
  margin:0;
  font-size: clamp(32px, 4vw, 54px);
  font-weight:900;
  letter-spacing:.3px;
  color:#fff;
}
.contact-subtitle{
  margin:6px 0 0;
  font-size: clamp(18px, 2.4vw, 30px);
  font-weight:800;
  color:#fff;
}

.contact-card{
  background:#fff !important;
  color:#111 !important;
  border:1px solid rgba(0,0,0,.10) !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.18) !important;
  padding: 28px !important;
  border-radius: 18px;
}

.contact-card-head{
  text-align:center;
  margin-bottom: 18px;
}
.contact-card-head h2{
  margin:0;
  font-size: 26px;
  font-weight: 900;
}
.contact-card-head p{
  margin:8px 0 0;
  color: rgba(0,0,0,.55);
}

.contact-grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 26px;
  align-items:start;
}

.contact-form{ display:grid; gap:14px; }
.contact-row-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-label{
  display:grid;
  gap:6px;
  font-weight:800;
  font-size:13px;
  color: rgba(0,0,0,.70);
}

.contact-page input,
.contact-page textarea{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  color:#111;
  outline:none;
}
.contact-page textarea{
  border-radius:18px;
  min-height:150px;
  resize: vertical;
}

.contact-feedback{
  margin:0 0 6px;
  font-weight:800;
  text-align:center;
}

.contact-actions{
  display:flex;
  justify-content:center;
  margin-top: 6px;
}
.contact-submit{
  background:#111 !important;
  border-color:#111 !important;
  color:#fff !important;
  padding: 12px 22px !important;
  min-width: 220px;
  justify-content:center;
  border-radius: 999px;
}

.contact-info{
  display:grid;
  gap:18px;
  align-content:start;
  padding-left: 10px;
}
.contact-info-item{ text-align:center; }
.contact-emoji{ font-size:40px; line-height:1; }
.contact-info-title{ font-weight:900; margin-top:6px; }
.contact-info-link{
  display:inline-block;
  margin-top:4px;
  font-weight:800;
  color:#111;
}
.contact-info-text{
  margin-top:4px;
  font-weight:700;
  color: rgba(0,0,0,.75);
}

@media (max-width: 900px){
  .contact-card{ padding: 18px !important; }
  .contact-grid{
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .contact-row-2{ grid-template-columns: 1fr !important; }

  .contact-info{ padding-left: 0; gap: 12px; }
  .contact-info-item{
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 16px;
    padding: 12px;
    background: rgba(0,0,0,.03);
  }

  .contact-submit{
    width: 100%;
    min-width: 0;
  }

  .contact-hero{ padding: 22px 0 14px; }
}

/* =========================
   MEDIA CAROUSEL
========================= */
.media-carousel{
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.carousel-track{
  display: flex;
  transition: transform .4s ease;
}
.carousel-item{
  min-width: 100%;
  flex-shrink: 0;
}
.carousel-item img,
.carousel-item video{
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px){
  .carousel-item img,
  .carousel-item video{ height: 320px; }
}
.carousel-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.5);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}
.prev{ left: 10px; }
.next{ right: 10px; }

.tour-block .media video{
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 16px;
  background: #000;
}

/* =========================
   Flatpickr theme
========================= */
.flatpickr-calendar {
  background: rgba(20,20,20,.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 25px 60px rgba(0,0,0,.55);
  color: #fff;
  z-index: 999999 !important;
  border-radius: 14px;
  overflow: hidden;
}
.flatpickr-day,
.flatpickr-weekday { color: #fff; }
.flatpickr-day:hover { background: rgba(255,255,255,.12); }
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #6f8f60;
  border-color: #6f8f60;
  color: #fff;
}

/* pe mobile, calendarul să fie ușor de folosit */
@media (max-width: 900px){
  .flatpickr-calendar{
    width: calc(100vw - 24px) !important;
    left: 12px !important;
    right: 12px !important;
  }
  .flatpickr-day{ height: 40px; line-height: 40px; }
}

/* =========================
   Booking bar (home)
========================= */
.booking-form{
  display:flex;
  justify-content:center;
}
.booking-bar{
  width: min(1000px, 100%);
  display:grid;
  grid-template-columns: 1.1fr 1.1fr 1fr auto;
  gap:12px;
  align-items:end;
  padding:16px;
  border-radius:18px;
  background: rgba(0,0,0,.65);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 25px 60px rgba(0,0,0,.45);
  backdrop-filter: blur(14px);
}

.bf-label{
  display:grid;
  gap:6px;
  color:#fff;
  font-size:12px;
  font-weight:800;
}

/* Flatpickr creează altInput -> stilizat */
.booking-bar input,
.booking-bar select,
.booking-bar .flatpickr-input,
.booking-bar input.flatpickr-input,
.booking-bar .flatpickr-alt-input{
  width:100%;
  height:56px;
  padding: 0 14px;
  border-radius:14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.4);
  color:#fff;
  outline:none;
}
.booking-bar select{ appearance:none; }

.bf-btn{
  height:56px;
  padding: 0 24px;
  border-radius:14px;
  border:none;
  background:#6f8f60;
  color:#fff;
  font-weight:900;
  letter-spacing:.5px;
  cursor:pointer;
  transition:.2s;
  white-space:nowrap;
}
.bf-btn:hover{ background:#5f7f50; }

/* Mobile booking bar */
@media (max-width: 1024px){
  .booking-form{ padding: 0 12px; }
  .booking-bar{
    grid-template-columns: 1fr !important;
    gap:10px !important;
    padding:12px !important;
    border-radius:16px !important;
  }
  .bf-btn{ width:100% !important; }
}
/* Buton CHECK/VERIFICĂ pe pagina de availability */
#btnCheck{
  background:#6f8f60 !important;
  border-color:#6f8f60 !important;
  color:#fff !important;
}
#btnCheck:hover{ filter: brightness(.95); }
/* Home headline responsive */
@media (max-width: 900px){
  body.home h1{
    font-size: clamp(30px, 8vw, 46px) !important;
    line-height: 1.06 !important;
  }
  .hero-stack{ padding: 92px 0 84px; }
}
/* =========================
   RESTORE: glass container frame on pages
========================= */

/* Panoul mare (chenarul) pentru toate paginile cu .page */
.page .container{
  background: rgba(255,255,255,0.30) !important;
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
  color: #111; /* text negru pe container deschis */
}

/* Text general pe paginile .page să fie lizibil */
.page h1, .page h2, .page h3{ color:#111; }
.page p, .page .lead{ color: rgba(0,0,0,.75); }

/* Pe mobil: padding mai mic */
@media (max-width: 900px){
  .page .container{
    padding: 18px;
    border-radius: 16px;
  }
}
/* =========================
   FIX: footer under bottom bar (CALL/BOOK)
========================= */
@media (max-width: 1024px){
  /* lăsăm loc pentru bara fixă de jos */
  body{
    padding-bottom: calc(84px + var(--safe-bottom));
  }

  /* extra siguranță ca footerul să nu intre sub bară */
  footer{
    padding-bottom: calc(26px + 84px + var(--safe-bottom));
  }
}

@media (max-width: 1024px){
  .action-rail a{
    padding: 12px 10px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
  }
}
/* =========================
   DEPRECATED (old in-main video)
========================= */
.video-hero { position: static; min-height: auto; overflow: visible; display: block; }
.hero-video { display: none !important; }
.hero-overlay { display: none !important; }
.video-content{ position: static; z-index: auto; }