@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Montserrat:wght@300;400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    /* littlegreekflower */

}





/* Formulario de asistencia .   */
.formulario-asistencia {
    max-width: 500px;
    margin: 0 auto 30px;
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9c8164;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

/* Estilo para el select */
.form-group select {
    background-color: white;
    cursor: pointer;
}

/* Estilo para cuando los campos son requeridos y están vacíos */
.form-group input:invalid,
.form-group select:invalid {
    border-color: #ff6b6b;
}








/* Estilos para el código de vestimenta */
.dress-code-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.dress-icon {
    font-size: 40px;
    color: #9c8164;
}

/* Estilos para la mesa de regalos */
.gift-registry {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

.registry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
}

.registry-logo {
    max-width: 200px;
    height: auto;
    object-fit: contain;
}

.registry-item p {
    margin: 10px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .registry-logo {
        max-width: 150px;
    }
}




.dress-code-rules {
    margin-top: 20px;
    text-align: center;
}

.dress-main {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #9c8164;
    font-weight: 500;
}

.dress-restrictions {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dress-restrictions li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #666;
}

.dress-restrictions i {
    color: #9c8164;
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
    .dress-restrictions {
        gap: 8px;
    }
    
    .dress-restrictions li {
        font-size: 0.9em;
    }
}












/* Estilos para ceremony  */
.ceremony-icon,
.reception-icon {
    margin: 20px auto;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Si usas Font Awesome */
.ceremony-icon i,
.reception-icon i {
    font-size: 40px;
    color: #9c8164;
}

/* Si usas SVG */
.ceremony-icon svg,
.reception-icon svg {
    width: 40px;
    height: 40px;
}

/* Opcional: añadir animación al hover */
.ceremony-icon svg:hover,
.reception-icon svg:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}




.grayscale {
    filter: grayscale(100%); /* Añade esta línea */

}


/* Estilos para la animación */
.fade-in-section {
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    transition: opacity 0.82s ease-out, transform 0.82s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(30);
    visibility: visible;
}







.final-section {
    height: 100vh;
    width: 100vw; /* Asegura que tome todo el ancho de la ventana */
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    margin: 0; /* Eliminar márgenes */
    padding: 0; /* Eliminar padding */
    left: 50%;
    right: 50%;
    margin-left: -50vw; /* Técnica para romper el contenedor */
    margin-right: -50vw; /* Técnica para romper el contenedor */
}

.final-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.final-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.final-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 20px;
    margin-bottom: 15vh;
    width: 100%;
}

.final-content h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.nombres-finales {
    font-size: 2.5em;
    font-family: 'Great Vibes', cursive;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .final-content h2 {
        font-size: 2.8em;
    }

    .nombres-finales {
        font-size: 2em;
    }

    .final-content {
        margin-bottom: 10vh;
    }
}























.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 3;
}

.chevrons {
    padding: 6px 0 0 0;
    margin: 0 auto;
    width: 30px;
    height: 40px;
}

.chevrondown {
    margin-top: 6px;
    width: 28px;
    height: 8px;
    opacity: 0;
    transform: scale3d(0.5, 0.5, 0.5);
    animation: move 3s ease-out infinite;
}

.chevrondown:first-child {
    animation: move 3s ease-out 1s infinite;
}

.chevrondown:nth-child(2) {
    animation: move 3s ease-out 2s infinite;
}

.chevrondown:before,
.chevrondown:after {
    content: ' ';
    position: absolute;
    top: 0;
    height: 100%;
    width: 51%;
    background: #fff;
}

.chevrondown:before {
    left: 0;
    transform: skew(0deg, 30deg);
}

.chevrondown:after {
    right: 0;
    transform: skew(0deg, -30deg);
}

@keyframes move {
    25% {
        opacity: 1;
        transform: translateY(10px) scale3d(1, 1, 1);
    }
    75% {
        opacity: 1;
        transform: translateY(20px) scale3d(1, 1, 1);
    }
    100% {
        opacity: 0;
        transform: translateY(30px) scale3d(0.5, 0.5, 0.5);
    }
}






.divider {
    width: 50%;
    height: 1px;
    background: linear-gradient(to right, transparent, #9c8164, transparent);
    margin: 40px auto;
    position: relative;
}

/* Opcional: agregar detalles decorativos */
.divider::before {
    content: '♥'; /* o puedes usar '•' o '◆' */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 0 15px;
    color: #9c8164;
    font-size: 12px;
}








.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 40px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

@media (min-width: 1200px) {
    .hero-image {
        width: auto; /* Permite que la imagen mantenga su proporción */
        height: 100%;
        min-width: 100%; /* Asegura que cubra todo el ancho */
    }
}




.hero-section {
    /* Mantener visible normalmente */
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 20px;
    margin-bottom: 15vh;
    opacity: 0; /* Inicialmente oculto */
    animation: fadeInContent 1s ease-in-out forwards;
    animation-delay: 5s; /* Este delay debe ser después de que desaparezca el overlay */
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 4em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: white;
    white-space: nowrap; /* Mantener todo en una línea */
}
       
/* Ajustes responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2em; /* Reducido significativamente */
        white-space: nowrap; /* Asegurar que permanezca en una línea */
        padding: 0 10px; /* Dar un poco de espacio en los lados */
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.8em; /* Aún más pequeño si es necesario */
    }
}

.hero-content .fecha {
    font-size: 1.8em;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}




.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    
    position: relative;
    z-index: 1;
}




.header {
    text-align: center;
    padding: 40px 0;
}

.header h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 4em;
    color: #9c8164;
    margin-bottom: 20px;
}

.fecha {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.imagen-principal {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 40px;
    border-radius: 10px;
}

.seccion {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.seccion h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5em;
    color: #9c8164;
    margin-bottom: 20px;
}

.cuenta-regresiva {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.tiempo {
    text-align: center;
}

.numero {
    font-size: 2em;
    font-weight: bold;
    color: #9c8164;
}

.etiqueta {
    font-size: 0.9em;
    text-transform: uppercase;
}

.boton {
    display: inline-block;
    padding: 15px 30px;
    background-color: #9c8164;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    margin: 10px;
    transition: background-color 0.3s;
}

.boton:hover {
    background-color: #7a6550;
}

/* Intro Overlay */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Cambiado de #ffffff a rgba para dar transparencia */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeOut 2s ease-in-out forwards;
    animation-delay: 3s;
    backdrop-filter: blur(5px); /* Añade un efecto de desenfoque al fondo */
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* filter: grayscale(0%); 
    mix-blend-mode: screen;  */
}

.overlay-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: scaleUp 2s ease-in-out;
    padding: 30px;
    /* Eliminar completamente cualquier background o backdrop-filter */
    background: none;
    backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
}

.nombres-overlay {
    font-family: 'Great Vibes', cursive;
    font-size: 4em;
    color: #9c8164;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
    animation-delay: 0.5s;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1); /* Sombra sutil para mejor legibilidad */

}

.fecha-overlay {
    font-size: 1.5em;
    color: #333;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
    animation-delay: 1s;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* Sombra sutil para mejor legibilidad */
}

/* Momentos Carousel */
.momentos {
    padding: 60px 0;
    background-color: #fff;
}

.titulo-momentos {
    font-family: 'Great Vibes', cursive;
    color: #9c8164;
    font-size: 3em;
    text-align: center;
    margin-bottom: 40px;
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    filter: none; /* Esto eliminará el filtro grayscale para este contenedor */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 1100%; /* 100% * 11 imágenes */
}

.carousel-slide {
    flex: 0 0 9.0909%; /* 100% / 11 imágenes */
    width: 9.0909%; /* 100% / 11 imágenes */
}

.carousel-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    filter: none;

}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    color: #9c8164;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}




/* Opcional: hacer los indicadores más compactos */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 5px; /* Reducido de 10px a 5px */
    margin-top: 20px;
    flex-wrap: wrap; /* Permite que se envuelvan en múltiples líneas si es necesario */
    padding: 0 20px;
}

.indicator {
    width: 8px; /* Reducido de 10px a 8px */
    height: 8px;
}




/* .carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
} */

.indicator.active {
    background-color: #9c8164;
    transform: scale(1.2);
}





/* Cuenta regresiva section */
.cuenta-regresiva-seccion {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('assets/images/selection/reloj.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 60px 20px;
    margin: 40px 0;
}

.cuenta-regresiva-seccion h2 {
    color: white;
    margin-bottom: 30px;
}

.boton-calendario {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.boton-calendario:hover {
    background-color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Music control */
.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #9c8164;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.music-control i {
    font-size: 18px;
}

.music-control.playing .fa-volume-up {
    display: block;
}

.music-control.playing .fa-volume-mute {
    display: none;
}

.music-control:not(.playing) .fa-volume-up {
    display: none;
}

.music-control:not(.playing) .fa-volume-mute {
    display: block;
}

/* Animations */
@keyframes fadeOut {
    0% {
        opacity: 1;
        visibility: visible;
        backdrop-filter: blur(5px);
    }
    99% {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    100% {
        opacity: 0;
        visibility: hidden;
        backdrop-filter: blur(0px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUp {
    0% {
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-image {
        height: 300px;
    }
    
    .carousel-button {
        padding: 10px;
        width: 40px;
        height: 40px;
    }

    .container {
        padding: 10px;
    }

    .header h1 {
        font-size: 3em;
    }

    .fecha {
        font-size: 1.2em;
    }

    .cuenta-regresiva {
        flex-wrap: wrap;
    }
}

body.loading {
    overflow: hidden;
}
