/* Hero Section */
.hero-section {
    height: 60vh;
    background: url('../images/hero-bg.jpg') center/cover;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
    display: flex;
    align-items: center;
    justify-content: center;
}

.cross-divider {
    font-size: 2.5rem;
    margin: 1rem 0;
    color: var(--bs-primary);
}

/* Ministry Cards */
.ministry-card {
    position: relative;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
    display: block;
    margin-bottom: 30px;
}

.ministry-card:hover {
    transform: translateY(-10px);
}

.ministry-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.ministry-image img,
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ministry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.ministry-name {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

/* Swiper Customization */
.ministry-swiper {
    width: 100%;
    height: 100%;
}

.ministry-swiper .swiper-pagination-bullet {
    background: white;
}

.ministry-swiper .swiper-button-next,
.ministry-swiper .swiper-button-prev {
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .ministry-card {
        height: 400px;
    }
    
    .ministry-name {
        font-size: 2.5rem;
    }
    
    .hero-section {
        height: 50vh;
    }
}

@media (max-width: 576px) {
    .ministry-card {
        height: 300px;
    }
    
    .ministry-name {
        font-size: 2rem;
    }
}

/* Reset container padding for full width */
.ministries-section {
    padding: 0;
}

/* Full-width ministry rows */
.ministry-row {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    margin-bottom: 2px; /* Small gap between rows */
}

.ministry-container {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    overflow: hidden;
}

.ministry-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.ministry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ministry-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.7) 0%,
        rgba(0,0,0,0.4) 50%,
        rgba(0,0,0,0.2) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5% 10%;
    transition: background 0.3s ease;
}

.ministry-name {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

.ministry-description {
    color: white;
    font-size: 1.2rem;
    max-width: 600px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Hover effects */
.ministry-container:hover .ministry-image img {
    transform: scale(1.05);
}

.ministry-container:hover .ministry-content {
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.8) 0%,
        rgba(0,0,0,0.5) 50%,
        rgba(0,0,0,0.3) 100%
    );
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .ministry-row {
        height: 350px;
    }
    
    .ministry-name {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .ministry-row {
        height: 300px;
    }
    
    .ministry-name {
        font-size: 2.5rem;
    }
    
    .ministry-description {
        font-size: 1rem;
    }
    
    .ministry-content {
        padding: 5%;
    }
}

@media (max-width: 576px) {
    .ministry-row {
        height: 250px;
    }
    
    .ministry-name {
        font-size: 2rem;
    }
    
    .ministry-description {
        display: none; /* Hide description on mobile */
    }
} 