* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #f9f6f3;
    color: #444;
}

/* BOTÓN MÚSICA */
#musicBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #c5a880;
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    font-size: 20px;
    cursor: pointer;
    z-index: 1500;
    color: white;
}

/* INTRO */
#intro {
    position: fixed;
    inset: 0;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    text-align: center;
}

#intro p {
    margin-top: 15px;
    font-size: 14px;
    letter-spacing: 2px;
    color: #777;
}

.sello-intro {
    width: 160px;
    animation: pulso 4s ease-in-out infinite;
}

@keyframes pulso {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.oculto {
    display: none;
}

/* SPLIT HERO */
.split-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.split-img {
    background: url("../img/portada.jpg") center/cover no-repeat;
}

.split-text {
    background: #f6f1eb;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}

.split-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    line-height: 1.1;
}

.subtitle {
    margin-top: 15px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.date {
    margin-top: 20px;
    font-size: 1rem;
    letter-spacing: 3px;
}

/* SECCIONES */
.section {
    padding: 70px 20px;
    text-align: center;
}

.section.alt {
    background: #eee6dc;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

.section p {
    font-size: 1rem;
    margin-bottom: 10px;
}

/* FRASE */
.frase {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    line-height: 1.6;
}

/* IMAGEN */
.img-center {
    width: 85%;
    max-width: 350px;
    border-radius: 10px;
}

/* BOTÓN */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #c5a880;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    margin-top: 20px;
}

/* FOOTER */
footer {
    padding: 30px;
    background: #222;
    color: white;
    text-align: center;
}

/* ANIMACIONES */
.fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.fade.show {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .split-hero {
        grid-template-columns: 1fr;
    }

    .split-img {
        height: 55vh;
    }
}


.split-hero {
    display: flex;
    min-height: 100vh;
}

.split-img {
    width: 50%;
    background-image: url("../img/pareja.png"); /* FOTO DE LA PAREJA */
    background-size: cover;
    background-position: center;
}

.split-text {
    width: 50%;
    background: #f8f5f2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}

.split-text h1 {
    font-size: 4rem;
    line-height: 1.1;
}

.subtitle {
    margin-top: 10px;
    font-size: 1.2rem;
}

.date {
    margin-top: 20px;
    font-size: 1.3rem;
    letter-spacing: 4px;
}
@media (max-width: 768px) {
    .split-hero {
        flex-direction: column;
    }

    .split-img,
    .split-text {
        width: 100%;
        min-height: 50vh;
    }
}
.split-img {
    background-image: linear-gradient(
        rgba(0,0,0,0.15),
        rgba(0,0,0,0.15)
    ),
    url("../img/pareja.png");
}


/* ===== CUENTA REGRESIVA ===== */
.contador {
    display: flex;
    gap: 18px;
    margin-top: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.tiempo {
    background: white;
    border-radius: 14px;
    width: 90px;
    padding: 14px 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.tiempo span {
    display: block;
    font-size: 2.2rem;
    font-weight: 600;
    color: #7a5c3e; /* tono dorado elegante */
}

.tiempo small {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #999;
}

/* animación sutil */
.tiempo:hover {
    transform: translateY(-4px);
}

/* móvil */
@media (max-width: 480px) {
    .tiempo {
        width: 70px;
        padding: 10px;
    }

    .tiempo span {
        font-size: 1.6rem;
    }
}
.tiempo {
    border: 1px solid rgba(122, 92, 62, 0.25);
}

.tiempo {
    background: #fdfaf6;
}

/* ===== GALERÍA ===== */
.galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    padding: 40px 20px;
    max-width: 1100px;
    margin: auto;
}

.galeria img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.galeria img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* móvil */
@media (max-width: 480px) {
    .galeria img {
        height: 180px;
    }
}
/* ===== LIGHTBOX ===== */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 16px;
    animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


