/* Books Page Styles */

/* Books Hero */
.books-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1a1a 50%, #1a1a2d 100%);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.books-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(201, 165, 90, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(139, 0, 0, 0.1) 0%, transparent 50%);
    animation: pulseBooks 10s ease-in-out infinite;
}

@keyframes pulseBooks {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.books-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-light);
}

.books-hero-content h1 {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    font-style: italic;
}

/* Featured Book Section */
.featured-book-section {
    padding: 6rem 0;
    background: white;
}

.section-label {
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.book-showcase {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.book-cover-large {
    position: relative;
    position: sticky;
    top: 100px;
}

.book-cover-large img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.book-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
}

.book-content {
    padding-top: 1rem;
}

.book-title {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.book-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.book-meta {
    color: #888;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.book-synopsis {
    margin: 2rem 0 3rem;
}

.book-synopsis h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.book-synopsis p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 1.5rem;
}

.opening-line {
    font-size: 1.3rem !important;
}

.opening-line strong {
    color: var(--secondary-color);
}

.closing-line {
    color: var(--primary-color);
    font-size: 1.1rem !important;
}

.genre-line {
    font-size: 1rem !important;
    color: #777;
    font-style: italic;
}

.genre-line em {
    color: var(--primary-color);
    font-style: normal;
    font-weight: 500;
}

.book-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-label {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.detail-value {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.book-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn-preorder,
.btn-sample {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-preorder {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.btn-preorder:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 165, 90, 0.4);
    background: #d4b16a;
}

.btn-sample {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-sample:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

/* Series Section */
.series-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 1.5rem auto 3rem;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #666;
}

.trilogy-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.act-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #ddd;
}

.act-card.active {
    border-top-color: var(--primary-color);
}

.act-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.act-number {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--light-bg);
    color: var(--secondary-color);
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.act-card.active .act-number {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.act-card h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.act-release {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.act-description {
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

.act-status {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--light-bg);
    color: #888;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.act-card.active .act-status {
    background: rgba(201, 165, 90, 0.2);
    color: var(--primary-color);
}

/* Author Section */
.author-section {
    padding: 6rem 0;
    background: white;
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 4rem;
    margin-top: 3rem;
}

.author-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.author-image {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.author-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    font-weight: 700;
}

.author-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.author-info {
    text-align: center;
}

.author-info h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.author-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.author-bio {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
    text-align: left;
}

.author-bio em {
    color: var(--primary-color);
    font-style: italic;
}

/* Excerpt Section */
.excerpt-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.excerpt-container {
    max-width: 900px;
    margin: 3rem auto 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.excerpt-header {
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 2rem;
    text-align: center;
}

.excerpt-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.excerpt-meta {
    font-style: italic;
    opacity: 0.9;
}

.excerpt-text {
    padding: 3rem;
    font-family: 'Georgia', serif;
    font-size: 1.15rem;
    line-height: 2;
    color: #333;
}

.excerpt-text p {
    margin-bottom: 1.5rem;
}

.excerpt-text em {
    font-style: italic;
    color: #666;
}

.excerpt-more {
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 2rem;
}

.excerpt-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 2rem;
    background: var(--light-bg);
}

.btn-download-sample {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download-sample:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: #0d0d0d;
}

/* Film CTA Section */
.film-cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0d0d0d 100%);
    color: var(--text-light);
    text-align: center;
}

.film-cta-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.film-cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.film-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-casting,
.btn-film-info {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-casting {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.btn-casting:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 165, 90, 0.4);
    background: #d4b16a;
}

.btn-film-info {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-film-info:hover {
    background: var(--text-light);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Newsletter Section */
.newsletter-section {
    padding: 4rem 0;
    background: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
}

.newsletter-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.newsletter-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 165, 90, 0.4);
    background: #d4b16a;
}

/* Responsive Design */
@media (max-width: 968px) {
    .book-showcase {
        grid-template-columns: 1fr;
    }
    
    .book-cover-large {
        position: relative;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .authors-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .books-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .book-title {
        font-size: 2rem;
    }
    
    .book-subtitle {
        font-size: 1.2rem;
    }
    
    .book-actions {
        flex-direction: column;
    }
    
    .book-details-grid {
        grid-template-columns: 1fr;
    }
    
    .trilogy-timeline {
        grid-template-columns: 1fr;
    }
    
    .excerpt-actions {
        flex-direction: column;
    }
    
    .film-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-casting,
    .btn-film-info {
        width: 100%;
        max-width: 300px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}
