/* General Theme Colors */
:root {
    --theme-primary: #008cdd;
    --theme-secondary: #023e73;
    --theme-light: #ffffff;
    --theme-accent: #e3f4fc;
}
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(180deg, #e6f9ff, #80d4ff);
    overflow-x: hidden;
}

#galleryImageModalImg {
    height: 80vh;
    width: auto; /* Ensures aspect ratio is preserved */
    object-fit: contain;
}


/* Navbar */
.navbar-brand img {
    height: 50px;
}

.nav-link {
    color: #003366;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
    color: #80d4ff;
    transform: translateY(-5px);
}

/* Hero Section Styling */
#hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    animation: bgRotate 12s infinite; /* Controls the background rotation */
}

#hero h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

#hero p {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

#hero a {
    font-size: 1.2rem;
    padding: 10px 25px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#hero a:hover {
    transform: scale(1.1);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.5);
}

/* Background Rotation Animation */
@keyframes bgRotate {

    0% {
        background-image: url('images/couple_1.jpg'); /* Second image */
    }
    100% {
        background-image: url('images/church_5.jpg'); /* Third image */
    }
}


.hero-section {
    background: url('images/logo-bg1.jpg') no-repeat center center;
    background-size: cover;
    height: 95vh;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 3px 3px 10px #000;
    z-index: 1;
    animation: fadeInDown 2s ease-out;
}

.hero-section p {
    font-size: 1.5rem;
    margin-top: 10px;
    z-index: 1;
    animation: fadeInUp 2s ease-out;
}

.btn-primary {
    background-color: #80d4ff;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 30px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #004d99;
    transform: scale(1.1);
}

#beliefs .accordion-button {
    transition: all 0.3s ease-in-out;
}

#beliefs {
    background-color: #007bff;

}

#beliefs .accordion-button:not(.collapsed) {
    background-color: #007bff;
    color: white;
    border: 1px solid #007bff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

#beliefs .accordion-body {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: var(--theme-primary);
    letter-spacing: 2px;
}

.highlight-section {
    padding: 50px 0;
}

.bg-about,
.bg-contact {
    background: url('images/church_3.jpg') no-repeat center center;
    background-size: cover;
    color: var(--theme-light);
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}



.bg-about::before,
.bg-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: -1;
}

.bg-about h2,
.bg-contact h2 {
    color: #80d4ff;
    z-index: 1;
}



/* Gallery Images */
.carousel-inner img {
    height: 40vh;
    width: auto; /* Ensure proportional scaling */
    object-fit: cover; /* Prevent distortion */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-inner img:hover {
    transform: scale(1.05); /* Zoom effect */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Core Values Badges */
.list-inline-item .badge {
    font-size: 1rem;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.list-inline-item .badge:hover {
    transform: scale(1.1);
    background-color: var(--theme-primary);
    color: var(--theme-light);
}

/* Testimonials Section */
.card {
    position: relative;
    overflow: hidden;
}

.card blockquote {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
}

.card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-footer img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--theme-light);
}

/* Services Section */
.bg-services {
    background: url('images/church_2.jpg') repeat center center;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.bg-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for readability */
    z-index: -1;
}

#services h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

#services ul {
    padding-left: 0;
    list-style: none;
    font-size: 1rem;
    color: var(--theme-light);
}

#services ul li {
    margin-bottom: 10px;
}

#services .vr {
    width: 2px;
    height: 100%;
    background: var(--theme-light);
}

.video-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#services .carousel img {
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#services .carousel img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

#services .carousel-control-prev-icon,
#services .carousel-control-next-icon {
    background-color: var(--theme-primary);
    border-radius: 50%;
    padding: 10px;
}


.us {
    color: white;
    font-weight: bold;
}

/* Footer Section */
footer {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    color: var(--theme-light);
    padding: 40px 0;
}

footer a {
    color: var(--theme-accent);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

footer a:hover {
    color: var(--theme-light);
    transform: translateY(-2px);
}

footer .social-icons a {
    display: inline-block;
    margin: 0 10px;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

footer .social-icons a:hover {
    color: var(--theme-light);
    transform: scale(1.2);
}

footer hr {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes moveBackground {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}