/* Global Styles */
:root {
    --primary-color: #4ecce6;
    --primary-dark: #35a8c1;
    --text-color: #333;
    --light-gray: #f4f4f4;
    --orange: #f18b45;
    --red: #b5553d;
    --blue: #3a7ca5;
    --white: #ffffff;
    --black: #000000;
}

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

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

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

h1, h2, h3 {
    margin-bottom: 20px;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    text-align: center;
    font-weight: 600;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.3rem;
    font-weight: 500;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

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

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

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Header */
header {
    background-color: var(--light-gray);
    padding: 15px 0;
}

.home-link {
    color: var(--primary-color);
    font-weight: 600;
    margin-left: 20px;
}

/* Logo Section */
.logo-section {
    padding: 20px 0;
    border-bottom: 1px solid var(--light-gray);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo img {
    width: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

/* Hero Section */
.hero {
    padding: 60px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
}

.hero-text {
    flex: 1;
}

.highlight {
    color: var(--primary-color);
}

.cta-text {
    margin: 30px 0 20px;
    font-weight: 600;
}

/* New Releases Section */
.new-releases {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.promo-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-weight: 600;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.book-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.book-image {
    height: 200px;
    overflow: hidden;
}

.book-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.book-info {
    padding: 20px;
}

/* Thematic Catalog Section */
.thematic-catalog {
    padding: 60px 0;
}

.catalog-item {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    gap: 40px;
}

.catalog-image {
    flex: 1;
    position: relative;
    min-height: 300px;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orange-bg {
    background-color: var(--orange);
}

.red-bg {
    background-color: var(--red);
}

.blue-bg {
    background-color: var(--blue);
}

.image-text {
    position: absolute;
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    transform: rotate(-10deg);
    line-height: 1.2;
    z-index: 1;
}

.catalog-text {
    flex: 2;
}

/* Blog Section */
.blog {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.blog-item {
    background-color: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Newsletter Section */
.newsletter {
    padding: 60px 0;
}

.newsletter-description {
    text-align: center;
    margin-bottom: 40px;
}

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

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-family: 'Unbounded', sans-serif;
    font-size: 0.9rem;
}

textarea {
    resize: vertical;
    min-height: 120px;
    border-radius: 20px;
}

form .btn {
    margin-top: 10px;
    float: right;
}

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

.contact-info {
    text-align: center;
    margin-bottom: 20px;
}

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

.copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
}

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

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

.cookie-content p {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.cookie-content .btn {
    width: 100%;
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .catalog-item {
        flex-direction: column;
    }
    
    .catalog-item:nth-child(even) {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .copyright {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.7rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .books-grid {
        grid-template-columns: 1fr;
    }
}

html {
    scroll-behavior: smooth;
}

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

.main-section {
    padding: 60px 0;
}