/* hero.css - Hero Section Styles */

:root {
  --accent: #4ecdc4;
  --accent-dim: rgba(78, 205, 196, 0.15);
  --white: #ffffff;
  --white-dim: rgba(255,255,255,0.75);
  --white-faint: rgba(255,255,255,0.15);
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* =====================
   HERO SECTION
   ===================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #0a1419;
}

/* =====================
   SLIDER
   ===================== */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.slide.active {
  opacity: 1;
}

.slide-img {
  position: absolute;
  width: 100%;
  height: 130%; /* Extra height for vertical scroll */
  top: 0;
  left: 0;
  object-fit: cover;
  object-position: center top;
  transform: translateY(0%);
  /* Animation defined via JS */
  will-change: transform;
  filter: brightness(0.55) saturate(0.85);
}

/* Vertical scroll animation classes */
.slide-img.scrolling-down {
  animation: scrollDown 6s ease-in-out forwards;
}

@keyframes scrollDown {
  0%   { transform: translateY(0%); }
  100% { transform: translateY(-23%); }
}

/* =====================
   OVERLAY — bottom to top
   ===================== */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgb(9, 30, 36) 0%,
    rgba(9, 30, 36, 0.836) 35%,
    rgba(9, 30, 36, 0.18) 65%,
    rgba(9, 30, 36, 0.08) 100%
  );
  mix-blend-mode: normal;
}

/* Teal color blend layer */
/* .hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(9, 30, 36, 0.6) 0%,
    rgba(9, 30, 36, 0.2) 40%,
    transparent 80%
  );
  mix-blend-mode: multiply;
} */

/* =====================
   SOCIAL SIDEBAR (LEFT)
   ===================== */
.hero-social {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px 14px;
}

.social-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.25em;
  color: var(--white-dim);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-bottom: 4px;
}

.social-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.social-link:hover {
  color: var(--accent);
  transform: scale(1.2);
}

/* =====================
   HERO CONTENT
   ===================== */
.hero-content {
  position: absolute;
  bottom: 14vh;
  left: 80px;
  z-index: 10;
  max-width: 680px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.eyebrow-line {
  display: block;
  width: 100px;
  height: 1px;
 background: linear-gradient(to right, transparent, #4ecdc4);
  flex-shrink: 0;
}

.eyebrow-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.15;
  color: var(--white);
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.hero-title.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   SLIDE COUNTER (RIGHT)
   ===================== */
.hero-counter {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
}

.counter-track {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}

.counter-item {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  transition: color 0.4s ease, font-size 0.4s ease;
  cursor: pointer;
}

.counter-item.active {
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
}

.counter-bar {
  width: 1px;
  height: 160px;
  background: rgba(255,255,255,0.15);
  position: relative;
  border-radius: 1px;
  overflow: hidden;
}

.counter-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--accent);
  border-radius: 1px;
  transition: height 0.6s ease;
}

/* =====================
   MOUSE SCROLL INDICATOR
   ===================== */
.mouse-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 0;
  animation: mouseFadeInOut 2.4s ease-in-out infinite;
}

@keyframes mouseFadeInOut {
  0%   { opacity: 0; transform: translateX(-50%) translateY(6px); }
  25%  { opacity: 1; transform: translateX(-50%) translateY(0px); }
  75%  { opacity: 1; transform: translateX(-50%) translateY(0px); }
  100% { opacity: 0; transform: translateX(-50%) translateY(6px); }
}

.mouse-icon {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255,255,255,0.55);
  border-radius: 11px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.mouse-wheel {
  width: 2px;
  height: 6px;
  background: var(--accent);
  border-radius: 2px;
  animation: mouseScroll 2.4s ease-in-out infinite;
}

@keyframes mouseScroll {
  0%   { transform: translateY(0); opacity: 1; }
  60%  { transform: translateY(8px); opacity: 0; }
  61%  { transform: translateY(0); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.mouse-tail {
  width: 1px;
  height: 58px;
  background: linear-gradient(to top, rgba(255,255,255,0.5), transparent);
  margin-top: 0;
  animation: tailFade 2.4s ease-in-out infinite;
}

@keyframes tailFade {
  0%   { height: 0; opacity: 0; }
  30%  { height: 58px; opacity: 1; }
  80%  { height: 58px; opacity: 0.6; }
  100% { height: 0; opacity: 0; }
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .hero-content {
    left: 50px;
    max-width: calc(100% - 100px);
    bottom: 16vh;
  }
}

@media (max-width: 600px) {
  .hero-content {
    left: 24px;
    right: 48px;
    max-width: 100%;
    bottom: 14vh;
  }

  .hero-social {
    display: none;
  }

  .hero-counter {
    right: 8px;
  }

  .counter-track { gap: 14px; }
  .counter-bar { height: 120px; }
}

@media screen and (max-width:403px) {
  .eyebrow-line {
  display: none;
}
}
