/* =====================================
   BOOKS HERO
===================================== */

.books-hero{

    min-height:70vh;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    color:#fff;

    background:
        linear-gradient(rgba(8,17,31,.80),rgba(8,17,31,.80)),
        url("../images/backgrounds/books-hero.jpg");

    background-size:cover;
    background-position:center;

    padding:120px 8%;
}

.books-hero-content{

    max-width:850px;
}

.books-hero h1{

    font-size:72px;

    font-family:'Playfair Display',serif;

    margin:25px 0;
}

.books-hero p{

    font-size:20px;

    line-height:1.9;

    color:#ddd;

    margin-bottom:45px;
}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;
}

/* =====================================
   LATEST RELEASE
===================================== */

.latest-release{

    padding:120px 8%;

    background:#f8f6f2;
}

.release-grid{

    display:grid;

    grid-template-columns:420px 1fr;

    gap:80px;

    align-items:center;
}

.release-book{

    position:relative;
}

.release-book img{

    width:100%;

    border-radius:18px;

    box-shadow:0 35px 70px rgba(0,0,0,.18);

    transition:.4s;
}

.release-book img:hover{

    transform:translateY(-10px);
}

.book-badge{

    position:absolute;

    top:20px;

    left:-20px;

    background:#D4AF37;

    color:#fff;

    padding:12px 24px;

    border-radius:40px;

    font-weight:600;

    letter-spacing:1px;
}

.release-content h2{

    font-size:58px;

    font-family:'Playfair Display',serif;

    color:#0D1B2A;

    margin:20px 0;
}

.release-rating{

    color:#D4AF37;

    font-size:22px;

    margin-bottom:25px;
}

.release-rating span{

    color:#666;

    font-size:16px;

    margin-left:10px;
}

.release-content p{

    font-size:18px;

    line-height:1.9;

    color:#555;

    margin-bottom:40px;
}

.release-buttons{

    display:flex;

    gap:18px;

    flex-wrap:wrap;
}

@media(max-width:900px){

.release-grid{

    grid-template-columns:1fr;

    text-align:center;
}

.book-badge{

    left:50%;

    transform:translateX(-50%);
}

.release-buttons{

    justify-content:center;
}

}

/* =====================================
   BOOKS CATALOG
===================================== */

.books-catalog{

    padding:120px 8%;

    background:#ffffff;
}

.book-filter{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:15px;

    margin:50px 0 70px;
}

.book-filter button{

    padding:12px 28px;

    border:none;

    border-radius:40px;

    background:#eeeeee;

    cursor:pointer;

    font-weight:600;

    transition:.3s;
}

.book-filter button:hover,
.book-filter .active{

    background:#D4AF37;

    color:#fff;
}

.books-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:40px;
}

.book-card{

    background:#fff;

    border-radius:20px;

    padding:25px;

    text-align:center;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transition:.35s;
}

.book-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 60px rgba(0,0,0,.15);
}

.book-card img{

    width:100%;

    border-radius:15px;

    margin-bottom:20px;
}

.book-card h3{

    font-family:'Playfair Display',serif;

    color:#0D1B2A;

    margin-bottom:10px;
}

.book-card p{

    color:#666;

    margin-bottom:15px;
}

.stars{

    color:#D4AF37;

    margin-bottom:25px;
}

.book-buttons{

    display:flex;

    justify-content:center;

    gap:12px;

    flex-wrap:wrap;
}

/* =====================================
   COMING SOON
===================================== */

.coming-soon{

    padding:120px 8%;

    background:#f8f6f2;
}

.coming-grid{

    display:grid;

    grid-template-columns:1fr 420px;

    gap:80px;

    align-items:center;
}

.coming-content h2{

    font-family:'Playfair Display',serif;

    font-size:56px;

    color:#0D1B2A;

    margin:20px 0;
}

.coming-content p{

    font-size:18px;

    line-height:1.9;

    color:#555;

    margin-bottom:30px;
}

.coming-features{

    list-style:none;

    padding:0;

    margin:0 0 40px;
}

.coming-features li{

    margin-bottom:15px;

    font-size:17px;

    color:#333;
}

.coming-book{

    position:relative;

    text-align:center;
}

.coming-book img{

    width:100%;

    border-radius:20px;

    box-shadow:0 35px 70px rgba(0,0,0,.18);

    transition:.4s;
}

.coming-book img:hover{

    transform:translateY(-10px);
}

.coming-badge{

    position:absolute;

    top:20px;

    right:-20px;

    background:#D4AF37;

    color:#fff;

    padding:12px 22px;

    border-radius:40px;

    font-weight:600;
}

@media(max-width:900px){

.coming-grid{

    grid-template-columns:1fr;

    text-align:center;
}

.coming-badge{

    right:50%;

    transform:translateX(50%);
}

}

/* =====================================
   BOOK CATEGORIES
===================================== */

.book-categories{

    padding:120px 8%;

    background:#ffffff;
}

.categories-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:30px;

    margin-top:70px;
}

.category-card{

    background:#fff;

    border-radius:20px;

    padding:45px 30px;

    text-align:center;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transition:.35s;

    cursor:pointer;

    border:2px solid transparent;
}

.category-card:hover{

    transform:translateY(-12px);

    border-color:#D4AF37;

    box-shadow:0 25px 60px rgba(0,0,0,.15);
}

.category-icon{

    font-size:55px;

    margin-bottom:25px;
}

.category-card h3{

    font-family:'Playfair Display',serif;

    font-size:28px;

    color:#0D1B2A;

    margin-bottom:10px;
}

.category-card p{

    color:#777;

    font-size:16px;
}

/* Book pages navbar */

.book-hero + * {
    position: relative;
}

.navbar{
    background:#0D1B2A;
}

.book-cover{
    width:420px;
    height:520px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.book-cover img{
    width:100%;
    height:100%;
    object-fit:contain;
    filter:drop-shadow(0 20px 35px rgba(0,0,0,.25));
}

.book-card img {
    width: 220px;
    height: 330px;
    object-fit: contain;
}

.featured-book img {
    width: 320px;
    height: 480px;
    object-fit: contain;
}