/* Talks Page Specific Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.05) 0%, rgba(30, 61, 111, 0.05) 100%);
    pointer-events: none;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c5aa0;
    position: relative;
    z-index: 1;
}

.scripture-quote {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* Main Content */
.main-content {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

/* Welcome Section */
.welcome-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.welcome-text h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.welcome-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.welcome-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.service-photo:hover {
    transform: scale(1.02);
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #2c5aa0;
    border: 2px dashed #90caf9;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.image-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Latest Sermon Section */
.latest-sermon-section {
    margin-bottom: 4rem;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.latest-sermon-section h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.sermon-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.video-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.video-container lite-youtube {
    border-radius: 12px;
}

.sermon-info h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.sermon-date {
    color: #2c5aa0;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.sermon-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.sermon-info p:last-of-type {
    margin-bottom: 2rem;
}

.sermon-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Recent Talks Section */
.recent-talks-section {
    margin-bottom: 4rem;
}

.recent-talks-section h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 600;
}

.talks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.talk-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.talk-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.talk-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.talk-image .image-placeholder {
    height: 100%;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #2c5aa0;
}

.talk-image .image-placeholder i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.talk-image .image-placeholder p {
    font-size: 1rem;
}

.talk-content {
    padding: 2rem;
}

.talk-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.talk-date {
    color: #2c5aa0;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.talk-speaker {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.talk-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Playlist Section */
.playlist-section {
    margin-bottom: 4rem;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.playlist-section h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.playlist-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.playlist-info h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.playlist-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.playlist-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.playlist-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Join Us Section */
.join-us-section {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.join-us-section h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 600;
}

.join-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-info h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 600;
}

.service-details {
    margin-bottom: 2rem;
}

.service-detail {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.service-detail i {
    color: #2c5aa0;
    font-size: 1.2rem;
    min-width: 20px;
}

.service-detail span {
    color: #666;
    font-weight: 500;
}

.service-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.join-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .scripture-quote {
        font-size: 1.1rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .welcome-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .welcome-text h2 {
        font-size: 1.8rem;
    }

    .sermon-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .talks-grid {
        grid-template-columns: 1fr;
    }

    .playlist-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .join-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .join-actions {
        flex-direction: row;
        justify-content: center;
    }

    .latest-sermon-section,
    .playlist-section,
    .join-us-section {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

    .welcome-section,
    .latest-sermon-section,
    .playlist-section,
    .join-us-section {
        padding: 1.5rem;
    }

    .talk-content {
        padding: 1.5rem;
    }

    .welcome-text h2,
    .latest-sermon-section h2,
    .recent-talks-section h2,
    .playlist-section h2,
    .join-us-section h2 {
        font-size: 1.8rem;
    }

    .sermon-info h3,
    .playlist-info h3,
    .service-info h3 {
        font-size: 1.5rem;
    }

    .join-actions {
        flex-direction: column;
    }
}