/* Church-Oriented Theme Styles */

/* Service Time Cards */
.service-time-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-time-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15)!important;
}

.service-time-card i {
    color: #667eea;
}

/* Recent Blog Items */
.recent-blog-item {
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.recent-blog-item:hover {
    background-color: #f8f9fa!important;
    border-left-color: #667eea;
    text-decoration: none;
    transform: translateX(5px);
}

/* Welcome Content Styling */
.welcome-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
}

.welcome-content p {
    margin-bottom: 1rem;
}

/* Section Headings */
.section-heading {
    color: #2c3e50;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.section-heading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* Hero Section Improvements */
#main-header {
    position: relative;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%)!important;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#main-header h1 {
    font-family: 'Georgia', serif;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

#main-header .lead {
    font-size: 1.25rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation Improvements */
.navbar {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    transition: all 0.3s ease;
    padding: 0.5rem 1rem!important;
}

.nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    border-radius: 5px;
}

/* Footer Improvements */
footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%)!important;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff!important;
}

.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Responsive Design - Large Tablets */
@media (max-width: 1200px) {
    #main-header h1 {
        font-size: 2.5rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
}

/* Responsive Design - Tablets */
@media (max-width: 992px) {
    .container {
        max-width: 100%;
    }
    
    .border-left {
        border-left: none!important;
        border-top: 2px solid #e9ecef;
        padding-top: 2rem!important;
        padding-left: 0!important;
        margin-top: 2rem;
    }
}

@media (max-width: 992px) {
    .service-time-card {
        margin-bottom: 2rem;
    }
    
    .welcome-content {
        margin-bottom: 2rem;
    }
    
    .recent-blogs {
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    #main-header {
        min-height: 50vh;
        padding: 2rem 0;
    }
    
    #main-header h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    #main-header .lead {
        font-size: 1.1rem;
    }
    
    .service-time-card {
        margin-bottom: 1.5rem;
    }
    
    .section-heading {
        font-size: 1.75rem;
    }
    
    footer .col-md-4 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .welcome-content {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-brand img {
        width: 30px;
        height: 30px;
    }
    
    .navbar-brand span {
        font-size: 1.1rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem!important;
    }
    
    .nav-link i {
        margin-right: 0.5rem;
    }
    
    #search-form {
        width: 100%;
        margin-top: 1rem;
    }
    
    #search-form .input-group {
        width: 100%;
    }
    
    .recent-blog-item {
        flex-direction: column;
    }
    
    .recent-blog-item .col-auto.w-25 {
        width: 100%!important;
        margin-bottom: 0.5rem;
        margin-right: 0!important;
    }
    
    .recent-blog-img {
        width: 100%!important;
        height: 150px!important;
    }
    
    .border-left {
        border-left: none!important;
        border-top: 2px solid #e9ecef;
        padding-top: 2rem!important;
        padding-left: 0!important;
    }
}

@media (max-width: 576px) {
    #main-header {
        min-height: 40vh;
        padding: 1.5rem 0;
    }
    
    #main-header h1 {
        font-size: 1.75rem;
    }
    
    #main-header .lead {
        font-size: 1rem;
    }
    
    .service-time-card {
        padding: 1.5rem!important;
    }
    
    .service-time-card i {
        font-size: 2rem!important;
    }
    
    .section-heading {
        font-size: 1.5rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .recent-blog-item {
        padding: 0.75rem!important;
    }
    
    footer h5 {
        font-size: 1.1rem;
    }
    
    footer .text-white-50 {
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .service-time-card,
    .recent-blogs {
        display: none;
    }
    
    #main-header {
        min-height: auto;
        page-break-after: always;
    }
}

/* Text Utilities */
.text-primary {
    color: #667eea!important;
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s infinite;
}
