/* Estilos específicos para a página do E-book */

.ebook-hero {
    background: linear-gradient(135deg, #0A059A 0%, #361ECA 50%, #5B2C87 100%);
    padding: 120px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.ebook-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ebook-image {
    text-align: center;
}

.ebook-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.ebook-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.ebook-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #00FFFF;
}

.ebook-content p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.ebook-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.ebook-content ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.ebook-content ul li::before {
    content: '\2713'; /* Checkmark unicode */
    color: #00FFFF;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Comment Section */
.comment-section {
    background: #F1F1F8;
    padding: 80px 0;
}

.comment-section .container {
    max-width: 800px;
    margin: 0 auto;
}

.comment-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #361ECA;
}

.comment-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.comment-form .form-group {
    margin-bottom: 0;
}

.comment-form .form-group.full-width {
    grid-column: 1 / -1;
}

.comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
    color: #333;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #361ECA;
}

.comment-form textarea {
    resize: vertical;
    min-height: 100px;
}

.comment-form .btn-submit {
    grid-column: 1 / -1;
    margin-top: 20px;
    /* Reusing styles from style.css for btn-submit */
}

/* Responsividade para a página do E-book */
@media (max-width: 768px) {
    .ebook-hero {
        padding: 100px 0 60px;
    }

    .ebook-hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .ebook-content h1 {
        font-size: 2.2rem;
    }

    .ebook-content h2 {
        font-size: 1.5rem;
    }

    .ebook-content p,
    .ebook-content ul li {
        font-size: 1rem;
    }

    .comment-section h2 {
        font-size: 2rem;
    }

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

@media (max-width: 480px) {
    .ebook-hero {
        padding: 80px 0 40px;
    }

    .ebook-content h1 {
        font-size: 1.8rem;
    }

    .ebook-content h2 {
        font-size: 1.2rem;
    }

    .ebook-content p,
    .ebook-content ul li {
        font-size: 0.9rem;
    }

    .comment-section h2 {
        font-size: 1.8rem;
    }

    .comment-form {
        padding: 20px;
    }
}


