/* ============================================================
   HOME — Hero Timed Card Opening + About Us
   ============================================================ */

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--brand-black);
  overflow: hidden;
}
.hero-stage {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease-smooth);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center;
}
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--overlay-dark-strong);
}

.hero-content {
  position: relative;
  z-index: 5;
  padding-top: clamp(7rem, 16vw, 10rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
  color: #fff;
  max-width: 900px;
  text-align: left;
}
.hero-content .eyebrow { color: #b6a9ff; text-align: left; }
.hero-content h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  line-height: 1.02;
  font-weight: 900;
  text-shadow: 0 6px 30px rgba(0,0,0,.45);
  text-align: left;
}
.hero-content p {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: #eae8ff;
  max-width: 620px;
  text-align: left;
}
.hero-cta-row { margin-top: 2.25rem; display: flex; justify-content: flex-start; gap: 1rem; flex-wrap: wrap; }

/* Timed cards row */
.hero-cards {
  position: relative;
  z-index: 5;
  max-width: calc(4 * 130px + 3 * .85rem);
  margin-left: auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem) clamp(1rem, 3vw, 1.75rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.hero-cards-track {
  display: flex;
  gap: .85rem;
  width: max-content;
  animation: hero-cards-scroll 26s linear infinite;
}
.hero-cards:hover .hero-cards-track,
.hero-cards-track.is-paused { animation-play-state: paused; }
@keyframes hero-cards-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - .425rem)); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cards-track { animation: none; }
}
.hero-card {
  flex: 0 0 auto;
  width: 130px;
  height: 210px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,.65);
  transition: border-color .3s, transform .3s var(--ease-smooth), box-shadow .3s;
  background: #111;
}
.hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: opacity .3s; }
.hero-card span {
  position: absolute; inset: auto 0 0 0;
  padding: .6rem .6rem .65rem;
  font-size: .74rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,.9), transparent);
  line-height: 1.25;
}
.hero-card.is-active {
  border-color: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.4);
  transform: translateY(-4px);
}
.hero-card.is-active img { opacity: 1; }
.hero-card:hover { border-color: #fff; }
.hero-card:hover img { opacity: 1; }
.hero-card:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.hero-controls {
  position: absolute;
  top: clamp(6.5rem, 15vw, 9rem);
  right: clamp(1.25rem, 4vw, 2.5rem);
  z-index: 6;
  display: flex;
  gap: .5rem;
}
.hero-pause-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6);
  background: rgba(0,0,0,.35);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
.hero-pause-btn svg { width: 18px; height: 18px; }

@media (max-width: 720px) {
  .hero-cards { max-width: none; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-mask-image: none; mask-image: none; }
  .hero-cards-track { animation: none; }
  .hero-card { scroll-snap-align: start; width: 104px; height: 168px; }
  .hero-card[aria-hidden="true"] { display: none; }
  .hero-controls { display: none; }
}

/* Parallax decorative layer (mouse-move, no-scroll) */
.hero-parallax-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  pointer-events: none;
  z-index: 4;
}

/* ---------- ABOUT US ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-card);
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: 1.25rem; left: 1.25rem;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-card);
  display: flex; align-items: center; gap: .75rem;
}
.about-badge strong { display: block; font-family: var(--font-heading); font-size: 1.4rem; color: var(--brand-blue); }
.about-badge span { font-size: .78rem; color: var(--color-text-muted); }
.about-copy p { color: var(--color-text-muted); margin-bottom: 1.1rem; }
.about-copy .contact-name { font-weight: 700; color: var(--color-text); }

/* Parallax background strip used in Why Choose Us */
.parallax-strip {
  position: relative;
  color: #fff;
}
.parallax-bg {
  position: absolute;
  inset: -5% 0 -5% 0;
  background: var(--overlay-dark-strong), url('https://images.pexels.com/photos/36035073/pexels-photo-36035073.jpeg?auto=compress&cs=tinysrgb&w=1800') center/cover fixed;
  z-index: 0;
}
@media (max-width: 700px) { .parallax-bg { background-attachment: scroll; inset: 0; } }
.parallax-strip > .container { position: relative; z-index: 2; }
