@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* ==============================
   ESTILO GENERAL
   ============================== */
body {
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(to right, #ece9e6, #ffffff);
  margin: 0;
  padding: 20px;
  color: #333;
}

/* Estilo para la sección informativa */
.info-section {
    display: flex;
    align-items: center;
    background: #f0f4ff;
    padding: 11px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.info-section i {
    color: #381fec;
    font-size: 20px;
    margin-right: 10px;
}

.info-section p {
    margin: 0;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}


/* ==============================
   CONTENEDOR PRINCIPAL
   ============================== */
.container {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  padding-bottom: 80px;
  margin-top: 20px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* ==============================
   TÍTULO PRINCIPAL
   ============================== */
h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #381fec;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ==============================
   ESTILO PARA LAS TARJETAS DE CLIENTES
   ============================== */
.client-card {
  background: #f0f4ff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 15px;
  width: 100%;
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ==============================
   IMAGEN DENTRO DE LA TARJETA
   ============================== */
.client-img {
  width: 90%;
  max-width: 300px;
  max-height: 200px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 15px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.client-img:hover {
  transform: scale(1.05);
}

/* ==============================
   GALERÍA / CARRUSEL VERTICAL
   ============================== */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
  align-items: center;
  overflow: hidden;
  height: 350px; /* Altura fija para visualizar una tarjeta a la vez (ajustable) */
  position: relative;
}

/* ==============================
   ANIMACIÓN PARA EL CARRUSEL
   ============================== */
@keyframes slideUp {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

/* ==============================
   OTROS ELEMENTOS (FORM, SELECT, BOTONES, ETC.)
   ============================== */
label {
  display: block;
  margin: 15px 0 5px;
  font-weight: 600;
  color: #333;
  text-align: left;
}

select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 15px;
}

select:focus {
  border-color: #381fec;
  box-shadow: 0 0 8px rgba(56, 31, 236, 0.3);
  outline: none;
}

/* Estilo para botones generales */
button {
  background: linear-gradient(135deg, #381fec, #6c47ff);
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.3s ease;
}

button:hover {
  background: linear-gradient(135deg, #6c47ff, #381fec);
  transform: translateY(-2px);
}

/* ==============================
   ESTILOS PARA MODAL (SI SE NECESITA)
   ============================== */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  padding-top: 60px;
}

.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: modalFadeIn 0.4s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #333;
  text-decoration: none;
}

/* ==============================
   AJUSTES PARA PANTALLAS GRANDES
   ============================== */
@media (min-width: 1024px) {
  .container {
    max-width: 1300px;       /* Aumenta el ancho del contenedor principal */
    padding: 40px 60px;      /* Aplica 40px para top y bottom, 60px para left y right */
    padding-bottom: 180px;    /* Sobrescribe el padding inferior a 80px */
    margin-top: 80px;
  }

  h1 {
    font-size: 32px; /* Incremento sutil en el tamaño del título */
  }

  .client-card {
    max-width: 650px; /* Tarjetas de cliente más amplias */
  }

  .client-img {
    max-width: 650px;
    max-height: 650px;
  }

  .gallery {
    height: 850px; /* Incrementa la altura de la galería para un mejor aprovechamiento del espacio */
  }
}
