body{
    margin:0;
    font-family:Arial;
    background:#f4f4f4;
}

header{
    background:#2c3e50;
    color:white;
    padding:20px;
    text-align:center;
}

nav a{
    color:white;
    text-decoration:none;
    margin:10px;
    font-weight:bold;
}

.hero{
    padding:50px;
    text-align:center;
}

.hero h2{
    color:#2c3e50;
}
.container{
    padding:40px;
    text-align:center;
}

.cards{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
}

.card{
    background:white;
    width:250px;
    padding:20px;
    border-radius:15px;
    cursor:pointer;
    box-shadow:0 4px 8px rgba(0,0,0,0.2);
    transition:0.3s;
}

.card:hover{
    transform:scale(1.05);
}

.popup{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.7);
    justify-content:center;
    align-items:center;
}

.popup-content{
    background:white;
    padding:30px;
    border-radius:15px;
    width:400px;
    text-align:center;
}

.close{
    float:right;
    cursor:pointer;
    font-size:25px;
}
.book-grid{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:25px;
    margin-top:30px;
}

.book-card{
    background:white;
    width:280px;
    padding:15px;
    border-radius:15px;
    box-shadow:0 0 10px rgba(0,0,0,0.1);
    transition:0.3s;
}

.book-card:hover{
    transform:translateY(-5px);
}

.book-card img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:10px;
}

.book-card h3{
    margin-top:15px;
    color:#2c3e50;
}

.book-card p{
    color:#555;
}

.btn{
    display:inline-block;
    margin-top:10px;
    background:#2c3e50;
    color:white;
    padding:10px 15px;
    border-radius:8px;
    text-decoration:none;
}

.btn:hover{
    background:#34495e;
}