/* Estilos generales */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
  text-align: center;
}

/* Secciones */
section {
  padding: 60px 20px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}




/* 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: rgb(143, 112, 44);
  padding: 0 20px 0 20px;
}

.hero h1 {

  
  font-family: 'Great Vibes', cursive;
  font-size: 3em;
  color:rgb(143, 112, 44);
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2em;
  color: #333;
}

/* Countdown */
.countdown h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
  
}


#timer {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 30px 12px;

}

.time-box {
  background: #fff;
  border: 2px solid rgb(143, 112, 44);
  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: rgb(143, 112, 44);
}

.time-box p {
  margin: 5px 0 0;
  font-size: 0.9em;
  color: #333;
}

.time-box:hover {
  transform: scale(1.1);
}


/* Ubicación */
.location h2 {
  
  color: rgb(143, 112, 44);
  font-size: 1.8em;
  margin-bottom: 10px;
}

.location p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background: rgb(143, 112, 44);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.btn:hover {
  transform: scale(1.1);
  background: rgb(121, 90, 33);
}

/* Formulario */
.rsvp h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

input[type="text"] {
  padding: 10px;
  width: 80%;
  max-width: 300px;
  border: 2px solid rgb(143, 112, 44);
  border-radius: 6px;
}

/* --------------------------------------------------------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;
}

/* -------------------------------RADIO BUTOM --------------------- */

.radio-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.radio-custom {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  font-size: 1.1em;
  user-select: none;
  color: #333;
}

/* Ocultar radio nativo */
.radio-custom input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Círculo base */
.checkmark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 15px;
  width: 15px;
  
  border: 2px solid rgb(143, 112, 44);
  border-radius: 50%;
  transition: background 0.3s ease, border-color 0.3s ease;
}

/* Estado activo */
.radio-custom input:checked ~ .checkmark {
  background-color: rgb(143, 112, 44);
  border-color: #fff;
}

/* 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;}

/* Icono de check personalizado -----------------------*/


label {
  font-size: 1.1em;
  cursor: pointer;
    margin: 0;
  padding: 0;
}

button {
  padding: 12px 25px;
  background: #ff9800;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

button:hover {
  transform: scale(1.1);
  background: #f57c00;
}
