/* ===== GLOBAL ===== */

*{
box-sizing:border-box;
}

body{
margin:0;
overflow-x:hidden;
font-family:"Poppins",sans-serif;
background:#fff5fa;
color:#e0568f;
display:flex;
flex-direction:column;
min-height:100vh;
}


/* ===== NAVBAR ===== */

.navbar{
position:sticky;
top:0;
width:100%;
background:#fff7fb;
box-shadow:0 2px 8px rgba(77,49,49,0.05);
z-index:999;
}

.nav-container{
max-width:1390px;
margin:auto;
padding:10px 20px;
display:flex;
justify-content:space-between;
align-items:center;
}

.nav-left{
display:flex;
align-items:center;
gap:10px;
}

.logo-img{
width:65px;
}

.brand-text{
font-size:22px;
font-weight:600;
color:#e0568f;
white-space:nowrap;
}

.nav-links{
display:flex;
align-items:center;
gap:20px;
}

.nav-links a{
text-decoration:none;
font-size:16px;
font-weight:600;
color:#e0568f;
transition:0.3s;
}

.nav-links a:hover{
color:#ff7fbf;
}


/* ===== MENU TOGGLE ===== */

.menu-toggle{
display:none;
font-size:18px;
cursor:pointer;
font-weight:600;
gap:8px;
padding:6px 12px;
background:#ffe3ef;
color:#e0568f;
border-radius:20px;
}


/* ===== RESPONSIVE NAVBAR ===== */

@media (max-width:768px){

.logo-img{
width:50px;
}

.brand-text{
font-size:15px;
}

.menu-toggle{
display:flex;
}

.nav-links{
position:absolute;
top:60px;
right:20px;
flex-direction:column;
background:#fff7fb;
width:100%;
max-width:220px;
padding:10px;
gap:10px;
display:none;
box-shadow:0 8px 24px rgba(0,0,0,0.08);
}

.nav-links.active{
display:flex;
}

.nav-links a{
font-size:14px;
}

}


/* ===== HERO ===== */

.hero{
text-align:center;
padding:70px 20px 40px;
background:linear-gradient(
rgba(255,157,206,0.3),
rgba(255,255,255,0.9)
);
}

.hero h1{
font-size:48px;
font-weight:800;
color:#e0568f;
margin:10px 0 15px;
line-height:1.2;
}


/* ===== GALLERY ===== */

.gallery{
padding:40px 24px;
display:grid;
grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
gap:22px;
}

.post{
background:white;
border-radius:16px;
overflow:hidden;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
position:relative;
transition:0.3s;
}

.post:hover{
transform:translateY(-4px);
}

.post img{
width:100%;
height:260px;
object-fit:cover;
display:block;
transition:0.3s;
}

.post img:hover{
transform:scale(1.05);
}


/* ===== LIKE BUTTON ===== */

.like-btn{
position:absolute;
bottom:12px;
left:12px;
background:white;
padding:6px 12px;
border-radius:20px;
cursor:pointer;
font-size:14px;
box-shadow:0 4px 10px rgba(0,0,0,0.2);
transition:0.2s;
}

.like-btn.liked{
color:red;
transform:scale(1.2);
}


/* ===== HEART FLOAT ===== */

.heart-float{
position:absolute;
color:red;
font-size:22px;
animation:floatUp 0.8s ease forwards;
}

@keyframes floatUp{

0%{
opacity:1;
transform:translateY(0);
}

100%{
opacity:0;
transform:translateY(-40px);
}

}


/* ===== MODAL ===== */

.modal{
display:none;
position:fixed;
z-index:9999;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
justify-content:center;
align-items:center;
}

.modal img{
max-width:90%;
max-height:90%;
border-radius:10px;
animation:zoomIn 0.3s ease;
}

#closeModal{
position:absolute;
top:30px;
right:40px;
font-size:40px;
color:white;
cursor:pointer;
}

@keyframes zoomIn{

from{
transform:scale(0.8);
opacity:0;
}

to{
transform:scale(1);
opacity:1;
}

}


/* ===== FOOTER ===== */

footer{
margin-top:auto;
background:#fff7fb;
padding:12px;
text-align:center;
}

footer p{
font-size:14px;
color:#ff5fa2;
margin:0;
}