/* Modern Homepage Styles */

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #5B2C6F 0%, #3D1B4D 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    background: white;
    padding: 80px 0;
    margin-top: 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 32px;
    background: linear-gradient(135deg, var(--light), white);
    border-radius: 16px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

/* ==================== WELCOME SECTION ==================== */
.welcome-section {
    background: var(--light);
}

.welcome-content {
    width: 100%;
    margin: auto;
}

.welcome-content h2 {
    font-family: var(--font-display);
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 40px;
}
    line-height: 1.3;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
}

.welcome-text h2:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.welcome-text-content {
    max-width: 900px;
    margin: 0 auto;
}

.welcome-text-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    margin: 32px 0;
}

.feature-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.feature-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
}

.feature-list strong {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.feature-list p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
}

/* ==================== SERVICES SECTION ==================== */
.services-section {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(91, 44, 111, 0.15);
    border-color: var(--primary-light);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
}

.service-day {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.service-time {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ==================== MINISTRIES SECTION ==================== */
.ministries-section {
    background: var(--light);
}

.ministries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.ministry-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.ministry-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ministry-icon-overlay {
    width: 80px;
    height: 80px;
    stroke: white;
    opacity: 0.9;
}

.ministry-content {
    padding: 32px 24px;
}

.ministry-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
}

.ministry-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
}

.cta-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 40px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .stats-grid,
    .ministries-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .welcome-text h2 {
        font-size: 2.2rem;
        padding: 35px 50px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: calc(100vh - 70px);
        padding: 60px 0;
    }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.125rem; }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .stat-number { font-size: 2.5rem; }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ministries-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .stats-grid,
    .services-grid { grid-template-columns: 1fr; }
    
    .welcome-content h2 {
        font-size: 1.75rem;
    }
}
