/* =============================================================
   Front Page — page-specific styles
   Shared classes (.btn-primary, .glass-card, .label-tag, etc.)
   live in smartsale-main.css
   ============================================================= */

/* ── Hero cinematic ──────────────────────────────────────── */
.hero-v2 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-v2__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero-v2__bg.loaded { transform: scale(1); }
.hero-v2__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(23, 28, 34, 0.93) 0%,
    rgba(23, 28, 34, 0.80) 50%,
    rgba(160, 111, 71, 0.12) 100%
  );
}
.hero-v2__noise {
  position: absolute;
  inset: 0;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 150px;
}
.hero-v2__content { position: relative; z-index: 2; }

/* ── Marquee / trusted-by ──────────────────────────────────── */
.marquee-track {
  display: flex;
  gap: 4rem;
  animation: marqueeScroll 28s linear infinite;
  white-space: nowrap;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

/* ── Image card / hover zoom ──────────────────────────────── */
.img-zoom-wrap {
  overflow: hidden;
  border-radius: 12px;
}
.img-zoom-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.img-zoom-wrap:hover img { transform: scale(1.04); }

/* ── Photo section backgrounds ──────────────────────────────── */
.section-photo-bg {
  position: relative;
  overflow: hidden;
}
.section-photo-bg__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.section-photo-bg__overlay {
  position: absolute;
  inset: 0;
}
.section-photo-bg__content { position: relative; z-index: 2; }

/* ── Team cards ──────────────────────────────────────────── */
.team-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px 8px 0 0;
  transition: transform .4s ease;
}
.team-card:hover img { transform: scale(1.03); }

/* ── Testimonial v2 ──────────────────────────────────────── */
.testimonial-bg {
  background-image: url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1600&q=60');
  background-size: cover;
  background-position: center;
}

/* ── Contact photo panel ──────────────────────────────────── */
.contact-photo {
  background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=900&q=80');
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  min-height: 520px;
  position: relative;
  overflow: hidden;
}
.contact-photo__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(23,28,34,.55) 0%,
    rgba(23,28,34,.85) 100%
  );
  border-radius: 12px;
}
.contact-photo__content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* ── Stats bar ──────────────────────────────────────────────── */
.stats-bar-item + .stats-bar-item {
  border-left: 1px solid rgba(255,255,255,.08);
}

/* ── Float badge ──────────────────────────────────────────── */
.float-badge {
  animation: floatY 4s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
