/* EBOOK PAGE STYLES */

/* HERO SECTION - Override for this page */
.hero-section {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 500px;
}

.hero-image {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 450px;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* EBOOK CONTENT SECTION */
.ebook-section {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    

}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.main-content {
    display: flex;
    flex-direction: column;
}

.ebook-article {
    background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 60px;
}

.entry-content {
    color: rgba(245,239,229,0.8);
    font-size: 19px;
    line-height: 1.9;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content strong {
    color: #f5efe5;
    font-weight: 600;
}

.entry-content em {
    color: #d8a24c;
    font-style: italic;
}

.centered-heading {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    color: #f5efe5;
    margin: 32px 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.ebook-cover-wrapper {
    float: right;
    margin: 0 0 40px 40px;
    max-width: 400px;
}

.ebook-cover {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    border: 2px solid rgba(216,162,76,0.2);
}

.underline {
    text-decoration: underline;
    text-decoration-color: #d8a24c;
}

.ebook-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.ebook-list li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 12px;
}

.ebook-list li::before {
    content: '•';
    color: #d8a24c;
    position: absolute;
    left: 0;
    font-size: 22px;
}

.chapter-list {
    padding-left: 30px;
    line-height: 2.2;
    font-size: 18px;
    background: linear-gradient(135deg, rgba(216,162,76,0.05), rgba(220,168,91,0.02));
    padding: 24px 30px;
    border-radius: 12px;
    border: 1px solid rgba(216,162,76,0.1);
}

.ebook-form {
    margin: 48px 0 0 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(216,162,76,0.05), rgba(220,168,91,0.02));
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(216,162,76,0.1);
}

.ebook-form input {
    padding: 16px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #f5efe5;
    font-size: 16px;
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
}

.ebook-form input::placeholder {
    color: rgba(245,239,229,0.4);
}

.ebook-form input:focus {
    outline: none;
    border-color: #d8a24c;
    background: rgba(255,255,255,0.08);
}

.ebook-form button {
    padding: 16px 40px;
    font-size: 18px;
}

.auth-message {
    padding: 20px;
    background: rgba(216,162,76,0.05);
    border: 1px solid rgba(216,162,76,0.1);
    border-radius: 12px;
    text-align: center;
    color: rgba(245,239,229,0.7);
}

.auth-message a {
    color: #d8a24c;
    text-decoration: none;
    font-weight: 600;
}

.auth-message a:hover {
    text-decoration: underline;
}

.download-message {
    padding: 20px;
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 12px;
    text-align: center;
    color: #81c784;
    font-weight: 600;
}

/* NAVBAR ACTIVE STATE */
.navbar-links a.active {
    color: #d8a24c;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 24px 60px;
        min-height: auto;
    }

    .hero-content-wrapper {
        flex-direction: column;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-image {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        max-width: 400px;
        margin: 40px auto 0;
    }

    .content-wrapper {
        padding: 0;
    }

    .ebook-article {
        padding: 40px 24px;
    }

    .centered-heading {
        font-size: 32px;
    }

    .ebook-cover-wrapper {
        float: none;
        margin: 0 auto 32px;
        max-width: 280px;
    }

    .entry-content {
        font-size: 17px;
    }

    .chapter-list {
        font-size: 16px;
        padding: 20px;
    }

    .ebook-form {
        padding: 30px 20px;
    }
}
