/* NAVBAR */
.navbar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar-link {
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  transition: color 0.3s ease;
  padding: 0.25rem 0;
}

.navbar-link:hover {
  color: #ff4d4d;
}

/* CARRUSEL */
.carrusel-container {
  width: 100vw;
  height: 100vh;
  margin: 0;
  position: relative;
}

.slide {
  display: none;
  position: relative;
  width: 100%;
  height: 100%;
}

.slide.active {
  display: block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2rem 1.5rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: opacity 0.5s ease-in-out;
}

.overlay h2 {
  font-size: 4rem;
  font-weight: 800;
  text-shadow: 2px 2px 5px #000;
}

.overlay h3.fecha {
  font-size: 2.5rem;
  color: #eb0a0a;
  margin-top: 0.5rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow:
    -2px -2px 0 #fff,
     2px -2px 0 #fff,
    -2px  2px 0 #fff,
     2px  2px 0 #fff,
     0px  0px 6px #fff;
}

.overlay p {
  margin-top: 1rem;
  color: #f0f0f0;
  font-size: 1.3rem;
  max-width: 600px;
  padding: 0 1rem;
}

.overlay button {
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  background-color: #e60000;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

/* Animación */
.animate-fade {
  animation: fade 0.6s ease-in-out;
}

/* Flechas */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  font-size: 2rem;
  cursor: pointer;
  border: none;
  color: rgb(255, 255, 255);
  transition: background-color 0.3s;
}

.arrow.left {
  left: 1rem;
}

.arrow.right {
  right: 1rem;
}

.arrow:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

/* TARJETAS */
.tarjeta-dolly {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem;
}

@media (min-width: 768px) {
  .tarjeta-dolly {
    grid-template-columns: 1fr 1fr;
  }
}

.tarjeta-dolly .card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.tarjeta-dolly .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.tarjeta-dolly .card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #e60000;
  text-align: center;
  margin: 1rem 0 0.5rem;
}

.tarjeta-dolly .card p {
  font-size: 1rem;
  padding: 0 1rem 1rem;
  text-align: center;
  color: #333;
}

.tarjeta-dolly .card button {
  margin: 1rem auto;
  background-color: #e60000;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: bold;
  transition: background-color 0.3s;
  cursor: pointer;
}

.tarjeta-dolly .card button:hover {
  background-color: #b80000;
}

/*Todas las imágenes de tarjetas*/
section img,
.Platafoma-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0 auto;
}

/*Imagen COMPLETA*/
.Plataforma-img-completa {
  width: 100%;
  height: 340px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
  background: #fff;
}

/*Ajustar las imágenes de las dos últimas tarjetas*/
.Plataforma-img-extendible,
.Plataforma-img-concha {
  width: 100%;
  height: 340px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
  background: #fff;
}

/* POLÍTICA */
main .bg-black\/80 {
  background-color: rgba(0, 0, 0, 0.85);
}

main h1 {
  text-shadow: 1px 1px 2px #000;
}

main section h2 {
  border-left: 4px solid #e60000;
  padding-left: 0.75rem;
}

main ul li::marker {
  color: #e60000;
}

/* FOOTER */
footer {
  background: #000;
  color: #fff;
}

footer a {
  color: inherit;
  transition: color 0.3s ease, transform 0.3s ease;
}

footer a:hover {
  color: #e60000;
  transform: scale(1.05);
}

/* Estilos responsivos (móviles/tablets) */
@media (max-width: 768px) {
  .overlay h2 {
    font-size: 2.2rem;
  }

  .overlay h3.fecha {
    font-size: 1.4rem;
  }

  .overlay p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .overlay button {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }

  .carrusel-container {
    height: 80vh;
  }
  
  .arrow {
    padding: 0.3rem 0.7rem;
    font-size: 1.5rem;
  }
  .arrow.left {
    left: 0.5rem;
  }
  .arrow.right {
    right: 0.5rem;
  }

  .navbar-link {
    font-size: 1rem; 
    padding: 0.25rem 0;
  }

  
  .overlay {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    transition: opacity 0.5s ease-in-out;
  }
}

/* TARJETAS MEJORADAS */
section .bg-white {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
  border: 2px solid transparent;
}

section .bg-white:hover {
  border-color: #ffffff;
  transform: translateY(-8px) scale(1.02);
}

/* Título dentro de la tarjeta */
section .bg-white h2 {
  font-size: 1.75rem;
  color: #e60000;
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* Lista de características */
section .bg-white ul {
  padding-left: 1rem;
  color: #333;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Imagenes de las tarjetas unificadas y centradas */
section .bg-white img {
  background: #fff;
  border-radius: 0.75rem;
  display: block;
  width: 100%;
  height: 280px;
  object-fit: contain;
  object-position: center;
}



