﻿@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');

@font-face {
    font-family: 'Balistany';
    src: url('fonts/Balistany.woff2') format('woff2'), url('fonts/Balistany.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth !important;
}

body {    
    font-family: "Mulish", sans-serif;
    font-weight: 300;
    color: #333;
    background: #fff;
    overflow-x: hidden
}

/* ── VARIABLES ──────────────────────────────────────────────── */
:root {
    --script: 'Balistany', 'Great Vibes', cursive;
    --serif: "Mulish", sans-serif;
    --body: "Mulish", sans-serif;
    --beige: #f9f5f0;
    --warm: #f2ebe2;
    --brown: #C78665;
    --dark: #1a1a1a;
    --text: #555;
    --light-border: #ffffff87;
}

/* ── NAV ────────────────────────────────────────────────────── */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

    
    #navbar.scrolled {
        background-color: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
        padding-top: 10px !important; 
    }
            
        #navbar.scrolled a {
            color: #333;
        }

        #navbar.scrolled a:hover {
            color: var(--brown);
        }



.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem 2rem;
    width: 100%;
    margin: 0 auto;
    border-top: 1px solid var(--light-border);
    border-bottom: 1px solid var(--light-border);
    backdrop-filter: blur(3px);
}

.logo {
    font-family: var(--script);
    font-size: 1.7rem;
    color: white;
    text-decoration: none;
    letter-spacing: .03em;
    margin: 20px 0;
    display: block;
}

.logo-plant {
    max-width: 50px;
    filter: brightness(0) invert(1);
}

.scrolled .logo-plant { 
    filter: none;
}

.nav-menu {
    display: flex;
    gap: 6.2rem;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
    margin: 0 auto;
}

    .nav-menu a {
        font-size: .7rem;
        letter-spacing: .15em;
        color: white;
        text-decoration: none;
        font-weight: 500;
        transition: color .2s;
        text-transform: uppercase;
    }

        .nav-menu a:hover {
            color: var(--brown)
        }

/* ── HERO ───────────────────────────────────────────────────── */
#hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.18),rgba(0,0,0,0.22)), url('img/hero.jpg') top/cover no-repeat;
    /*background-attachment: fixed;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    text-align: center;
    color: #fff;
    padding: 6rem 1rem 1.5rem;
}

.hero-script {
    font-family: var(--script);
    font-size: clamp(2.5rem,10vw,4rem);
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
    letter-spacing: 12px;
}

.hero-tagline {
    font-size: .75rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(255,255,255,.85);
    margin-bottom: .6rem;
    font-weight: 400;
}

.hero-date {
    font-size: .78rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: rgba(255,255,255,1);
    margin-top: 2rem;
    font-weight: 800;
    margin-bottom: 0;
}

/* countdown */
.cd-row {
    display: flex;
    gap: 1.2rem;
    margin-top: 2.5rem;
}

.cd-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 6px;
    padding: .9rem 1.3rem;
    min-width: 74px;
    backdrop-filter: blur(2px);
}

.cd-n {     
    font-size: 3.4rem;
    font-weight: 400;
    line-height: 1;
    color: #fff;
}

.cd-l {
    font-size: .58rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255,255,255,.75);
    margin-top: .3rem;
    font-weight: 500;
}

/* ── SECTION UTILITIES ──────────────────────────────────────── */

section {
    scroll-margin-top: 110px;
}

.sec {
    padding: 4rem 3rem;
}

.sec-label {
    font-size: .85rem;
    letter-spacing: .10em;
    color: var(--brown);
    font-weight: 500;
    font-family: var(--serif);    
}

.sec-title {
    font-family: var(--script);
    font-size: 4.5rem;
    color: var(--dark);
    line-height: 1.5;    
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.sec-divider {
    width: 50px;
    height: 1px;
    background: var(--brown);
    margin: 1rem auto 4rem;
    opacity: .4;
}

.cucarda {
    margin: 0 auto 10px;
    max-width: 80px;
}

/* ── ABOUT ──────────────────────────────────────────────────── */
#about {
    background: #fff
}

.about-card {
    text-align: center;
    padding: 1.5rem
}

.oval-wrap {
    width: 180px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.2rem;
    border: 4px solid var(--light-border);
    background: var(--warm);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .oval-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover
    }

.about-role {
    font-size: .62rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--brown);
    margin-bottom: .3rem;
    font-weight: 500;
}

.about-name {
    font-family: var(--script);
    font-size: 2rem;
    color: var(--dark);
}

.about-bio {
    font-size: .84rem;
    line-height: 1.75;
    color: var(--text);
    margin-top: .6rem;
}

/* ── STORY / TIMELINE ───────────────────────────────────────── */
#story {
    background: var(--beige)
}

.story-wrap {
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    /*place-items: center;*/
    gap: 0;
}

.story-line {
    background: var(--light-border);
    grid-column: 2;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tl-left, .tl-right {
    margin-bottom: 80px;
}

.tl-left {
    grid-column: 1;
    text-align: right;
    padding: 2.5rem 3rem 0;
}

.tl-right {
    grid-column: 3;
    text-align: left;
    padding: 2.5rem 3rem 0;
}

.tl-img {
    display: inline-block;
    padding: 10px;
    border: 2px solid var(--dark);
    border-radius: 150px;
    background-color: transparent;
}

.tl-img img {
    display: block;
    width: 100%; 
    max-width: 400px;
    border-radius: 140px; 
    object-fit: cover;
}

.tl-dot-wrap {
    /*grid-column: 2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: .3rem;*/
}

.material-symbols-outlined {
    color: var(--dark);
    font-weight: 300;
}

.tl-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--brown);
    flex-shrink: 0;
}

.tl-date {
    font-size: .65rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 500;
    margin-top: 1.5rem;
}

.tl-title {
    font-size: 1.7rem;
    color: var(--brown);
    margin-bottom: 20px;
}

.tl-text {
    font-size: .84rem;
    line-height: 1.72;
    color: var(--text);
    margin-top: .4rem
}

/* ── PROPOSAL FULL-WIDTH ────────────────────────────────────── */
#proposal {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.2),rgba(0,0,0,0.2)), url('img/bg-video.jpg') center/cover no-repeat;    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 5rem 1rem;    
    box-shadow: 0 0 10px #c5c5c5;
    margin-bottom: 3.5rem;
}

.play-video {
    width: 14vw;
    opacity: .8;
    transition: transform .4s ease; 
}
.play-video:hover {
    opacity: 1;
    transform: scale(1.04)
}

.text-meet {
    max-width: 1200px;
    margin: 0 auto 1rem;
    font-size: 1rem;
    line-height: 2;
    font-weight: 400;
    letter-spacing: 2px;
}

.signature {
    text-align: center;
    margin-top: 2.5rem;
    font-family: var(--script);
    font-size: 1.8rem;
}

#rsvp {
    position: relative;
    min-height: 70vh;
    background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url('img/bg-rsvp.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 5rem 1rem;
}

    #rsvp .cucarda {
        filter: brightness(0) invert(1);
    }

    .btn-rsvp {
        display: inline-flex;
        padding: 15px 45px;
        font-weight: 600;
        background: rgba(255,255,255,.8);
        transition: opacity .7s ease,transform .7s ease;
        color: black;
        text-decoration: none;
    }

    .btn-rsvp:hover {
        background: rgba(255,255,255,1);
        transform: scale(1.04)
    }

.proposal-script {
    font-family: var(--script);
    font-size: clamp(2.5rem,8vw,5.5rem);
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,.4);
    margin-bottom: .5rem;
}

.proposal-sub {
    font-size: .75rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(255,255,255,.8);
    font-weight: 400;
}

/* ── GALLERY ────────────────────────────────────────────────── */
#gallery {
    background: #fff
}

/*
.gallery-grid {
   display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: auto auto;
    gap: 10px;
}

.gallery-item {
    overflow: hidden;
    background: var(--warm)
}
    */

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s ease;
        display: block;
        border-radius: 2px;
        overflow: hidden;
    }

    .gallery-item:hover img {
        transform: scale(1.04)
    }

    .gallery-item.tall {
        grid-row: span 2
    }

.gallery-quote {
    grid-column: 2/4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    color: #fff;
    padding: 2rem;
    text-align: center;
}

    .gallery-quote p {
        font-family: var(--serif);
        font-size: clamp(1.1rem,3vw,1.6rem);
        font-style: italic;
        font-weight: 300;
        line-height: 1.5;
    }

    .gallery-quote span {
        display: block;
        font-size: .65rem;
        letter-spacing: .2em;
        text-transform: uppercase;
        margin-top: .7rem;
        color: rgba(255,255,255,.5);
        font-style: normal;
        font-family: var(--body);
    }

/* ── SCHEDULE ───────────────────────────────────────────────── */
#schedule {
    background: var(--beige)
}

.tv-item {
    display: grid;
    grid-template-columns: 80px 1px 1fr;
    gap: 0 1.5rem;
    margin-bottom: 0;
}

.tv-date-col {
    text-align: center;
    padding-top: .2rem
}

.tv-day {
    font-family: var(--script);
    font-size: 2.5rem;
    color: var(--brown);
    line-height: 1;
}

.tv-month {
    font-size: .6rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text);
    font-weight: 500;
    margin-top: .1rem;
}

.tv-line {
    background: var(--light-border);
    position: relative;
}

.tv-dot2 {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--brown);
    position: absolute;
    left: 50%;
    top: .3rem;
    transform: translateX(-50%);
}

.tv-content {
    padding: 0 0 3rem 0
}

.tv-time {
    font-size: .65rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--brown);
    font-weight: 500;
    margin-bottom: .2rem;
}

.tv-event {
    font-family: var(--serif);
    font-size: 1.3rem;
    color: var(--dark);
    font-style: italic;
}

.tv-desc {
    font-size: .83rem;
    line-height: 1.7;
    color: var(--text);
    margin-top: .4rem
}

.tv-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: .8rem;
    display: block;
}

/* ── FAQ ────────────────────────────────────────────────────── */
#faqs {
    background: #fff
}

.accordion-button {
    font-family: var(--serif) !important;
    font-size: 1.05rem !important;
    font-style: italic;
    background: transparent !important;
    color: var(--dark) !important;
    box-shadow: none !important;
    border: none;
    padding: 1.1rem 1rem;
}

    .accordion-button:not(.collapsed) {
        color: var(--brown) !important
    }

.accordion-item {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--light-border) !important;
    border-radius: 0 !important;
}

.accordion-body {
    font-size: .85rem;
    line-height: 1.75;
    color: var(--text);
    padding: .5rem 1rem 1.2rem;
}

/* ── CTA BANNER ─────────────────────────────────────────────── */
#cta {
    color: #fff;
    text-align: left;
    /*padding: 4.5rem 1rem;*/
}

    #cta .cta-text {
        font-family: var(--serif);
        font-size: clamp(1.3rem,4vw,2rem);
        font-style: italic;
        font-weight: 300;
        /*max-width: 620px;
        margin: 0 auto 1rem;*/
        line-height: 1.55;
    }


/* ── FOOTER ─────────────────────────────────────────────────── */
#footer {
    background: #7D6766;
    color: rgba(255,255,255,.6);
    padding: 4rem 1rem .5rem;
}

.foot-brand {
    font-family: var(--script);
    font-size: 1.2rem;
    color: #fff;
    display: block;
    margin-top: 1.8rem;

}

.foot-links {
    display: flex;
    flex-flow: column;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    list-style: none;
    margin-bottom: 1rem;
}
    .foot-links h4 {
        color: white;
        margin-bottom: 25px;
    }

    .foot-links a {
        font-size: .8rem;
        letter-spacing: .16em;
        color: white;
        text-decoration: none;
        transition: color .2s;
    }

        .foot-links a:hover {
            color: rgba(255,255,255,.9)
        }

.foot-contact {
    font-size: .8rem;
    line-height: 2;
    opacity: .45
}

.foot-copy {
    font-size: .65rem;
    margin-top: 2rem;
    border-top: solid thin #a1a1a1;
    padding-top: 20px;
    opacity: 1;
    color: white;
    text-align: center;
}

/* ── ANIMATIONS ─────────────────────────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease,transform .7s ease
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0)
    }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media(max-width:768px) {
    .nav-menu {
        display: none
    }

    .story-wrap {
        grid-template-columns: 1fr;
        gap: 0
    }

    .story-line {
        display: none
    }

    .tl-left, .tl-right {
        grid-column: 1;
        text-align: left;
        padding: 0 0 2rem 1.5rem;
        border-left: 2px solid var(--light-border);
    }

    .tl-dot-wrap {
        display: none
    }

    .gallery-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .gallery-item.tall {
        grid-row: span 1
    }

    .gallery-quote {
        grid-column: 1/3
    }

    .tv-item {
        grid-template-columns: 60px 1px 1fr;
        gap: 0 1rem
    }

    .cd-row {
        gap: .7rem
    }

    .cd-box {
        min-width: 60px;
        padding: .7rem .9rem
    }

    .cd-n {
        font-size: 1.9rem
    }
    #cta, .foot-brand {
        text-align: center;
    }
    .foot-links {
        padding-left: 0;
    }
    #proposal {
        min-height: auto;        
    }
    
    .hero-script {
        line-height: 1.5;
    }
    .nav-wrap {
        padding: .5rem;
        backdrop-filter: blur(6px);
    }
    .nav-menu {
        display: flex;
        flex-direction: row;
        gap: 25px;
        padding: 0;
        list-style: none;
    }
        .nav-menu a {
            font-size: .6rem;
        }
    .logo {
        margin: 10px 0 20px;
    }
    .logo-plant {
        max-width: 35px;
    }

    .logo {
        font-size: 1.5rem; /* Achica un poco el logo */
    }
}

@-moz-document url-prefix() {
    .tu-clase-de-titulo {
        /* Si notas que el fallback se ve muy pequeño en FF, puedes compensar */
        letter-spacing: 0.5px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}