/* ===========================
   Happy Birthday Nidhi
   Part 1 - Main Styles
=========================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
scroll-behavior:smooth;
}

body{

font-family:'Poppins',sans-serif;

background:linear-gradient(135deg,#ffe4ef,#fff7f9,#fff2c6);

color:#444;

overflow-x:hidden;

}

/* HERO */

.hero{

height:100vh;

background:url("images/IMG_20260527_170343.jpg") center center/cover no-repeat;

display:flex;

justify-content:center;

align-items:center;

position:relative;

}

.hero::before{

content:"";

position:absolute;

top:0;

left:0;

width:100%;

height:100%;

background:rgba(0,0,0,.45);

}

.overlay{

position:relative;

z-index:2;

text-align:center;

color:white;

padding:20px;

}

.overlay h3{

font-family:'Great Vibes',cursive;

font-size:55px;

color:#ffd700;

margin-bottom:15px;

}

.overlay h1{

font-size:90px;

letter-spacing:5px;

text-shadow:3px 3px 10px black;

}

.overlay h2{

font-size:45px;

margin:20px 0;

}

.date{

font-size:25px;

margin-bottom:30px;

}

.btn{

background:#ff4fa3;

padding:18px 45px;

color:white;

text-decoration:none;

font-size:20px;

border-radius:50px;

transition:.4s;

font-weight:bold;

}

.btn:hover{

background:#ff0077;

transform:scale(1.08);

}

/* SECTION */

.section{

padding:80px 10%;

text-align:center;

}

.section h2{

font-size:45px;

margin-bottom:45px;

color:#ff1493;

}

/* COUNTDOWN */

.timer{

display:flex;

justify-content:center;

gap:25px;

flex-wrap:wrap;

}

.timer div{

width:130px;

background:white;

padding:30px;

border-radius:20px;

box-shadow:0 10px 25px rgba(0,0,0,.15);

transition:.4s;

}

.timer div:hover{

transform:translateY(-10px);

}

.timer span{

font-size:45px;

font-weight:bold;

color:#ff1493;

display:block;

}

.timer p{

margin-top:10px;

font-size:18px;

}

/* HERO PHOTO */

.heroPhoto{

width:320px;

height:320px;

border-radius:50%;

object-fit:cover;

border:10px solid white;

box-shadow:0 0 30px hotpink;

margin:35px auto;

display:block;

transition:.4s;

}

.heroPhoto:hover{

transform:scale(1.05);

}

/* MESSAGE */

.message{

max-width:900px;

margin:auto;

font-size:22px;

line-height:45px;

color:#555;

}

/* EVENT CARDS */

.event{

background:white;

}

.info{

background:#fff;

padding:25px;

margin:20px auto;

border-radius:20px;

max-width:700px;

box-shadow:0 10px 25px rgba(0,0,0,.15);

transition:.4s;

}

.info:hover{

transform:translateY(-8px);

}

.info h3{

color:#ff1493;

margin-bottom:10px;

}

/* FOOTER */

footer{

background:#ff1493;

color:white;

padding:50px;

text-align:center;

}

footer h2{

font-size:40px;

margin-bottom:20px;

}

footer p{

font-size:20px;

margin:8px;

}/* ===========================
   Part 2 - Timeline & Gallery
=========================== */

/* Timeline */

.timeline{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

gap:30px;

margin-top:40px;

}

.card{

background:rgba(255,255,255,.75);

backdrop-filter:blur(10px);

border-radius:20px;

overflow:hidden;

box-shadow:0 15px 35px rgba(0,0,0,.15);

transition:.5s;

padding-bottom:20px;

}

.card:hover{

transform:translateY(-15px) scale(1.03);

box-shadow:0 20px 45px rgba(255,20,147,.35);

}

.card img{

width:100%;

height:320px;

object-fit:cover;

transition:.5s;

}

.card:hover img{

transform:scale(1.08);

}

.card h3{

margin-top:20px;

font-size:24px;

color:#ff1493;

}

/* Gallery */

.gallery{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:25px;

margin-top:40px;

}

.gallery img{

width:100%;

height:320px;

object-fit:cover;

border-radius:20px;

cursor:pointer;

transition:.5s;

box-shadow:0 12px 30px rgba(0,0,0,.18);

}

.gallery img:hover{

transform:scale(1.06) rotate(1deg);

box-shadow:0 20px 45px rgba(255,20,147,.35);

}

/* Quotes */

blockquote{

background:white;

max-width:900px;

margin:30px auto;

padding:35px;

border-left:8px solid hotpink;

font-size:24px;

font-style:italic;

border-radius:15px;

box-shadow:0 12px 30px rgba(0,0,0,.15);

}

/* Floating animation */

@keyframes floating{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-12px);

}

100%{

transform:translateY(0);

}

}

.heroPhoto{

animation:floating 4s ease-in-out infinite;

}

/* Fade animation */

@keyframes fadeUp{

from{

opacity:0;

transform:translateY(40px);

}

to{

opacity:1;

transform:translateY(0);

}

}

.section{

animation:fadeUp 1.2s ease;

}

/* Scrollbar */

::-webkit-scrollbar{

width:12px;

}

::-webkit-scrollbar-thumb{

background:#ff4fa3;

border-radius:20px;

}

::-webkit-scrollbar-track{

background:#ffe8f2;

}/* ===================================
   PART 3 - FINAL CSS
===================================*/

/* Background Decorations */
body::before{
content:"🎈 🎂 🎉 💖 ✨";
position:fixed;
top:0;
left:0;
width:100%;
font-size:35px;
opacity:.06;
letter-spacing:40px;
pointer-events:none;
animation:moveBg 30s linear infinite;
}

@keyframes moveBg{
0%{
transform:translateY(0);
}
100%{
transform:translateY(-1200px);
}
}

/* Section Hover */

.section{
transition:.5s;
}

.section:hover{
transform:scale(1.01);
}

/* Beautiful Heading */

.section h2{
position:relative;
display:inline-block;
padding-bottom:15px;
}

.section h2::after{

content:"";

position:absolute;

left:50%;

bottom:0;

transform:translateX(-50%);

width:120px;

height:5px;

background:#ff4fa3;

border-radius:20px;

}

/* Images */

img{

user-select:none;

-webkit-user-drag:none;

}

/* Button Animation */

.btn{

animation:pulse 2s infinite;

}

@keyframes pulse{

0%{

box-shadow:0 0 0 0 rgba(255,20,147,.5);

}

70%{

box-shadow:0 0 0 18px rgba(255,20,147,0);

}

100%{

box-shadow:0 0 0 0 rgba(255,20,147,0);

}

}

/* Footer */

footer{

background:linear-gradient(135deg,#ff1493,#ff69b4);

}

footer p{

letter-spacing:1px;

}

/* Responsive */

@media(max-width:992px){

.overlay h1{

font-size:60px;

}

.overlay h2{

font-size:30px;

}

.section h2{

font-size:34px;

}

.heroPhoto{

width:250px;

height:250px;

}

.message{

font-size:19px;

line-height:35px;

}

}

@media(max-width:768px){

.overlay h1{

font-size:45px;

}

.overlay h2{

font-size:24px;

}

.overlay h3{

font-size:40px;

}

.timer{

gap:15px;

}

.timer div{

width:100px;

padding:20px;

}

.timer span{

font-size:32px;

}

.hero{

height:85vh;

}

.heroPhoto{

width:220px;

height:220px;

}

.gallery{

grid-template-columns:1fr;

}

.timeline{

grid-template-columns:1fr;

}

}

@media(max-width:480px){

.overlay h1{

font-size:35px;

}

.overlay h2{

font-size:20px;

}

.overlay h3{

font-size:32px;

}

.btn{

padding:14px 28px;

font-size:16px;

}

.section{

padding:60px 20px;

}

.message{

font-size:17px;

line-height:30px;

}

footer h2{

font-size:28px;

}

}