/* General styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

a {
    text-decoration: none;
    color: #333;
}

h1, h2, h3 {
    margin: 0;
    padding: 10px 0;
}

p {
    margin: 0 0 20px;
    line-height: 1.6;
}

/* Header and Banner */
.banner {
    background: url('../images/kitchen_banner.png') no-repeat center center;
    background-size: cover;
    height: 500px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.banner-text {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
}

.banner-text h1 {
    font-size: 3rem;
    letter-spacing: 2px;
}

.banner-text p {
    font-size: 1.2rem;
}

/* Divider Section */
.divider {
    text-align: center;
    padding: 80px 0;
    background-color: #fff;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
}

.divider h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #222;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #ff6b6b;
    display: inline-block;
}

.divider::before {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #ff6b6b;
    margin: 0 auto 20px auto;
}

/* Recipe Books Section */
.recipe-books {
    padding: 50px 20px;
    background: url('../images/stainless-steel.jpg') no-repeat center center;
    background-size: cover;
    text-align: center;
}

.book-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.book-card {
    position: relative;
    width: 300px;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.book-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.book-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 20px;
    text-align: center;
}

.book-overlay h3 {
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
    font-size: 1rem;
}

footer p {
    margin: 0;
}

/* Responsive Design */

@media (max-width: 768px) {
    .banner {
        height: 300px;
    }

    .banner-text h1 {
        font-size: 2rem;
    }

    .banner-text p {
        font-size: 1rem;
    }

    .divider {
        padding: 40px 0; /* Reduced padding for less vertical space */
    }

    .divider h2 {
        font-size: 1.8rem;
        padding-bottom: 10px;
    }

    .book-cards {
        flex-direction: column;
        gap: 20px;
    }

    .book-card {
        width: 90%;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .banner {
        height: 250px;
    }

    .banner-text h1 {
        font-size: 1.6rem;
    }

    .banner-text p {
        font-size: 0.9rem;
    }

    .divider {
        padding: 30px 0;  /* Further reduce padding on mobile screens */
    }

    .divider h2 {
        font-size: 1.5rem; /* Slightly smaller font size */
        padding-bottom: 8px; /* Less padding below text */
    }

    .divider::before {
        width: 40px;  /* Reduce the width of the divider line */
    }

    .book-card {
        width: 100%;
        height: 250px;
    }

    .book-overlay h3 {
        font-size: 1.2rem;
    }
}
