/* ============================================================
   template-hero-slider.css — aurelio travels v6.0 "Cinematic Deep South"
   ✅ ONLY real variables from main.css :root are used
   ✅ Scoped to #heroVideoContainer — zero global leakage
   ✅ No @import fonts — loaded by index.html
   ============================================================ */

#heroVideoContainer {
  --hc-gold:         var(--color-gold);
  --hc-gold-light:   var(--color-gold-light);
  --hc-cyan:         var(--color-cyan);
  --hc-sapphire:     var(--color-sapphire);
  --hc-ink:          var(--text-primary);
  --hc-muted:        var(--color-white-60);
  --hc-dim:          var(--color-white-35);
  --hc-border:       var(--color-white-18);
  --hc-bg:           var(--color-obsidian);
  --hc-h:            100vh;
}

/* ── SHELL ── */
.tt-hero-section {
  position: relative;
  width: 100%;
  height: var(--hc-h);
  min-height: 600px;
  overflow: hidden;
  background: var(--bg-dark);
  opacity: 1 !important;
  transform: none !important;
  isolation: auto;
  z-index: 0;
}

/* ── VIDEO ── */
.tt-hero-video,
.tt-hero-fallback-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: translateZ(0);
}
.tt-hero-video {
  will-change: transform;
  animation: hc-kb 32s ease-in-out infinite alternate;
}
@keyframes hc-kb {
  from { transform: scale(1.0) translateX(0); }
  to   { transform: scale(1.06) translateX(-1%); }
}

/* ── MULTI-LAYER VIGNETTE — cinematic depth ── */
.tt-hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* deep bottom bar */
    linear-gradient(
      to top,
      rgba(3,8,16,0.97) 0%,
      rgba(5,13,26,0.75) 20%,
      rgba(5,13,26,0.30) 45%,
      transparent 68%
    ),
    /* left sweep */
    linear-gradient(
      to right,
      rgba(3,8,16,0.88) 0%,
      rgba(5,13,26,0.50) 28%,
      rgba(5,13,26,0.10) 52%,
      transparent 70%
    ),
    /* top darkening */
    linear-gradient(
      to bottom,
      rgba(3,8,16,0.55) 0%,
      transparent 22%
    );
}

/* Sapphire-cyan atmospheric glow — bottom left */
.tt-hero-vignette::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 55%;
  height: 60%;
  background: radial-gradient(
    ellipse at 20% 80%,
    rgba(15, 82, 186, 0.14) 0%,
    rgba(91, 200, 245, 0.06) 45%,
    transparent 72%
  );
  pointer-events: none;
}

/* ── AUTOPLAY PROMPT ── */
.tt-hero-play-prompt {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 8, 16, 0.65);
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 5rem;
  transition: var(--transition-base);
  backdrop-filter: blur(4px);
}
.tt-hero-play-prompt:hover { background: rgba(3, 8, 16, 0.78); }
.tt-hero-play-prompt[hidden] { display: none; }

/* ── CONTENT BLOCK ── */
.tt-hero-content {
  position: absolute;
  bottom: 108px;
  left: 68px;
  z-index: 5;
  max-width: 620px;
}

/* Fade transition */
.tt-hero-content.is-fading .tt-hero-label,
.tt-hero-content.is-fading .tt-hero-category-chip,
.tt-hero-content.is-fading .tt-hero-title,
.tt-hero-content.is-fading .tt-hero-desc,
.tt-hero-content.is-fading .tt-hero-inline-controls {
  opacity: 0;
  transform: translateY(18px);
}

/* ── CATEGORY CHIP — redesigned ── */
.tt-hero-label {
  display: none; /* replaced by chip below */
}

.tt-hero-category-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  transition: opacity 500ms var(--transition-elegant), transform 500ms var(--transition-elegant);
  transition-delay: 0ms;
}
.tt-hero-category-chip::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: linear-gradient(to right, var(--color-gold), var(--color-cyan));
  flex-shrink: 0;
}
.tt-hero-category-chip span {
  font-family: var(--font-elegant);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* ── TITLE — massive, layered ── */
.tt-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7.5vw, 7rem);
  font-weight: var(--font-weight-normal);
  line-height: 0.95;
  color: var(--text-white);
  margin: 0 0 6px;
  letter-spacing: -0.04em;
  transition: opacity 500ms var(--transition-elegant), transform 500ms var(--transition-elegant);
  transition-delay: 65ms;
  position: relative;
}
/* Gold italic accent on second word */
.tt-hero-title em {
  font-style: italic;
  color: var(--color-gold-light);
  font-weight: var(--font-weight-light);
}

/* ── THIN GOLD LINE — between title & desc ── */
.tt-hero-title-line {
  display: block;
  width: 0;
  height: 1px;
  background: linear-gradient(to right, var(--color-gold), var(--color-cyan-dark), transparent);
  margin: 18px 0 20px;
  transition: width 700ms var(--transition-premium) 200ms, opacity 400ms ease 200ms;
  opacity: 0;
}
.tt-hero-content:not(.is-fading) .tt-hero-title-line {
  width: 180px;
  opacity: 1;
}

/* ── DESCRIPTION ── */
.tt-hero-desc {
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-white-60);
  font-weight: var(--font-weight-light);
  margin: 0 0 32px;
  max-width: 400px;
  letter-spacing: 0.018em;
  transition: opacity 500ms var(--transition-elegant), transform 500ms var(--transition-elegant);
  transition-delay: 110ms;
}

/* ── INLINE CONTROLS ── */
.tt-hero-inline-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 500ms var(--transition-elegant), transform 500ms var(--transition-elegant);
  transition-delay: 160ms;
}

/* Play / mute — glass circle buttons */
.tt-hero-ic-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: var(--text-sm);
  transition: var(--transition-elegant);
  flex-shrink: 0;
  backdrop-filter: blur(8px);
}
.tt-hero-ic-btn:hover {
  background: rgba(91,200,245,0.12);
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  transform: scale(1.1);
  box-shadow: 0 0 16px rgba(91,200,245,0.20);
}
.tt-hero-ic-btn:active  { transform: scale(0.93); }
.tt-hero-ic-btn:disabled { opacity: 0.25; pointer-events: none; }

/* Separator */
.tt-hero-ic-sep {
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,0.12);
  margin: 0 2px;
}

/* CTA — pill style with gradient border */
.tt-hero-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 22px 10px 18px;
  font-family: var(--font-elegant);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  text-decoration: none;
  border: 1px solid rgba(240,201,107,0.28);
  border-radius: var(--radius-full);
  background: rgba(240,201,107,0.05);
  transition: var(--transition-elegant);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}
.tt-hero-cta-link:hover {
  color: var(--color-obsidian);
  background: var(--color-gold);
  border-color: var(--color-gold);
  gap: 14px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(240,201,107,0.30);
}
.tt-hero-cta-link:hover i { color: var(--color-obsidian); }
.tt-hero-cta-link i { font-size: 0.7rem; transition: var(--transition-elegant); }

/* ── SLIDE COUNTER — left edge, vertical ── */
.tt-hero-counter {
  position: absolute;
  bottom: 118px;
  right: 56px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.tt-hero-counter__cur {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-light);
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.tt-hero-counter__line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
}
.tt-hero-counter__tot {
  font-family: var(--font-elegant);
  font-size: var(--text-xs);
  color: var(--color-white-30);
  letter-spacing: 0.10em;
}

/* ── VERTICAL DOTS — right edge, redesigned ── */
.tt-hero-dots {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.tt-hero-dot {
  position: relative;
  width: 3px;
  height: 3px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 500ms var(--transition-premium);
  flex-shrink: 0;
}
.tt-hero-dot::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: var(--radius-full);
}
.tt-hero-dot:hover  { background: rgba(255,255,255,0.55); }
.tt-hero-dot.active {
  height: 32px;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-gold), var(--color-cyan));
  box-shadow: 0 0 10px rgba(240,201,107,0.40);
}

/* ── LOCATION TAG — new element, top right ── */
.tt-hero-location {
  position: absolute;
  top: 32px;
  right: 60px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-primary);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-white-40);
  opacity: 0;
  animation: hc-fade-in 1s ease 2s forwards;
}
.tt-hero-location i {
  color: var(--color-gold);
  font-size: 0.78rem;
}
@keyframes hc-fade-in {
  to { opacity: 1; }
}

/* ── PROGRESS BAR — redesigned, thicker with glow ── */
.tt-hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 6;
  height: 2px;
  background: rgba(255,255,255,0.04);
}
.tt-hero-progress__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--color-sapphire), var(--color-gold));
  transition: width linear;
  box-shadow: 0 0 8px rgba(240,201,107,0.35);
}

/* ── SCROLL HINT — bottom center ── */
.tt-hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: hc-fade-in 1s ease 3s forwards;
}
.tt-hero-scroll-hint span {
  font-family: var(--font-elegant);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-white-30);
}
.tt-hero-scroll-hint i {
  font-size: 0.85rem;
  color: var(--color-white-30);
  animation: hc-bounce 2s ease-in-out infinite;
}
@keyframes hc-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  .tt-hero-video { animation: none; }
  .tt-hero-title-line { transition: none; width: 180px; opacity: 1; }
  .tt-hero-label, .tt-hero-category-chip, .tt-hero-title, .tt-hero-desc,
  .tt-hero-inline-controls, .tt-hero-dot, .tt-hero-ic-btn,
  .tt-hero-cta-link, .tt-hero-progress__fill { transition: none; }
  .tt-hero-location, .tt-hero-scroll-hint { opacity: 1; animation: none; }
}

/* ── RESPONSIVE ── */
@media (max-width: 991.98px) {
  .tt-hero-content { left: 40px; bottom: 96px; max-width: 500px; }
  .tt-hero-title   { font-size: clamp(2.8rem, 9vw, 5rem); }
  .tt-hero-counter { right: 40px; }
  .tt-hero-dots    { right: 18px; }
  .tt-hero-location { right: 44px; }
}
@media (max-width: 767.98px) {
  .tt-hero-content { left: 24px; right: 56px; bottom: 80px; max-width: none; }
  .tt-hero-title   { font-size: clamp(2.6rem, 11vw, 4rem); }
  .tt-hero-counter { display: none; }
  .tt-hero-dots    { right: 14px; gap: 10px; }
  .tt-hero-location { display: none; }
  .tt-hero-scroll-hint { display: none; }
}
@media (max-width: 575.98px) {
  .tt-hero-section { min-height: 600px; }
  .tt-hero-title   { font-size: clamp(2.4rem, 12vw, 3.6rem); line-height: 0.92; }
  .tt-hero-desc    { font-size: var(--text-xs); max-width: none; }
  .tt-hero-dots    { display: none; }
  .tt-hero-inline-controls { flex-wrap: wrap; gap: 8px; }
  .tt-hero-cta-link { padding: 9px 18px 9px 14px; }
}
