 * { margin: 0; padding: 0; box-sizing: border-box; }
        
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f1ee;
    color: #5c4033;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}



@font-face {
    font-family: "FuenteSoage"; 
    src: url("../Sources/Soage\ PersonalUseOnly.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "AstonScript"; 
    src: url("../Sources/Aston\ Script.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "CampanaScript"; 
    src: url("../Sources/campanaScript.zip") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* Seccion 1: Portada con Video */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.heroVideo {
    position: relative;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.heroFoto {
    position: relative;
    width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: top;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero2 {
    margin-top: 100px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
    color: white;
    overflow: hidden;
}

.hero3 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
    color: white;
    overflow: hidden;
}


.divInvitados {
    color: white;
    overflow: hidden;
    background: #8C715A;
    padding: 40px;
    padding-top: 30px;
    padding-bottom: 30px;
    border-radius: 8px;
    min-width: 360px;
}

.mensajeNuestraBoda {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background: #8C715A;
    padding: 15px;
    padding-top: 30px;
    padding-bottom: 30px;
    border-radius: 8px;
    max-width: 400px;
}
.mensajeFuente{
    font-family: 'FuenteSoage', cursive;
    letter-spacing: 3px;
}

.mensajesGenereicos{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
    background: #5d5030;
    padding: 15px;
    padding-top: 30px;
    padding-bottom: 30px;
    border-radius: 8px;
    max-width: 400px;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Video de velas optimizado */
video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
}

.hero-content h2 {
    font-family: 'AstonScript', cursive;
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: 40px;
    letter-spacing: 5px;
    text-shadow: 0px 2px 10px rgba(0,0,0,0.5);
}


.tituloGrande {
    font-family: 'FuenteSoage', cursive;
    font-size: 3.5rem;
    letter-spacing: 10px;
}

.tituloMediano {
    font-family: 'FuenteSoage', cursive;
    font-size: 2rem;
    letter-spacing: 10px;
}

.input-mediano {
    padding: 12px 30px;
    width: 350px;
    background: rgba(255, 255, 255, 0.192);
    border: 1px solid white;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: text;
    transition: 0.3s;
    backdrop-filter: blur(5px);
    border-radius: 10px;
    text-align: center;
    border: 0px;
}

::-webkit-input-placeholder { color: rgb(182, 182, 182) }

.btn-abrir {
    padding: 12px 30px;
    background: rgba(202, 202, 202, 0.179);
    border: 1px solid white;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    transition: 0.3s;
    backdrop-filter: blur(1px);
    border: 0px;
    border-radius: 8px;
}

.btn-abrir:hover {
    background: white;
    color: #5c4033;
}

/* Seccion 2: Detalles (Aparece con Scroll) */
.detalles {
    min-height: 100vh;
    padding: 80px 20px;
    display: flex;
    background: linear-gradient(to bottom, #fdfaf7, #ece0d1);
}

.carta {
    background: rgb(244, 244, 244);
    padding: 60px;
    border: 1px solid #d4c3b3;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    position: relative;
}

.carta::before {
    content: "";
    position: absolute;
    top: 10px; bottom: 10px; left: 10px; right: 10px;
    border: 1px solid #f8a145;
    pointer-events: none;
}

.frase-inicio-AstonScript {
    font-size: 2rem;
    letter-spacing: 2px;
    margin-top: 50px;
    color: #8C715A;
    font-family: "AstonScript";
    padding-bottom: 20px;
}

.frase-inicio {
    font-size: 2.4rem;
    letter-spacing: 4px;
    margin-top: 100px;
    text-transform: uppercase;
    color: #4b3d1d;
    font-family: "FuenteSoage";
}

.titulo-mediano {
    font-size: 1.2rem;
    letter-spacing: 4px;
    font-family: "AstonScript";
    margin-bottom: 20px;
}

.nombres {
    font-family: 'Great Vibes', cursive;
    font-size: 4.5rem;
    margin: 20px 0;
    color: #5c4033;
}

.datos {
    font-size: 1.1rem;
    line-height: 2;
    margin: 30px 0;
    font-weight: 300;
}

.divider {
    width: 50px;
    height: 2px;
    background: #a67c52;
    margin: 20px auto;
}

/* Botón música discreto */
#music-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: none;
    border: 1px solid #a67c52;
    color: #a67c52;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contador {
    margin-top: px;
    display: flex;
    justify-content: center;
    gap: 15px;
    font-family: 'MiFuenteBoda', sans-serif;
}

.contador div {
    background-color: #B4ABA8; /* Verde Pastel */
    color: white;
    width: 80px;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    /* Animación de entrada suave */
    animation: fadeIn 1.5s ease-in-out;
}

.contador span {
    font-size: 2.8rem; /* Números más grandes */
    font-weight: bold;
    line-height: 1;
    /* Animación de pulso suave constante */
    animation: pulso 2s infinite ease-in-out;
}

.contador small {
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 1px;
}

/* Definición de las animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.textBlackP{
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f1ee;
    color: #22120a;
    overflow-x: hidden;
    scroll-behavior: smooth;
    text-shadow: 0px 2px 10px rgba(255, 255, 255, 0.2);
    font-size: 1rem;
}

.contendText{
    max-width: 800px;
    padding-left: 50px;
    padding-right: 50px;
}


 /* itinerario */

.itinerario-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}


.itinerario-item {
    display: flex;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(193, 225, 193, 0.3); /* Línea divisora sutil */
}

.icono {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-right: 15px;
}

.info {
    display: flex;
    flex-direction: column;
}

.invitacionPara {
    font-size: 1.3rem;
    letter-spacing: 2px;
    color: rgb(2, 2, 2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
    max-width: 500px;
}

.nota {
    font-size: 1rem;
    letter-spacing: 2px;
    color: rgb(136, 136, 136);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: 20px;
    margin-right: 20px;
}

.parsonaInvitada{
        margin-top: 10px;
        font-family: 'FuenteSoage', cursive; /* O la fuente de tu título */
        font-size: 1.5rem;
        color: rgb(255, 255, 255);
        letter-spacing: 3px;
}

.evento {
    font-family: 'FuenteSoage', cursive; /* O la fuente de tu título */
    font-size: 1.4rem;
    letter-spacing: 2px;
    color: rgb(0, 0, 0);
    line-height: 1.2;
    width: 260px;
    display: flex;
    align-items: center;
}

.itinerario-item {
  display: flex;
  align-items: center; /* Centra el icono y la caja de texto entre sí */
  justify-content: flex-start; /* Mantiene todo a la izquierda */
  min-height: 111px; /* La altura que veo en tu captura */
}

/* Si el texto está dentro de un div o contenedor interno */
.itinerario-item > div {
  display: flex;
  flex-direction: column; /* Apila "LUGAR" arriba de "PARROQUIA" */
  justify-content: center; /* Centra el texto verticalmente dentro de su propia caja */
}

.hora {
    font-size: 1.2rem;
    color: #6F333D; /* Dorado para la hora */
    font-weight: bold;
    text-transform: uppercase;
    text-align: left;
}


/* Estado inicial: Invisible y un poco abajo */
.revelar {
    opacity: 1;
    transform: translateY(50px);
    transition: all 1s ease-out; /* Aquí controlas la suavidad */

}

/* Estado cuando ya es visible al hacer scroll */
.revelar.visible {
    opacity: 1;
    transform: translateY(0);
}

.boton-invitacion {
  /* Colores basados en tu imagen */
  background-color: #8b735b; /* El tono marrón de la caja de nombres */
  color: #ffffff;
  
  /* Tipografía (ajusta el family a la que ya usas) */
  font-family: 'Montserrat', sans-serif; 
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px; /* Espaciado para dar elegancia */
  font-weight: 400;
  
  /* Estructura */
  margin-top: 10px;
  padding: 5px 40px;
  border: none;
  border-radius: 8px; /* Bordes ligeramente redondeados */
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  max-width: 200px;
  
  /* Para asegurar que se vea bien como botón */
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

/* Efecto al pasar el mouse */
.boton-invitacion:hover {
  background-color: #6d5a47; /* Un tono más oscuro */
  transform: translateY(-2px); /* Pequeño salto hacia arriba */
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Efecto al hacer clic */
.boton-invitacion:active {
  transform: translateY(0);
}



.boton-asistencia {
  /* Colores basados en tu imagen */
  background-color: #8b735b; /* El tono marrón de la caja de nombres */
  color: #ffffff;
  
  /* Tipografía (ajusta el family a la que ya usas) */
  font-family: 'Montserrat', sans-serif; 
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px; /* Espaciado para dar elegancia */
  font-weight: 400;
  
  /* Estructura */
  margin-top: 10px;
  padding: 14px 40px;
  border: none;
  border-radius: 8px; /* Bordes ligeramente redondeados */
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  width: 400px;
  
  /* Para asegurar que se vea bien como botón */
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

/* Efecto al pasar el mouse */
.boton-asistencia:hover {
  background-color: #6d5a47; /* Un tono más oscuro */
  transform: translateY(-2px); /* Pequeño salto hacia arriba */
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Efecto al hacer clic */
.boton-asistencia:active {
  transform: translateY(0);
}


/* carrucel */

/* === CARRUSEL === */
.carousel-outer {
  position: relative;
  width: 98%;
  max-width: 400px;
  height: 680px;
  
  margin: 40px auto 16px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 600ms cubic-bezier(0.77, 0, 0.175, 1);
}

.w-slide {
  min-width: 100%;
  height: 100%;
}

.w-slide img {
  width: 100%;
  height: 100%;
  display: block;
}

.w-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.25);
  border: none;
  color: #fff;
  font-size: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 200ms;
}
.w-arrow:hover { background: rgba(255,255,255,0.45); }
.w-prev { left: 12px; }
.w-next { right: 12px; }

.w-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}
.w-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c8b89a;
  border: none;
  cursor: pointer;
  transition: background 300ms, transform 300ms;
  opacity: 0.5;
}
.w-dot.active {
  background: #8F898E;
  opacity: 1;
  transform: scale(1.3);
}



.hero-fecha {
  width: 100%;
  aspect-ratio: 4/6;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-fecha-texto {
  margin-top: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  gap: 12px;
  text-align: center;
  text-shadow: #22120a;
}

.hero-fecha-small {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: clamp(1.5rem, 2.5vw, 1rem);
  letter-spacing: 0.4em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.hero-fecha-grande {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: clamp(3.3rem, 10vw, 5rem);
  letter-spacing: 0.1em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
  line-height: 1;
}