/* =========================
   RESET
========================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
}

body{
    background:#0f0f0f;
    color:#fff;
    overflow-x:hidden;
}

/* =========================
   VARIABLES
========================= */
:root{
    --gold:#d4af37;
    --dark:#0f0f0f;
    --soft:#1a1a1a;
}

/* =========================
   WELCOME SCREEN
========================= */
#welcome-screen{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;
    background:url("IMAGES/galerie1.jpeg") center/cover no-repeat;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.welcome-box{
    background:rgba(0,0,0,0.65);
    padding:40px;
    border-radius:20px;
    text-align:center;
    width:90%;
    max-width:450px;
    backdrop-filter:blur(10px);
    border:1px solid rgba(212,175,55,0.3);
}

.welcome-box h1{
    font-family:'Great Vibes', cursive;
    font-size:45px;
    color:var(--gold);
    margin:10px 0;
}

.welcome-box h2{
    font-size:28px;
}

.welcome-box button{
    margin-top:20px;
    padding:12px 25px;
    border:none;
    border-radius:50px;
    background:linear-gradient(45deg,var(--gold),#b88a2a);
    color:#000;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
}

.welcome-box button:hover{
    transform:scale(1.05);
}

/* =========================
   DOWNLOAD BUTTON (AJOUT)
========================= */
.download-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:14px 22px;
    background:linear-gradient(45deg,var(--gold),#b88a2a);
    color:#000;
    border-radius:30px;
    text-decoration:none;
    font-weight:bold;
    transition:0.3s;
    position:relative;
    overflow:hidden;
}

.download-btn:hover{
    transform:scale(1.08);
    box-shadow:0 10px 25px rgba(212,175,55,0.4);
}

/* effet lumière */
.download-btn::before{
    content:"";
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(120deg,transparent,rgba(255,255,255,0.4),transparent);
    transition:0.6s;
}

.download-btn:hover::before{
    left:100%;
}

/* icône animée */
.animated-download i{
    animation:bounce 1.5s infinite;
}

@keyframes bounce{
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(-5px);}
}

/* =========================
   BUTTON MUSIC
========================= */
#musicBtn{
    position:fixed;
    bottom:20px;
    right:20px;
    width:50px;
    height:50px;
    border-radius:50%;
    border:none;
    background:var(--gold);
    color:#000;
    cursor:pointer;
    z-index:999;
}

/* =========================
   NAVIGATION (IMPORTANT AJOUT)
========================= */
.menu{

    position:fixed;
    top:0;
    left:0;
    width:100%;

    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;

    padding:18px;

    background:rgba(0,0,0,.55);

    backdrop-filter:blur(12px);

    z-index:999;

}

.menu a{

    color:white;
    text-decoration:none;

    padding:12px 18px;

    border-radius:40px;

    transition:.4s;

    font-weight:600;

}

.menu a:hover{

    background:#d4af37;
    color:black;

    transform:translateY(-3px);

}
/* =========================
   HERO
========================= */
.hero{
    height:100vh;
    background:url("IMAGES/galerie1.jpeg") center/cover no-repeat;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    text-align:center;
}

.overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
}

.hero-content{
    position:relative;
    z-index:2;
}

.hero h1{
    font-size:60px;
    font-family:'Great Vibes', cursive;
    color:var(--gold);
}

.hero h3{
    font-weight:300;
}

.hero .btn{
    display:inline-block;
    margin-top:20px;
    padding:12px 25px;
    background:var(--gold);
    color:#000;
    border-radius:50px;
    text-decoration:none;
    font-weight:bold;
}
html {
    scroll-behavior: smooth;
}

.section {
    min-height: 100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}
/* =========================
   SECTIONS
========================= */
.section{
    padding:80px 10%;
    text-align:center;
}

.section h2{
    font-size:35px;
    margin-bottom:40px;
    color:var(--gold);
}

/* =========================
   DARK / LIGHT
========================= */
.dark{
    background:#111;
}

.light{
    background:#0c0c0c;
}

/* =========================
   TIMELINE
========================= */
.timeline{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.card{
    background:#1a1a1a;
    padding:20px;
    border-radius:15px;
    width:250px;
    border:1px solid rgba(212,175,55,0.2);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-10px);
    border-color:var(--gold);
}

.card i{
    font-size:30px;
    color:var(--gold);
    margin-bottom:10px;
}

/* =========================
   COUPLE SECTION (AJOUT)
========================= */
.couple-container{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:30px;
    flex-wrap:wrap;
}

.person{
    width:250px;
    background:#1a1a1a;
    padding:20px;
    border-radius:15px;
    border:1px solid rgba(212,175,55,0.2);
}

.couple-image img{
    width:250px;
    border-radius:20px;
}

/* =========================
   GALERIE
========================= */
.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:15px;
}

.gallery img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:15px;
    cursor:pointer;
    transition:0.3s;
}

.gallery img:hover{
    transform:scale(1.05);
}

/* LIGHTBOX */
#lightbox{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.9);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

#lightbox img{
    width:80%;
    max-width:700px;
    border-radius:10px;
}

/* =========================
   RSVP
========================= */
form{
    display:flex;
    flex-direction:column;
    gap:15px;
    max-width:400px;
    margin:auto;
}

input, select{
    padding:12px;
    border-radius:10px;
    border:none;
}

button{
    padding:12px;
    border:none;
    border-radius:10px;
    background:var(--gold);
    font-weight:bold;
    cursor:pointer;
}

/* =========================
   BOISSONS
========================= */
.grid{
    display:flex;
    gap:20px;
    justify-content:center;
    flex-wrap:wrap;
}

.box{
    background:#1a1a1a;
    padding:20px;
    border-radius:15px;
    width:250px;
    border:1px solid rgba(212,175,55,0.2);
}

/* =========================
   FOOTER
========================= */
footer{
    padding:40px;
    text-align:center;
    background:#000;
    border-top:1px solid rgba(212,175,55,0.2);
}

/* =========================
   SCROLL ANIMATION
========================= */
section{
    opacity:0;
    transform:translateY(40px);
    transition:1s ease;
}

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

/* =========================
   RESPONSIVE
========================= */
@media(max-width:768px){

    .hero h1{
        font-size:40px;
    }

    .timeline{
        flex-direction:column;
        align-items:center;
    }

    .menu{
        flex-wrap:wrap;
        width:90%;
    }
}/* =========================
   BACKGROUNDS PAR PAGE
========================= */

.bg-programme{
    background:url("IMAGES/galerie1.jpeg") center/cover no-repeat;
    position:relative;
}

.bg-couple{
    background:url("IMAGES/galerie2.jpeg") center/cover no-repeat;
    position:relative;
}

.bg-gallery{
    background:url("IMAGES/galerie3.jpeg") center/cover no-repeat;
    position:relative;
}

.bg-rsvp{
    background:url("IMAGES/galerie5.png") center/cover no-repeat;
}

.bg-boissons{
    background:url("IMAGES/galerie6.webp") center/cover no-repeat;
}

/* overlay noir pour lisibilité */
.section::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.55);
}

.section > *{
    position:relative;
    z-index:2;
}html{
    scroll-behavior:smooth;
}section{

    min-height:100vh;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    position:relative;

    padding:120px 8%;

}section{

    opacity:0;

    transform:translateY(80px);

    transition:1s;

}

section.show{

    opacity:1;

    transform:translateY(0);

}html{

    scroll-behavior:smooth;

}.page{

    display:block;

    min-height:100vh;

    position:relative;

}.love-story-video{
    margin-top:50px;
    text-align:center;
}

.love-story-video h3{
    font-size:28px;
    margin-bottom:20px;
    color:#c89b3c;
}

.love-story-video video{
    width:100%;
    max-width:800px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
}