/*
Theme Name: SNMIC New
Description: Modern, secure WordPress theme for Southern New Mexico Islamic Center with Stripe donation integration, prayer times, and responsive design.
Version: 2.0.0
Author: SNMIC Development Team
Text Domain: snmic
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

This theme supports:
- Custom post types and fields
- Stripe payment integration
- Prayer times display
- Responsive design
- Security best practices
- Performance optimization
- Accessibility features
*/

/* Import the main design system */
@import url('assets/css/main.css');

/* Additional theme-specific styles can be added here */

/* Login and Registration Forms */
.login-form-container,
.register-form-container {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

#loginform,
#registerform {
    max-width: 100%;
}

#loginform p,
#registerform .form-group {
    margin-bottom: 1rem;
}

#loginform label,
#registerform label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

#loginform input[type="text"],
#loginform input[type="password"],
#registerform input[type="text"],
#registerform input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

#loginform input[type="submit"],
#registerform input[type="submit"] {
    background: #007cba;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
}

#loginform input[type="submit"]:hover,
#registerform input[type="submit"]:hover {
    background: #005a87;
}

.login-links,
.register-links {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.required {
    color: #d63638;
}

/* Dashboard Styles */
.dashboard-container {
    padding: 2rem 0;
}

.dashboard-widget {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.dashboard-widget h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 0.5rem;
}

.dashboard-widget ul {
    list-style: none;
    padding: 0;
}

.dashboard-widget ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.dashboard-widget ul li:last-child {
    border-bottom: none;
}

.prayer-times-dashboard .prayer-item {
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .prayer-times-dashboard .prayer-item {
        display: block;
        margin-right: 0;
    }
}

/* News Page Styles */
.news-hero-section {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
}

.news-item {
    border-left: 4px solid #28a745;
    transition: transform 0.2s ease-in-out;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.prayer-times-widget .prayer-time-item {
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 5px;
}

.prayer-times-widget .prayer-time-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.quick-links-widget a {
    text-decoration: none;
    transition: opacity 0.2s;
}

.quick-links-widget a:hover {
    opacity: 0.8;
    text-decoration: none;
}

.contact-widget i {
    margin-right: 8px;
}

/* Homepage improvements */
.homepage-content .hero-section {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.homepage-content .services-section {
    padding: 80px 0;
}

.homepage-content .service-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out;
    height: 100%;
}

.homepage-content .service-card:hover {
    transform: translateY(-5px);
}

.homepage-content .service-icon {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 20px;
}


/* Footer Color Scheme Update */
.site-footer {
    background: linear-gradient(135deg, #2c5530 0%, #1e3a21 100%) !important;
    color: #ffffff !important;
    padding: 60px 0 20px;
}

.site-footer .widget-title {
    color: #ffffff !important;
    border-bottom: 2px solid #4a7c59;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.site-footer .widget-content {
    color: #e8f5e8 !important;
    line-height: 1.6;
}

.site-footer .footer-menu a {
    color: #e8f5e8 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer .footer-menu a:hover {
    color: #ffffff !important;
}

.site-footer .social-links .social-link {
    background: #4a7c59 !important;
    color: #ffffff !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.site-footer .social-links .social-link:hover {
    background: #28a745 !important;
    color: #ffffff !important;
}

.site-footer .prayer-time-item {
    color: #e8f5e8 !important;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.site-footer .contact-info {
    color: #e8f5e8 !important;
}

.site-footer .contact-info i {
    color: #4a7c59 !important;
    margin-right: 10px;
}


/* Page Template Styles */
.page-hero-section {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    min-height: 300px;
    display: flex;
    align-items: center;
}

.page-hero-section .display-4 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* About Page Styles */
.about-page-content .service-item {
    border-left: 4px solid #28a745;
    transition: transform 0.2s ease;
}

.about-page-content .service-item:hover {
    transform: translateX(5px);
}

.about-page-content .contact-card,
.about-page-content .prayer-times-card {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Programs Page Styles */
.programs-page-content .program-item {
    transition: box-shadow 0.3s ease;
}

.programs-page-content .program-item:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.programs-page-content .program-item h4 i {
    margin-right: 10px;
}

.programs-page-content .registration-section {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Media Page Styles */
.media-page-content .nav-pills .nav-link {
    color: #2c5530;
    background: transparent;
    border: 2px solid #2c5530;
    margin: 0 5px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.media-page-content .nav-pills .nav-link:hover,
.media-page-content .nav-pills .nav-link.active {
    background: #2c5530;
    color: white;
}

.media-page-content .lecture-item {
    border-left: 4px solid #28a745;
    transition: transform 0.2s ease;
}

.media-page-content .lecture-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.media-page-content .resource-category {
    height: 100%;
    transition: transform 0.2s ease;
}

.media-page-content .resource-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.media-page-content .gallery-item .image-placeholder {
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.media-page-content .gallery-item .image-placeholder:hover {
    background-color: #f8f9fa !important;
}

.media-page-content .video-placeholder {
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.media-page-content .upcoming-events .event-item {
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 10px;
}

.media-page-content .upcoming-events .event-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* News Page Enhancements */
.news-page-content .news-item {
    border-left: 4px solid #28a745;
    transition: all 0.3s ease;
}

.news-page-content .news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-left-width: 6px;
}


/* Improved Media Page Styles */
.media-page-content .lecture-item {
    border-left: 5px solid #28a745;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.media-page-content .lecture-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-left-width: 8px;
}

.media-page-content .lecture-item h4 {
    margin-bottom: 10px;
}

.media-page-content .lecture-item .btn {
    min-width: 140px;
}

.media-page-content .livestream-section {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.media-page-content .upcoming-events {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.media-page-content .upcoming-events .event-item {
    border-bottom: 1px solid rgba(255,255,255,0.2) !important;
    padding-bottom: 15px !important;
    margin-bottom: 15px !important;
}

.media-page-content .upcoming-events .event-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.media-page-content .resources-section {
    border: 2px solid #e9ecef !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.media-page-content .resources-section:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.media-page-content .resources-section a {
    color: #495057;
    transition: color 0.2s ease;
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
}

.media-page-content .resources-section a:hover {
    color: #28a745;
    text-decoration: none;
}

.media-page-content .resources-section a i {
    margin-right: 10px !important;
    width: 20px;
}

.media-page-content .contact-section {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.media-page-content .contact-section i {
    margin-right: 8px;
}

.media-page-content .gallery-placeholder {
    height: 250px;
    border: 2px dashed #dee2e6;
    transition: all 0.3s ease;
}

.media-page-content .gallery-placeholder:hover {
    border-color: #28a745;
    background-color: #f8f9fa !important;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.media-page-content .gallery-placeholder h5 {
    color: #495057;
    margin-bottom: 10px;
}

/* Fix border-left class */
.border-left {
    border-left: 5px solid #28a745 !important;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .media-page-content .lecture-item .row {
        text-align: center;
    }
    
    .media-page-content .lecture-item .btn {
        margin-top: 15px;
        width: 100%;
    }
    
    .media-page-content .livestream-section .row {
        text-align: center;
    }
    
    .media-page-content .livestream-section .btn {
        margin-top: 15px;
        width: 100%;
    }
}


/* Header User Button Styles */
.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-actions .user-btn {
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.header-actions .user-btn.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: white;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

.header-actions .user-btn.btn-success:hover {
    background: linear-gradient(135deg, #218838 0%, #1aa179 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    color: white;
    text-decoration: none;
}

.header-actions .user-btn.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.header-actions .user-btn.btn-outline-light:hover {
    background: white;
    color: #2c5530;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

.header-actions .donate-btn {
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

.header-actions .donate-btn:hover {
    background: linear-gradient(135deg, #c82333 0%, #a71e2a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
    text-decoration: none;
    color: white;
}

.header-actions .user-btn i,
.header-actions .donate-btn i {
    margin-right: 8px;
}

/* Responsive header actions */
@media (max-width: 768px) {
    .header-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .header-actions .user-btn,
    .header-actions .donate-btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .header-actions .user-btn span,
    .header-actions .donate-btn span {
        display: none;
    }
    
    .header-actions .user-btn,
    .header-actions .donate-btn {
        min-width: 50px;
        width: auto;
        padding: 10px 15px;
    }
}


/* Fix for Login/Register button visibility */
.header-actions .user-btn.btn-outline-light {
    border: 2px solid white !important;
    color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
    font-weight: 600 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

.header-actions .user-btn.btn-outline-light:hover {
    background: white !important;
    color: #2c5530 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4) !important;
    text-decoration: none;
    text-shadow: none !important;
}

/* Ensure all header buttons have proper contrast */
.header-actions .user-btn,
.header-actions .donate-btn {
    font-weight: 600 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Alternative: If the above doesn't work, use a solid background approach */
.header-actions .user-btn.btn-outline-light.alt-style {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
    border: 2px solid #6c757d !important;
    color: white !important;
    text-shadow: none !important;
}

.header-actions .user-btn.btn-outline-light.alt-style:hover {
    background: linear-gradient(135deg, #5a6268 0%, #343a40 100%) !important;
    border-color: #5a6268 !important;
    color: white !important;
}


/* Style for Login/Register button with secondary class */
.header-actions .user-btn.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
    border: 2px solid #6c757d !important;
    color: white !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 10px rgba(108, 117, 125, 0.3) !important;
}

.header-actions .user-btn.btn-secondary:hover {
    background: linear-gradient(135deg, #5a6268 0%, #343a40 100%) !important;
    border-color: #5a6268 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.4) !important;
    text-decoration: none;
}


/* User Button Styles */
.user-btn {
    margin-left: 10px !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    background-color: #6c757d !important;
    transition: all 0.3s ease !important;
}

.user-btn:hover {
    background-color: #5a6268 !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.user-btn span {
    color: #fff !important;
    font-weight: 500;
    margin-left: 5px;
}

.user-btn i {
    color: #fff !important;
}

/* Ensure button text is always visible */
.header-actions .user-btn,
.header-actions .user-btn span,
.header-actions .user-btn i {
    color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
}


/* Force gray background for user button - highest specificity */
.header-actions .user-btn.btn-outline-light {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
    border: 2px solid #6c757d !important;
    color: white !important;
}

.header-actions .user-btn.btn-outline-light:hover {
    background: linear-gradient(135deg, #5a6268 0%, #343a40 100%) !important;
    border-color: #5a6268 !important;
    color: white !important;
}

/* Dark Blue Islamic Theme - Override existing styles */

:root {
    --primary-dark-blue: #1a237e;
    --secondary-dark-blue: #283593;
    --accent-dark-blue: #3949ab;
    --light-dark-blue: #5c6bc0;
    --navy-blue: #0d1421;
    --midnight-blue: #1e3a8a;
    --royal-blue: #1e40af;
}

/* Header with dark blue gradient */
.site-header {
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--secondary-dark-blue) 50%, var(--accent-dark-blue) 100%) !important;
    box-shadow: 0 4px 20px rgba(26, 35, 126, 0.3) !important;
}

/* Top bar dark blue */
.top-bar {
    background: linear-gradient(90deg, var(--navy-blue) 0%, var(--primary-dark-blue) 100%) !important;
}

/* Navigation dark blue */
.main-navigation {
    background: linear-gradient(135deg, var(--secondary-dark-blue) 0%, var(--accent-dark-blue) 100%) !important;
}

/* Hero section with mosque background */
.hero-section {
    background: linear-gradient(rgba(26, 35, 126, 0.7), rgba(40, 53, 147, 0.8)), url('images/bg_1.png') center/cover no-repeat !important;
    min-height: 600px !important;
    color: white !important;
}

/* Homepage sections */
.content-section {
    background: linear-gradient(135deg, var(--light-dark-blue) 0%, var(--accent-dark-blue) 100%) !important;
    color: white !important;
}

/* Cards and boxes */
.islamic-card,
.prayer-time-card,
.feature-card {
    background: linear-gradient(135deg, var(--secondary-dark-blue) 0%, var(--accent-dark-blue) 100%) !important;
    border: 1px solid var(--light-dark-blue) !important;
    color: white !important;
}

/* Buttons - dark blue theme */
.btn-primary {
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--midnight-blue) 100%) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.4) !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--midnight-blue) 0%, var(--navy-blue) 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.6) !important;
}

/* Footer dark blue */
.site-footer {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--primary-dark-blue) 100%) !important;
    color: white !important;
}

/* Update existing green elements to dark blue */
.islamic-welcome,
.prayer-times-section,
.services-section {
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--secondary-dark-blue) 100%) !important;
}


/* Homepage Dark Blue Islamic Design Updates */

/* Hero section with mosque image */
.hero-section {
    background: linear-gradient(rgba(26, 35, 126, 0.7), rgba(40, 53, 147, 0.8)), url('images/bg_1.png') center/cover no-repeat !important;
    min-height: 700px !important;
    display: flex !important;
    align-items: center !important;
    color: white !important;
    position: relative !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(26, 35, 126, 0.8), rgba(40, 53, 147, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Services section with Islamic elements */
.services-section {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%) !important;
    color: white !important;
    padding: 80px 0 !important;
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 150px;
    height: 150px;
    background: url('images/mosque-domes.png') no-repeat center/contain;
    opacity: 0.1;
    z-index: 1;
}

/* Service cards with dark blue theme */
.service-card {
    background: linear-gradient(135deg, #3949ab 0%, #5c6bc0 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100px;
    height: 100px;
    background: url('images/arabic.png') no-repeat center/contain;
    opacity: 0.05;
    transform: rotate(15deg);
}

.service-card:hover {
    background: linear-gradient(135deg, #5c6bc0 0%, #7986cb 100%) !important;
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 30px rgba(26, 35, 126, 0.4) !important;
}

/* News section */
.news-section {
    background: linear-gradient(135deg, #283593 0%, #3949ab 100%) !important;
    color: white !important;
    position: relative;
}

.news-section::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 120px;
    height: 120px;
    background: url('images/reading-quran.png') no-repeat center/contain;
    opacity: 0.1;
}

/* CTA section with dua hands */
.cta-section {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%) !important;
    color: white !important;
    position: relative;
    padding: 100px 0 !important;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: url('images/dua-hands.png') no-repeat center/contain;
    opacity: 0.05;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

/* Prayer times with dark blue */
.prayer-times-section,
.prayer-time-card {
    background: linear-gradient(135deg, #3949ab 0%, #5c6bc0 100%) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Islamic welcome section */
.islamic-welcome {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%) !important;
    color: white !important;
    position: relative;
}

.islamic-welcome::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 100px;
    height: 100px;
    background: url('images/window.png') no-repeat center/contain;
    opacity: 0.1;
}

/* Update buttons to dark blue theme */
.hero-btn,
.cta-btn {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 15px 30px !important;
    border-radius: 30px !important;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4) !important;
    transition: all 0.3s ease !important;
}

.hero-btn:hover,
.cta-btn:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #0d1421 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 35px rgba(30, 64, 175, 0.6) !important;
    color: white !important;
}

/* Section titles */
.section-title {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
    font-weight: 700 !important;
}


/* Header Dark Blue Theme Updates */
.site-header {
    background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%) !important;
    box-shadow: 0 4px 20px rgba(26, 35, 126, 0.4) !important;
}

.top-bar {
    background: linear-gradient(90deg, #0d1421 0%, #1a237e 100%) !important;
}

.main-navigation {
    background: linear-gradient(135deg, #283593 0%, #3949ab 100%) !important;
}

/* Update user button for dark blue theme */
.header-actions .user-btn.btn-outline-light {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%) !important;
    border: 2px solid #1e40af !important;
    color: white !important;
}

.header-actions .user-btn.btn-outline-light:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #0d1421 100%) !important;
    border-color: #1e3a8a !important;
    color: white !important;
}

/* Navigation links */
.main-menu a {
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.main-menu a:hover {
    color: #e3f2fd !important;
    background: rgba(255, 255, 255, 0.1) !important;
}


/* Footer Dark Blue Theme */
.site-footer {
    background: linear-gradient(135deg, #0d1421 0%, #1a237e 100%) !important;
    color: white !important;
    border-top: 3px solid #3949ab !important;
}

.footer-content {
    background: transparent !important;
}

.footer-section h3 {
    color: #e3f2fd !important;
    border-bottom: 2px solid #3949ab !important;
}

.footer-section a {
    color: #bbdefb !important;
}

.footer-section a:hover {
    color: white !important;
}

.footer-bottom {
    background: rgba(13, 20, 33, 0.8) !important;
    border-top: 1px solid #3949ab !important;
}


/* Mosque Showcase Section */
.mosque-showcase {
    background: linear-gradient(135deg, #283593 0%, #3949ab 100%) !important;
    color: white !important;
    padding: 100px 0 !important;
    position: relative;
    overflow: hidden;
}

.mosque-showcase::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: url('images/mosque-domes.png') no-repeat center/contain;
    opacity: 0.05;
    transform: rotate(15deg);
}

.showcase-title {
    color: white !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 30px !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.showcase-description {
    font-size: 1.2rem !important;
    line-height: 1.8 !important;
    margin-bottom: 40px !important;
    color: #e3f2fd !important;
}

.mosque-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border-left: 4px solid #1e40af;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.feature-item i {
    color: #1e40af !important;
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.feature-item span {
    color: white !important;
    font-weight: 500;
    font-size: 1.1rem;
}

.mosque-image {
    position: relative;
    z-index: 2;
}

.mosque-image img {
    border-radius: 15px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

.mosque-image img:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4) !important;
}

/* Responsive design for mosque showcase */
@media (max-width: 768px) {
    .showcase-title {
        font-size: 2rem !important;
    }
    
    .mosque-features {
        margin-top: 40px;
    }
    
    .feature-item {
        padding: 12px 15px;
    }
}


/* Fix Top Prayer Bar Colors */
.top-bar {
    background: linear-gradient(90deg, #2c5530 0%, #1a4a1f 100%) !important;
    color: white !important;
    border-bottom: 2px solid #4a7c59 !important;
}

.prayer-info {
    color: white !important;
}

.prayer-time {
    color: #90ee90 !important;
    font-weight: bold !important;
}

/* Fix Header Readability */
.site-header {
    background: linear-gradient(135deg, #2c5530 0%, #1a4a1f 50%, #4a7c59 100%) !important;
    box-shadow: 0 4px 20px rgba(44, 85, 48, 0.4) !important;
}

.main-navigation {
    background: linear-gradient(135deg, #1a4a1f 0%, #2c5530 100%) !important;
}

.main-menu a {
    color: white !important;
    font-weight: 600 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5) !important;
    padding: 12px 20px !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
}

.main-menu a:hover {
    color: #90ee90 !important;
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px) !important;
}


/* Improve Hero Section Text Readability */
.hero-title {
    color: white !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8) !important;
    font-weight: 800 !important;
    font-size: 3.5rem !important;
    margin-bottom: 25px !important;
}

.hero-description {
    color: #f0f8ff !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7) !important;
    font-size: 1.3rem !important;
    font-weight: 500 !important;
    margin-bottom: 40px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 20px !important;
    border-radius: 10px !important;
    backdrop-filter: blur(5px) !important;
}

.hero-mosque-icon i {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
    font-size: 5rem !important;
}

/* Fix Header Logo */
.site-logo-img {
    max-height: 60px !important;
    width: auto !important;
    margin-right: 15px !important;
    filter: brightness(1.2) contrast(1.1) !important;
}

.site-title a {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6) !important;
    font-weight: 700 !important;
}

.site-description {
    color: #90ee90 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6) !important;
}

/* Fix Service Section Cards */
.services-section {
    background: linear-gradient(135deg, #2c5530 0%, #1a4a1f 100%) !important;
    color: white !important;
}

.service-card {
    background: linear-gradient(135deg, #4a7c59 0%, #2c5530 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.service-card h3 {
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
}


/* Overall Color Scheme Fix - Islamic Green Theme */
:root {
    --islamic-green: #2c5530;
    --light-islamic-green: #4a7c59;
    --dark-islamic-green: #1a4a1f;
    --accent-green: #90ee90;
}

/* Fix Mosque Showcase Section */
.mosque-showcase {
    background: linear-gradient(135deg, var(--islamic-green) 0%, var(--light-islamic-green) 100%) !important;
    color: white !important;
}

/* Fix News Section */
.news-section {
    background: linear-gradient(135deg, var(--light-islamic-green) 0%, var(--islamic-green) 100%) !important;
    color: white !important;
}

/* Fix CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--dark-islamic-green) 0%, var(--islamic-green) 100%) !important;
    color: white !important;
}

/* Fix Footer */
.site-footer {
    background: linear-gradient(135deg, var(--dark-islamic-green) 0%, var(--islamic-green) 100%) !important;
    color: white !important;
}

/* Update User Button */
.header-actions .user-btn.btn-outline-light {
    background: linear-gradient(135deg, var(--light-islamic-green) 0%, var(--islamic-green) 100%) !important;
    border: 2px solid var(--light-islamic-green) !important;
    color: white !important;
}

.header-actions .user-btn.btn-outline-light:hover {
    background: linear-gradient(135deg, var(--islamic-green) 0%, var(--dark-islamic-green) 100%) !important;
    border-color: var(--islamic-green) !important;
    color: white !important;
}

/* Fix Islamic Welcome Section */
.islamic-welcome {
    background: linear-gradient(135deg, var(--islamic-green) 0%, var(--light-islamic-green) 100%) !important;
    color: white !important;
}

