*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Poppins',sans-serif;
background:linear-gradient(to right,#020617,#00114d,#020617);
color:white;
}

a{
text-decoration:none;
color:white;
}

/* HEADER */

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:25px 8%;
background:#111827;
border-bottom:1px solid #1f2937;
}

.logo{
font-size:28px;
font-weight:700;
color:#f59e0b;
}

nav{
display:flex;
gap:30px;
}

nav a{
font-weight:500;
transition:.3s;
}

nav a:hover

/* HERO */

.hero{
min-height:70vh;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
padding:40px;
}

.hero-content{
width:100%;
max-width:1200px;
margin:auto;
text-align:center;
}

.hero-content h1{
font-size:60px;
margin-bottom:20px;
}

.hero-content p{
font-size:20px;
color:#cbd5e1;
margin-bottom:25px;
}

#searchInput{
width:100%;
max-width:600px;
padding:15px;
border:none;
border-radius:12px;
font-size:16px;
}

/* KATEGORİLER */

.categories{
padding:80px 8%;
}

.categories h2{
text-align:center;
margin-bottom:40px;
font-size:40px;
}

.category-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.category-card{
background:#1e293b;
padding:30px;
border-radius:15px;
transition:.3s;
}

.category-card:hover{
transform:translateY(-8px);
background:#334155;
}

.category-card h3{
margin-bottom:10px;
}

.category-card p{
color:#cbd5e1;
}

/* KİTAPLAR */

.popular-books{
padding:80px 8%;
}

.popular-books h2{
text-align:center;
margin-bottom:50px;
font-size:55px;
}

.book-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:30px;
}

.book-card{
background:#1e293b;
border-radius:20px;
overflow:hidden;
text-align:center;
padding:20px;
transition:.3s;
}

.book-card:hover{
transform:translateY(-10px);
background:#334155;
}

.book-cover{
width:100%;
height:320px;
overflow:hidden;
border-radius:15px;
margin-bottom:15px;
}

.book-cover img{
width:100%;
height:100%;
object-fit:cover;
display:block;
}

.book-card h3{
font-size:24px;
margin-bottom:10px;
}

.book-card p{
color:#cbd5e1;
margin-bottom:10px;
}

.price{
color:#f59e0b;
font-size:22px;
font-weight:bold;
}

/* BUTON */

.cart-btn{
width:100%;
margin-top:15px;
padding:12px;
border:none;
border-radius:10px;
background:#f59e0b;
color:white;
font-weight:600;
cursor:pointer;
transition:.3s;
}

.cart-btn:hover{
opacity:.9;
}

/* LOGIN */

.login-page{
min-height:100vh;
display:flex;
justify-content:center;
align-items:center;
padding:40px;
}

.login-box{
width:100%;
max-width:500px;
background:#1e293b;
padding:40px;
border-radius:20px;
text-align:center;
}

.login-box input{
width:100%;
padding:15px;
margin-bottom:15px;
border:none;
border-radius:10px;
}

/* SEPET */

.cart-container{
max-width:900px;
margin:auto;
padding:60px 20px;
}

.cart-container h1{
text-align:center;
margin-bottom:40px;
}

.cart-item{
background:#1e293b;
padding:20px;
border-radius:15px;
margin-bottom:15px;
display:flex;
justify-content:space-between;
align-items:center;
}

.remove-btn{
background:#ef4444;
color:white;
border:none;
padding:10px 15px;
border-radius:8px;
cursor:pointer;
}

.order-btn{
width:100%;
margin-top:25px;
padding:15px;
border:none;
border-radius:10px;
background:#22c55e;
color:white;
font-size:18px;
cursor:pointer;
}

.cart-total{
margin-top:25px;
font-size:28px;
font-weight:bold;
text-align:right;
}

/* BİLDİRİM */

.notification{
position:fixed;
top:20px;
right:20px;
background:#22c55e;
color:white;
padding:15px 20px;
border-radius:10px;
z-index:9999;
}


/* FOOTER */

footer{
margin-top:80px;
background:#111827;
text-align:center;
padding:40px;
border-top:1px solid #1f2937;
}

footer h3{
color:#f59e0b;
margin-bottom:15px;
}

footer p{
margin:8px 0;
}
/* SİPARİŞLERİM */

#orders{
    max-width:900px;
    margin:auto;
}

.order-card{
    background:#1e293b;
    padding:25px;
    border-radius:20px;
    margin-bottom:25px;
    box-shadow:0 0 20px rgba(0,0,0,.25);
    transition:.3s;
}

.order-card:hover{
    transform:translateY(-5px);
}

.order-header h3{
    color:#f8fafc;
    margin-bottom:15px;
}

.order-price{
    font-size:20px;
    margin-bottom:20px;
}

.order-price span{
    color:#f59e0b;
    font-weight:bold;
}

.order-books h4{
    margin-bottom:12px;
    color:#f59e0b;
}

.order-books ul{
    list-style:none;
    padding:0;
}

.order-books li{
    background:#334155;
    margin-bottom:10px;
    padding:12px;
    border-radius:10px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}
/* profilim böçlümü */
.profile-box{

max-width:600px;
margin:80px auto;
background:#1e293b;
padding:40px;
border-radius:20px;
text-align:center;

}

.profile-box h1{

margin-bottom:25px;

}

.profile-box p{

font-size:20px;
margin:15px 0;

}

#logoutBtn{

margin-top:25px;
padding:15px 30px;
border:none;
border-radius:12px;
background:#ef4444;
color:white;
font-size:16px;
cursor:pointer;

}
/* MOBİL */

@media(max-width:768px){

header{
    flex-direction:column;
    gap:20px;
}

nav{
    flex-wrap:wrap;
    justify-content:center;
}

.hero-content h1{
    font-size:40px;
}

.popular-books h2,
.categories h2{
    font-size:35px;
}



}
