/* Base Styles */
:root {
    --primary-color: #8BC34A;
    --primary-dark: #689F38;
    --primary-light: #DCEDC8;
    --text-color: #333;
    --secondary-color: #757575;
    --background-color: #F5F5F5;
    --white: #FFF;
    --black: #000;
    --border-radius: 4px;
    --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-dark);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    font-weight: 600;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

/* Header & Navigation */
header {
    background-color: var(--text-color);
    color: var(--white);
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: flex-start;
    padding: 0 20px;
}

.nav-link {
    color: var(--white);
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 30px 0;
    background-color: var(--white);
}

.hero-banner {
    background-color: var(--black);
    color: var(--white);
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
    border-radius: var(--border-radius);
}

.hero-content {
    text-align: center;
    margin-bottom: 30px;
}

.hero-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.hero-image {
    margin: 30px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    justify-content: center;
}

/* Featured Book Section */
.featured-book {
    background-color: var(--white);
    padding: 40px 0;
}

.featured-book .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.book-cover {
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
    max-width: 300px;
}

.book-details {
    text-align: center;
}

.book-details h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 20px 0;
}

/* Catalogue Section */
.catalogue {
    padding: 40px 0;
    background-color: var(--white);
}

.catalogue h2 {
    color: var(--primary-color);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.catalogue > .container > p {
    text-align: center;
    margin-bottom: 40px;
}

.book-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    padding: 20px;
    border: 1px solid #E0E0E0;
    border-radius: var(--border-radius);
}

.book-info h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin: 15px 0;
}

/* Recommendations */
.recommendations {
    margin-top: 60px;
}

.recommendations h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

.recommendations > p {
    text-align: center;
    margin-bottom: 40px;
}

.rec-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.rec-item {
    text-align: center;
    padding: 20px;
    border: 1px solid #E0E0E0;
    border-radius: var(--border-radius);
}

.rec-cover {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.rec-cover img {
    max-height: 100%;
    object-fit: contain;
}

.rec-item h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Shipping Section */
.shipping {
    padding: 40px 0;
    background-color: var(--white);
}

.shipping .container {
    display: flex;
    flex-direction: column;
}

.shipping-image {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    max-width: 400px;
    align-self: center;
}

.shipping-info h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials {
    padding: 40px 0;
    background-color: var(--white);
}

.testimonials h2 {
    color: var(--primary-color);
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.testimonial {
    padding: 20px;
    border: 1px solid #E0E0E0;
    border-radius: var(--border-radius);
}

.testimonial h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Newsletter Section */
.newsletter {
    padding: 40px 0;
    background-color: var(--white);
    text-align: center;
}

.newsletter h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.newsletter p {
    margin-bottom: 30px;
}

form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 15px;
}

input[type="email"],
input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E0E0E0;
    border-radius: var(--border-radius);
    font-family: 'Nunito Sans', sans-serif;
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.footer-info {
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 5px;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--white);
    margin: 0 10px;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #BDBDBD;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--primary-light);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    z-index: 1000;
    display: none;
}

.cookie-popup.show {
    display: block;
}

.cookie-content h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.btn-cookie {
    padding: 10px 15px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600;
}

#cookieSettings {
    background-color: var(--primary-color);
    color: var(--white);
}

#acceptCookies {
    background-color: var(--white);
    color: var(--text-color);
}

/* Media Queries */
@media screen and (min-width: 768px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }

    .featured-book .container {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
    }

    .book-cover {
        flex: 0 0 300px;
    }

    .book-details {
        flex: 1;
        text-align: left;
    }

    .book-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 30px;
    }

    .book-item .book-cover {
        flex: 0 0 200px;
        margin-bottom: 0;
    }

    .book-info {
        flex: 1;
    }

    .rec-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shipping .container {
        flex-direction: row;
        gap: 40px;
    }

    .shipping-image {
        flex: 0 0 300px;
        margin-bottom: 0;
    }

    .shipping-info {
        flex: 1;
    }

    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cookie-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

@media screen and (min-width: 1024px) {
    .rec-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

html {
    scroll-behavior: smooth;
}

.hero-banner h1 {
    margin-bottom: 0px;
}

.thank-section {
    text-align: center;
    padding: 200px 0px;
}