/* Authors Page Specific Styles */

.authors-section {
    padding: 5rem 0;
    background: #f5f5f5;
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.author-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.author-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.book-cover {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.author-card:hover .book-cover img {
    transform: scale(1.05);
}

.author-info {
    padding: 2rem;
}

.author-info h3 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.author-name {
    color: #d4af37;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 1rem;
}

.book-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.book-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.book-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c3e50;
    font-size: 0.9rem;
}

.book-meta i {
    color: #d4af37;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #1a1a1a 100%);
    padding: 2.5rem;
    border-radius: 12px;
    color: white;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.testimonial-icon {
    width: 50px;
    height: 50px;
    background: #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-size: 1.5rem;
}

.testimonial-text {
    color: #e8e8e8;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author h4 {
    color: #d4af37;
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: #c0c0c0;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .authors-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .author-info {
        padding: 1.5rem;
    }

    .testimonial-card {
        padding: 2rem;
    }
}