/* ===================================================================
   XV AÑOS | ADRIANA VALERIA
   STYLE.CSS
=================================================================== */

/* ===================================================================
   1. VARIABLES
=================================================================== */

:root {

    /* Colores */

    --purple: #9966CC;
    --gold: #FFD700;
    --gold-light: #FFE88C;
    --gold-dark: #C89B3C;

    --black: #0D0D0D;
    --white: #F2F2F2;
    --gray: #D8D8D8;

    /* Glass */

    --glass: rgba(255,255,255,.05);
    --glass-border: rgba(255,255,255,.12);

    /* Sombras */

    --shadow-sm: 0 10px 30px rgba(0,0,0,.18);
    --shadow-md: 0 20px 50px rgba(0,0,0,.25);
    --shadow-lg: 0 30px 80px rgba(0,0,0,.40);

    /* Bordes */

    --radius-sm: 16px;
    --radius-md: 22px;
    --radius-lg: 32px;
    --radius-full: 999px;

    /* Layout */

    --container: 1300px;

    /* Transiciones */

    --transition-fast: .25s ease;
    --transition: .45s ease;
    --transition-slow: .8s ease;

}

/* ===================================================================
   2. RESET
=================================================================== */

*,
*::before,
*::after{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    background:var(--black);

    color:var(--white);

    font-family:"Montserrat",sans-serif;

    overflow-x:hidden;

    text-rendering:optimizeLegibility;

    -webkit-font-smoothing:antialiased;

}

img{

    display:block;

    width:100%;

}

a{

    text-decoration:none;

    color:inherit;

}

button{

    border:none;

    background:none;

    cursor:pointer;

    font:inherit;

}

ul{

    list-style:none;

}

/* ===================================================================
   3. SCROLLBAR
=================================================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#111;

}

::-webkit-scrollbar-thumb{

    background:var(--purple);

    border-radius:999px;

}

/* ===================================================================
   4. SELECTION
=================================================================== */

::selection{

    background:var(--purple);

    color:white;

}

/* ===================================================================
   5. TIPOGRAFÍA
=================================================================== */

h1,
h2,
h3{

    font-family:"Cormorant Garamond",serif;

    font-weight:600;

}

.section-tag{

    display:block;

    margin-bottom:18px;

    text-align:center;

    text-transform:uppercase;

    letter-spacing:5px;

    color:var(--gold);

    font-size:.85rem;

}

.section-title{

    font-size:clamp(3rem,5vw,5rem);

    text-align:center;

    margin-bottom:24px;

}

.section-description{

    max-width:760px;

    margin-inline:auto;

    text-align:center;

    color:var(--gray);

    line-height:1.9;

}

/* ===================================================================
   6. LAYOUT
=================================================================== */

.container{

    width:min(90%, var(--container));

    margin-inline:auto;

}

main{

    position:relative;

    z-index:1;

}

section{

    position:relative;

    padding:110px 0;

}

.panel{

    position:relative;

    z-index:2;

}

/* ===================================================================
   7. BACKGROUND
=================================================================== */

.background{

    position:fixed;

    inset:0;

    overflow:hidden;

    z-index:-20;

}

.gradient{

    position:absolute;

    left:50%;

    top:50%;

    width:1800px;

    height:1800px;

    transform:translate(-50%,-50%);

    background:

        radial-gradient(circle,
        var(--purple) 0%,
        transparent 65%);

    opacity:.22;

    filter:blur(140px);

    animation:gradientMove 18s ease-in-out infinite;

}

.noise{

    position:absolute;

    inset:0;

    opacity:.05;

    background-image:url("https://www.transparenttextures.com/patterns/asfalt-dark.png");

}

/* ===================================================================
   8. COMPONENTES GENERALES
=================================================================== */

.glass{

    background:var(--glass);

    backdrop-filter:blur(18px);

    border:1px solid var(--glass-border);

    border-radius:var(--radius-lg);

}

.gold-line{

    width:120px;

    height:2px;

    margin:30px auto;

    background:

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

}

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:18px 38px;

    border-radius:var(--radius-full);

    font-weight:600;

    transition:var(--transition);

}

.btn.gold{

    color:#111;

    background:

        linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
        );

    box-shadow:0 15px 40px rgba(255,215,0,.35);

}

.btn.gold:hover{

    transform:translateY(-5px);

    box-shadow:0 18px 45px rgba(255,215,0,.45);

}

.btn.transparent{

    color:white;

    border:1px solid rgba(255,255,255,.25);

    background:rgba(255,255,255,.03);

}

.btn.transparent:hover{

    background:white;

    color:black;

    box-shadow:0 12px 35px rgba(255,255,255,.12);

}
/* ===================================================================
   9. NAVEGACIÓN LATERAL
=================================================================== */

.side-nav{

    position:fixed;

    top:24px;

    left:50%;

    transform:translateX(-50%);

    display:flex;

    flex-wrap:nowrap;

    justify-content:center;

    align-items:center;

    gap:10px;

    z-index:999;

    padding:10px;

    border-radius:var(--radius-full);

    background:rgba(13,13,13,.6);

    backdrop-filter:blur(16px);

    border:1px solid rgba(255,255,255,.12);

    max-width:calc(100% - 32px);

    overflow-x:auto;

}

.side-nav a{

    display:flex;

    align-items:center;

    gap:8px;

    padding:10px 14px;

    color:var(--white);

    font-size:.8rem;

    border-radius:var(--radius-full);

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    transition:var(--transition);

}

.side-nav a:hover{

    background:var(--purple);

    transform:translateY(-2px);

}

.side-nav span{

    width:7px;

    height:7px;

    border-radius:50%;

    background:var(--gold);

}

/* ===================================================================
   10. HERO
=================================================================== */

#hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    position:relative;

    overflow:hidden;

    width:100%;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        to bottom,
        rgba(0,0,0,.2),
        rgba(13,13,13,.55)
    );

    pointer-events:none;

    z-index:1;

}

.hero-container{

    width:100%;

    min-height:100vh;

    margin:0;

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:0;

    position:relative;

    z-index:2;

    overflow:hidden;

}

/* ===================================================================
   HERO - TEXTO
=================================================================== */

.hero-left{

    display:flex;

    flex-direction:column;

    align-items:flex-start;

    justify-content:center;

    position:relative;

    z-index:3;

    padding:60px 5vw;

    min-height:100vh;

    max-width:640px;

}

.hero-content-card{

    padding:34px 36px;

    border-radius:var(--radius-lg);

    background:linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));

    border:1px solid rgba(255,255,255,.12);

    box-shadow:var(--shadow-md);

    backdrop-filter:blur(18px);

}

.hero-subtitle{

    color:var(--gold);

    text-transform:uppercase;

    letter-spacing:8px;

    font-size:.9rem;

    margin-bottom:18px;

    font-weight:600;

}

.hero-left h1{

    font-size:clamp(10rem,20vw,18rem);

    line-height:.9;

    color:transparent;

    -webkit-text-stroke:2px var(--gold);

    text-shadow:0 0 22px rgba(255,215,0,.12);

    position:relative;

    z-index:10;

}

.hero-left h2{

    margin-top:10px;

    font-size:clamp(3rem,6vw,6rem);

    line-height:1;

    letter-spacing:.5px;

}

.hero-date{

    color:var(--gold-light);

    margin-bottom:20px;

    font-weight:600;

    letter-spacing:2px;

    text-transform:uppercase;

}

.hero-divider{

    width:140px;

    height:2px;

    margin:30px 0;

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

}

.hero-text{

    max-width:520px;

    line-height:1.9;

    color:var(--gray);

    margin-bottom:40px;

    padding-left:14px;

    border-left:2px solid rgba(255,215,0,.35);

}

.hero-buttons{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}

/* ===================================================================
   HERO - FOTOGRAFÍA
=================================================================== */

.hero-right{

    position:absolute;

    inset:0;

    z-index:0;

    display:flex;

    justify-content:center;

    align-items:center;

    min-height:100vh;

}

.portrait{

    position:relative;

    width:100%;

    height:100%;

    display:flex;

    justify-content:flex-end;

}

.portrait-frame{

    width:100%;

    height:100%;

    min-height:100vh;

    overflow:hidden;

    border-radius:0;

    border:none;

    background:rgba(255,255,255,.03);

    box-shadow:none;

    position:relative;

    margin-left:auto;

}

.portrait-frame::before{

    content:"";

    position:absolute;

    inset:0;

    border:2px solid rgba(255,215,0,.25);

    border-radius:inherit;

    pointer-events:none;

}

.portrait-frame img{

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center;

    transition:1.2s ease;

}

.portrait-frame:hover img{

    transform:scale(1.04);

}

/* ===================================================================
   XV DECORATIVO
=================================================================== */

.xv-background{

    position:absolute;

    right:-20px;

    top:18%;

    font-size:clamp(8rem,15vw,18rem);

    font-family:"Cormorant Garamond",serif;

    font-weight:700;

    color:rgba(255,255,255,.04);

    letter-spacing:6px;

    user-select:none;

    pointer-events:none;

}

/* ===================================================================
   INDICADOR DE SCROLL
=================================================================== */

.scroll-indicator{

    position:absolute;

    left:50%;

    bottom:35px;

    transform:translateX(-50%);

    width:30px;

    height:54px;

    border-radius:999px;

    border:1px solid rgba(255,255,255,.22);

    display:flex;

    justify-content:center;

    padding-top:8px;

}

.scroll-indicator span{

    width:8px;

    height:8px;

    border-radius:50%;

    background:var(--white);

    animation:scroll 2s infinite;

}
/* ===================================================================
   11. CUENTA REGRESIVA
=================================================================== */

#countdown{
    padding-top:120px;
}

.countdown-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(150px,1fr));
    gap:24px;
    margin-top:60px;
}

.time-box{
    padding:36px 20px;
    text-align:center;
    background:var(--glass);
    border:1px solid var(--glass-border);
    backdrop-filter:blur(18px);
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-sm);
}

.time-box h3{
    font-size:clamp(2.8rem,5vw,4rem);
    margin-bottom:10px;
    color:var(--gold);
}

.time-box span{
    color:var(--gray);
    letter-spacing:2px;
    text-transform:uppercase;
    font-size:.85rem;
}

/* ===================================================================
   12. TIMELINE
=================================================================== */

.timeline{
    max-width:900px;
    margin:70px auto 0;
    display:grid;
    gap:35px;
    position:relative;
}

.timeline::before{
    content:"";
    position:absolute;
    left:8px;
    top:0;
    bottom:0;
    width:2px;
    background:linear-gradient(var(--gold),transparent);
}

.timeline-item{
    display:grid;
    grid-template-columns:24px 1fr;
    gap:30px;
}

.timeline-dot{
    width:18px;
    height:18px;
    border-radius:50%;
    background:linear-gradient(135deg,var(--gold),var(--purple));
    margin-top:12px;
    z-index:2;
}

.timeline-card{
    padding:30px;
    background:var(--glass);
    border:1px solid var(--glass-border);
    border-radius:var(--radius-lg);
    backdrop-filter:blur(20px);
    box-shadow:var(--shadow-sm);
}

.timeline-hour{
    display:inline-block;
    color:var(--gold);
    margin-bottom:10px;
    font-weight:600;
}

.timeline-card h3{
    margin-bottom:10px;
}

/* ===================================================================
   13. DRESS CODE
=================================================================== */

.dress-grid{
    margin-top:60px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.dress-card{
    padding:45px;
    text-align:center;
    background:var(--glass);
    border:1px solid var(--glass-border);
    border-radius:var(--radius-lg);
    backdrop-filter:blur(20px);
    transition:var(--transition);
}

.dress-card:hover{
    transform:translateY(-8px);
}

.dress-icon{
    font-size:3rem;
    margin-bottom:20px;
}

/* ===================================================================
   14. LOCATION
=================================================================== */

.location-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr;
    gap:40px;
    margin-top:60px;
    align-items:center;
}

.map{
    min-height:420px;
    overflow:hidden;
    border-radius:var(--radius-lg);
    background:var(--glass);
    border:1px solid var(--glass-border);
    box-shadow:var(--shadow-md);
}

.map-placeholder{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#bbb;
    font-size:1.1rem;
}

.location-info{
    display:flex;
    flex-direction:column;
    gap:18px;
}

/* ===================================================================
   15. CONFIRMACIÓN
=================================================================== */

.confirm-section{
    text-align:center;
}

.confirm-actions{
    margin-top:40px;
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.large-btn{
    min-width:260px;
}

/* ===================================================================
   16. FOOTER
=================================================================== */

footer{
    padding:100px 0;
}

.footer-container{
    width:min(90%,var(--container));
    margin:auto;
    text-align:center;
}

.footer-divider{
    width:120px;
    height:2px;
    margin:30px auto;
    background:linear-gradient(to right,var(--gold),transparent);
}

.socials{
    margin:35px 0;
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}

.socials a{
    color:var(--gray);
    transition:var(--transition);
}

.socials a:hover{
    color:var(--gold);
}

.credits{
    color:#888;
    font-size:.9rem;
}