/* ==========================================================================
   BestWallClock — Hero Section
   Full-viewport hero with gradient overlay, animations, and scroll indicator
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero Container
   -------------------------------------------------------------------------- */
.bwc-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--bwc-obsidian);
}

/* Gradient Overlay — handled by .bwc-hero-overlay div in main.css */

/* --------------------------------------------------------------------------
   2. Hero Content
   -------------------------------------------------------------------------- */
.bwc-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--bwc-text);
  max-width: 900px;
  padding: 0 20px;
}

/* Subtitle / Eyebrow */
.bwc-hero-subtitle {
  display: inline-block;
  color: var(--bwc-gold);
  font-weight: 600;
  margin-bottom: 24px;
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
  padding-bottom: 8px;
  animation: bwc-fade-up 0.8s var(--bwc-ease) 0.2s both;
}

/* Hero Heading */
.bwc-hero h1 {
  font-family: var(--bwc-font-heading);
  font-size: 4rem;
  line-height: 1.1;
  color: var(--bwc-text);
  margin: 0 0 24px;
  font-weight: 700;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
  animation: bwc-fade-up 0.8s var(--bwc-ease) 0.4s both;
}

/* Hero Description */
.bwc-hero p {
  font-size: 1.1rem;
  font-weight: 300;
  color: #ccc;
  margin-bottom: 45px;
  max-width: 650px;
  margin-inline: auto;
  line-height: 1.7;
  animation: bwc-fade-up 0.8s var(--bwc-ease) 0.6s both;
}

/* --------------------------------------------------------------------------
   3. Hero Actions
   -------------------------------------------------------------------------- */
.bwc-hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  animation: bwc-fade-up 0.8s var(--bwc-ease) 0.8s both;
}

/* --------------------------------------------------------------------------
   4. Fade-Up Animation
   -------------------------------------------------------------------------- */
@keyframes bwc-fade-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   5. Scroll Indicator
   -------------------------------------------------------------------------- */
.bwc-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 20px;
  z-index: 10;
  display: flex;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.bwc-scroll-indicator:hover {
  border-color: var(--bwc-gold);
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.2);
}

.bwc-scroll-dot {
  width: 4px;
  height: 8px;
  background-color: var(--bwc-gold);
  border-radius: 4px;
  margin-top: 6px;
  animation: bwc-scroll-drop 2s infinite ease-in-out;
}

@keyframes bwc-scroll-drop {
  0%   { opacity: 0; transform: translateY(0); }
  20%  { opacity: 1; transform: translateY(4px); }
  80%  { opacity: 1; transform: translateY(18px); }
  100% { opacity: 0; transform: translateY(22px); }
}

/* --------------------------------------------------------------------------
   6. Trustpilot Mobile Badge
   Hidden by default — shown via responsive.css at 768px breakpoint
   -------------------------------------------------------------------------- */
.bwc-trustpilot-mobile {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 16px 24px;
  background-color: var(--bwc-charcoal);
  border: 1px solid var(--bwc-gold);
  border-radius: 8px;
}

.bwc-tp-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bwc-tp-stars {
  display: flex;
  gap: 3px;
}

.bwc-tp-star {
  width: 22px;
  height: 22px;
  background-color: #00b67a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bwc-text);
  font-size: 0.7rem;
}

.bwc-tp-info {
  font-size: 0.8rem;
  color: var(--bwc-text-soft);
}

.bwc-tp-rating {
  font-weight: 700;
  color: var(--bwc-text);
}

.bwc-tp-logo {
  color: #00b67a;
  font-weight: 700;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   7. Hero Video Background (optional)
   -------------------------------------------------------------------------- */
.bwc-hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bwc-hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   8. Hero Badge / Trust Bar
   -------------------------------------------------------------------------- */
.bwc-hero-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  animation: bwc-fade-up 0.8s var(--bwc-ease) 1s both;
}

.bwc-hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--bwc-text-soft);
  font-weight: 300;
}

.bwc-hero-badge svg {
  width: 18px;
  height: 18px;
  fill: var(--bwc-gold);
}

/* --------------------------------------------------------------------------
   9. Parallax Shimmer Effect (subtle gold sparkle on hero)
   -------------------------------------------------------------------------- */
.bwc-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(197, 160, 89, 0.04) 0%,
    transparent 60%
  );
  z-index: 1;
  pointer-events: none;
}
