/* ============================================
   ATTENDING SECTION - Cuadrantes con Colores
   ============================================ */

#attending {
  position: relative;
  padding: 80px 0;
}

#attending .image-divider {
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

#attending .divider-overlay {
  background-color: rgba(255, 255, 255, 0.85);
  opacity: 1;
}

#attending .banner-text {
  margin-bottom: 60px;
}

#attending .banner-text h2 {
  color: #6b7a6b;
  font-family: 'IBM Plex Serif', serif;
  font-weight: 600;
  font-size: 48px;
  margin-bottom: 20px;
}

/* Contenedor de los cuadrantes */
.attending-cards-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

/* Cada cuadrante */
.attending-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  padding: 45px 35px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  /* Degradado verde sólido igual para todos */
  background: linear-gradient(135deg, #a8b89f 0%, #95A891 50%, #8b9d83 100%);
}

.attending-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.2) 100%);
}

.attending-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Colores para cada cuadrante - TODOS IGUALES AHORA */
.attending-card.dresscode,
.attending-card.adults-only,
.attending-card.app-dots {
  background: linear-gradient(135deg, #a8b89f 0%, #95A891 50%, #8b9d83 100%);
}

/* Icono decorativo */
.attending-card-icon {
  font-size: 56px;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

/* Título del cuadrante */
.attending-card h3 {
  color: #ffffff;
  font-family: 'IBM Plex Serif', serif;
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Texto del cuadrante */
.attending-card p {
  color: rgba(255, 255, 255, 0.95);
  font-family: 'IBM Plex Serif', serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.9;
  margin: 0;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Negritas dentro del texto */
.attending-card p b {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Botón RSVP */
#attending .rsvp-button-container {
  text-align: center;
  margin-top: 60px;
}

#attending .de-button {
  background: linear-gradient(135deg, #95A891 0%, #7a8c75 100%);
  color: #ffffff;
  border: 3px solid #95A891;
  padding: 18px 50px;
  font-family: 'IBM Plex Serif', serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 3px;
  border-radius: 50px;
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 6px 20px rgba(149, 168, 145, 0.3);
  text-transform: uppercase;
}

#attending .de-button:hover {
  background: transparent;
  color: #95A891;
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(149, 168, 145, 0.4);
}

/* Botón ENVIAR del formulario - mismo estilo que RSVP */
.rsvp-submit-button {
  background: linear-gradient(135deg, #95A891 0%, #7a8c75 100%) !important;
  color: #ffffff !important;
  border: 3px solid #95A891 !important;
  padding: 18px 50px !important;
  font-family: 'IBM Plex Serif', serif !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  letter-spacing: 3px !important;
  border-radius: 50px !important;
  transition: all 0.4s ease !important;
  text-decoration: none !important;
  display: inline-block !important;
  box-shadow: 0 6px 20px rgba(149, 168, 145, 0.3) !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  margin-top: 20px !important;
}

.rsvp-submit-button:hover {
  background: transparent !important;
  color: #95A891 !important;
  transform: scale(1.08) !important;
  box-shadow: 0 8px 25px rgba(149, 168, 145, 0.4) !important;
}

.rsvp-submit-button:disabled {
  opacity: 0.7 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
  .attending-cards-container {
    gap: 25px;
  }
  
  .attending-card {
    max-width: 320px;
    padding: 35px 25px;
  }
  
  #attending .banner-text h2 {
    font-size: 40px;
  }
}

/* Responsive - Móvil */
@media (max-width: 767px) {
  #attending {
    padding: 60px 0;
  }
  
  #attending .banner-text {
    margin-bottom: 40px;
  }
  
  #attending .banner-text h2 {
    font-size: 32px;
  }
  
  .attending-cards-container {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  
  .attending-card {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    padding: 40px 30px;
  }
  
  .attending-card:hover {
    transform: translateY(-5px);
  }
  
  .attending-card-icon {
    font-size: 50px;
  }
  
  .attending-card h3 {
    font-size: 24px;
    letter-spacing: 2px;
  }
  
  .attending-card p {
    font-size: 16px;
    line-height: 1.8;
  }
  
  #attending .rsvp-button-container {
    margin-top: 50px;
  }
  
  #attending .de-button {
    padding: 16px 40px;
    font-size: 18px;
    letter-spacing: 2px;
  }
  
  #attending .de-button:hover {
    transform: scale(1.02);
  }
  
  /* Ajuste de imagen de fondo en móvil */
  #attending .image-divider {
    background-attachment: scroll;
  }
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.attending-card.animation {
  animation: fadeInUp 0.8s ease-out;
}

.attending-card:nth-child(1) {
  animation-delay: 0.1s;
}

.attending-card:nth-child(2) {
  animation-delay: 0.2s;
}

.attending-card:nth-child(3) {
  animation-delay: 0.3s;
}