body{
margin:0;
font-family:Inter;
background:#e8e1d3;
color:#2b2b2b;
}

html{
scroll-behavior:smooth;
}

h2{
font-family:"Playfair Display";
font-size:32px;
margin-bottom:30px;
text-align:center;
}



/* NAV */

.nav{
display:flex;
justify-content:space-between;
align-items:center;
padding:25px 80px;
background:#e8e1d3;
position:sticky;
top:0;
z-index:100;
border-bottom:1px solid rgba(0,0,0,.05);
}

.logo{
font-family:"Playfair Display";
font-size:18px;
}

.nav-center a{
margin:0 18px;
text-decoration:none;
color:#444;
font-size:14px;
position:relative;
}

.nav-center a:after{
content:"";
position:absolute;
bottom:-6px;
left:0;
width:0;
height:1px;
background:#000;
transition:.3s;
}

.nav-center a:hover:after{
width:100%;
}



/* HERO */

.hero{
text-align:center;
padding:140px 20px;
background:#e3dccd;
}

.hero h1{
font-family:"Playfair Display";
font-size:56px;
}

.hero p{
margin:15px auto;
max-width:520px;
color:#666;
}

.btn{
background:#8b7a5c;
color:white;
padding:12px 25px;
display:inline-block;
margin-top:15px;
text-decoration:none;
}



/* BOOKS */

.featured{
padding:80px;
}

.featured-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:40px;
}

.book{
cursor:pointer;
transition:.3s;
}

.book img{
width:100%;
height:360px;
object-fit:cover;
box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.book:hover{
transform:translateY(-6px);
}

.book h4{
margin-top:12px;
}



/* NAZMS */

.nazms{
padding:120px 80px;
}

.nazm-list{
display:grid;
grid-template-columns:1fr 1fr;
gap:12px;
margin-bottom:50px;
}

.nazm{
background:white;
padding:20px 24px;
cursor:pointer;
font-family:"Playfair Display";
border:1px solid rgba(0,0,0,.05);
}

.nazm-reader{
max-height:0;
overflow:hidden;
transition:.4s;
opacity:0;
background:#f6f1e6;
}

.nazm-reader.open{
max-height:2000px;
opacity:1;
padding:80px 20px;
}

.nazm-text{
max-width:520px;
margin:0 auto;
white-space:pre-line;
line-height:2.6;
font-size:22px;
direction:rtl;
text-align:right;
}



/* SHORT STORY */

.short-story{
padding:120px 20px;
}

.story-single{
max-width:680px;
margin:40px auto;
background:white;
padding:70px 60px;
box-shadow:0 20px 40px rgba(0,0,0,.05);
}

.story-content{
white-space:pre-line;
line-height:2;
}



/* LATEST */

.latest{
padding:100px 80px;
}

.latest-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:40px;
}



/* ABOUT */

.about{
padding:80px;
}

.about-grid{
display:grid;
grid-template-columns:250px 1fr;
gap:40px;
}

.about img{
width:100%;
}



/* PROFILE */

.author-profile{
padding:80px;
background:#efe7d8;
}

.profile-grid{
display:grid;
grid-template-columns:300px 1fr;
gap:40px;
}



/* BOOK MODAL */

.book-modal{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.6);
display:flex;
align-items:center;
justify-content:center;
opacity:0;
pointer-events:none;
transition:.3s;
}

.book-modal.show{
opacity:1;
pointer-events:auto;
}

.book-card{
background:white;
padding:40px;
width:420px;
text-align:center;
position:relative;
}

.book-card img{
width:180px;
}

.close-book{
position:absolute;
top:10px;
right:15px;
cursor:pointer;
}

.buy-btn{
display:inline-block;
margin-top:15px;
background:#8b7a5c;
color:white;
padding:10px 20px;
text-decoration:none;
}