/* ============================================================
   TalkGlitz — homepage-images.css
   Full-screen crossfade hero · Clean · Mobile-first
   ============================================================ */

/* ── HERO ───────────────────────────────────────────────── */
.home-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

/* ── BACKGROUND SLIDES ──────────────────────────────────── */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Each slide: positioned absolute, crossfade via opacity */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  will-change: opacity;
}
.hero-slide--active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* Dark overlay — makes text readable over any image */
.hero-overlay {
  position: absolute;
  inset: 0;
  /* Heavier at bottom-left where text sits, lighter top-right */
  background: linear-gradient(
    135deg,
    rgba(10,10,10,.88) 0%,
    rgba(10,10,10,.75) 50%,
    rgba(10,10,10,.55) 100%
  );
}

/* ── HERO CONTENT ───────────────────────────────────────── */
.hero-body {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-top: 7rem;
  padding-bottom: 5rem;
}

/* ── SLIDE DOTS ─────────────────────────────────────────── */
.hero-slide-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  transition: background 0.4s, width 0.4s;
  display: block;
}
.hero-dot--active {
  background: var(--gold);
  width: 20px;
  border-radius: 3px;
}

/* ── HERO ANIMATIONS ────────────────────────────────────── */
.hero-label    { animation: heroFadeUp 0.9s ease 0.1s both; }
.hero-headline { animation: heroFadeUp 0.9s ease 0.2s both; }
.hero-sub      { animation: heroFadeUp 0.9s ease 0.35s both; }
.hero-actions  { animation: heroFadeUp 0.9s ease 0.5s both; }
.hero-stats    { animation: heroFadeUp 0.9s ease 0.65s both; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── OFFICE FEATURE SECTION ─────────────────────────────── */
.home-office-section {
  background: var(--black);
  overflow: hidden;
}
.home-office-inner {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .home-office-inner {
    grid-template-columns: 1fr 1fr;
    min-height: 680px;
  }
}

.home-office-img {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.home-office-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  aspect-ratio: 4/3;
  transition: transform 0.8s ease;
}
@media (min-width: 1024px) {
  .home-office-img img {
    aspect-ratio: unset;
  }
}
.home-office-img:hover img { transform: scale(1.03); }

.home-office-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(10,10,10,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}
.hob-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
}
.hob-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
  display: block;
  margin-top: 0.3rem;
}

.home-office-text {
  padding: 3.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
  background: var(--off-black);
}
@media (min-width: 1024px) {
  .home-office-text { padding: 5rem 4rem 5rem 4.5rem; }
}
@media (min-width: 1280px) {
  .home-office-text { padding: 6rem 5rem; }
}

.home-office-text h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
.home-office-text p  { font-size: 0.95rem; line-height: 1.8; }

.home-office-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.25rem;
}
.home-office-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: 0.5rem;
}
.home-office-stats-row > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* ── REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-label, .hero-headline, .hero-sub, .hero-actions, .hero-stats {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero-slide { transition: none; }
  .home-office-img img { transition: none; }
}
