/**
 * PCTechComVn — Hero Section CSS
 * Child Theme CSS Module
 * Version: 1.0.0 (Sprint 2)
 *
 * Hero section: gradient background, 2-col grid, glassmorphism desc,
 * floating cards, trust pills, animated shapes.
 *
 * JS: scroll-reveal.js (Sprint 0)
 * Bricks: Section #hero with ACF dynamic data
 */

/* ═══════════════════════════════════════════════
   1. HERO SECTION — Main container
   ═══════════════════════════════════════════════ */
.hero {
  padding-top: 60px;
  padding-bottom: 80px;
  background:
    linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-dark) 35%, #0a3060 70%, var(--blue-deeper) 100%);
  position: relative;
  overflow: hidden;
  color: var(--white);
}

/* Decorative overlay: radial gradients + cross pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(232, 135, 10, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(0, 150, 94, 0.1) 0%, transparent 35%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero .section-title,
.hero h1 {
  color: var(--white);
}

/* Background image (Ken Burns) */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  animation: kenBurns 25s ease-in-out infinite alternate;
}


/* ═══════════════════════════════════════════════
   2. HERO GRID — 2 column layout
   ═══════════════════════════════════════════════ */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}


/* ═══════════════════════════════════════════════
   3. KTV ONLINE BAR
   ═══════════════════════════════════════════════ */
.ktv-online-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 168, 107, 0.15);
  border: 1px solid rgba(0, 168, 107, 0.3);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  margin-bottom: 16px;
}

.ktv-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}


/* ═══════════════════════════════════════════════
   4. HERO BADGE
   ═══════════════════════════════════════════════ */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-badge span {
  color: var(--orange);
}


/* ═══════════════════════════════════════════════
   5. HERO HEADING
   ═══════════════════════════════════════════════ */
.hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

/* Gradient text for <em> accent */
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #ffd080, var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ═══════════════════════════════════════════════
   6. HERO DESCRIPTION — Glassmorphism card
   ═══════════════════════════════════════════════ */
.hero-desc {
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.65;
}

.hero .hero-desc {
  color: rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  text-shadow: 0 1px 3px rgba(4, 26, 53, 0.35);
}


/* ═══════════════════════════════════════════════
   7. HERO CTA BUTTONS
   ═══════════════════════════════════════════════ */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

/* Override btn-outline for dark hero bg */
.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--orange);
}


/* ═══════════════════════════════════════════════
   8. HERO TRUST PILLS
   ═══════════════════════════════════════════════ */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Override trust-pill for dark hero bg */
.hero .trust-pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
}


/* ═══════════════════════════════════════════════
   9. HERO VISUAL — Image + Float Cards
   ═══════════════════════════════════════════════ */
.hero-visual {
  position: relative;
}

.hero-img-main {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  width: 100%;
}

.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 600;
  animation: float 4s ease-in-out infinite;
  z-index: 2;
}

.hero-float-card.orange {
  bottom: -20px;
  left: -20px;
  border-left: 4px solid var(--orange);
  color: var(--orange-dark);
}

.hero-float-card.blue {
  top: 20px;
  right: -20px;
  border-left: 4px solid var(--blue);
  color: var(--blue);
  animation-delay: 1s;
}


/* ═══════════════════════════════════════════════
   10. FLOATING SHAPES — Decorative circles
   ═══════════════════════════════════════════════ */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  animation: shapeFloat 8s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  background: rgba(245, 158, 11, 0.15);
  top: 15%;
  right: 10%;
}

.shape-2 {
  width: 120px;
  height: 120px;
  background: rgba(26, 95, 180, 0.1);
  bottom: 20%;
  left: 5%;
  animation-delay: 2s;
}

.shape-3 {
  width: 50px;
  height: 50px;
  background: rgba(0, 168, 107, 0.12);
  top: 40%;
  right: 25%;
  animation-delay: 4s;
}


/* ═══════════════════════════════════════════════
   11. HERO TIME CTA — Contextual message
   ═══════════════════════════════════════════════ */
#hero-time-cta {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
}


/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-visual {
    max-width: 420px;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 6vw, 2.2rem);
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-float-card.orange {
    bottom: -10px;
    left: -10px;
    font-size: 0.78rem;
    padding: 10px 14px;
  }

  .hero-float-card.blue {
    top: 10px;
    right: -10px;
    font-size: 0.78rem;
    padding: 10px 14px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 40px;
    padding-bottom: 60px;
  }

  .hero .hero-desc {
    font-size: 0.95rem;
    padding: 14px 16px;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.88rem;
    padding: 12px 20px;
  }

  .trust-pill {
    font-size: 0.78rem;
    padding: 8px 14px;
  }

  .hero-float-card {
    display: none;
  }
}
