/* Tipografías elegantes */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: linear-gradient(to bottom right, #fff5f7, #ffe4e1);
  color: #4b2e2e;
  line-height: 1.5;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  background: linear-gradient(to bottom, #fffdfd, #fce9ec, #fbdde4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(5px);
  text-align: center;
  position: relative;
}

/* Encabezados */

h1 {
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

.titulo-xv {
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.2rem;
  color: #000;
  text-transform: uppercase;
}

.nombre-chabe {
  font-style: italic;
  font-size: 3rem;
  font-weight: 700;
  color: #000;
}

/* Imagen decorativa */
.confeti {
  width: 50%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem auto 2rem;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Flex container para formulario y detalles */
.content-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
}

/* Formularios y detalles */
.formulario,
.detalles-evento {
  flex: 1 1 45%;
  background: linear-gradient(to bottom, #fff8fb, #fbe7ee);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #000;
}

/* Títulos dentro de formularios y detalles */
.formulario h2,
.detalles-evento h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

/* Etiquetas y campos */
label {
  display: block;
  margin: 1rem 0 0.3rem;
  text-align: left;
  font-weight: bold;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #000;
  border-radius: 8px;
  background: linear-gradient(to bottom, #fff, #fff5f7);
  font-size: 1rem;
  box-sizing: border-box;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #c71585;
  outline: none;
}

/* Botón */
button {
  margin-top: 1.5rem;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  background-color: #000;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  width: 100%;
}

button:hover {
  background-color: #333;
}

/* Párrafos de detalles */
.detalles-evento p {
  text-align: left;
  margin: 1rem 0;
  line-height: 1.6;
}

/* Iframe mapa con borde redondeado */
.detalles-evento iframe {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: 12px;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .confeti {
    width: 70%;
    margin-top: 1rem;
  }

  .titulo-xv {
    font-size: 1rem;
    letter-spacing: 0.1rem;
  }

  .nombre-chabe {
    font-size: 2.5rem;
  }

  .content-flex {
    flex-direction: column;
    gap: 1.5rem;
  }

  .formulario,
  .detalles-evento {
    flex: 1 1 100%;
    padding: 1.5rem;
  }

  .formulario h2,
  .detalles-evento h2 {
    font-size: 1.5rem;
  }

  input,
  select,
  textarea {
    font-size: 0.95rem;
  }

  button {
    padding: 0.9rem;
    font-size: 1.1rem;
  }

  .detalles-evento iframe {
    height: 180px;
  }
}
