/* ==========================================================================
   GRACE OF GOD MISSION INTERNATIONAL ATLANTIS - CUSTOM STYLESHEET
   ==========================================================================
   All custom CSS styles, animations, utilities, and media query overrides
   are contained in this file. You can easily edit values by hand below.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Core Layout & Reset
   -------------------------------------------------------------------------- */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #334155;
    background-color: #f8fafc;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
}

/* --------------------------------------------------------------------------
   2. Hero Backgrounds & Cover Media
   -------------------------------------------------------------------------- */
.hero-bg {
    background-image: linear-gradient(rgba(0, 0, 51, 0.30), rgba(0, 0, 51, 0.45)), url('images/hero1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-about-bg {
    background-image: linear-gradient(rgba(0, 0, 51, 0.30), rgba(0, 0, 51, 0.45)), url('images/hero-about.jpg');
    background-size: cover;
    background-position: center;
}



.hero-attend-bg {
    background-image: linear-gradient(rgba(0, 0, 51, 0.30), rgba(0, 0, 51, 0.45)), url('images/attend.jpg');
    background-size: cover;
    background-position: center;
}

.hero-give-bg {
    background-image: linear-gradient(rgba(0, 0, 51, 0.30), rgba(0, 0, 51, 0.45)), url('images/give.jpg');
    background-size: cover;
    background-position: center;
}

@media (max-width: 767px) {
    .hero-bg, .hero-about-bg, .hero-sermons-bg, .hero-attend-bg, .hero-give-bg {
        background-attachment: scroll;
    }
}

/* --------------------------------------------------------------------------
   3. Custom Utility Classes & Effects
   -------------------------------------------------------------------------- */
.text-shadow {
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.text-shadow-sm {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* Accessibility Focus States */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid #ffcc00;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Video Responsive Aspect Ratio Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.video-container iframe,
.video-container object,
.video-container embed,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Accordion Smooth Transitions */
.accordion-content {
    transition: max-height 0.3s ease-in-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #000033;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e60000;
}
