/* Tipografía Mística */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

.services {
  padding: 80px 20px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(20, 5, 30, 0.85) 50%,
    rgba(0, 0, 0, 0.9) 100%
  ),
  url(../assets/imgs/fondo3.webp);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(139, 69, 19, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.services .container {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.services h2 {
  font-size: 2.8rem;
  margin-bottom: 50px;
  color: #f5e6d3;
  padding-top: 12px;
  padding-bottom: 12px;
  border: 2px;
  border-style: dashed;
  border-color: rgba(212, 175, 55, 0.5);
  border-left: none;
  border-right: none;
  width: fit-content;
  margin: 0 auto;
  margin-bottom: 50px;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  text-shadow: 
    2px 2px 10px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(212, 175, 55, 0.3);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.service-item {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px dashed rgba(212, 175, 55, 0.4);
  min-height: 400px;
  border-radius: 15px;
  text-align: center;
  padding: 30px;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.5),
    inset 0 0 30px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
  transition: all 0.4s ease;
  overflow: hidden;
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(20, 5, 30, 0.8) 50%,
    rgba(0, 0, 0, 0.85) 100%
  );
  z-index: 1;
  transition: background 0.4s ease;
}

.service-item h3,
.service-item p,
.service-item img,
.service-item .icono {
  position: relative;
  z-index: 2;
}

.service-item:hover::before {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(20, 5, 30, 0.85) 50%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(212, 175, 55, 0.2),
    inset 0 0 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(212, 175, 55, 0.6);
}

.service-item h3 {
  font-size: 1.7rem;
  margin-bottom: 15px;
  color: #d4af37;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.service-item p {
  font-size: 1.05rem;
  color: #e5e5e5;
  line-height: 1.7;
  font-weight: 400;
  font-family: 'Cormorant Garamond', serif;
}

.service-item p strong {
  color: #d4af37;
  font-weight: 600;
}

.service-item img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
  border: 3px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.service-item:hover img {
  transform: scale(1.1);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.3);
}

.service-item .info {
  height: auto;
  padding-block: 20px;
  min-height: 200px;
}

.service-item .btn-consultar {
  padding: 15px 25px;
  margin-top: 15px;
}

.service-item .icono img {
  width: 60px;
  height: 60px;
  border: none;
  box-shadow: none;
  margin-bottom: 15px;
}

/* ============================================
   IMÁGENES DE FONDO DE SERVICIOS
   Orden específico según organización
   ============================================ */

/* 1. Amarre Sexual y Pasional - Primera imagen (bola de cristal CONJUROS HECHIZOS) */
.service-tarot {
  background-position: center;
  background-size: cover;
  background-image: url(../assets/imagenes1/Amarres\ de\ sexualidad.jpg);
}

/* 2. Amarre Eterno de Amor - Segunda imagen (velas rojas con muñecos atados) */
.service-amarre {
  background-position: center;
  background-size: cover;
  background-image: url(../assets/imagenes1/amarres\ de\ amor.jpg);
}

/* 3. Separar Amantes y Rivales - Tercera imagen (corazón de palomitas con velas) */
.service-hechizo {
  background-position: center;
  background-size: cover;
  background-image: url(../assets/imagenes1/amarres\ de\ amantes.jpg);
}

/* 4. Limpieza Espiritual Profunda - Cuarta imagen (muñeco de tela con velas) */
.service-limpieza {
  background-position: center;
  background-size: cover;
  background-image: url(../assets/imagenes1/pimpieza\ espiritual\ rpofunda.jpg);
}

/* 5. Protección y Alejamientos - Quinta imagen (calavera tallada con objetos rituales) */
.service-astrologia {
  background-position: center;
  background-size: cover;
  background-image: url(../assets/imagenes1/proteccion.jpg);
}

/* 6. Rituales de Prosperidad - Sexta imagen (vela con billetes de dólar) */
.service-ritual {
  background-position: center;
  background-size: cover;
  background-image: url(../assets/imagenes1/ritual\ dinero.jpg);
}

@media (max-width: 768px) {
  .services {
    padding-inline: 0;
  }
  .services .container {
    width: 100%;
  }
  .services h2 {
    font-size: 2.2rem;
  }
  .service-item {
    min-height: 350px;
  }
  .service-item h3 {
    font-size: 1.5rem;
  }
  .service-item p {
    font-size: 1rem;
  }
  .service-item .btn-consultar {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .service-item .btn-consultar {
    gap: 5px;
    font-size: 0.9rem;
    padding: 12px 20px;
  }
  .service-list {
    grid-template-columns: 1fr;
  }
}
