@font-face {
    font-family: 'Roboto';
    src: url('./fonts/Roboto-Regular.ttf') format('truetype');
}

body {
    scroll-behavior: smooth;
    font-family: 'Open Sans', sans-serif;
    color: #333333;
    margin: 0;
    line-height: 1.6;
}

h1, h2, h3 {
    color: #0056b3;
    margin: 0.5rem 0;
    font-family: 'Roboto', Arial, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.header {
    background-color: #f1c71a;
    padding: 2rem 0;
    text-align: center;
    border-bottom: 1px solid #dddddd;
}

.book-overview {
    display: flex;
    align-items: flex-start;
    padding: 2rem 0;
}

.book-image-wrapper {
    flex: 1 1 33%;
    max-width: 33%;
    box-sizing: border-box;
    float: left;
}

.book-image {
    max-width: 100%;
    height: auto;
    border: 1px solid #ccc;
}

.book-description {
    flex: 2 1 66%;
    box-sizing: border-box;
    float: right;
    width: 66%;
    padding: 2rem;
}

.cta {
    text-align: center;
    margin-top: 20px;
}

.cta p {
    margin: 10px 0;
    font-size: 1.1em;
}

.cta-button {
    background-image: linear-gradient(to right, #77d18a, #56c278);
    color: #ffffff;
    border: none;
    padding: 10px 30px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: bold;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.purchase-links {
    background-color: #f8f8f8;
    padding: 2rem 0;
    text-align: center;
}

.purchase-links a {
    text-decoration: none;
    color: #ffffff;
    background-color: #0056b3;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.about-author {
    padding: 2rem 0;
}

.author-profile {
    display: flex;
    align-items: center;
}

.author-picture {
    max-width: 150px;
    height: auto;
    border-radius: 50%;
    border: 2px solid #ccc;
    float: right;
    margin-left: 20px;
}

.footer {
    text-align: center;
    background-color: #333333;
    color: #ffffff;
    padding: 1rem 0;
}

@media (max-width: 768px) {
    .book-overview {
        flex-direction: column;
    }

    .book-image-wrapper, .book-description {
        flex: unset;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .author-profile {
        flex-direction: column;
    }

    .author-picture {
        float: none;
        margin: 0 auto 20px;
    }
}

.author-description {
    margin-left: 2%;
}

b {
    color: #bd5d19;
    font-size: 1.1rem;
}

.toc-columns {
    display: flex;
    justify-content: space-between;
}

.toc-columns .column {
    flex: 1;
    padding: 1rem;
}

.toc-columns .column ul {
    list-style-type: none;
    padding-left: 0;
}

.toc-columns .column ul ul {
    padding-left: 1.5rem;
}

.language-menu a {
    color: white;
    text-decoration: none;
}

.notice {
    background-color: #ffcccc;
    padding: 20px;
    text-align: center;
    font-weight: bold;
}

.green-checks {
    list-style: none;
    padding-left: 20px;
}

.green-checks li::before {
    content: "\2713";
    color: green;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.arrow-list {
    list-style-type: none; /* Remove default bullets */
    padding-left: 0; /* Remove left padding */
}

.arrow-list li {
    position: relative; /* Positioning context for the pseudo-element */
    padding-left: 25px; /* Space for the arrow */
}

.arrow-list li::before {
    content: "➡"; /* Unicode for right arrow */
    color: orange; /* Set arrow color to orange */
    position: absolute; /* Position the arrow absolutely */
    left: 0; /* Align to the left of the list item */
}

@font-face {
    font-family: 'Roboto';
    src: url('./fonts/Roboto-Regular.ttf') format('truetype');
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    margin: 0;
}

/* Layout Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.header {
    background-color: #f1c71a;
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid #dddddd;
}

/* Content Blocks */
.content-block {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.highlight-block {
    background-color: #fff3e0;
    border-left: 4px solid #f1c71a;
    padding: 2rem;
    margin: 2rem 0;
}

/* Book Overview Section */
.book-overview {
    display: flex;
    gap: 4rem;
    padding: 2rem 0;
}

.book-image-wrapper {
    flex: 1;
    max-width: 400px;
}

.book-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.book-description {
    flex: 2;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Chapter Preview */
.chapter-preview {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.chapter-preview:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chapter-content {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

.chapter-list {
    font-size: 0.85rem;
    color: #666;
    padding-left: 1.2rem;
}

/* Key Pages Grid */
.key-pages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.key-page {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
}

.key-page span {
    font-weight: bold;
    color: #0056b3;
}

/* Collapsible Details */
details {
    margin: 1rem 0;
}

details summary {
    cursor: pointer;
    color: #0056b3;
    font-weight: 500;
    padding: 0.5rem 0;
}

.sample-chapters {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    padding-left: 1.2rem;
}

/* Typography */
h1, h2, h3, h4 {
    color: #2c3e50;
    margin: 0.5rem 0;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-image: linear-gradient(to right, #77d18a, #56c278);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin: 1rem 0;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Enhanced CTA Section */
.enhanced-cta {
    background-color: #f1c71a;
    text-align: center;
    padding: 3rem;
    margin: 3rem 0;
    border-radius: 8px;
}

/* Author Section */
.author-profile {
    display: flex;
    gap: 2rem;
    align-items: start;
    margin: 2rem 0;
}

.author-picture {
    width: 200px;
    height: auto;
    border-radius: 50%;
    border: 3px solid #f1c71a;
}

/* Footer */
.footer {
    background-color: #333333;
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
}

.language-menu a {
    color: white;
    text-decoration: none;
    margin: 0 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .book-overview {
        flex-direction: column;
    }

    .book-image-wrapper {
        max-width: 100%;
    }

    .author-profile {
        flex-direction: column;
        text-align: center;
    }

    .author-picture {
        margin: 0 auto;
    }

    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }
}

/* Responsive Purchase Grid */
.purchase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.purchase-item {
    display: flex; /* Make the container a flexbox */
    flex-direction: column; /* Arrange logos and text vertically */
    align-items: center; /* Horizontally center logos and text */
    justify-content: center; /* Vertically center content */
    text-align: center; /* Ensure text alignment */
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem; /* Add padding for spacing */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.purchase-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.purchase-item img {
    max-width: 150px; /* Cap logo width */
    width: 100%; /* Responsive scaling */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 1rem; /* Space below the logo */
}

.purchase-item span {
    display: block;
    font-size: 1rem; /* Uniform font size */
    font-weight: bold; /* Bold text for emphasis */
}

/* Ensure responsiveness for smaller screens */
@media (max-width: 768px) {
    .purchase-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

.purchase-links a {
    text-decoration: none;
    color: #ffffff;
    background-color: #bd5d19;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.footer-social-icons img, img.social-icons {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    filter: brightness(0) invert(1); /* Makes icons white */
}

.footer-social-icons a {
    display: inline-block;
    margin: 0 8px;
    transition: all 0.2s ease;
}