:root{
    --rosa:#c86b7c;
    --rosa-soft:#f5e6e9;
    --dark:#2b2b2b;
    --primario:#b86877;
    --secundario:#d1a0a9;
    --tercerio: #dbac62;
    --cuarto:#F3D0A1FF
}

@font-face {
    font-family: 'Lavanderia';
    src: url('fonts/Lavanderia Sturdy.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Lavanderia_Bold';
    src: url('fonts/Lavanderia Sturdy.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Champagne_limu';
    src: url('fonts/Champagne & Limousines Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body {
    font-family: 'Champagne_limu', sans-serif;
    background-color: var(--secundario);
    color: black;
    font-size: 1.5rem;
    overflow-x: hidden;
}

section h1{
    font-family: 'Lavanderia', cursive;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.dt-button{
    border: 0px !important;

}
.swiper {
    width: auto;
    height: auto;
}

.swiper {
    width: 90%;
    max-width: 1000px;
    padding: 20px 0;
    margin: 20px auto 50px auto !important;
}
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-slide img {
    width: auto;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    height: 500px;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primario)!important;


}
.swiper-pagination-bullet {
    background: var(--primario)!important;
    opacity: 0.7;
}

.dt-paging-button{
    background-color: var(--primario)!important;
    color: #F8F2E8 !important;
    border: none !important;
    padding: 5px 10px !important;
    border-radius: 5px !important;
    margin: 0 2px !important;
    cursor: pointer !important;
}


.hero {
    position: relative;
    text-align: center;
    color: var(--tercerio);
}
.hero img {
    width: 100%;
    height: auto;
    border-radius: 0 0 20px 20px;
    max-height: 800px;
    object-fit: cover;
}
.hero-button{
    position: absolute;
    top: 4%;
    left: 0%;
    margin: 5px;
}

.hero-text {
    z-index: 500;
    position: absolute;
    top: 10%;
    left: 50%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    transform: translateX(-50%);
    width: 100%;
}
.hero-text h1 {
    font-family: 'Lavanderia', cursive;

    font-size:2rem;
    font-weight: 100;
    text-shadow: 2px 2px 2px #000000;
}
.hero-text h3 {
    font-weight: bold;
    font-size: 1.2rem;
    font-family: 'Champagne_limu', serif;
    text-shadow: 2px 2px 2px #000000;

}
.music-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px auto;
}
.music-btn {
    background-color: var(--tercerio);
    color: black;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: none;
    transition: 0.3s;
}
.music-btn:hover {
    background-color: var(--cuarto);
}
.invite-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    color: var(--primario);
    text-align: center;
    margin-top: 30px;
}
.invite-text {
    max-width: 600px;
    margin: 20px auto;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.6;
}
#songTitle {
    margin-top: 10px;
    font-weight: bold;
    color: var(--primario);
    text-align: center;

}
#volumeBar{
    accent-color: var(--primario);
}
.heart {
    font-size: 2.2rem;
    color: #e63946;
    animation: pulse 1.5s infinite;
}

.btn-boda{
    background-color: var(--primario);
    color: #F8F2E8;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}


/* seccion  */
section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}
section.visible {
    opacity: 1;
    transform: translateY(0);
}
h1, h2 {
    margin-bottom: 20px;
    font-weight: 800;
}

/*******TEMPORIZADOR ***/
.contador {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tiempo {
    background-color: var(--tercerio);
    color: #F8F2E8;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: background-color 0.3s;
    font-family: "Champagne_limu", cursive;
}

.tiempo span {
    font-size: 1.2rem;
    font-weight: normal;
    margin-top: 4px;
    color: #f0efeb;
}
/*******TEMPORIZADOR ***/
@media only screen and (max-width: 1000px) and (min-width: 701px) {
    .swiper {
        width: 50%;
        margin-left: 15% !important;
        padding: 20px 0;
    }
    .swiper {

        max-width: 500px;

    }
}


@media only screen and (max-width: 700px) and (min-width: 401px) {
    .swiper {
        max-width: 500px;
    }

    .hero-text h1 {
        font-size: 2.7rem;
    }
    .hero-text h3 {
        font-size: 2rem;
    }
    .music-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .invite-title {
        font-size: 1.8rem;
    }
    .invite-text {
        padding: 0 10px;
        font-size: 1.5rem;
    }
    .tiempo {
        width: 70px;
        height: 70px;
        font-size: 1.4rem;
    }

    .swiper-slide img {
        height: 300px;

    }

    .swiper {
        width: 28%;

        padding: 20px 0;
    }

}

@media only screen and (max-width: 400px)  {
    .swiper {
        max-width: 450px;
    }
    .swiper-slide img {
        margin-left: 10px;

    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-text h3 {
        font-size: 1rem;
    }
    .music-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .invite-title {
        font-size: 1.8rem;
    }
    .invite-text {
        padding: 0 10px;
        font-size: 1.2rem;
    }
    .tiempo {
        width: 70px;
        height: 70px;
        font-size: 1.4rem;
    }
}


/*********fechaa/hora******/
.fecha-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    font-weight: bold;
    color: var(--primario);
}
.fecha-container span {
    display: block;
    text-align: center;
}
.dia {
    font-size: 1.2rem;
    letter-spacing: 2px;
}
.mes {
    font-size: 0.9rem;
}
.numero {
    font-size: 3rem;
    line-height: 1;
}
.anio {
    font-size: 0.9rem;
}
.hora {
    font-size: 1.2rem;
    letter-spacing: 1px;
}
.separator {
    border-left: 2px solid var(--primario);
    height: 60px;
}

/* modaaaaal sobre */
/* Overlay */
.overlay {
    z-index: 5000;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease;
}

.overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Card */
.card {
    background: #fff;
    padding: 30px;
    width: 340px;
    text-align: center;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Textos */
.title {
    font-size: 12px;
    letter-spacing: 3px;
    color: #888;
}

.names {
    font-size: 28px;
    margin: 10px 0;
    font-style: italic;
}

.date {
    font-size: 14px;
    margin-bottom: 25px;
    color: #555;
}

/* Sobre */
.envelope {
    width: 220px;
    height: 140px;
    margin: auto;
    position: relative;
    cursor: pointer;
    perspective: 1000px;
}

/* Base */
.envelope-body {
    width: 100%;
    height: 100%;
    background: var(--secundario);
    border-radius: 6px;
    position: absolute;
    z-index: 1;
}
.sello {
    width: 50px;
    height: auto;
    position: fixed;
    z-index: 10;
    top: 40%;
    left: 40%;

}
.sello-img{
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.sello-open{
    animation: desaparecer 0.4s;
    display: none;
}



@keyframes desaparecer{
    0%{
        opacity: 1;

    }
    50%{
        opacity: 0.5;

    }
    100%{
        display: none;
        opacity: 0;

    }
}

/* Tapa */
.envelope-flap {
    width: 100%;
    height: 100%;
    background: var(--primario);
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: top;
    transition: transform 0.8s ease;
    clip-path: polygon(0 0, 100% 0, 50% 60%);
    z-index: 2;
}

/* Carta */
.letter {
    position: absolute;
    width: 90%;
    height: 90%;
    background: #fff;
    top: 5%;
    left: 5%;
    border-radius: 6px;
    transform: translateY(0);
    transition: transform 0.8s ease;
    z-index: 0;
}

/* Estado abierto */
.open .envelope-flap {
    transform: rotateX(180deg);
}

.open .letter {
    transform: translateY(-120%);
}

/* Shake */
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(4px); }
    50% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake 0.4s;
}

.cta {
    margin-top: 18px;
    font-size: 12px;
    color: #999;
    letter-spacing: 1px;
}

/*fin  modal sobre */


/************itinerario **********/


/* TIMELINE */
.timeline{
    position:relative;
    padding:40px 0;
}

.timeline::before{
    content:'';
    position:absolute;
    top:0;
    bottom:0;
    left:50%;
    width:2px;
    background: var(--primario);
    transform:translateX(-50%);
}

/* CARD */
.card-custom{
    border:none;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    transition:.3s;
}

.card-custom:hover{
    transform:translateY(-5px);
    box-shadow:0 20px 40px rgba(0,0,0,0.12);
}

.card-custom img{
    height:220px;
    object-fit:cover;
}



.time_timelapse{
    color: var(--primario);
    font-weight:600;
}

/* DOT */
.dot{
    width:18px;
    height:18px;
    background: var(--primario);
    border-radius:50%;
    margin:auto;
}

/* FADE ANIMATION */
.fade-in{
    opacity:0;
    transform:translateY(20px);
    transition:all .8s ease;
}

.fade-in.visible{
    opacity:1;
    transform:translateY(0);
}

.title_timelapse{
    color: var(--primario);
}

/* MOBILE FIX */
@media(max-width:768px){
    .timeline::before{
        left:8px;
    }
    .dot{
        margin-left:0;
    }
}

.time_img{
    width:100px;
    height:auto !important;
    object-fit:cover;
    align-content: center;
    position: relative;
    left: 30%;
}
/*****fin itinerario*/



.parte1{
  border-radius: 10%;
    height: 100%;
    min-height: 500px;

}


.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 2px;
    background-color: black;
}

.divider span {
    font-style: italic;
    font-size: 20px;
}

.linea-abajo {
    height: 2px;
    background-color: black;
    width: 100%;
}

.texto-terceriario{
    font-family: 'Champagne_limu', serif;
    font-size: 2rem;
    color:#dbac62;
    font-weight: bold;
    text-align: center;
}

.txt-black{
    color: black;
    font-size: 1.5rem;
}