/* LOGO HEX CODES
DARK BLUE: #2e3192
LIGHT BLUE: #00adef
*/

/* Start of Hero section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/static/images/church.jpg");
    height: 100vh;
    background-size: cover;
    background-position: center;
    padding: 2rem 0;
    padding-top: 100px;
    padding-bottom: 60pt;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.title {
    font-family: 'Georgia', serif;
    font-size: 4rem;
    font-weight: bold;
    padding-bottom: 20pt;
}

.subtitle {
    font-family: 'Georgia', serif;
    font-size: 2rem;
    font-weight: bold;
}
/* End of Hero section */

/* Start of services (ministries) section */
.services .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.card-small {
    width: 100%;
    margin: 10px auto;
    padding: 0;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    /* Ensure no background color */
    box-shadow: none;
    /* Remove any box shadow */
}

.card {
    border: none;
    padding: 0;
    margin: 0;
    background-color: transparent;
    /* Ensure no background color */
    box-shadow: none;
    /* Remove any box shadow */
    height: 100%;
    /* Ensure card takes full height */
}

.card-img-top {
    border-radius: 0;
    width: 100%;
    height: 100%;
    /* Ensure image takes full height */
    object-fit: cover;
    margin: 0;
    padding: 0;
}

.img-small {
    height: 100%;
    /* Ensure image takes full height */
    object-fit: cover;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    /* Ensure no border */
}

/* End of services (ministries) section */

/* Announcements Section */
.announcements {
    color: white;
    padding: 60px 0;
    background-color: #2e3192;
    /* Set background color for announcements section */
}

.announcement-card {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.announcement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.announcement-card .card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.announcement-card .card-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.announcement-card .btn {
    background-color: #2e3192;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1rem;
}

.announcement-card .btn:hover {
    background-color: #00adef;
}

.map {
    padding-bottom: 4%;
    padding-top: 4%;
    background-color: #00adef;
    /* Set background color for visit us map section */
}

/* Adjust styles for smaller screens */
@media (max-width: 768px) {
    .hero {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/static/images/church_vertical.jpg");
        padding-top: 50px;
        padding-bottom: 80px;
    }

    .title {
        font-size: 2.5rem;
        /* Smaller title on mobile */
        padding-bottom: 130px;
    }

    .subtitle {
        font-size: 1.5rem;
        /* Adjust subtitle */
    }

    p.fs-4 {
        font-size: 1.2rem;
        /* Smaller text for service times */
    }

    .btn-lg {
        padding: 0.75rem 1.25rem;
        /* Smaller button for mobile */
        font-size: 1rem;
    }

    .services .row {
        flex-direction: column;
        align-items: center;
    }

    .card-small {
        width: 100%;
        margin-bottom: 20px;
    }

    .card-img-top {
        height: auto;
    }

    .img-small {
        height: auto;
    }

    .section-left,
    .section-right {
        opacity: 0;
        transform: translateY(20px);
        /* Use translateY for mobile view */
        transition: opacity 1s ease, transform 1s ease;
    }

    .animate-left,
    .animate-right {
        opacity: 1;
        transform: translateY(0);
    }

    .announcement-iframe {
        height: 400px;
        /* Adjust height for smaller screens */
    }
}