/* Sermons Page Styles */

/* Hero Section */
.sermons-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/images/sermons-hero.html');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Featured Sermon */
.featured-sermon {
    padding: 4rem 0;
    background: #f8f8f8;
}

.featured-sermon .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.video-thumbnail {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-thumbnail img {
    width: 100%;
    display: block;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-btn i {
    font-size: 2rem;
    color: var(--color-accent);
    margin-left: 5px;
}

.play-btn:hover {
    background: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.sermon-info {
    padding: 2rem;
}

.sermon-date {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 1.1rem;
}

.sermon-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 1rem 0;
    line-height: 1.2;
}

.sermon-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 2rem;
}

.sermon-actions {
    display: flex;
    gap: 1rem;
}

/* Sermon Grid */
.sermon-grid {
    padding: 4rem 0;
}

.filter-options {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border: none;
    background: none;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    color: var(--color-accent);
}

.sermon-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.sermon-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.sermon-card:hover {
    transform: translateY(-10px);
}

.card-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.sermon-card:hover .card-thumbnail img {
    transform: scale(1.1);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0.5rem 0;
    line-height: 1.3;
}

.card-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.load-more-btn {
    display: block;
    margin: 3rem auto 0;
    padding: 1rem 3rem;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
}

/* Newsletter Section */
.newsletter-section {
    background: var(--color-primary);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.newsletter-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .featured-sermon .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .sermons-hero {
        height: 40vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .sermon-title {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
        padding: 0 1rem;
    }

    .filter-options {
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 0.6rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .sermon-cards {
        grid-template-columns: 1fr;
    }

    .sermon-card {
        max-width: 100%;
    }
}
