/* =============================================
   BESTCLEAN24 — HERO SECTION
   Customizer-editable background image + overlay
   ============================================= */

.bc-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background: image set via Customizer, overlay always present */
.bc-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Blue overlay on top of image */
.bc-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 49, 244, 0.88) 0%,
    rgba(0, 40, 200, 0.78) 40%,
    rgba(0, 30, 150, 0.82) 100%
  );
  z-index: 1;
}

.bc-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--bc-max-width);
  margin: 0 auto;
  padding: 4rem 2.5rem;
  width: 100%;
}

.bc-hero-text {
  max-width: 740px;
  font-family: var(--bc-font);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--bc-white);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.bc-hero-text strong {
  font-weight: 700;
}

.bc-hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
}


/* =============================================================
   BUTTONS
   ============================================================= */
.bc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.05rem 2.5rem;
  font-family: var(--bc-font);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-decoration: none;
  border-radius: var(--bc-radius);
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

/* Primary: white solid → glow + lift on hover */
.bc-btn-primary {
  background: var(--bc-white);
  color: var(--bc-blue);
  border-color: var(--bc-white);
  transition: all 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
}

.bc-btn-primary:hover {
  background: var(--bc-white);
  color: var(--bc-blue-dark);
  box-shadow:
    0 0 0 3px rgba(255,255,255,0.3),
    0 8px 25px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

.bc-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.2);
}

/* Phone CTA: outline + pulse ring + icon shake on hover */
.bc-btn-phone {
  background: transparent;
  color: var(--bc-white);
  border-color: rgba(255,255,255,0.45);
  transition: all 0.3s ease, border-color 0.3s ease;
}

.bc-btn-phone:hover {
  border-color: var(--bc-white);
  color: var(--bc-white);
  background: rgba(255,255,255,0.1);
  box-shadow:
    0 0 0 4px rgba(255,255,255,0.15),
    0 0 20px rgba(255,255,255,0.1);
}

.bc-btn-phone:hover .bc-btn-icon {
  animation: bc-phone-ring 0.6s ease-in-out;
}

/* Persistent subtle pulse on phone button */
.bc-btn-phone::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.15);
  animation: bc-btn-pulse 2.5s ease-in-out infinite;
  pointer-events: none;
}

.bc-btn-phone:hover::before {
  animation: none;
  border-color: transparent;
}

@keyframes bc-btn-pulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

.bc-btn-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}


/* =============================================================
   HERO RESPONSIVE
   ============================================================= */
@media (max-width: 900px) {
  .bc-hero {
    min-height: 440px;
  }

  .bc-hero-content {
    padding: 3rem 1.25rem;
  }

  .bc-hero-text {
    font-size: 1.15rem;
    line-height: 1.65;
    margin-bottom: 2rem;
  }

  .bc-hero-cta {
    max-width: 100%;
  }

  .bc-btn {
    padding: 0.9rem 2rem;
    font-size: 0.7rem;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .bc-hero {
    min-height: 400px;
  }

  .bc-hero-text {
    font-size: 1.02rem;
  }
}
