/* ═══════════════════════════════════════════════
   Hero Banner — hero.css
   ═══════════════════════════════════════════════ */

/* ── Hero section ── */
.hero {
  position: relative;
  width: 100%;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* Construction site background — Unsplash free-to-use image */
  background-image: url('./assets/bg4.png');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
}

/* ── Dark overlay ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.82) 0%,
    rgba(20, 20, 20, 0.70) 50%,
    rgba(30, 18, 8, 0.78) 100%
  );
  z-index: 1;
  /* subtle animated shimmer */
  animation: overlayPulse 8s ease-in-out infinite alternate;
}

@keyframes overlayPulse {
  from { opacity: 1; }
  to   { opacity: 0.88; }
}

/* ── Glassmorphism decorative squares ── */
.hero-glass {
  position: absolute;
  border: 1.5px solid rgba(249, 168, 38, 0.18);
  border-radius: 4px;
  z-index: 2;
  pointer-events: none;
  animation: floatBox 6s ease-in-out infinite alternate;
}

.hero-glass--tl {
  width: 180px;
  height: 180px;
  top: 10%;
  left: 6%;
  animation-delay: 0s;
  border-color: rgba(249, 168, 38, 0.22);
}
.hero-glass--tl::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(249, 168, 38, 0.10);
  border-radius: 2px;
}

.hero-glass--br {
  width: 220px;
  height: 220px;
  bottom: 10%;
  right: 6%;
  animation-delay: 2s;
  border-color: rgba(249, 168, 38, 0.15);
}
.hero-glass--br::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(249, 168, 38, 0.08);
  border-radius: 2px;
}

.hero-glass--mid {
  width: 100px;
  height: 100px;
  top: 55%;
  left: 8%;
  animation-delay: 1s;
  border-color: rgba(255, 255, 255, 0.08);
}

@keyframes floatBox {
  from { transform: translateY(0px) rotate(0deg); }
  to   { transform: translateY(-14px) rotate(1.5deg); }
}

/* ── Hero content ── */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
  width: 100%;
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Since label ── */
.hero-since {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}
.hero-since__line {
  display: block;
  width: 52px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, #f9a826, transparent);
}
.hero-since__text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: #f9a826;
  text-transform: uppercase;
}

/* ── Heading ── */
.hero-heading {
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 1.5px;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 44px;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.6);
}

/* ── Highlighted word ── */
.hero-highlight {
  color: #f9a826;
  position: relative;
  display: inline-block;
}
/* subtle underline accent on highlight */
.hero-highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 3px;
  background: #f9a826;
  border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
}

/* ── CTA buttons row ── */
.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ── Base button ── */
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition:
    transform  0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.22s ease,
    background  0.2s ease,
    color       0.2s ease;
  position: relative;
  overflow: hidden;
}

/* ripple layer */
.hero-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.2s;
}
.hero-btn:hover::before { opacity: 1; }

/* arrow icon */
.hero-btn__arrow {
  flex-shrink: 0;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hero-btn:hover .hero-btn__arrow { transform: translateX(5px); }

/* ── Primary — orange ── */
.hero-btn--primary {
  background: #f9a826;
  color: #111111;
  box-shadow: 0 6px 28px rgba(249, 168, 38, 0.35);
}
.hero-btn--primary:hover {
  background: #e8971a;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 36px rgba(249, 168, 38, 0.50);
}
.hero-btn--primary:active {
  transform: translateY(-1px) scale(1.01);
}

/* ── Secondary — dark charcoal ── */
.hero-btn--secondary {
  background: rgba(30, 30, 30, 0.85);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-btn--secondary:hover {
  background: rgba(249, 168, 38, 0.12);
  border-color: #f9a826;
  color: #f9a826;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}
.hero-btn--secondary:active {
  transform: translateY(-1px) scale(1.01);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { background-attachment: scroll; min-height: 92vh; }
  .hero-glass--tl { width: 110px; height: 110px; }
  .hero-glass--br { width: 130px; height: 130px; }
  .hero-glass--mid { display: none; }
  .hero-heading { margin-bottom: 36px; }
  .hero-btn { padding: 13px 26px; font-size: 0.75rem; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; gap: 14px; }
  .hero-btn { width: 100%; max-width: 300px; justify-content: center; }
  .hero-glass--tl, .hero-glass--br { display: none; }
}
