:root{

--primary:#b03060;
--secondary:#fadadd;
--gold:#d4af37;
--cream:#fff8f0;
--dark:#2f2f2f;

}

*{
margin:0;
padding:0;
box-sizing:border-box;
scroll-behavior:smooth;
}

body{
font-family:'Playfair Display',serif;
background:var(--cream);
overflow-x:hidden;
}

/* LOADER */

#loader{

position:fixed;
width:100%;
height:100vh;

background:#fff8f0;

display:flex;
justify-content:center;
align-items:center;

z-index:99999;
}

.loader-content{
text-align:center;
}

.loader-logo{

font-size:70px;
margin-bottom:20px;

animation:pulse 1.5s infinite;
}

.loader-line{

width:250px;
height:4px;

background:#eee;

margin:auto;
margin-top:20px;

position:relative;

overflow:hidden;
}

.loader-line::before{

content:'';

position:absolute;

width:100px;
height:100%;

background:var(--gold);

animation:loading 2s infinite;
}

/* PASSWORD */

#password-screen{

position:fixed;

width:100%;
height:100vh;

display:flex;
justify-content:center;
align-items:center;

background:
linear-gradient(
rgba(224, 34, 123, 0.4),
rgba(212, 108, 221, 0.4)
),

url('../images/hero-bg.jpg');

background-size:cover;
background-position:center;

z-index:9999;
}

.password-box{

width:450px;

padding:50px;

background:rgba(187, 108, 161, 0.15);

backdrop-filter:blur(15px);

border:1px solid rgba(240, 12, 130, 0.182);

border-radius:30px;

text-align:center;

color:white;
}

.monogram{
font-size:55px;
margin-bottom:25px;
}

.password-box h1{
margin-bottom:15px;
}

.password-box input{

width:100%;

padding:15px;

margin-top:20px;

border:none;

border-radius:10px;

outline:none;
}

.password-box button{

margin-top:20px;

padding:15px 35px;

background:var(--primary);

color:white;

border:none;

border-radius:50px;

cursor:pointer;
}

#errorText{
margin-top:15px;
color:#ffd700;
}

/* WEBSITE */

#website{
display:none;
}

/* NAVBAR */

nav{

position:fixed;

top:0;
left:0;

width:100%;

padding:25px 8%;

display:flex;

justify-content:space-between;

align-items:center;
background:rgba(109,33,79,.95);
backdrop-filter:blur(20px);
box-shadow:0 5px 20px rgba(0,0,0,.15);
z-index:1000;
}

.logo{

font-size:28px;
color:var(--gold);
}

nav ul{

display:flex;
gap:35px;

list-style:none;
}
nav ul a{

text-decoration:none;
color:white;

font-size:16px;
font-weight:600;

padding:8px 15px;

border-radius:30px;

transition:all .4s ease;

}

nav ul a{

position:relative;

text-decoration:none;
color:white;

transition:.4s;

}

nav ul a:hover{

color:#d4af37;

background:rgba(255,255,255,0.1);

box-shadow:
0 5px 15px rgba(212,175,55,.3);

}
nav ul a::after{

content:"";

position:absolute;

left:0;
bottom:-5px;

width:0;
height:2px;

background:#d4af37;

transition:.4s;

}

nav ul a:hover{

color:#d4af37;

}

nav ul a:hover::after{

width:100%;

}
.overlay{
background:rgba(179,0,89,.25);
backdrop-filter:blur(8px);
border:1px solid rgba(255,255,255,.2);
}
.overlay h1{
font-size:85px;
font-weight:500;
letter-spacing:2px;
}
/* HERO */

#home{

height:100vh;

background:
linear-gradient(
rgba(205, 15, 84, 0.947),
rgba(103, 30, 63, 0.3)
),

url('../images/hero-bg.jpg');

background-size:cover;
background-position:center;

display:flex;
justify-content:center;
align-items:center;

position:relative;
}

.hero-content{

text-align:center;
color:white;

max-width:900px;
padding:20px;
}

.hero-content h3{

font-family:'Noto Sans Tamil';

font-size:28px;

margin-bottom:20px;
}

.hero-content h1{

font-family:'Great Vibes';

font-size:100px;

font-weight:400;
}

.hero-heart{

font-size:50px;

margin:15px 0;

animation:pulse 1.5s infinite;
}

.hero-content h2{

font-size:40px;

color:var(--gold);

margin-top:20px;
}

.hero-content p{

font-size:22px;

line-height:40px;

margin-top:25px;
}

.open-btn{

margin-top:40px;

padding:18px 45px;

border:none;

background:var(--gold);

color:white;

border-radius:50px;

font-size:18px;

cursor:pointer;

transition:.4s;
}

.open-btn:hover{
transform:translateY(-5px);
}

@keyframes pulse{

0%{
transform:scale(1);
}

50%{
transform:scale(1.15);
}

100%{
transform:scale(1);
}

}

@keyframes loading{

0%{
left:-100px;
}

100%{
left:250px;
}

}

@keyframes fall{

0%{
transform:translateY(-100px) rotate(0deg);
opacity:1;
}

100%{
transform:translateY(120vh) rotate(360deg);
opacity:0;
}

}

/* COMMON */

.section-heading{

text-align:center;

margin-bottom:70px;
}

.section-heading h2{

font-size:55px;

color:var(--primary);

font-family:'Cinzel';
}

.section-heading p{

margin-top:10px;

color:#666;
}

/* INVITATION */

#invitation{

padding:120px 8%;

background:var(--cream);
}

.invitation-card{

max-width:900px;

margin:auto;

padding:80px;

background:white;

border:3px solid var(--gold);

border-radius:25px;

text-align:center;

position:relative;

box-shadow:
0 20px 50px rgba(0,0,0,.1);

}

.invitation-card h3{

font-family:'Noto Sans Tamil';

font-size:32px;

margin-bottom:30px;

color:var(--primary);
}

.invitation-card h1{

font-family:'Great Vibes';

font-size:80px;

color:var(--primary);
}

.invite-heart{

font-size:45px;

margin:15px 0;
}

.invitation-card p{

font-size:22px;

margin:25px 0;

line-height:40px;
}

.invitation-card h4{

font-size:30px;

color:var(--gold);
}

/* COUNTDOWN */

#countdown{

padding:120px 8%;

background:white;
}

.countdown-wrapper{

display:flex;

justify-content:center;

gap:40px;

flex-wrap:wrap;
}

.circle{

width:180px;
height:180px;

border-radius:50%;

background:white;

border:5px solid var(--gold);

display:flex;

flex-direction:column;

justify-content:center;

align-items:center;

box-shadow:
0 10px 30px rgba(0,0,0,.1);
}

.circle span{

font-size:55px;

font-weight:bold;

color:var(--primary);
}

.circle p{

font-size:18px;

margin-top:10px;
}

/* COUPLE */

#couple{

padding:120px 8%;

background:var(--cream);
}

.couple-container{

display:grid;

grid-template-columns:
1fr 1fr;

gap:70px;

align-items:center;
}

.couple-image img{

width:100%;

border-radius:25px;

box-shadow:
0 15px 40px rgba(0,0,0,.15);
}

.couple-content h2{

font-size:60px;

color:var(--primary);

margin-bottom:30px;
}

.couple-content p{

font-size:22px;

line-height:42px;

color:#555;
}

.signature{

font-size:50px;

margin-top:30px;

color:var(--gold);
}

/* STORY */

#story{

padding:120px 8%;

background:white;

}

.story-container{

display:flex;

flex-direction:column;

gap:70px;

}

.story-card{

display:grid;

grid-template-columns:1fr 1fr;

gap:60px;

align-items:center;

}

.story-card.reverse{

direction:rtl;

}

.story-card.reverse .story-content{

direction:ltr;

}

.story-image img{

width:100%;

height:450px;

object-fit:cover;

border-radius:25px;

box-shadow:
0 20px 40px rgba(0,0,0,.12);

transition:.5s;

}

.story-image img:hover{

transform:scale(1.04);

}

.story-content span{

color:var(--gold);

font-size:20px;

font-weight:600;

}

.story-content h3{

font-size:42px;

margin:15px 0;

color:var(--primary);

}

.story-content p{

font-size:20px;

line-height:38px;

color:#555;

}

/* GALLERY */

#gallery{

padding:120px 8%;

background:var(--cream);

}

.gallery-grid{

display:grid;

grid-template-columns:
repeat(3,1fr);

grid-auto-rows:250px;

gap:20px;

}

.gallery-item{

overflow:hidden;

border-radius:20px;

position:relative;

}

.gallery-item img{

width:100%;
height:100%;

object-fit:cover;

transition:.5s;

}

.gallery-item:hover img{

transform:scale(1.1);
transform:scale(1.03);
box-shadow:0 15px 35px rgba(0,0,0,.2);

}
.timeline-card{
border-top:4px solid #FFD700;
}

.large{

grid-row:span 2;

}

.gallery-btn{

text-align:center;

margin-top:50px;

}

.gallery-btn a{

text-decoration:none;

background:var(--primary);

color:white;

padding:18px 40px;

border-radius:50px;

font-size:18px;

transition:.4s;

}

.gallery-btn a:hover{

background:var(--gold);

}

/* EVENTS */

#events{

padding:120px 8%;

background:white;

}

.events-grid{

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(280px,1fr));

gap:30px;

}

.event-card{

padding:40px;

background:white;

border-radius:25px;

text-align:center;

box-shadow:
0 15px 35px rgba(0,0,0,.08);

transition:.4s;
}

.event-card:hover{

transform:translateY(-10px);

}

.featured{

background:var(--primary);

color:white;

}

.event-icon{

font-size:50px;

margin-bottom:20px;

}

/* VENUE */

#venue{

padding:120px 8%;

background:var(--cream);

}

.venue-container{

display:grid;

grid-template-columns:1fr 1fr;

gap:60px;

align-items:center;

}

.venue-content h3{

font-size:45px;

color:var(--primary);

margin-bottom:20px;

}

.direction-btn{

display:inline-block;

margin-top:25px;

padding:15px 35px;

background:var(--gold);

color:white;

text-decoration:none;

border-radius:50px;

}

/* WISHES */

#wishes{

padding:120px 8%;

background:white;

}

.wish-form{

max-width:700px;

margin:auto;

display:flex;

flex-direction:column;

gap:20px;

}

.wish-form input,
.wish-form textarea{

padding:18px;

border:1px solid #ddd;

border-radius:15px;

font-size:16px;

}

.wish-form textarea{

height:150px;

resize:none;

}

.wish-form button{

padding:18px;

background:var(--primary);

color:white;

border:none;

border-radius:15px;

cursor:pointer;

}

#wishContainer{

margin-top:60px;

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(300px,1fr));

gap:20px;

}

.wish-card{

padding:25px;

background:var(--cream);

border-radius:20px;

box-shadow:
0 5px 15px rgba(0,0,0,.08);

}

/* FOOTER */

footer{

padding:80px 20px;

background:#1f1f1f;

text-align:center;

color:white;

}

.footer-logo{

font-size:50px;

margin-bottom:20px;

color:var(--gold);

}
@media(max-width:768px){

.hero-content h1{

font-size:60px;

}

.section-heading h2{

font-size:35px;

}

.story-card,
.couple-container,
.venue-container{

grid-template-columns:1fr;

}

.gallery-grid{

grid-template-columns:1fr;

}

.countdown-wrapper{

gap:20px;

}

.circle{

width:130px;
height:130px;

}

}

#lightbox{

position:fixed;

top:0;
left:0;

width:100%;
height:100%;

background:rgba(0,0,0,.95);

display:none;

justify-content:center;
align-items:center;

z-index:99999;

}

#lightboxImage{

max-width:90%;
max-height:90%;

border-radius:15px;

}

#closeLightbox{

position:absolute;

top:20px;
right:40px;

font-size:50px;

color:white;

cursor:pointer;

}
.sparkles{

position:fixed;

width:100%;
height:100%;

pointer-events:none;

z-index:2;

}

#topBtn{

position:fixed;

bottom:30px;
right:30px;

width:55px;
height:55px;

border:none;

border-radius:50%;

background:#b03060;

color:white;

font-size:22px;

cursor:pointer;

display:none;

z-index:999;
}

.sparkle{

position:absolute;

color:#d4af37;

animation:sparkleFloat linear infinite;

}

@keyframes sparkleFloat{

0%{

transform:
translateY(0px);

opacity:0;

}

50%{

opacity:1;

}

100%{

transform:
translateY(-150px);

opacity:0;

}

}
section{

overflow:hidden;

}

html{

scroll-behavior:smooth;

}

body{

background:
linear-gradient(
180deg,
#fff8f0,
#ffffff,
#fff8f0
);

}

.quote{

padding:100px 20px;

text-align:center;

font-size:40px;

font-family:'Great Vibes';

color:#b03060;

}

#invitationPopup{

position:fixed;

top:0;
left:0;

width:100%;
height:100%;

background:rgba(0,0,0,.75);

display:none;

justify-content:center;
align-items:center;

z-index:99999;

}

.popup-card{

width:650px;

max-width:90%;

background:white;

padding:60px;

border-radius:25px;

text-align:center;

box-shadow:
0 20px 60px rgba(0,0,0,.25);

border:3px solid #d4af37;

animation:popupShow .6s ease;

}

.popup-card h1{

font-size:50px;

color:#b03060;

font-family:'Playfair Display';

}

.popup-card h2{

color:#d4af37;

margin:20px 0;

}

.popup-card h3{

color:#b03060;

margin-bottom:20px;

}

.popup-heart{

font-size:35px;

margin:15px 0;

}

.close-popup{

position:absolute;

right:25px;

top:15px;

font-size:35px;

cursor:pointer;

}

#enterWebsite{

margin-top:25px;

padding:15px 35px;

border:none;

background:#d4af37;

color:white;

border-radius:50px;

cursor:pointer;

font-size:18px;

}

@keyframes popupShow{

from{
transform:scale(.8);
opacity:0;
}

to{
transform:scale(1);
opacity:1;
}

}
#invitationPopup{

display:none;

position:fixed;

top:0;
left:0;

width:100%;
height:100%;

background:rgba(0,0,0,.75);

justify-content:center;
align-items:center;

z-index:99999;

}

.popup-card{

background:white;

padding:50px;

border-radius:25px;

width:650px;

max-width:90%;

text-align:center;

position:relative;

border:3px solid #d4af37;

}

.close-popup{

position:absolute;

top:15px;

right:25px;

font-size:35px;

cursor:pointer;

}
.family-section{
    padding:80px 20px;
    text-align:center;
}

.family-title{
    font-size:3rem;
    color:#b33b6b;
    margin-bottom:60px;
    font-family:'Playfair Display',serif;
}

.family-container{
    display:flex;
    justify-content:center;
    align-items:stretch;
    gap:50px;
    flex-wrap:wrap;
}

.family-card{
    width:380px;
    background:#fff;
    border-radius:25px;
    padding:40px;
    text-align:center;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    border-left:6px solid #d4af37;
    transition:.4s;
}

.family-card:hover{
    transform:translateY(-10px);
}

.family-card h3{
    color:#b33b6b;
    font-size:2rem;
    margin-bottom:25px;
}

.family-card p{
    font-size:1.2rem;
    line-height:2.2;
    color:#444;
}

.story-quote{
    text-align:center;
    margin-bottom:60px;
}

.story-quote h3{
    font-size:2rem;
    color:#b4376d;
    font-family:'Great Vibes',cursive;
    font-weight:500;
    line-height:1.6;
}
/* LEFT SIDE (GROOM) */
.groom{
    border-left:6px solid #d4af37;
}

/* RIGHT SIDE (BRIDE) */
.bride{
    border-right:6px solid #d4af37;
}

/* HOVER EFFECT */
.family-box:hover{
    transform:translateY(-10px);
}

/* MOBILE RESPONSIVE */
@media(max-width:768px){
    .family-container{
        flex-direction:column;
    }
}
footer h2{
font-size:50px;
}
.divider{
text-align:center;
font-size:28px;
padding:40px 0;
color:#B30059;
}
.hearts-container{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    pointer-events:none;
    overflow:hidden;
    z-index:1;
}

.floating-heart{

    position:absolute;

    bottom:-50px;

    animation:floatHeart linear forwards;

    opacity:.8;

    user-select:none;
}

@keyframes floatHeart{

    0%{
        transform:
        translateY(0)
        translateX(0)
        scale(.8);

        opacity:0;
    }

    10%{
        opacity:.8;
    }

    100%{

        transform:
        translateY(-110vh)
        translateX(100px)
        scale(1.3);

        opacity:0;
    }

}
