/*
====================================================
Project : Société de Plomberie Ayouche
Page    : Home
Section : Hero
Author  : AI + User
Version : 2.0.0 — reproduced pixel-perfect from approved annotated mockup
====================================================
*/

.hero {
  position: relative;
  background: #000A17;
  padding-top: 120px;
  padding-bottom: 40px;
  overflow: hidden;
}

.hero-card {

  position: relative;

  width: 95%;

  max-width: 1700px;

  height: 850px;

  margin: auto;

  overflow: hidden;

  border-radius: 22px;

  box-shadow:
    0 40px 120px rgba(0, 0, 0, .45);

}

.hero-video {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

  animation: hero-video-zoom 20s linear infinite alternate;

  filter:

    brightness(.72) contrast(1.1) saturate(.95);

}

@keyframes hero-video-zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.03);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(0, 10, 23, 0.90) 0%,
      rgba(0, 10, 23, 0.55) 45%,
      rgba(0, 10, 23, 0.08) 100%);
}

.hero-content {

  position: absolute;

  left: 90px;

  top: 50%;

  transform: translateY(-50%);

  width: 620px;

  z-index: 5;

}

.hero-eyebrow {

  display: block;

  font-size: 15px;

  font-weight: 600;

  letter-spacing: 5px;

  text-transform: uppercase;

  color: #008CD1;

  margin-bottom: 30px;

}

.hero-content h1 {

  font-size: 40px;

  font-weight: 800;

  line-height: .92;

  letter-spacing: -3px;

  margin-bottom: 35px;

  color: #fff;

}

.hero-content h1 .hero-accent {
  color: #0095E8;
}

.hero-line {

  width: 70px;

  height: 3px;

  background: #008CD1;

  margin: 0 0 35px;

}

.hero-content p {

  font-size: 18px;

  line-height: 1.85;

  color: rgba(255, 255, 255, .82);

  margin-bottom: 22px;

  max-width: 560px;

}

.hero-description:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   SCROLL INDICATOR
   -------------------------------------------------------------------------- */
.hero-scroll {

  position: absolute;

  left: 50%;

  bottom: -55px;

  transform: translateX(-50%);

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  background: none;

  border: none;

  cursor: pointer;

  color: #fff;

  z-index: 50;

}

.hero-scroll-icon {

  width: 28px;
  height: 48px;

  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: 18px;

  position: relative;

  margin-bottom: 14px;

}

.hero-scroll-icon::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background-color: #FFFFFF;
  transform: translateX(-50%);
  animation: hero-scroll-wheel-move 1.8s ease-in-out infinite;
}

@keyframes hero-scroll-wheel-move {
  0% {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  70% {
    opacity: 0;
    transform: translate(-50%, 10px);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
}

.hero-scroll-text {

  font-size: 12px;

  letter-spacing: 6px;

  text-transform: uppercase;

  font-weight: 600;

  color: #fff;

}

@media (prefers-reduced-motion: reduce) {

  .hero-video,
  .hero-scroll-icon::after {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   RESPONSIVE — breakpoints as specified in the approved mockup
   -------------------------------------------------------------------------- */
@media (max-width: 1439.98px) {
  .hero-card {
    height: 680px;
  }

  .hero-content h1 {
    font-size: 48px;
  }

  .hero-content p {
    font-size: 20px;
  }
}

@media (max-width: 767.98px) {
  .hero-card {

    height: 790px;

    border-radius: 24px;

    overflow: hidden;

    box-shadow:

      0 35px 90px rgba(0, 0, 0, .45);

  }

  .hero-content {
    left: 0;
    right: 0;
    bottom: 40px;
    width: 100%;
    max-width: none;
    padding-inline: 40px;
    text-align: center;
  }

  .hero-content h1,
  .hero-content p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-overlay {

    position: absolute;

    inset: 0;

    background:

      linear-gradient(90deg,

        rgba(0, 10, 23, .92) 0%,

        rgba(0, 10, 23, .82) 22%,

        rgba(0, 10, 23, .55) 45%,

        rgba(0, 10, 23, .18) 72%,

        rgba(0, 10, 23, .02) 100%);

  }
}