:root {

    /* Colores principales */
    --navy: #081A33;
    --navy-light: #244A88;
    --navy-dark: #020811;

    /* Dorado */
    --gold: #D4AF37;
    --gold-light: #E8C96A;
    --gold-soft: rgba(212, 175, 55, 0.15);

    /* Blancos */
    --white: #FFFFFF;
    --white-soft: rgba(255, 255, 255, 0.9);
    --white-muted: rgba(255, 255, 255, 0.7);

    /* Sombras */
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, .15);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, .25);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, .35);

    /* Bordes */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;

    /* Espaciados */
    --section-padding: 80px 20px;

    /* Transiciones */
    --transition: .4s ease;

    --font-title: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-script: 'Pinyon Script', cursive;
}

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

html {
    scroll-behavior: smooth;
}

body {
    color: white;
    font-family: 'Cormorant Garamond', serif;
    overflow-x: hidden;
    /*/ background: radial-gradient(circle at top, #244A88 0%, #081a33 40%, #020811 100%);*/
    background: linear-gradient(rgba(0, 0, 0, 0.784),
            rgba(0, 0, 0, 0.703)),
        url('/assets/azul-textura.png');
         overflow-x: hidden;
}


#particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #D4AF37;
    opacity: .5;
    bottom: -20px;
    animation: float 10s linear infinite;
}

section > *:not(.particles) {
    position: relative;
    z-index: 1;
}

@keyframes float {

    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-120vh);
    }

}

/* HERO */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-title {
    width: min(90vw, 700px);
    height: auto;
    z-index: 10;
}

.hero-content {
    max-width: 400px;
    z-index: 2;
    position: relative;
    z-index: 10;
}



.subtitle {
    color: #D4AF37;
    letter-spacing: 6px;
    font-weight: 600;
    text-transform: uppercase;
}

.hero p {
    margin-top: 20px;

    font-size: 1.1rem;

    opacity: .9;
}

.secondary {
    margin-top: 35px;

    color: #d4af37;
}

/* FLECHA */

.scroll-indicator {
    z-index: 10;

    position: absolute;

    bottom: 40px;

    font-size: 30px;

    color: #D4AF37;

    opacity: .8;
}

@keyframes bounce {

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

    50% {
        transform: translateY(12px);
    }

}

@keyframes fadeInZoom {
    from {
        opacity: 0;
        transform: scale(.85);
    }

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

@keyframes floating {

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

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;

    display: flex;
    flex-direction: column;
    align-items: center;

    color: #D4AF37;
    font-size: .95rem;
    letter-spacing: 3px;
    text-transform: uppercase;

    z-index: 20;
}

.arrow {
    margin-top: 8px;
    font-size: 2rem;

    animation: bounceArrow 1.8s infinite;
}

@keyframes bounceArrow {

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

    50% {
        transform: translateY(12px);
    }
}

@media (max-width:768px) {

    .hero-title {
        width: 95vw;
        max-width: none;
    }

    .scroll-indicator {
        bottom: 25px;
        font-size: .8rem;
    }

    .arrow {
        font-size: 1.6rem;
    }
}

/* FOTO */

.photo-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
}

.photo-main {
    width: min(105vw, 950px);
    height: auto;
    border-radius: 20px;
    transition: transform .5s ease;
     transform: translateY(0px);
}

.photo-main:hover {
    transform: scale(1.03);
}

.overlay {

    position: absolute;
    inset: 0;

    background:
        linear-gradient(rgba(0, 0, 0, .35),
            rgba(0, 0, 0, .55));
}

.photo-content {

    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 20px;
}

.photo-content h2 {

    font-size: 2rem;

    margin: 8px 0;

    text-shadow: 0 3px 10px rgba(0, 0, 0, .5);
}

@keyframes zoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

.reveal {
    will-change: transform, opacity;
}


.countdown-section {
    text-align: center;
    padding: 40px 0;
    background: rgba(20, 20, 20, 0.6);
    border-top: 1px solid rgba(197, 168, 128, 0.1);
    border-bottom: 1px solid rgba(197, 168, 128, 0.1);
     transform: translateY(-120px);

}

.countdown-title {
    font-family: var(--font-title);
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 20px;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.countdown-item {
    min-width: 70px;
}

.countdown-number {
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--text-light);
}

.countdown-label {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 5px;
}

/* --- NUESTRA HISTORIA --- */
.story-section {
    padding: 60px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.story-text-side {
    padding-right: 20px;
}

.story-section h3 {
    font-family: var(--font-title);
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.story-script-title {
    font-family: var(--font-script);
    font-size: 2.8rem;
    color: var(--gold-bright);
    margin-bottom: 20px;
}

.story-p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-align: justify;
}

.story-gallery{
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: auto;
    padding: 0 0px;
}

.gallery-slider{
    position: relative;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-img{
    position: absolute;
    width: min(55vw, 920px);
    height: auto;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.gallery-img.active{
    opacity: 1;
}
.decorated-title{
    position:relative;
    text-align:center;
    letter-spacing:6px;
    margin:60px auto;
    width:fit-content;
}

.decorated-title::before,
.decorated-title::after{
    content:"✦";
    display:block;
    color:var(--gold);
    font-size:1.2rem;
    margin:15px 0;
}
/* =========================
   MÓVIL
========================= */
@media (max-width: 768px) {

    .story-section{
        display:flex;
        flex-direction:column;
        gap:30px;
    }

.story-title-container{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:15px;
    margin-bottom:40px;
}

.divider{
    width:220px;
    max-width:80%;
    opacity:.9;
}

.story-title-container h3{
    text-align:center;
    margin:0;
    letter-spacing:6px;
    font-size:1.1rem;
}

    .story-text-side {
        padding-right: 0;
        text-align: center;
        order: 2;
    }

    .story-title-container{
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:15px;
        margin-bottom:40px;
    }

    .divider{
        width:280px;
        max-width:80%;
        opacity:.9;
    }

    .story-title-container h3{
        text-align:center;
        margin:0;
        letter-spacing:6px;
    }

    .story-text-top{
        order:1;
        text-align:center;
    }


    .story-section h3 {
        font-size: 1.1rem;
        letter-spacing: 4px;
    }

    .story-script-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .story-p {
        text-align: center;
        font-size: 1rem;
        line-height: 1.9;
    }

    .story-gallery{
        order:2;
    }

    .story-text-bottom{
        order:3;
        text-align:center;
    }

 .gallery-slider{
        height:690px;
    }

    .gallery-img{
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    .gallery-img.active{
    opacity: 1;
}

}

.divider-section {
    text-align: center;
    padding: 40px 20px 60px;
}
.divceremonia{
    text-align: center;
    padding: 40px 0;
    background: rgba(20, 20, 20, 0.6);
    margin: 40px 0;
    border-top: 1px solid rgba(197, 168, 128, 0.1);
    border-bottom: 1px solid rgba(197, 168, 128, 0.1);
}

.divceremonia i{
    font-size:3rem;
    color:#ffffff51;
    display:block;
    margin-bottom:20px;
}

.ornament{
    width:180px;
    height:1px;
    margin:15px auto;

    background:linear-gradient(
        to right,
        transparent,
        var(--gold),
        transparent
    );
}

.btn-location{
    display:inline-block;
    margin-top:25px;

    padding:12px 28px;

    border:1px solid var(--gold);
    border-radius:50px;

    color:var(--gold);
    text-decoration:none;
    letter-spacing:2px;
    font-size:.8rem;

    transition:.3s;
}

.btn-location:hover{
    background:var(--gold);
    color:#081a33;
}

.divider-image {
    width: 100%;
    max-width: 550px;
    margin: 0 auto 30px;
    display: block;
}

.divider-section h4 {
    font-family: var(--font-title);
    color: var(--gold);
    font-size: 1.3rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.event-time{
    font-family: var(--font-script);
    font-size: 4rem;
    color: var(--gold);
    text-shadow:
        0 0 20px rgba(197,168,128,.3);
    margin:15px 0;
}

.event-place {
    font-family: var(--font-title);
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 10px;
}

.event-address {
    font-size: .95rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 300px;
    margin: 0 auto;
}

.dress-code-type {
    text-align: center;
    padding: 40px 0;
    background: rgba(20, 20, 20, 0.6);
    margin: 40px 0;
    border-top: 1px solid rgba(197, 168, 128, 0.1);
    border-bottom: 1px solid rgba(197, 168, 128, 0.1);
}

.color-palette {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.color-circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* --- CONFIRMACIÓN (RSVP) --- */
.rsvp-section {
    background: var(--bg-card);
    border: 1px solid rgba(197, 168, 128, 0.2);
    padding: 50px 30px;
    margin: 40px 0 80px 0;
    text-align: center;
}

.rsvp-section h3 {
    font-family: var(--font-title);
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.rsvp-section h3::after{
    content:'';
    display:block;
    width:70px;
    height:1px;
    background:linear-gradient(
        to right,
        transparent,
        var(--gold),
        transparent
    );
    margin:15px auto 0;
}

.rsvp-form {
    max-width: 500px;
    margin: 30px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 14px 5px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(197, 168, 128, 0.4);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all .4s ease;
}

.form-group input::placeholder {
    color: rgba(255,255,255,.45);
    letter-spacing: 1px;
}

.form-group input:focus {
    outline: none;
    border-bottom-color: var(--gold-bright);
    box-shadow: 0 8px 15px -10px rgba(212,175,55,.5);
}


/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(197, 168, 128, 0.1);
    font-family: var(--font-title);
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

footer .brand {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 10px;
}


.confirm-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.btn-confirm {
    position: relative;
    overflow: hidden;
    padding: 16px;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-body);
    letter-spacing: 1px;
    font-size: .95rem;
    transition: all .35s ease;
}

/* SI ASISTIRÁ */
.btn-confirm.yes {
    background: linear-gradient(
        135deg,
        #e4c16f,
        #d4af37,
        #b8922d
    );
    border: none;
    color: #081a33;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(212,175,55,.25);
}

/* NO ASISTIRÁ */
.btn-confirm.no {
    background: transparent;
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.85);
    backdrop-filter: blur(10px);
}

/* Hover */
.btn-confirm:hover {
    transform: translateY(-4px);
}

.btn-confirm.yes:hover {
    box-shadow: 0 15px 35px rgba(212,175,55,.35);
}

.btn-confirm.no:hover {
    border-color: rgba(212,175,55,.4);
    color: var(--gold);
}

/* ---------- BOTÓN ENVIAR ---------- */
.btn-gold {
    width: 100%;
    margin-top: 25px;
    padding: 18px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(
        135deg,
        #f1d58a,
        #d4af37,
        #b8922d
    );
    color: #081a33;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all .4s ease;
    box-shadow: 0 12px 30px rgba(212,175,55,.25);
}

.btn-gold:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(212,175,55,.35);
}

.btn-gold:active {
    transform: translateY(-1px);
}

.guest-message{
    max-width:500px;
    margin:20px auto;
    text-align:center;
    line-height:1.8;
    color:rgba(255,255,255,.85);
    font-size:.95rem;
}

.guest-message strong{
    color:var(--gold);
    font-weight:600;
}
.guero-message{
    max-width:900px;
    margin:60px auto;
    display:flex;
    align-items:center;
    gap:40px;
}

.message-content{
    flex:1;
    padding:30px;
    border-left:3px solid var(--accent-color);
    background:rgba(255,255,255,0.03);
    backdrop-filter:blur(10px);
}

.message-content p{
    margin:0;
    font-size:1.15rem;
    line-height:1.9;
    font-style:italic;
    color:var(--text-white);
}

.guero-container{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:40px;
    max-width:1000px;
    margin:auto;
}

.guero-text{
    max-width:500px;
    text-align:left;
     order:-1;
}

.guero-text h4{
    font-weight:400;
    line-height:1.8;
    color:var(--text-white);
}



@media (max-width:768px){
    .guero-container{
        flex-direction:column-reverse;
        text-align:center;
    }

    .guero-text{
        text-align:center;
        order:-1;
    }
}

.story-sectiong{
    position: relative;
    text-align: center;
    padding: 60px 20px;
}

.story-headerg{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.guero-title{
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin: 0;
    color: var(--text-main);
}

.guero-title span{
    display: block;
    font-size: 1.2em;
    color: var(--gold);
}

.intro{
    max-width: 650px;
    margin: 25px auto 40px;
    font-size: .95rem;
    line-height: 1.8;
    color: var(--text-light);
}

.guero-container{
    width: 100%;

}

.guero-container{
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}


@media (max-width: 768px) {

.story-sectiong{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.guero-img{
    width: min(100vw, 950px);
    height: auto;
    border-radius: 20px;
    transition: transform .10s ease-in-out;
      transform: translateY(-120px) translateX(10px);
}

.guero-img:hover {
    transform: scale(1.03);
}

.fecha-img{
    width: min(105vw, 550px);
    height: auto;
    border-radius: 20px;
    transition: transform .5s ease;
      transform: translateY(-120px) translateX(-0px);
}



    .intro {
        padding: 0 20px;
    }
}

.catedral-container{
    width:100%;
    text-align:center;
    padding:40px 20px;
     transform:translateY(-170px);
}

.sectionc-header{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:15px;
    margin-bottom:20px;
}

.title-group{
    text-align:center;
}

.title-group h4{
    margin:0;
    color:var(--gold);
    letter-spacing:3px;
    font-size:clamp(1.7rem,4vw,2.2rem);
}

.event-place{
    display:block;
    margin-top:5px;
    color:#e5d8b8;
    letter-spacing:4px;
}

.ornamentc{
    width:80px;
    height:1px;
    background:linear-gradient(
        to right,
        transparent,
        var(--gold),
        transparent
    );
}

.catedral-img{
    width:min(140vw,390px);
    display:block;
    margin:20px auto;
    transform:translateX(-40px);
}

.salon-img{
    width:min(140vw,390px);
    display:block;
    margin:20px auto;
    transform:translateX(-40px);
}

.locationcatedral-btn{
    display:inline-block;
    margin-top:15px;
    padding:14px 35px;
    border:2px solid var(--gold);
    border-radius:50px;
    color:var(--gold);
    text-decoration:none;
    letter-spacing:3px;
    transition:.3s;
     transform:translateY(-40px);
}

.salon-container{
    width:100%;
    text-align:center;
    padding:40px 20px;
     transform:translateY(-170px);
}

.sections-header{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:15px;
    margin-bottom:20px;
}

.salon-img{
    width:min(140vw,390px);
    display:block;
    margin:20px auto;
    transform:translateX(-40px);
}

.dress-container{
    width:100%;
    text-align:center;
    padding:40px 20px;
     transform:translateY(-170px);
}

.dress-img{
    width:min(140vw,390px);
    display:block;
    margin:20px auto;
    transform:translateX(-10px);
}