/* ============================================================
   HOMEPAGE SPECIFIC STYLES — port of index.html <style>
   ============================================================ */
html, body { height: 100%; margin: 0; padding: 0; overflow-x: clip; }
html { scroll-snap-type: y proximity; }
#hero, #promise, #map-section, #experiences, #why, #what-we-do, #personalized, #stats, #itineraries, #testimonials, #cta-section {
  scroll-snap-align: start; scroll-snap-stop: always;
}

/* ——— SECTION SIZING ——— */
#hero, #promise, #map-section, #why, #stats, #itineraries, #testimonials, #cta-section {
  height: 100vh; min-height: 100vh; max-height: 100vh; box-sizing: border-box;
}
#hero { background: #0d0d0d; padding: 0; height: 100vh; position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; overflow: hidden; }

/* ——— HERO MEDIA ——— */
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.8s ease-in-out; will-change: opacity; }
.hero-video.active { opacity: .72; }
.hero-video-overlay { position: absolute; inset: 0; background: linear-gradient(170deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.0) 35%, rgba(13,13,13,.92) 100%); }

/* Reel dots */
.hero-reel-dots { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; gap: 8px; }
.hero-reel-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); cursor: pointer; transition: background .4s, transform .4s; }
.hero-reel-dot.active { background: var(--orange); transform: scale(1.4); }

/* Hero content */
.hero-content { position: relative; z-index: 2; padding: 0 80px; padding-top: 140px; color: #fff; flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; background: rgba(213,142,74,.9); padding: 7px 18px; border-radius: 40px; font-size: 10px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 24px; color: #fff; }
.hero-h1 { font-family: var(--f-display); font-size: clamp(44px, 6.5vw, 100px); font-weight: 900; line-height: .92; letter-spacing: -2px; max-width: 1100px; }
.hero-h1 .line { display: block; clip-path: inset(0 100% 0 0); }
.hero-h1 .accent { color: var(--orange); font-style: italic; }
.hero-sub { font-size: clamp(15px, 1.4vw, 18px); font-weight: 300; color: rgba(255,255,255,.6); max-width: 480px; margin-top: 20px; line-height: 1.65; opacity: 0; transform: translateY(20px); }
.hero-actions { display: flex; gap: 16px; margin-top: 32px; opacity: 0; transform: translateY(20px); }
.hero-bottom-bar { position: relative; z-index: 3; padding: 24px 80px; display: flex; justify-content: flex-end; align-items: flex-end; flex-shrink: 0; }
.hero-scroll-hint { display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.35); font-size: 9px; letter-spacing: 3px; text-transform: uppercase; opacity: 0; }
.scroll-stem { width: 1px; height: 44px; background: rgba(255,255,255,.2); overflow: hidden; position: relative; }
.scroll-stem::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--orange); animation: stemDrop 2s ease-in-out infinite; }
@keyframes stemDrop { to { top: 160%; } }

/* ——— PROMISE STRIP ——— */
#promise { background: var(--dark-green); padding: 0; height: 100vh; display: flex; align-items: center; }
.promise-grid { width: 100%; height: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.promise-item { padding: 0 64px; border-right: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; justify-content: center; position: relative; opacity: 0; }
.promise-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--orange) 0%, transparent 100%); opacity: 0; transition: opacity 0.4s; }
.promise-item:hover::before { opacity: 1; }
.promise-item:last-child { border-right: none; }
.p-icon { width: 64px; height: 64px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 28px; transition: background 0.3s, border-color 0.3s; }
.promise-item:hover .p-icon { background: rgba(213,142,74,.15); border-color: rgba(213,142,74,.35); }
.p-title { font-family: var(--f-display); font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 14px; line-height: 1.2; }
.p-title span { color: var(--orange); }
.p-desc { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,.5); max-width: 320px; }

/* ——— DESTINATIONS MAP ——— */
#map-section { height: 100vh; padding: 0; flex-direction: column; }
.map-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; padding: 80px 80px 0; pointer-events: none; }
.map-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.map-heading { font-family: var(--f-display); font-size: clamp(32px, 4vw, 60px); font-weight: 900; line-height: .95; letter-spacing: -1px; color: var(--black); max-width: 500px; }
.map-sub { font-size: 14px; color: var(--gray); margin-top: 12px; font-weight: 400; }
#world-map-container { position: absolute; inset: 0; background: var(--ivory); overflow: hidden; }
#world-map-svg { width: 100%; height: 100%; }
.map-bottom-strip { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, var(--ivory) 0%, transparent 100%); padding: 28px 80px; z-index: 20; display: flex; align-items: center; gap: 40px; pointer-events: none; }
.map-stat { display: flex; flex-direction: column; gap: 2px; }
.map-stat-num { font-size: 22px; font-weight: 700; color: var(--orange); font-family: var(--f-display); }
.map-stat-lbl { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray); }
.map-divider { width: 1px; height: 36px; background: var(--gray-light); }

/* ——— EXPERIENCES PREVIEW ——— */
#experiences { background: var(--ivory); padding: 100px 80px; min-height: 100vh; display: flex; align-items: center; }
#what-we-do { min-height: 100vh; display: flex; align-items: center; box-sizing: border-box; }
#personalized { min-height: 100vh; display: flex; align-items: center; box-sizing: border-box; }
.experiences-inner { width: 100%; max-width: 1200px; margin: 0 auto; }
.experiences-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 56px; flex-wrap: wrap; gap: 24px; }
.experiences-header-left { flex: 1; }
.experiences-header-right { flex-shrink: 0; }
.exp-preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.exp-preview-card { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 0.8; display: block; text-decoration: none; cursor: pointer; transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out); }
.exp-preview-card:hover { transform: translateY(-6px); box-shadow: 0 24px 56px rgba(0,0,0,.14); }
.exp-preview-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.7s var(--ease-out); }
.exp-preview-card:hover .exp-preview-img { transform: scale(1.06); }
.exp-preview-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.1) 55%, transparent 100%); }
.exp-preview-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; color: #fff; }
.exp-preview-tag { font-size: 9px; text-transform: uppercase; letter-spacing: 2.5px; color: var(--orange); font-weight: 700; margin-bottom: 6px; }
.exp-preview-name { font-family: var(--f-display); font-size: clamp(18px, 1.8vw, 24px); font-weight: 900; line-height: 1.1; margin-bottom: 5px; color: #fff; }
.exp-preview-tagline { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.45; margin-bottom: 14px; }
.exp-preview-cta { font-size: 11px; font-weight: 700; color: var(--orange); letter-spacing: .5px; opacity: 0; transform: translateY(8px); transition: opacity 0.3s, transform 0.3s; }
.exp-preview-card:hover .exp-preview-cta { opacity: 1; transform: translateY(0); }

/* ——— WHY TRAVENZA ——— */
#why { background: var(--ivory-2); padding: 80px; display: flex; align-items: center; }
.why-inner { max-width: 1200px; margin: 0 auto; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.why-card { cursor: default; }
.why-icon-wrap { width: 56px; height: 56px; background: var(--orange-pale); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; transition: background 0.35s var(--ease-out), transform 0.35s var(--ease-out); }
.why-card:hover .why-icon-wrap { background: var(--orange); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(213,142,74,.35); }
.why-card:hover .why-icon-wrap svg { stroke: #fff !important; }
.why-title { font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.why-text { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ——— STATS ——— */
#stats { background: var(--black); padding: 0; height: 100vh; }
.stats-grid { width: 100%; height: 100%; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 0 60px; border-right: 1px solid rgba(255,255,255,.07); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; opacity: 0; }
.stat-item::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--orange), transparent); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out); }
.stat-item:hover::after { transform: scaleX(1); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--f-display); font-size: clamp(52px, 6vw, 88px); font-weight: 900; color: var(--orange); line-height: 1; display: block; }
.stat-lbl { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.35); margin-top: 14px; display: block; }

/* ——— ITINERARIES ——— */
#itineraries { background: var(--ivory); padding: 72px 80px; height: 100vh; display: flex; align-items: center; }
.itin-header { max-width: 1200px; margin: 0 auto 36px; display: flex; justify-content: space-between; align-items: flex-end; }
.itin-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.itin-card { border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: .75; text-decoration: none; display: block; }
.itin-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .7s var(--ease-out); }
.itin-card:hover .itin-bg { transform: scale(1.06); }
.itin-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.05) 55%); }
.itin-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; color: #fff; }
.itin-region { font-size: 9px; text-transform: uppercase; letter-spacing: 2px; color: var(--orange); font-weight: 600; margin-bottom: 6px; }
.itin-name { font-family: var(--f-display); font-size: 19px; font-weight: 700; line-height: 1.2; margin-bottom: 5px; }
.itin-days { font-size: 11px; color: rgba(255,255,255,.5); }
.itin-hover { position: absolute; inset: 0; background: rgba(213,142,74,.92); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; opacity: 0; transition: opacity .3s; }
.itin-card:hover .itin-hover { opacity: 1; }
.view-all-link { font-size: 13px; font-weight: 600; color: var(--orange); text-decoration: none; display: flex; align-items: center; gap: 6px; opacity: 0; }
.view-all-link:hover { color: var(--black); }

/* ——— TESTIMONIALS ——— */
#testimonials { background: var(--ivory-2); padding: 80px; height: 100vh; display: flex; align-items: center; }
.testi-inner { max-width: 1200px; margin: 0 auto; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.testi-card { background: #fff; padding: 40px; border-radius: 20px; box-shadow: 0 2px 24px rgba(0,0,0,.04); opacity: 0; }
.testi-quote-mark { font-family: var(--f-display); font-size: 52px; color: var(--orange-pale); line-height: 1; margin-bottom: 12px; display: block; }
.testi-text { font-size: 14px; line-height: 1.75; color: var(--black-soft); font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.testi-avatar { width: 42px; height: 42px; background: var(--orange-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--orange); flex-shrink: 0; overflow: hidden; }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.testi-name { font-size: 14px; font-weight: 700; }
.testi-trip { font-size: 11px; color: var(--gray); margin-top: 2px; }
.testi-card .travenza-stars { display: block; color: var(--orange); font-size: 14px; letter-spacing: 2px; margin-bottom: 8px; }

/* ——— CTA ——— */
#cta-section { background: var(--dark-green); padding: 0 80px; height: 100vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; position: relative; overflow: hidden; }
#cta-section::before { content: ''; position: absolute; top: -40%; right: -10%; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(213,142,74,.12) 0%, transparent 70%); pointer-events: none; border-radius: 50%; }
.cta-eyebrow { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 20px; opacity: 0; }
.cta-heading { font-family: var(--f-display); font-size: clamp(44px, 8vw, 112px); font-weight: 900; line-height: .9; color: #fff; letter-spacing: -2px; max-width: 900px; opacity: 0; }
.cta-heading em { font-style: italic; color: var(--orange); }
.cta-sub { font-size: 17px; color: rgba(255,255,255,.45); font-weight: 300; margin-top: 24px; max-width: 440px; line-height: 1.6; opacity: 0; }
.cta-actions { display: flex; gap: 16px; margin-top: 52px; opacity: 0; }

/* ——— Prevent initial opacity:0 flash on non-snap sections ——— */
#experiences, #why { opacity: 1 !important; }
#experiences .experiences-header > *, #experiences .exp-preview-card { opacity: 0; }
#why .why-card { opacity: 0; }

/* ——— What We Do — services horizontal scroll row ——— */
.svc-row {
  display: flex;
  align-items: stretch;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 4px 16px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.svc-row::-webkit-scrollbar { height: 6px; }
.svc-row::-webkit-scrollbar-thumb { background: var(--gray-light); border-radius: 10px; }
.svc-card {
  flex: 0 0 270px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  text-decoration: none;
  color: var(--black);
  transition: transform .3s, box-shadow .3s;
  display: block;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,.1); }
.svc-icon { font-size: 28px; margin-bottom: 14px; }
.svc-title { font-family: var(--f-display); font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--black); }
.svc-desc { font-size: 13px; color: var(--gray); line-height: 1.6; }
.svc-link { margin-top: 14px; font-size: 12px; font-weight: 700; color: var(--orange); }

/* ——— Why grid — 4 cols on homepage ——— */
#why .why-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 1100px) { #why .why-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 768px) {
  #why { height: auto; min-height: auto; padding: 60px 24px; }
  #why .why-grid { grid-template-columns: 1fr; }
  #what-we-do { padding: 60px 24px; }
  .svc-row { gap: 16px; }
  .svc-card { flex-basis: 240px; }
  #personalized { padding: 60px 24px; }
  #personalized > div { grid-template-columns: 1fr !important; gap: 40px; }
  #partners { padding: 60px 24px !important; }
  .partners-grid { gap: 14px; }
}

/* ——— EXCLUSIVE PARTNERS ——— */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  align-items: center;
}
.partner-logo-slot {
  display: flex; align-items: center; justify-content: center;
  height: 88px; padding: 16px;
  background: #fff; border: 1px solid var(--gray-light); border-radius: 14px;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.partner-logo-slot img { max-width: 100%; max-height: 100%; object-fit: contain; }
a.partner-logo-slot:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }

/* Only needed if the "coming soon" alternate markup in front-page.php is used */
.partners-coming-soon { font-size: 14px; color: var(--gray); font-style: italic; }
