/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

section {
    padding: 2rem 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1rem;
    color: #291005;
}

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

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #ff621f;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #291005;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #ff621f;
    color: white;
}

.btn-primary:hover {
    background-color: #e55519;
    color: white;
}

.btn-secondary {
    background-color: #291005;
    color: white;
}

.btn-secondary:hover {
    background-color: #1a0903;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: #ff621f;
    border: 2px solid #ff621f;
}

.btn-outline:hover {
    background-color: #ff621f;
    color: white;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: #291005;
    text-decoration: none;
}

.nav-logo:hover {
    color: #ff621f;
}

.logo-icon {
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #291005;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ff621f;
    border-bottom-color: #ff621f;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #291005;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    margin-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #291005;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #666;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-icon {
    margin-bottom: 1rem;
}

/* Grid Layouts */
.info-grid,
.advantages-grid,
.offers-grid,
.achievements-grid,
.reviews-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

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

.advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.offers-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.achievements-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Card Styles */
.info-card,
.advantage-item,
.offer-card,
.achievement-item,
.review-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.info-card:hover,
.advantage-item:hover,
.offer-card:hover,
.review-card:hover {
    transform: translateY(-5px);
}

.advantage-item {
    text-align: center;
}

.advantage-icon {
    margin-bottom: 1rem;
}

.offer-card {
    position: relative;
    text-align: center;
}

.offer-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ff621f;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
}

.achievement-item {
    text-align: center;
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff621f;
    margin-bottom: 0.5rem;
}

.achievement-label {
    color: #666;
}

.review-card {
    text-align: center;
}

.review-stars {
    color: #ff621f;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.review-author {
    color: #666;
    font-style: italic;
    margin-top: 1rem;
}

/* Newsletter Section */
.newsletter {
    background-color: #f8f9fa;
    padding: 4rem 0;
    margin: 4rem 0;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #291005;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff621f;
}

/* Payment and Delivery */
.payment-delivery {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.payment-delivery ul {
    list-style: none;
    padding-left: 0;
}

.payment-delivery li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.payment-delivery li:last-child {
    border-bottom: none;
}

/* Footer */
.footer {
    background-color: #291005;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #ff621f;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff621f;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #ff621f;
    border-radius: 50%;
    color: white;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #999;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #291005;
    color: white;
    padding: 1rem;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-option {
    margin: 1rem 0;
}

.cookie-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.cookie-option input {
    margin-right: 0.5rem;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Article Pages */
.article-header,
.catalog-header,
.contact-header,
.legal-header {
    background: linear-gradient(135deg, #ff621f10, #29100510);
    padding: 6rem 0 3rem;
    text-align: center;
}

.article-header-content,
.catalog-header-content,
.contact-header-content,
.legal-header-content {
    max-width: 600px;
    margin: 0 auto;
}

.article-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 1rem;
}

.article-meta,
.legal-meta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
}

.article-content,
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
}

.article-intro {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
}

/* Book Categories */
.book-category {
    margin-bottom: 4rem;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.category-icon {
    margin-right: 1rem;
}

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

.book-recommendation {
    display: flex;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.book-recommendation:hover {
    transform: translateY(-5px);
}

.book-cover {
    flex-shrink: 0;
}

.book-info h3 {
    color: #291005;
    margin-bottom: 0.5rem;
}

.book-author {
    color: #ff621f;
    font-weight: 500;
    margin-bottom: 1rem;
}

.book-description {
    color: #666;
    margin-bottom: 1rem;
}

.book-rating {
    color: #ff621f;
    font-size: 0.9rem;
}

/* Reading Tips */
.reading-tips {
    background-color: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 15px;
    margin: 3rem 0;
}

.tips-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.article-conclusion {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
}

/* Catalog Page */
.genre-filter {
    background-color: #f8f9fa;
    padding: 2rem 0;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    border: 2px solid #ddd;
    background-color: white;
    color: #666;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab.active,
.filter-tab:hover {
    background-color: #ff621f;
    color: white;
    border-color: #ff621f;
}

.book-catalog {
    padding: 3rem 0;
}

.genre-section {
    margin-bottom: 4rem;
}

.genre-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #ff621f;
}

.genre-icon {
    margin-right: 1rem;
}

.book-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.book-card:hover {
    transform: translateY(-5px);
}

.book-info {
    padding: 1.5rem;
}

.book-info h3 {
    color: #291005;
    margin-bottom: 0.5rem;
}

.book-author {
    color: #ff621f;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.book-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.book-rating {
    color: #ff621f;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.book-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #291005;
}

/* Contact Page */
.contact-info {
    padding: 3rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card-icon {
    margin-bottom: 1rem;
}

.contact-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.contact-form-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.map-section {
    padding: 3rem 0;
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.map-placeholder {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.transport-options {
    margin-top: 1rem;
}

.transport-option {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.transport-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Legal Pages */
.legal-section {
    margin-bottom: 3rem;
    padding: 0;
    border-bottom: 1px solid #eee;
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section ul {
    padding-left: 20px;
}

.contact-box {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ff621f;
    margin: 1rem 0;
}

.purpose-grid,
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.purpose-item,
.right-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ff621f;
}

/* Cookie Page Specific */
.cookie-category {
    margin-bottom: 2rem;
}

.cookie-table {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem;
}

.cookie-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #ddd;
}

.cookie-row:last-child {
    border-bottom: none;
}

.cookie-name {
    font-weight: bold;
    color: #291005;
}

.cookie-management {
    text-align: center;
    margin: 2rem 0;
}

.browser-settings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.browser-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

/* Thanks Page */
.thanks-page {
    padding: 6rem 0 3rem;
    margin-top: 80px;
    text-align: center;
    min-height: 70vh;
}

.thanks-content {
    max-width: 800px;
    margin: 0 auto;
}

.thanks-icon {
    margin-bottom: 2rem;
}

.thanks-message {
    margin-bottom: 3rem;
}

.personal-thanks {
    font-size: 1.25rem;
    color: #ff621f;
    font-weight: 600;
}

.form-summary {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: left;
}

.summary-details {
    margin-top: 1rem;
}

.summary-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

.summary-item:last-child {
    border-bottom: none;
}

.next-steps {
    margin: 3rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step-icon {
    margin-bottom: 1rem;
}

.thanks-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.newsletter-reminder {
    margin-top: 3rem;
}

.reminder-box {
    background: linear-gradient(135deg, #ff621f10, #29100510);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid #ff621f;
}

.reminder-icon {
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .article-meta,
    .legal-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .map-container {
        grid-template-columns: 1fr;
    }

    .cookie-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

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

    .thanks-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .filter-tabs {
        justify-content: center;
    }

    .filter-tab {
        flex: 1;
        min-width: 120px;
        text-align: center;
    }

    .book-recommendation {
        flex-direction: column;
        text-align: center;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .achievements-grid,
    [class*="-grid"] {
        grid-template-columns: 1fr !important;
    }

    .achievement-number {
        font-size: 2rem;
    }

    .book-card .book-cover {
        width: 100px;
        height: 133px;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .cookie-banner,
    .cookie-modal,
    .footer {
        display: none;
    }

    .hero {
        margin-top: 0;
    }

    .article-header,
    .catalog-header,
    .contact-header,
    .legal-header {
        margin-top: 0;
    }
}