/* ==========================================================================
   hero.css — Hero Variants Per Page Type
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base Hero
   -------------------------------------------------------------------------- */
.apch-hero {
  position: relative;
  overflow: hidden;
}
.apch-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   Home Hero
   -------------------------------------------------------------------------- */
.apch-hero-home {
  background-color: var(--navy);
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  padding: 160px 0 120px;
  min-height: 620px;
  display: flex;
  align-items: center;
}
.apch-hero-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(27, 43, 75, 0.3) 0%, rgba(27, 43, 75, 0.65) 40%, rgba(27, 43, 75, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}
@keyframes apch-heroShine {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(200%) rotate(25deg); }
}
.apch-hero-home::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  transform: translateX(-100%) rotate(25deg);
  animation: apch-heroShine 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.apch-hero-home .apch-hero-inner {
  text-align: center;
}
.apch-hero-home h1 {
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 700;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #FFFFFF 0%, #E8D5D0 40%, #FFFFFF 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.apch-hero-home .apch-hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.85;
}
.apch-hero-home .apch-hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.apch-hero-home .apch-btn-primary {
  animation: apch-pulse 3s ease-in-out infinite;
}
@keyframes apch-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(196, 74, 63, 0.3); }
  50% { box-shadow: 0 4px 16px rgba(196, 74, 63, 0.3), 0 0 0 8px rgba(196, 74, 63, 0.12); }
}

/* --------------------------------------------------------------------------
   Service Hero
   -------------------------------------------------------------------------- */
.apch-hero-service {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 0 60px;
}
.apch-hero-service::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 74, 63, 0.1), transparent 70%);
  pointer-events: none;
}
.apch-hero-service::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  pointer-events: none;
}
.apch-hero-service .apch-hero-inner {
  text-align: center;
}
.apch-hero-service h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.apch-hero-service .apch-hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 24px;
  line-height: 1.8;
}
.apch-hero-service .apch-hero-breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
  letter-spacing: 0.3px;
  font-weight: 500;
  background: rgba(255,255,255,0.1);
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.apch-hero-service .apch-hero-breadcrumb a {
  color: rgba(255,255,255,0.55);
  transition: color 0.25s ease;
}
.apch-hero-service .apch-hero-breadcrumb a:hover {
  color: var(--coral);
}

/* --------------------------------------------------------------------------
   Location Hero
   -------------------------------------------------------------------------- */
.apch-hero-location {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 80px 0 60px;
}
.apch-hero-location::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 74, 63, 0.1), transparent 70%);
  pointer-events: none;
}
.apch-hero-location::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  pointer-events: none;
}
.apch-hero-location .apch-hero-inner {
  text-align: center;
}
.apch-hero-location h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.apch-hero-location .apch-hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.8;
}
.apch-hero-location .apch-hero-breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
  letter-spacing: 0.3px;
  font-weight: 500;
  background: rgba(255,255,255,0.1);
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.apch-hero-location .apch-hero-breadcrumb a {
  color: rgba(255,255,255,0.55);
  transition: color 0.25s ease;
}
.apch-hero-location .apch-hero-breadcrumb a:hover {
  color: var(--coral);
}

/* --------------------------------------------------------------------------
   Blog Hero
   -------------------------------------------------------------------------- */
.apch-hero-blog {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 60px 0 48px;
}
.apch-hero-blog .apch-hero-inner {
  text-align: center;
}
.apch-hero-blog h1 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.apch-hero-blog .apch-hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Default Hero (pages without a specific variant)
   -------------------------------------------------------------------------- */
.apch-hero-default {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 60px 0 48px;
}
.apch-hero-default .apch-hero-inner {
  text-align: center;
}
.apch-hero-default h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.apch-hero-default .apch-hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Mobile Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .apch-hero-home {
    padding: 100px 0 80px;
    min-height: auto;
  }
}
@media (max-width: 600px) {
  .apch-hero-home {
    padding: 80px 0 60px;
  }
  .apch-hero-home .apch-hero-btns {
    flex-direction: column;
    align-items: center;
  }
}
