@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Lora&display=swap');


* {
    box-sizing: border-box;
}


body {
    margin: 0;
    background: #f7f0df;
    color: #332719;
    font-family: Lora, serif;
    line-height: 1.8;
}



.hero {
    min-height: 100vh;
    background: linear-gradient( rgba(0,0,0,.35), rgba(0,0,0,.55) ), url("images/hero-background.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}



.overlay {
    max-width: 850px;
    padding: 40px;
}



.hero h1 {
    font-family: Cinzel, serif;
    font-size: 5rem;
    margin: 0;
}



.hero h2 {
    font-size: 2rem;
    color: #e8c36a;
}



.hero p {
    font-size: 1.3rem;
}



.button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: #b8862c;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
}



    .button:hover {
        background: #d19b35;
    }




section {
    max-width: 1100px;
    margin: auto;
    padding: 80px 25px;
}



h2 {
    font-family: Cinzel,serif;
    text-align: center;
    font-size: 2.5rem;
}



.book {
    display: flex;
    gap: 60px;
    align-items: center;
}



    .book img {
        width: 320px;
        border-radius: 10px;
        box-shadow: 0 20px 40px rgba(0,0,0,.3);
    }



.book-text {
    flex: 1;
}



.author {
    background: white;
    max-width: none;
    padding-left: 20%;
    padding-right: 20%;
}




.cards {
    display: flex;
    gap: 30px;
    justify-content: center;
}



.card {
    background: white;
    padding: 20px;
    width: 300px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}



    .card img {
        width: 100%;
        border-radius: 10px;
    }



.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}



    .gallery-grid img {
        width: 100%;
        border-radius: 10px;
    }



footer {
    background: #21160d;
    color: white;
    text-align: center;
    padding: 30px;
}

/* Navigation Bar */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 50px;
    background: rgba(25,18,10,0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(232,195,106,.3);
}



.logo {
    font-family: Cinzel, serif;
    color: #e8c36a;
    font-size: 1.5rem;
    font-weight: bold;
}



.nav-links {
    display: flex;
    gap: 35px;
}



    .nav-links a {
        color: white;
        text-decoration: none;
        font-size: 1.1rem;
        transition: .3s;
    }



        .nav-links a:hover {
            color: #e8c36a;
        }



/* Mobile menu */

@media(max-width:800px) {


    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }


    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
}


@media(max-width:800px) {


    .book {
        flex-direction: column;
    }


    .cards {
        flex-direction: column;
        align-items: center;
    }


    .hero h1 {
        font-size: 3rem;
    }


    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
