/* Estilos generales */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
  text-align: center;
}

/* Secciones */
section {
  padding: 40px 20px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}
/*MUSIC PLAYER*/

.music-player {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 20px auto;
  width: 80%;
}

#playPauseBtn {
  background: #f5e6d3;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.progress-container {
  flex: 1;
  height: 8px;
  background: #ddd;
  border-radius: 5px;
  overflow: hidden;
}

#progressBar {
  height: 100%;
  width: 0%;
  background: #f5e6d3;
  transition: width 0.2s linear;
}



/* Hero */

.topimg{
position: relative;
  width: 100%;
  overflow: hidden;

}

.topimg img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* mantiene proporción y rellena el espacio */

}



.hero {
  /* background: linear-gradient(135deg, #e91e63, #ff9800); */
  background-color: #fff;
  color: #d1bb7a;
  padding: 0 20px 0 20px;
}

.hero h1 {

  
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-size: 3.5rem;
  font-style: normal;
  color:#d1bb7a;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1em;
  color: #666666;
  font-family: "Google Sans", sans-serif;
  
}

/* --------------------------------------INFINITY*--------------------------- */
.infinity-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  color: #d1bb7a; /* dorado elegante */
  text-align: center;
  padding: 0 40px;
  animation: fadeIn 2s ease-in-out;
}

.symbol {
  font-size: 80px;
  font-weight: bold;
  animation: pulse 3s infinite ease-in-out;
}

.date {
  font-family: "EB Garamond", serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 4px;
  margin-top: 10px;
  animation: slideUp 1.5s ease-out;
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.8; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* --------------------------------------INFINITY*--------------------------- */



/* Countdown */
.countdown h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #d1bb7a;
}


#timer {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 0 12px;
  margin-top: 0;

}

.time-box {
  background: #fff;
  
  border-radius: 10px;
  padding: 15px;
  width: 70px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.time-box span {
  font-size: 1.5em;
  font-weight: bold;
  color: #d1bb7a;
}

.time-box p {
  margin: 5px 0 0;
  font-size: 0.9em;
  color: #d1bb7a;
}

.time-box:hover {
  transform: scale(1.1);
}


/* Ubicación */
.location{
  background-color: #d1bb7a;
  border-radius: 12px;
}
.location h1 {
  
  
  font-size: 1.8em;
  margin-bottom: 10px;
    font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  
  font-style: normal;
  color:#fff;
}

.location p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #fff;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background: #d1bb7a;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  border: solid #fff 2px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.btn:hover {
  transform: scale(1.1);
  background:#d1bb7a;
}
/* -------------------------------------PLAN--------------------------- */


    .plan {
      width: 100%;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 8px 20px rgba(0,0,0,0.25);
      background: #fff;
    }

    /* Parte superior con imagen */
    .plan-header {
      position: relative;
      height: 180px;
      background: url('https://picsum.photos/id/1015/800/600') center/cover no-repeat;
    }


    .header-content {
      text-align: center;
      color: #fff;
      padding: 20px;
    }

    .header-content h1 {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;

  font-style: normal;
  color:#d1bb7a;
  margin-bottom: 10px;
    }

    .header-content p {
      margin: 4px 0 0;
      font-size: 14px;
    }

    .icon {
      position: absolute;
      top: 20px;
      right: 20px;
      font-size: 32px;
      color: #fff;
    }

    /* Parte inferior en blanco con divisiones */
    .card-body {
      padding: 15px;
    }

    .info-item {
      display: flex;
      justify-content: space-between;
      padding: 8px 0;
      border-bottom: 1px solid #d1bb7a;
      font-size: 14px;
    }

    .info-item:last-child {
      border-bottom: none;
    }


/* -----------------------------------------------Formulario ------------------*/

.rsvp form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px 10px;
}

.rsvp h1 {
  font-size: 1.8em;
  margin-bottom: 20px;
    font-size: 1.8em;
  margin-bottom: 10px;
    font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  
  font-style: normal;
  color:#d1bb7a;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px 10px;
}

input[type="text"] {
  padding: 10px;
  width: 80%;
  max-width: 300px;
  border: 1px solid #d1bb7a;
  border-radius: 6px;
  justify-content: center;
  text-align: center;
  
}

.options{
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-top: 15px;
}

.submit{

  display: inline-block;
  padding: 10px;
  width: 80%;
  max-width: 300px;
  background: #d1bb7a;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  color: #fff;
  border-radius: 10px;
   transition: transform 0.3s ease, background 0.3s ease;
}

.submit:hover{
  background: #d1bb7a;
  transform: scale(1.1);
  

}
/* --------------------------------------------------------Estilo base del checkbox */
.check{
  display: flex;
  width: 90%;
  justify-content: space-between;
  align-items: center;
    margin: 0;
  padding: 0;

}
h2{
  color: rgb(143, 112, 44);
  font-weight: 200;
  font-family: Georgia, 'Times New Roman', Times, serif;
}


/* Punto interno cuando está activo */
.checkmark::after {
  content: "";
  
  display: none;

  width: 15px;
  height: 15px;
  border-radius: 50%;
  background:rgb(143, 112, 44);
  border: solid #fff 1px;
}

.radio-custom input:checked ~ .checkmark::after {
  display: block;}




/* ----------------------------------DRESSCODE-------------- */
.dresscode{
  background-color: #fff;
  border-radius: 12px;
}
.dresscode h1 {
  
  
  font-size: 1.8em;
  margin-bottom: 10px;
    font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
 
  font-style: normal;
  color:#d1bb7a;
}



.card {
  width: 100%;
  height: 500px;
  border-radius: 4px;
  
  display: flex;
  gap: 5px;
  padding: .4em;

}

.img11 {
  height: 100%;
  width: 100%;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  border-radius: 2px;
  transition: all .5s;
  background:url(Ellas.jpg);
  background-size: cover;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
   border-radius: 15px;
  
}


.img12 {
  height: 100%;
  width: 100%;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  border-radius: 2px;
  transition: all .5s;
  background:url(Men.jpg);
  background-size: cover;
  
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
}

.card p:hover {
  flex: 4;
}

.card p span {
  min-width: 14em;
  padding: .5em;
  text-align: center;
  transform: rotate(-90deg);
  transition: all .5s;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: .1em;
  font-weight: 600;
}

.card p:hover span {
  transform: rotate(0);
}