/* =======================================================
   Samantha & Marcus Wedding Website
   Rhodes • Greece • 25 June 2027
=======================================================*/

:root{

    --navy:#0F2945;
    --gold:#C6A35D;
    --cream:#F8F5EF;
    --white:#ffffff;
    --text:#555555;

    --shadow:0 25px 60px rgba(0,0,0,.15);

}

/* ---------- RESET ---------- */

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

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Cormorant Garamond',serif;

    background:var(--cream);

    color:var(--text);

    overflow-x:hidden;

}

section{

    padding-left:7%;

    padding-right:7%;

}

/*==================================
NAVBAR
==================================*/

.navbar{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:22px 80px;

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

    backdrop-filter:blur(20px);

    border-bottom:1px solid rgba(255,255,255,.35);

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    z-index:1000;

}

.logo-main{

    font-family:"Great Vibes",cursive;

    font-size:52px;

    color:#132d4d;

    line-height:1;

}

.logo-sub{

    color:#c6a35d;

    letter-spacing:4px;

    font-size:12px;

}

nav{

    display:flex;

    gap:40px;

}

nav a{

    position:relative;

    color:#132d4d;

    text-decoration:none;

    font-size:19px;

    font-weight:500;

    letter-spacing:.8px;

    padding-bottom:8px;

    transition:.35s;

}

nav a::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:0;

    width:0;

    height:2px;

    background:#c6a35d;

    transition:.35s;

    transform:translateX(-50%);

}

nav a:hover{

    color:#c6a35d;

}

nav a:hover::after{

    width:100%;

}


/* =======================================
   HERO
=======================================*/

.hero{

    position:relative;

    height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    overflow:hidden;

    background:url("../assets/images/hero.jpeg") center center/cover no-repeat;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            rgba(9,22,43,.35),
            rgba(9,22,43,.62)
        );

}

.hero-content{

    position:relative;

    z-index:5;

    width:min(900px,90%);

    text-align:center;

    color:white;

    padding-top:140px;
    padding-bottom:80px;

}

.family{

    font-size:16px;

    letter-spacing:7px;

    text-transform:uppercase;

    margin-bottom:18px;

}

.divider{

    width:110px;

    height:2px;

    background:#c6a35d;

    margin:0 auto 40px;

}

.hero h1{

    font-family:"Great Vibes",cursive;

    font-size:9rem;

    line-height:.82;

    font-weight:400;

    margin-bottom:30px;

    text-shadow:0 8px 30px rgba(0,0,0,.35);

}

.hero h1 span{

    color:#c6a35d;

}

.hero-text{

    font-size:2rem;

    line-height:1.8;

}

.hero-date{

    margin-top:45px;

    font-size:2rem;

}

.gold-button{

    display:inline-block;

    padding:18px 48px;

    border-radius:50px;

    background:#c6a35d;

    color:#132d4d;

    text-decoration:none;

    font-weight:600;

    letter-spacing:1px;

    transition:.35s;

    box-shadow:0 18px 45px rgba(198,163,93,.30);

}

.gold-button:hover{

    transform:translateY(-6px);

    box-shadow:0 24px 60px rgba(198,163,93,.45);

}

/*==================================
DETAILS
==================================*/

.details{

    max-width:1300px;

    margin:-100px auto 120px;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    background:#fffdf8;

    border-radius:28px;

    overflow:hidden;

    box-shadow:0 30px 80px rgba(0,0,0,.12);

    position:relative;

    z-index:20;

}

.detail-card{

    padding:55px 35px;

    text-align:center;

    border-right:1px solid #ece6dc;

    transition:.35s ease;

}

.detail-card:last-child{

    border-right:none;

}

.detail-card:hover{

    background:#fcfaf5;

    transform:translateY(-8px);

}

.icon{

    font-size:44px;

    margin-bottom:20px;

}

.detail-card h3{

    font-size:2rem;

    color:#132d4d;

    margin-bottom:12px;

}

.detail-card p{

    color:#666;

    line-height:1.7;

    font-size:1.15rem;

}

/*==================================
COUNTDOWN
==================================*/

.countdown{

    padding:110px 40px;

    background:linear-gradient(180deg,#102846,#0d2138);

    text-align:center;

    color:white;

    position:relative;

    overflow:hidden;

}

.countdown::before{

    content:"";

    position:absolute;

    inset:0;

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

}

.countdown h2{

    position:relative;

    color:#d6b067;

    font-size:3rem;

    letter-spacing:3px;

    text-transform:uppercase;

    margin-bottom:70px;

}

.timer{

    position:relative;

    display:flex;

    justify-content:center;

    gap:70px;

    flex-wrap:wrap;

}

.box{

    min-width:150px;

    text-align:center;

}

.box span{

    display:block;

    font-size:5rem;

    font-weight:600;

    line-height:1;

    color:#ffffff;

}

.box small{

    display:block;

    margin-top:18px;

    color:#d6b067;

    letter-spacing:4px;

    text-transform:uppercase;

    font-size:15px;

}

.divider-line{

    width:1px;

    height:90px;

    background:rgba(214,176,103,.35);

    align-self:center;

}

.timer{

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:40px;

    flex-wrap:nowrap;

}

.box{

    flex:1;

    max-width:170px;

}

.box span{

    display:block;

    font-size:5rem;

    font-weight:600;

    color:#ffffff;

    line-height:1;

}

.box small{

    display:block;

    margin-top:16px;

    color:#d6b067;

    text-transform:uppercase;

    letter-spacing:5px;

    font-size:15px;

}

.divider-line{

    width:1px;

    height:85px;

    background:rgba(214,176,103,.35);

}

/* ==========================================================
   RSVP
========================================================== */

#rsvp{

    background:linear-gradient(

    rgba(15,41,69,.92),

    rgba(15,41,69,.92)

    ),

    url("../assets/images/hero.jpeg") center/cover;

    color:white;

    padding:120px 20px;

    text-align:center;

}

.rsvp-container{

    max-width:750px;

    margin:auto;

}

.rsvp-container h2{

    font-size:62px;

    margin-bottom:25px;

}

.rsvp-container p{

    font-size:28px;

    margin-bottom:45px;

}

.rsvp-form{

    display:flex;

    flex-direction:column;

    gap:22px;

}

.rsvp-form input,

.rsvp-form select,

.rsvp-form textarea{

    padding:18px;

    border:none;

    border-radius:14px;

    font-size:20px;

    font-family:'Cormorant Garamond',serif;

}

.rsvp-form textarea{

    resize:vertical;

    min-height:150px;

}

.rsvp-form button{

    padding:20px;

    border:none;

    background:var(--gold);

    color:var(--navy);

    border-radius:50px;

    font-size:22px;

    cursor:pointer;

    transition:.3s;

}

.rsvp-form button:hover{

    transform:translateY(-4px);

}

/* ==========================================================
   FOOTER
========================================================== */

footer{

    background:#0F2945;

    color:white;

    text-align:center;

    padding:80px 20px;

}

footer h2{

    font-family:'Great Vibes',cursive;

    font-size:70px;

    margin-bottom:20px;

}

footer p{

    font-size:24px;

    opacity:.9;

}

/* ==========================================================
   UTILITIES
========================================================== */

.fade{

    opacity:0;

    transform:translateY(40px);

    transition:1s;

}

.fade.show{

    opacity:1;

    transform:none;

}

#thanks{

margin-top:40px;

animation:fadeIn 1s ease;

}

#thanks h2{

font-size:58px;

margin-bottom:20px;

color:white;

}

#thanks p{

font-size:28px;

line-height:1.7;

}

@keyframes fadeIn{

from{

opacity:0;

transform:translateY(20px);

}

to{

opacity:1;

transform:none;

}

}

section{

    position:relative;

}

section::after{

    content:"";

    display:block;

    width:120px;

    height:2px;

    background:var(--gold);

    margin:90px auto 0;

    opacity:.35;

}

/* =========================
   Venue
========================= */

.venue{

    background:white;

    text-align:center;

    padding:120px 10%;

}

.venue-card{

    margin:50px auto;

    max-width:1100px;

    border-radius:24px;

    overflow:hidden;

    box-shadow:0 25px 60px rgba(0,0,0,.15);

}

.venue-card iframe{

    width:100%;

    height:500px;

    border:none;

}

.venue-buttons{

    margin-top:40px;

}

/*=========================
Envelope
=========================*/

.envelope-page{

height:100vh;

display:flex;

justify-content:center;

align-items:center;

background:#f6f2ea;

overflow:hidden;

}

.envelope-wrapper{

text-align:center;

}

.envelope{

width:340px;

height:220px;

background:white;

position:relative;

border-radius:8px;

cursor:pointer;

box-shadow:0 30px 80px rgba(0,0,0,.15);

transition:1s;

}

.flap{

position:absolute;

top:0;

left:0;

width:100%;

height:100%;

background:#efe8dc;

clip-path:polygon(0 0,50% 55%,100% 0);

transform-origin:top;

transition:1s;

}

.seal{

position:absolute;

left:50%;

top:50%;

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

width:70px;

height:70px;

border-radius:50%;

background:var(--gold);

display:flex;

justify-content:center;

align-items:center;

color:white;

font-weight:bold;

box-shadow:0 10px 25px rgba(0,0,0,.2);

}

.letter{

position:absolute;

width:100%;

top:65px;

text-align:center;

}

.tap{

margin-top:40px;

font-size:24px;

color:#777;

}

.travel{

    padding:120px 8%;

    background:#faf7f2;

}

.travel-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:35px;

    margin-top:60px;

}

.travel-card{

    background:white;

    padding:40px;

    border-radius:24px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    transition:.35s;

}

.travel-card:hover{

    transform:translateY(-10px);

}

.travel-card h3{

    color:var(--navy);

    margin-bottom:20px;

    font-size:34px;

}

.travel-card p{

    color:#666;

    line-height:1.8;

    font-size:20px;

}

.icon{

    font-size:42px;

    margin-bottom:18px;

    color:#c6a35d;

}

@media (max-width:900px){

    .details{

        grid-template-columns:1fr 1fr;

        margin:-60px 20px 80px;

    }

}

@media (max-width:600px){

    .details{

        grid-template-columns:1fr;

    }

    .detail-card{

        border-right:none;

        border-bottom:1px solid #ece6dc;

    }

    .detail-card:last-child{

        border-bottom:none;

    }

}

/* ==========================================
   FINAL INVITATION LAYOUT
========================================== */

.invitation{

    min-height:100vh;

    background:#f6f1e8;

}

.hero-panel{

    position:relative;

    min-height:700px;

    padding-top:90px;

    background:
        linear-gradient(rgba(9,22,43,.35),rgba(9,22,43,.60)),
        url("../assets/images/hero.jpeg")
        center center/cover no-repeat;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

}

.hero-overlay{

    position:absolute;

    inset:0;

}

.hero-content{

    position:relative;

    z-index:5;

    width:min(900px,90%);

    text-align:center;

    color:white;

    margin:auto;

}

.hero-content span{

    color:#c6a35d;

    text-shadow:0 0 25px rgba(198,163,93,.25);

}
.subtitle{

    margin-top:25px;

    font-size:1.8rem;

    letter-spacing:2px;

}

.venue{

    margin-top:12px;

    font-size:1.3rem;

    opacity:.9;

}

.info-panel{

    width:min(1200px,94%);

    margin:-70px auto 60px;

    background:white;

    border-radius:28px;

    box-shadow:0 25px 70px rgba(0,0,0,.15);

    display:grid;

    grid-template-columns:repeat(4,1fr);

    overflow:hidden;

    position:relative;

    z-index:20;

}

.info-panel .detail-card{

    padding:45px 25px;

    border-right:1px solid #ece7df;

}

.info-panel .detail-card:last-child{

    border-right:none;

}

.countdown{

    width:min(1200px,94%);

    margin:0 auto 70px;

    border-radius:28px;

}