/* ============================================================
   HERO.CSS — Hero Section, Mosaic, Badge, Marquee
   ============================================================ */

/* ── Hero layout ── */
.hero {
  min-height: 100svh;
  min-height: 100vh;
  background: var(--cream);
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: stretch;
  overflow: hidden;
}

/* ── Left: text column ── */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4rem 5rem;
  position: relative;
}
.hero-left::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--coral), var(--coral-light), transparent);
}

.hero-eyebrow {
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.hero-eyebrow-line { width: 30px; height: 1px; background: var(--coral); }

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--text-dark);
  margin-bottom: 1.8rem;
}
.hero-title em { font-style: italic; color: var(--coral); }

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 380px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 4rem;
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-mid);
}
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.hero-stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ── Right: mosaic photo grid ── */
.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 100%;
  gap: 4px;
}

.hero-mosaic-cell {
  overflow: hidden;
  position: relative;
  background: var(--coral-xpale);
  cursor: default;
  min-width: 0;
  min-height: 0;
}

/* Large left cell spans 2 rows */
.hero-mosaic-cell:first-child { grid-row: 1 / 3; }

/* ── Photo hover effect ── */
.hero-mosaic-cell img,
.hero-mosaic-cell .img-placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1), filter 0.5s ease;
}

/* Shimmer overlay on hover */
.hero-mosaic-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.18) 50%,
    rgba(255,255,255,0) 100%
  );
  opacity: 0;
  z-index: 2;
  transition: opacity 0.5s ease;
  transform: translateX(-100%);
  pointer-events: none;
}

/* Coral glow overlay */
.hero-mosaic-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(232,112,90,0.15) 0%, transparent 70%);
  opacity: 0;
  z-index: 2;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.hero-mosaic-cell:hover::after { opacity: 1; }

.hero-mosaic-cell:hover img,
.hero-mosaic-cell:hover .img-placeholder {
  transform: scale(1.07);
}

/* Shimmer sweep animation */
@keyframes shimmer-sweep {
  0%   { opacity: 0; transform: translateX(-100%) skewX(-12deg); }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(200%) skewX(-12deg); }
}
.hero-mosaic-cell:hover::before {
  animation: shimmer-sweep 0.8s ease forwards;
}

/* Click-to-expand icon */
.hero-mosaic-cell .expand-hint {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 5;
  box-shadow: 0 2px 12px rgba(44,36,32,0.2);
}
.hero-mosaic-cell .expand-hint svg { width: 14px; height: 14px; stroke: var(--coral); stroke-width: 2; fill: none; }
.hero-mosaic-cell:hover .expand-hint { opacity: 1; transform: scale(1); }

/* ── Floating badge ── */
.hero-badge {
  position: absolute;
  bottom: 2.5rem;
  left: -1.5rem;
  background: white;
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 40px rgba(44,36,32,0.12);
  border-radius: 4px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 200px;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
  animation: blink 2s ease infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
.hero-badge-text { font-size: 0.68rem; color: var(--text-mid); line-height: 1.4; }
.hero-badge-text strong { display: block; font-size: 0.75rem; color: var(--text-dark); font-weight: 400; }

/* ── Decorative ring ── */
.deco-ring {
  position: absolute;
  top: 2rem; right: 2rem;
  width: 80px; height: 80px;
  border: 1px solid rgba(232,112,90,0.3);
  border-radius: 50%;
  z-index: 2;
  animation: spin-slow 20s linear infinite;
}
.deco-ring::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(232,112,90,0.15);
  border-radius: 50%;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* Slider dots (mobile) */
.hero-slider-dots {
  position: absolute;
  bottom: 0.7rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 5px; z-index: 3;
}
.hero-slider-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background 0.3s, transform 0.3s;
}
.hero-slider-dot.active { background: white; transform: scale(1.35); }

/* ── Marquee ── */
.marquee-strip {
  background: var(--coral);
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 2rem;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.marquee-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  flex-shrink: 0;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 7rem 2.5rem 3.5rem; }
  .hero-right { min-height: 52vw; }
  .hero-badge { left: 1.2rem; bottom: 1.5rem; }
}

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { order: -1; }

  /* Mobile: full-width horizontal photo slider */
  .hero-mosaic {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    height: 78vw;
    min-height: 280px;
    max-height: 420px;
    gap: 0;
  }
  .hero-mosaic::-webkit-scrollbar { display: none; }
  .hero-mosaic-cell {
    flex: 0 0 100%;
    scroll-snap-align: start;
    min-height: 280px;
    height: 100%;
  }
  .hero-mosaic-cell:first-child { grid-row: auto; }

  /* Disable ALL hover effects on mobile */
  .hero-mosaic-cell:hover img,
  .hero-mosaic-cell:hover .img-placeholder { transform: none !important; filter: none !important; }
  .hero-mosaic-cell:hover::after { opacity: 0 !important; }
  .hero-mosaic-cell:hover::before { animation: none !important; }
  .hero-mosaic-cell::after { display: none; }
  .hero-mosaic-cell::before { display: none; }

  /* Always show expand hint */
  .hero-mosaic-cell .expand-hint { display: none; }
  .hero-mosaic-cell:active .img-placeholder,
  .hero-mosaic-cell:active img { opacity: 0.88; }

  .hero-badge { left: 0.8rem; bottom: 0.8rem; min-width: 0; padding: 0.6rem 1rem; }
  .deco-ring  { display: none; }

  /* Never add margin to hero-right — nav offset is handled by padding-top on .hero */
  .hero-right { margin-top: 0 !important; }

  .hero-left  { padding: 1.8rem 1.2rem 2rem; order: 1; }
  .hero-left::before { display: none; }
  .hero-title { font-size: clamp(1.85rem, 9vw, 2.5rem); margin-bottom: 0.85rem; }
  .hero-tagline { font-size: 0.84rem; margin-bottom: 1.3rem; max-width: 100%; }
  .hero-actions { gap: 0.7rem; }
  .btn-primary { padding: 0.8rem 1.4rem; font-size: 0.64rem; }
  .hero-stats  { margin-top: 1.8rem; padding-top: 1.2rem; gap: 1.5rem; }
  .hero-stat-num { font-size: 1.45rem; }
  .hero-eyebrow  { margin-bottom: 1.2rem; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
}
.hero-mosaic-cell .expand-hint { display: none !important; }