/* =================================================
   SERVICE PAGES (ESTILO GLOBAL COMPARTIDO)
   Usado por:
   - alquiler.html
   - reparacion.html
   - futuros servicios
   ================================================= */


/* =================================================
   CONTENEDOR GENERAL
   ================================================= */

.service-page {
  background: #111;
  color: white;
  overflow-x: hidden;
}



/* =================================================
   HERO BASE
   ================================================= */

.service-hero {
  position: relative;

  height: 70vh;
  min-height: 520px;

  display: flex;
  align-items: center;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  overflow: hidden;
}


/* overlay oscuro industrial */
.service-hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(0,0,0,.9) 0%,
    rgba(0,0,0,.75) 40%,
    rgba(0,0,0,.45) 70%,
    rgba(0,0,0,.15) 100%
  );
}


/* contenido texto */
.service-hero-content {
  position: relative;
  z-index: 2;

  max-width: 720px;
}



/* =================================================
   TÍTULO PRINCIPAL
   ================================================= */

.service-hero h1 {
  font-family: 'bebas_regular', sans-serif;
  font-size: 78px;
  letter-spacing: 2px;

  margin-bottom: 18px;

  text-shadow:
    0 6px 18px rgba(0,0,0,.9),
    0 3px 8px rgba(0,0,0,.8);
}

.service-hero span {
  color: var(--primary);
}



/* =================================================
   DESCRIPCIÓN
   ================================================= */

.service-lead {
  font-size: 20px;
  line-height: 1.6;

  margin-bottom: 30px;

  opacity: .95;
}



/* =================================================
   BOTÓN CTA ROJO
   ================================================= */

.service-cta {
  display: inline-block;

  background: var(--primary);
  color: white;

  padding: 15px 34px;

  border-radius: 6px;

  font-family: 'bebas_regular', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;

  text-decoration: none;

  transition: .25s ease;
}

.service-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.5);
}



/* =================================================
   BLOQUE CONTENIDO (cards)
   ================================================= */

.service-content {
  padding: 90px 0 110px;
}



/* =================================================
   GRID CARDS
   ================================================= */

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}



/* =================================================
   CARD INDIVIDUAL
   ================================================= */

.service-card {
  background: #1c1c1c;

  padding: 30px;

  border-radius: 8px;

  border: 1px solid rgba(255,255,255,.05);

  transition: .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  background: #222;
  box-shadow: 0 15px 35px rgba(0,0,0,.55);
}

.service-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  opacity: .85;
}



/* =================================================
   ICONO FORKLIFT
   ================================================= */

.service-icon {
  width: 85px;
  height: auto;

  margin-bottom: 18px;

  filter: drop-shadow(0 10px 14px rgba(0,0,0,.6));

  transition: .25s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.08);
}



/* =================================================
   FONDOS POR SERVICIO
   (solo cambiás la clase en el HTML)
   ================================================= */

/* 🔴 ALQUILER */
.service-hero-alquiler {
  background-image: url("../images/alquiler-bg.jpg");
}

/* 🔴 REPARACIÓN */
.service-hero-reparacion {
  background-image: url("../images/reparacion-bg.jpg");
}

/* 🔴 LOGÍSTICA */
.service-hero-logistica {
  background-image: url("../images/logistica-bg.jpg");
}

/* 🔴 APILADORES */
.service-hero-apiladores {
  background-image: url("../images/apiladores-bg.jpg");
}

/* 🔴 ZORRAS */
.service-hero-zorras {
  background-image: url("../images/zorras-bg.jpg");
}



/* =================================================
   RESPONSIVE
   ================================================= */

@media (max-width: 900px) {

  .service-hero {
    height: 60vh;
    min-height: 420px;
    text-align: center;
  }

  .service-hero-content {
    max-width: 100%;
  }

  .service-hero h1 {
    font-size: 44px;
  }

  .service-lead {
    font-size: 16px;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .service-content {
    padding: 70px 0 90px;
  }
}
