body {
    margin: 0;
    background: linear-gradient(rgb(0, 0, 0), #1a1a1a);
    color: white;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

/* 🎬 Pantalla inicial */
#inicio {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    position: relative;
}

/* 🎯 botón personalizado */
.btn-abrir {
    position: absolute;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 120px;
    height: 120px;
    padding: 0;

    background: rgba(255, 230, 0, 0.4);
    border-radius: 50%;

    cursor: pointer;
    z-index: 10;
}
.btn-abrir:hover {
    transform: translate(-50%, -50%) scale(1.05);
}


/* ✨ Nombre elegante */
#inicio h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5em;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* 🔘 Botón elegante 
button {
    padding: 15px 40px;
    font-size: 18px;
    background: gold;
    color: black;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #ffd700;
    transform: scale(1.05);
}
*/
/* 📦 Contenido */
#contenido {
    padding: 40px;
    animation: fadeIn 2s;
}

/* ⏳ Contador */
#contador {
    font-size: 2em;
    margin-top: 20px;
    color: gold;
}

/* ✨ Animación */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: white;
    text-align: center;

    background: url("img/fondo1.jpg") no-repeat center center fixed;
    background-size: cover;
}
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 40, 124, 0.6);
    z-index: -1;
}

.contenedor-portada {
    position: relative;
    width: 100%;   /* 🔥 ocupa toda la pantalla */
    text-align: center;
}

.contenedor-portada img {
    width: 100%;
    max-width: 60%;  /* 🔥 AJUSTA AQUÍ */
}

.btn-abrir {
    position: absolute;
    top: 50%;   /* 🔥 AJUSTA AQUÍ */
    left: 50%;
    transform: translate(-50%, -50%);
}



/*
.galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
}

.galeria img {
    width: 100%;
    border-radius: 15px;
    transition: 0.3s;
    cursor: pointer;
}

.galeria img:hover {
    transform: scale(1.05);
}
*/
#visor {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

#visor img {
    max-width: 90%;
    max-height: 90%;
}

.btn-wsp {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 25px;
    background: #25D366;
    color: white;
    font-size: 18px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-wsp:hover {
    background: #1ebe5d;
    transform: scale(1.05);
}

.mapa {
    margin: 30px auto;
    max-width: 800px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}



/* 🖤 capa oscura elegante */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
}

/* 🎉 contenido centrado */
.contenido-inicio {
    position: relative;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}
#inicio h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    letter-spacing: 2px;
}
.contenido-inicio {
    animation: fadeIn 0.7s;
}

/* 📲 TABLET */
@media (min-width: 769px) and (max-width: 1024px) {
    .btn-abrir {
        bottom: 30%;
    }
}

@media (max-width: 768px) {

    .btn-abrir {
        bottom: -280%;   /* 🔥 ajusta para celular */
        width: 120px;
        height: 120px;
        font-size: 20px;
    }

}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(-20%); }
}

.efecto {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* importante */
    z-index: 1;
}
.calendario {
    width: 120px;
    height: auto;
    margin: 30px auto;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    color: black;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-align: center;
}

/* 📅 Mes */
.calendario .mes {
    background: gold;
    color: black;
    padding: 10px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* 🔢 Día grande */
.calendario .dia {
    font-size: 60px;
    font-weight: bold;
    padding: 20px 0;
}

/* 📆 Año */
.calendario .anio {
    padding: 10px;
    background: #eee;
}
#contenido {
    position: relative;
    padding: 60px 20px;

    background: url("img/fondo1.jpg") no-repeat center center;
    background-size: cover;
    position: relative;
    z-index: 1;
}

body.no-scroll {
    overflow: hidden;
}

.lamina {
    width: 100%;
    text-align: center;
    padding: 40px 0;
    




}

.lamina img {
    width: 90%;
    max-width: 60%;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}






.contenedor-lamina {
    position: relative;
    max-width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
}

.contenedor-lamina {
    position: relative; /* 🔥 base obligatoria */
}

.yape {
    position: absolute;  /* 🔥 lo mete dentro de la imagen */
    bottom: 20%;         /* ajusta altura */
    left: 50%;
    transform: translateX(-50%);

    color: #094D8C;
    text-align: center;

    background: rgba(247,247,250,0.7);
    padding: 10px 20px;
    border-radius: 10px;

    z-index: 5; /* 🔥 por encima de la imagen */
}


.contenedor-lamina img {
    width: 60%;
    max-width: 700px;
    border-radius: 20px;
}


.btn-lamina:hover {
    transform: translateX(-50%, -50%) scale(1.05);
}

/* contenedor base 
.contenedor-lamina {
    position: relative;
    display: inline-block;
}
*/

/* 🔘 botón ahora sí bien posicionado */

.btn-lamina {
    position: absolute;
    left: 50%;
    z-index: 5;   /* 🔥 ESTO FALTABA */
    display: inline-block;   /* 🔥 ESTO FALTABA */
   
}

/* imagen oculta */
.img-oculta {
    position: absolute;
    top: 73%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 80%;
    max-width: 400px;
    border-radius: 15px;

    display: none;   /* 🔥 clave */
    z-index: 2;
}

.btn-ubicacion {
    top: 55%;
   /* left: 50%;*/
    transform: translate(-50%, -50%);
   

}

.btn-gustos {
    bottom: 70px;  /* 🔥 MÁS ARRIBA SOLO ESTE */
}

.btn-confirmar {
    top: 60%;
    transform: translate(-50%, -50%);
  
}

#particulas {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;

    z-index: 10;
    pointer-events: none;
}

.contenedor-lamina img {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {

    .contenedor-portada img,
    .contenedor-lamina img {
        width: 100%;       /* 🔥 ocupa todo */
        max-width: none;   /* 🔥 elimina límite */
        border-radius: 0;  /* opcional: estilo full */
    }

    .lamina {
        padding: 0;        /* 🔥 elimina espacios */
    }

}
@media (max-width: 768px) {

    .contenedor-lamina img {
        width: 100% !important;
        max-width: 100% !important;
    }

    .contenedor-portada img {
        width: 100% !important;
        max-width: 100% !important;
    }

    .lamina {
        padding: 0 !important;
    }

}

@media (max-width: 768px) {

    .contenedor-lamina {
        width: 100% !important;
        display: block !important;
    }

    .contenedor-portada {
        width: 100% !important;
        display: block !important;
    }

    .contenedor-lamina img,
    .contenedor-portada img {
        width: 100% !important;
        max-width: 100% !important;
    }

    .lamina {
        padding: 0 !important;
    }

}

@media (max-width: 768px) {

    .btn-lamina {
        display: inline-block !important;

        padding: 10px 18px !important;
        font-size: 13px !important;
        width: auto;

        border-radius: 30px !important;
        text-decoration: none !important;

        left: 50%;
        transform: translate(-50%, -50%);

        white-space: nowrap;  /* 🔥 evita que se rompa el texto */
    }

}

.btn-lamina {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;

    display: inline-block;   /* 🔥 importante */

    padding: 12px 25px;
    background: gold;
    color: black;
    text-decoration: none;   /* 🔥 quita subrayado */

    border-radius: 30px;     /* 🔥 lo que quieres */
    font-size: 16px;

    transition: 0.3s;
}
.btn-lamina:hover {
    transform: translate(-50%, -50%) scale(1.05);
    background: #ffd700;
}
.btn-lamina {
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.btn-lamina {
    background: rgba(255, 215, 0, 0.8);
    backdrop-filter: blur(5px);
}

@media (max-width: 768px) {
    .btn, .btn-invitacion {
        width: auto !important;
        display: block;
        margin: 10px auto;
        text-align: center;
        padding: 12px 20px;
        max-width: 250px;
    }
}
