/* Prayer Times Page - Matches Contact & Projects Pages Exactly */

/* Prayer Wrapper - Full Width */
.prayer-wrapper {
    width: 100%;
    background: #f8f9fa;
    overflow-x: hidden;
}

/* Hero Section */
.prayer-hero {
    background: linear-gradient(135deg, #00b590 0%, #006905 100%);
    color: white;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 60vh;
    position: relative;
    overflow: hidden;
}

.prayer-hero-content {
    text-align: left;
}

.prayer-hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.prayer-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.prayer-hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.prayer-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* Main Content */
.prayer-main-content {
    width: 100%;
    padding: 0;
    max-width: none;
    box-sizing: border-box;
}

/* Prayer Sections */
.prayer-section {
    padding: 4rem 2rem;
    background: white;
    margin-bottom: 0;
}

.prayer-section:nth-child(even) {
    background: #f8fafc;
}

.prayer-section-info {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

/* Section Content */
.prayer-section-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.prayer-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.prayer-section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.prayer-section-header h2 i {
    color: #00b590;
}

.prayer-section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Prayer Finder Card */
.prayer-finder-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.05);
}

/* Search Section */
.search-section {
    margin-bottom: 2rem;
}

.form-label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control, .form-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus, .form-select:focus {
    outline: none;
    border-color: #00b590;
    box-shadow: 0 0 0 3px rgba(0, 181, 144, 0.1);
}

/* Current Location Section */
.current-location-section {
    text-align: center;
    margin-bottom: 2rem;
}

.btn-outline-success {
    border: 2px solid #00b590;
    color: #00b590;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-success:hover {
    background: #00b590;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 181, 144, 0.3);
}

/* Prayer Times Display */
.prayer-times-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.05);
}

.prayer-time-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

.prayer-time-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.time-display {
    font-size: 2rem;
    font-weight: 600;
    color: #495057;
}

/* Prayer Info Grid */
.prayer-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.prayer-info-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.prayer-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.prayer-info-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #00b590, #006905);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

.prayer-info-content h4 {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.prayer-info-content p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #00b590, #006905);
    border: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 181, 144, 0.4);
    color: white;
}

.btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-2px);
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Alert Styling */
.alert-info {
    background: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .prayer-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .prayer-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .prayer-wrapper {
        padding: 0;
    }
    
    .prayer-hero {
        padding: 3rem 1rem;
        min-height: 50vh;
    }
    
    .prayer-hero-title {
        font-size: 2.5rem;
    }
    
    .prayer-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .prayer-section {
        padding: 3rem 1rem;
    }
    
    .prayer-section-header h2 {
        font-size: 2rem;
    }
    
    .prayer-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .prayer-hero {
        padding: 2rem 0.5rem;
    }
    
    .prayer-hero-title {
        font-size: 2rem;
    }
    
    .prayer-section {
        padding: 2rem 0.5rem;
    }
    
    .prayer-section-header h2 {
        font-size: 1.75rem;
    }
    
    .prayer-info-item {
        padding: 1.5rem;
    }
}
