/* ========================================
   HOME PAGE STYLES
   ======================================== */

/* Modern Home Page Styles */
:root {
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-dark: linear-gradient(135deg, #2c3e50, #3498db);
    --gradient-light: linear-gradient(135deg, #f6f9fc, #ffffff);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-light);
    overflow: hidden;
    padding: 6rem 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0.05;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--dark-gray);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-wild {
    background: var(--gradient-primary);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-wild:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: #fff;
}

.btn-eagle {
    background: #fff;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn-eagle:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.readers-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.readers-count i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.readers-count .count {
    font-weight: 700;
    color: var(--dark-gray);
}

.readers-count .label {
    color: var(--gray);
}

/* Featured Book Card */
.featured-book {
    background: #fff;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

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

.book-preview {
    position: relative;
    padding: 2rem;
    background: var(--gradient-light);
}

.book-cover {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.discount-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
}

.book-info {
    padding: 2rem;
}

.book-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.book-author {
    color: var(--gray);
    margin-bottom: 1rem;
}

.book-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: #ffc107;
}

.rating-count {
    color: var(--gray);
    font-size: 0.9rem;
}

.book-price {
    margin-bottom: 1.5rem;
}

.original-price {
    text-decoration: line-through;
    color: var(--gray);
    margin-right: 0.5rem;
}

.sale-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.regular-price {
    color: var(--dark-gray);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Categories Section */
.categories-section {
    background: #fff;
    padding: 6rem 0;
    position: relative;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
}

.category-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
}

.category-card h3 {
    color: var(--dark-gray);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.category-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.category-stats {
    background: var(--gradient-light);
    padding: 1rem;
    border-radius: 1rem;
    margin-top: 1rem;
}

.book-count {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Story Preview Section */
.story-preview-section {
    background: var(--gradient-light);
    padding: 6rem 0;
    position: relative;
}

.story-preview-card {
    background: #fff;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.story-image-wrapper {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-categories {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
}

.category-badge {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.story-content {
    padding: 3rem;
}

.story-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.story-meta i {
    color: var(--primary-color);
}

.story-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.story-excerpt {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Author Spotlight Section */
.author-spotlight-section {
    background: #fff;
    padding: 6rem 0;
    position: relative;
}

.author-card {
    background: var(--gradient-light);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.author-image-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.author-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.author-stat {
    text-align: center;
}

.author-stat i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.author-stat .count {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
}

.author-stat .label {
    color: var(--gray);
    font-size: 0.9rem;
}

.author-quote {
    font-style: italic;
    color: var(--secondary-color);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
}

.author-bio {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Section Divider */
.section-divider {
    position: relative;
    height: 150px;
    overflow: hidden;
    margin: -1px 0;
}

.section-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wave-divider {
    fill: #fff;
}

.wave-divider-alt {
    fill: var(--primary-color);
    opacity: 0.1;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .book-cover {
        height: 300px;
    }
    
    .story-image-wrapper {
        min-height: 300px;
    }
    
    .story-content {
        padding: 2rem;
    }
    
    .author-image-wrapper {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .category-card {
        padding: 2rem;
    }
    
    .story-title {
        font-size: 1.5rem;
    }
    
    .author-stats {
        flex-direction: column;
        gap: 1rem;
    }
} 