/* =====================================================================
   index.css — stiluri specifice paginii principale (index.php):
   hero, banda de încredere, secțiunile de sub cartuș (județe, destinații,
   unități recomandate, ticker, text SEO). Se încarcă după css/common.css.
   ===================================================================== */

/* ---------- HERO — fundal foto concret + supra-strat de brand ---------- */
.hero{
  position:relative;
  isolation:isolate;
  overflow:visible;            /* lăsăm calendarul și panoul de camere să iasă din hero */
  z-index:3;                   /* dropdown-urile trec peste secțiunile următoare */
  padding-top:clamp(36px, 7vw, 64px);
  color:#fff;
  background-color: var(--primary-deep);
}
.hero-photo, .hero-overlay{ overflow:hidden; }
.hero-photo{
  position:absolute; inset:0; z-index:-2;
  background-image: url('https://picsum.photos/seed/tourneo-carpati/1800/1000');
  background-size:cover; background-position:center 62%;
  filter: saturate(.9);
}
.hero-overlay{
  position:absolute; inset:0; z-index:-1;
  background:
    linear-gradient(180deg, rgba(44,62,86,.88) 0%, rgba(44,62,86,.72) 45%, rgba(44,62,86,.94) 100%),
    linear-gradient(100deg, rgba(97,126,161,.55), rgba(138,194,179,.35));
}
.hero-content{ position:relative; z-index:2; text-align:center; padding:0 8px; }
.hero-content .eyebrow{ display:inline-block; margin-bottom:12px; color:#c9ecdf; }
.hero-content h1{
  font-size:clamp(1.55rem, 6vw, 3.2rem);
  max-width:820px; margin:0 auto 14px; color:#fff;
}
.hero-content h1 em{ font-style:italic; color: var(--accent); }
.hero-content p{
  color:#dbe4ee; font-size:clamp(.9rem, 2.4vw, 1.08rem);
  max-width:520px; margin:0 auto; padding:0 6px;
}
.hero-note{ font-size:.68rem; color:#9fb0c6; text-align:center; margin-top:10px; padding-bottom:6px; }

/* ---------- TRUST STRIP ---------- */
.trust-strip{ background: var(--primary-deep); padding:16px 0; }
.trust-vacanta{ display:flex; align-items:center; justify-content:center; gap:12px; text-align:center; flex-wrap:wrap; color:#eef3f8; }
.trust-vacanta .ic{
  width:36px; height:36px; border-radius:10px; background: rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:1.1rem;
}
.trust-vacanta span{ font-size:.86rem; }
.trust-vacanta strong{ color:#fff; }

/* ---------- SECȚIUNI ---------- */
section.block{ padding: clamp(36px,7vw,64px) 0; }
section.block.alt{ background: var(--mist); }
.block-head{ display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:24px; gap:16px; flex-wrap:wrap; }
.block-head h2{ font-size:clamp(1.35rem, 3.6vw, 1.9rem); margin-top:6px; }
.block-head .see-all{ font-weight:700; color:var(--primary-dark); font-size:.86rem; white-space:nowrap; }
.block-head .see-all:hover{ color:var(--accent-dark); }

.judete-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(126px,1fr)); gap:9px; }
.judet-tile{
  border:1.5px solid var(--line); border-radius:var(--radius-sm);
  padding:11px 12px; font-weight:600; font-size:.84rem; color:var(--primary-dark);
  background:#fff; display:flex; flex-direction:column; align-items:flex-start; gap:3px;
  transition: all .15s; min-width:0;
}
/* nume + numar pe rânduri separate (nu unul lângă altul) - "unități" tradus (ex. "hébergements",
   "alojamientos") e mult mai lung decât în română și nu mai încăpea pe un singur rând lângă
   numele județului - user, 2026-09-17 */
.judet-tile span:first-child{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:100%; }
.judet-tile:hover{ border-color:var(--mint); background:var(--mist); color:var(--mint-dark); transform:translateY(-2px); }
.judet-tile .count{ font-size:.66rem; color:var(--ink-soft); font-weight:500; }

.hscroll{ display:flex; gap:14px; overflow-x:auto; padding-bottom:8px; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; }
.hscroll::-webkit-scrollbar{ height:6px; }
.hscroll::-webkit-scrollbar-thumb{ background:var(--line); border-radius:6px; }
.dest-card{ scroll-snap-align:start; flex:0 0 190px; border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--line); background:#fff; }
.dest-card .thumb{ height:120px; position:relative; overflow:hidden; }
.dest-card .thumb svg{ width:100%; height:100%; }
.dest-card .body{ padding:12px 14px; }
.dest-card .body strong{ font-family:var(--font-display); font-size:1rem; color:var(--primary-deep); }
.dest-card .body span{ display:block; font-size:.76rem; color:var(--ink-soft); margin-top:2px; }

.hotel-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(230px,1fr)); gap:18px; }
.hotel-card{ border:1px solid var(--line); border-radius:var(--radius-md); overflow:hidden; background:#fff; transition:box-shadow .2s, transform .2s; min-width:0; }
.hotel-card:hover{ box-shadow:var(--shadow); transform:translateY(-3px); }
.hotel-card .thumb{ height:150px; position:relative; }
.hotel-card .thumb svg{ width:100%; height:100%; }
.hotel-card .badge{ position:absolute; top:10px; left:10px; background:var(--mint); color:#fff; font-size:.66rem; font-weight:700; padding:4px 9px; border-radius:999px; }
.hotel-card .body{ padding:14px; }
.hotel-card h3{ font-size:1.02rem; margin-bottom:3px; }
.hotel-card .loc{ font-size:.78rem; color:var(--ink-soft); margin-bottom:8px; }

.ticker-panel{ background: var(--white); border:1px solid var(--line); border-radius:var(--radius-md); padding:16px 18px; }
.ticker-item{ display:flex; align-items:center; gap:10px; padding:10px 0; border-bottom:1px dashed var(--line); font-size:.82rem; flex-wrap:wrap; }
.ticker-item:last-child{ border-bottom:none; }
.ticker-item .dot{ width:8px; height:8px; border-radius:50%; background:var(--mint); flex-shrink:0; }
.ticker-item b{ color:var(--primary-dark); }
.ticker-item .when{ margin-left:auto; color:var(--ink-soft); font-size:.74rem; white-space:nowrap; }

.seo-text{ max-width:820px; }
.seo-text p{ color:var(--ink-soft); font-size:.92rem; margin-bottom:14px; }
.seo-text a{ color:var(--primary-dark); font-weight:600; text-decoration:underline; }

@media (max-width:340px){
  .hero-content h1{ font-size:1.35rem; }
}
