/* Importar una fuente cursiva elegante */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: 'Dancing Script', cursive;
    /* Fondo en tono rosa pastel */
    background-color: #e2d1df;

    /* Un tono suave de rosa oscuro para el texto */
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: larger;

    /* color: #333 */
}


p {
    font-family: 'Montserrat', sans-serif; /* Ejemplo de una fuente elegante */
    font-size: 1.1rem; /* Ajusta el tamaño si es necesario */
    color: #4a4a4a; /* Un tono oscuro para mayor contraste */
    line-height: 1.5; /* Espaciado para mejorar la legibilidad */
}


/* Estilos de las imágenes decorativas */
.decoracion {
    width: 75%;

    /* Ajusta el ancho según sea necesario */
    /* height: 20% */
    max-width: 400px;

    /* Evita que crezca demasiado en pantallas grandes */
    display: block;
    margin: 0 auto;
}

/* Imagen superior */
.decoracion-superior {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

/* Imagen inferior */
.decoracion-inferior {
    position: absolute;
    display: block; 
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
}

/* Imagen animada después del encabezado */
.animated-image {
    width: 18px auto;
    max-width: 400px;
    margin: 20px auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 100%;

    /* Para el efecto fade-in */
}

/* Efecto fade-in y zoom suave */
@keyframes fadeZoom {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Aplicar animación */
.image-container img {
    animation: fadeZoom 1.5s ease-out forwards;
}


h2,
h3 {
    color: #C9A76A;

    /* Rosa pastel elegante */
}

/* Título con animación sutil */
h1 {
    font-size: 3.9rem;
    color: #A78AB2;
    position: relative;
    animation: fadeSlide 1.0s ease-out;
}

/* Efecto fade + slide */
@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
}

/* Secciones */
section {
    background: white;
    padding: 40px 20px;
    margin: 10px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hero */
.hero {
    /* background: linear-gradient(to right, #d4af37, #fff) */
    color: #361010;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 20px;
    position: relative;
    animation: fadeSlide 1.0s ease-out;

    /* border-bottom-left-radius: 50px */
    /* border-bottom-right-radius: 50px */
}


/* Estilos para "Mis XV años" */
.hero h1 .subtitulo {
    font-size: 2.5rem; /* Tamaño más pequeño */
    font-weight: normal;
    display: block;
    margin-top: 5px;
    text-transform: capitalize;
}

.hero-slider {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    height: 450px;

    /* Fija una altura */
    overflow: hidden;
    border-radius: 10px;
    background-color: transparent;

    /* Quitar el fondo gris */
}

.hero-slider img {
    position: absolute;
    width: 100%;
    height: 100%;

    /* Hacer que la imagen ocupe todo el espacio */
    top: 0;
    left: 0;
    object-fit: cover;

    /* Cambiar a 'cover' para que se ajuste completamente */
    opacity: 0;
    transition: opacity 1s ease-in-out;
    border-radius: 10px;
}

.hero-slider img:first-child {
    opacity: 1;
    position: relative;

    /* Asegura que la primera imagen se muestre correctamente */
}

.hero-slider img.active {
    opacity: 1;
}

/* Botones */
.btn,
.btn-whatsapp {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 25px;
    transition: 0.3s;
    color: white;
}

.btn {
    background: #d4af37;
    color: white;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn:hover,
.btn-whatsapp:hover {
    transform: scale(1.05);
}

/* Contador */
#countdown {
    font-size: 24px;
    font-weight: bold;
    color: #d4af37;
}

/* Media Queries (Responsive) */
@media (max-width: 768px) {
    section {
        padding: 20px 15px;
    }

    .hero {
        font-size: 1.4rem;
    }

    #countdown {
        font-size: 20px;
    }
}

/* Elementos flotantes */
.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: url('https://cdn.pixabay.com/photo/2016/03/31/19/56/flower-1291744_960_720.png') no-repeat center/contain;
    opacity: 0.6;
    z-index: -1;
}

/* Posición de las flores */
.flower1 {
    top: 10%;
    left: 5%;
}

.flower2 {
    bottom: 10%;
    right: 5%;
}

/* Animaciones flotantes */
@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

.flower1 {
    animation: floatAnimation 5s infinite ease-in-out;
}

.flower2 {
    animation: floatAnimation 6s infinite ease-in-out;
}

.evento {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 10px;
}

.evento h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.ceremonia,
.recepcion {
    margin-bottom: 30px;
}

.ceremonia h3,
.recepcion h3 {
    font-size: 1.5rem;
    color: #361010;
    margin-bottom: 10px;
}

.evento p {
    font-size: 1.1rem;
    color: #555;
}

.evento-imagen {
    width: 74%;
    max-width: 300px ;
    height: auto;
    border-radius: 20px;
    margin-top: 15px;
    display: block;
    margin: 20px auto;

    /* position: relative */
}

.linea-separadora {
    display: block;
    width: 50%; /* Ajusta el ancho según sea necesario */
    max-width: 300px; /* Para que no sea demasiado grande */
    margin: 20px auto; /* Centrar la imagen */
    opacity: 0.8; /* Opcional: hacerla más sutil */
}

.contador h2 {
    margin-top: 5px ;
}


.reproductor-musica {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    margin: 20px auto;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.music-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.music-controls button {
    background: #e91e63;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.music-controls button:hover {
    background: #c2185b;
}

.music-controls button i {
    margin-right: 5px;
}

.bienvenida h2 {
    font-size: 1.8em;

}

.bienvenida h3 {
    font-size: 1.5em;

}

.btn-confirmar {
    background-color: #e91e63; /* Color rosa pastel */
    color: white;
    border-radius: 25px; /* Bordes redondeados */
    cursor: pointer;
    padding: 10px 20px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    outline: none; 
}

.btn-confirmar:hover {
    background-color: #c2185b; /* Cambio de color al pasar el cursor */
    transform: scale(1.05); /* Ligera animación */
}

.btn-confirmar:active {
    transform: scale(0.95); /* Efecto de presión */
}

.footer p {
    font-size: 0.8rem;
}

