/* ============================================
   Global Holy Ministries - Enhanced Styles
   Based on your working version
   ============================================ */

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #e94560;
    --gold-color: #f5c842;
    --shadow-sm: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   BASE - Keep your existing styles
   ============================================ */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding-top: 76px;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}




/* ============================================
   NAVBAR IMPROVEMENTS
   ============================================ */
.navbar {
    padding: 12px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    padding: 8px 0;
}

.navbar .nav-link {
    font-weight: 500;
    color: #555 !important;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #e94560;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 60%;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #1a1a2e !important;
    background: rgba(233, 69, 96, 0.05);
}

.navbar .donate-btn {
    background: linear-gradient(135deg, #e94560, #c0392b) !important;
    border: none !important;
    font-weight: 600;
    padding: 10px 24px !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.navbar .donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
}

/* Mobile Nav */
@media (max-width: 991px) {
    .navbar .nav-link {
        padding: 10px 16px !important;
        border-radius: 8px;
    }
    
    .navbar .nav-link i {
        width: 24px;
        text-align: center;
    }
    
    .navbar .nav-link::after {
        display: none;
    }
    
    .navbar .donate-btn {
        margin: 8px 0;
        text-align: center;
        width: 100%;
    }
}



/* ============================================
   HERO SECTION - Enhanced
   ============================================ */
.hero-section {
    position: relative;
    overflow: hidden;
    margin-top: -76px;
    padding-top: 76px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.jpg') center/cover;
    opacity: 0.08;
    z-index: 0;
}

.hero-section .hero-content {
    position: relative;
    z-index: 1;
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    padding: 6px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.hero-badge .live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 1.5s infinite;
}

.hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    line-height: 1.1;
}

.hero-section h1 .highlight {
    background: linear-gradient(135deg, var(--gold-color), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section .lead {
    font-size: 1.25rem;
    max-width: 600px;
}

/* Hero Buttons - Enhanced */
.hero-section .btn-primary {
    background: var(--accent-color);
    border: none;
    padding: 14px 36px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.4);
    transition: var(--transition);
}

.hero-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(233, 69, 96, 0.5);
}

.hero-section .btn-outline-light {
    border: 2px solid rgba(255,255,255,0.3);
    padding: 14px 36px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.hero-section .btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-3px);
}

.hero-section .btn-success {
    background: linear-gradient(135deg, var(--gold-color), #f5a623);
    border: none;
    color: var(--primary-color);
    padding: 14px 36px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(245, 200, 66, 0.4);
    transition: var(--transition);
}

.hero-section .btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245, 200, 66, 0.5);
}

/* Hero Stats */
.hero-stats .stat-item {
    color: rgba(255,255,255,0.8);
}

.hero-stats .stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    display: block;
    font-family: 'Playfair Display', serif;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Hero Live Card */
.hero-live-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 24px;
}

.hero-live-card .live-badge {
    display: inline-block;
    background: #ff4444;
    color: #fff;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    animation: pulse 1.5s infinite;
}

/* ============================================
   QUICK CONTACT - Enhanced
   ============================================ */
.quick-contact {
    background: #fff;
    padding: 25px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    border-bottom: 3px solid var(--accent-color);
}

.quick-contact .contact-item {
    padding: 10px;
    border-radius: 12px;
    transition: var(--transition);
}

.quick-contact .contact-item:hover {
    background: rgba(233, 69, 96, 0.05);
    transform: translateY(-2px);
}

.quick-contact .contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.quick-contact .contact-icon.bg-accent {
    background: var(--accent-color);
}

.quick-contact .contact-icon.bg-purple {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.quick-contact .contact-icon.bg-pink {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.quick-contact .contact-icon.bg-blue {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.quick-contact .contact-text .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    font-weight: 600;
}

.quick-contact .contact-text .value {
    font-weight: 500;
    color: var(--primary-color);
}

/* ============================================
   SECTION COMMON - Enhanced
   ============================================ */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.8rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 12px auto 24px;
    border-radius: 10px;
}

.section-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
}

/* ============================================
   SERMONS CARDS - Enhanced
   ============================================ */
.sermons-section {
    background: #f8f9fa;
}

.sermon-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.sermon-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.sermon-card .sermon-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.sermon-card .sermon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sermon-card:hover .sermon-image img {
    transform: scale(1.05);
}

.sermon-card .sermon-image .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.sermon-card:hover .sermon-image .play-overlay {
    opacity: 1;
}

.sermon-card .sermon-image .play-btn {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.4);
    transition: var(--transition);
}

.sermon-card .sermon-image .play-btn:hover {
    transform: scale(1.1);
}

.sermon-card .sermon-image .sermon-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.sermon-card .sermon-body {
    padding: 24px;
}

.sermon-card .sermon-body .sermon-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.sermon-card .sermon-body .sermon-title a {
    color: var(--primary-color);
    transition: var(--transition);
}

.sermon-card .sermon-body .sermon-title a:hover {
    color: var(--accent-color);
}

.sermon-card .sermon-body .sermon-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: #777;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.sermon-card .sermon-body .sermon-meta i {
    margin-right: 4px;
    color: var(--accent-color);
}

/* ============================================
   EVENTS CARDS - Enhanced
   ============================================ */
.events-section {
    background: #fff;
}

.event-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.04);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.event-card .event-date-box {
    background: var(--accent-color);
    padding: 20px;
    text-align: center;
    color: #fff;
}

.event-card .event-date-box .day {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.event-card .event-date-box .month {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-card .event-body {
    padding: 20px;
}

.event-card .event-body .event-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.event-card .event-body .event-title a {
    color: var(--primary-color);
    transition: var(--transition);
}

.event-card .event-body .event-title a:hover {
    color: var(--accent-color);
}

.event-card .event-body .event-meta {
    font-size: 0.85rem;
    color: #777;
}

.event-card .event-body .event-meta i {
    color: var(--accent-color);
    width: 18px;
}

/* ============================================
   MINISTRIES CARDS - Enhanced
   ============================================ */
.ministries-section {
    background: #f8f9fa;
}

.ministry-card {
    text-align: center;
    padding: 32px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.ministry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.ministry-card .ministry-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #fff;
    font-size: 2rem;
    transition: var(--transition);
}

.ministry-card:hover .ministry-icon {
    transform: scale(1.1) rotate(-5deg);
}

.ministry-card .ministry-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.ministry-card .ministry-description {
    color: #666;
    font-size: 0.95rem;
}

/* ============================================
   PRAYER SECTION - Enhanced
   ============================================ */
.prayer-section {
    background: var(--primary-color);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.prayer-section .prayer-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/prayer-bg.jpg') center/cover;
    opacity: 0.05;
}

.prayer-section .prayer-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.prayer-section .stat-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.prayer-section .stat-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.prayer-section .stat-card .number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    display: block;
}

.prayer-section .stat-card .number.gold {
    color: var(--gold-color);
}

.prayer-section .stat-card .number.red {
    color: #ff6b6b;
}

.prayer-section .stat-card .number.green {
    color: #51cf66;
}

.prayer-section .stat-card .label {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ============================================
   DONATION SECTION - Enhanced
   ============================================ */
.donation-section {
    background: #fff;
}

.donation-card {
    background: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.donation-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(233, 69, 96, 0.1);
    border-radius: 50%;
}

.donation-methods {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.donation-method {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.donation-method:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.donation-method i {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
    color: var(--gold-color);
}

.donation-method .method-name {
    font-size: 0.85rem;
    font-weight: 500;
}

/* ============================================
   FOOTER - Enhanced
   ============================================ */
.footer {
    background: var(--primary-color);
    padding: 60px 0 30px;
}

.footer .social-links {
    display: flex;
    gap: 12px;
}

.footer .social-link {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.footer .social-link:hover {
    background: var(--accent-color);
    transform: translateY(-4px);
}

.footer .footer-links {
    list-style: none;
    padding: 0;
}

.footer .footer-links li {
    margin-bottom: 10px;
}

.footer .footer-links a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer .footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer .footer-links a i {
    font-size: 0.6rem;
    margin-right: 8px;
    color: var(--accent-color);
}

.footer .footer-contact {
    list-style: none;
    padding: 0;
}

.footer .footer-contact li {
    display: flex;
    gap: 12px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
}

.footer .footer-contact li i {
    color: var(--accent-color);
    font-size: 1.1rem;
    width: 20px;
    margin-top: 2px;
}

.footer-divider {
    border-color: rgba(255,255,255,0.05);
    margin: 30px 0;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.4);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(233, 69, 96, 0.5);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.9);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 3rem !important;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .donation-methods {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .navbar-brand .brand-text {
        font-size: 1rem;
    }
    
    .hero-section {
        padding-top: 60px;
        text-align: center;
        min-height: auto !important;
        padding-bottom: 40px;
    }
    
    .hero-section h1 {
        font-size: 2.2rem !important;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        margin: 0 auto 24px;
    }
    
    .hero-section .hero-buttons {
        justify-content: center;
    }
    
    .hero-section .hero-buttons .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .hero-section .hero-stats {
        justify-content: center;
        gap: 16px;
        flex-wrap: wrap;
    }
    
    .hero-section .hero-stats .stat-number {
        font-size: 1.5rem;
    }
    
    .quick-contact .contact-item {
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }
    
    .quick-contact .contact-text {
        text-align: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .prayer-section .prayer-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .donation-methods {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .donation-card {
        padding: 24px;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer .social-links {
        justify-content: center;
    }
    
    .footer .footer-contact li {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.8rem !important;
    }
    
    .hero-section .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-section .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .event-card .event-date-box .day {
        font-size: 1.8rem;
    }
}