/* =========================
   PHM HCC WEBSITE STYLE
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

.breadcrumbs {
    padding: 12px ;
    padding-top: 0px;
    padding-bottom: 8px;
    background: #f5f7fa;
    color: #64748b;
    font-size: 13px;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.breadcrumbs li + li::before {
    content: "/";
    margin-right: 8px;
    color: #94a3b8;
}

.breadcrumbs a {
    color: #245783;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
    color: #334155;
    font-weight: 600;
}

body {
    background: #ffffff;
    color: #222;

}

/* =========================
   NAVBAR
   ========================= */

header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #003366;
    box-shadow: 0 1px 1px rgba(251, 250, 250, 0.885);
    padding: 15px 8%;
}

.language-switch select {
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 6px;
    background: #003366;
    color: #fff;
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.auth-language-switch {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
}

.auth-language-switch .language-switch select {
    border-color: #ccd4df;
    background: #fff;
    color: #003366;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.logo img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
}

.logo h2 {
    font-size: 25px;
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: .3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #FFD700;
}

.menu {
    display: none;
    padding: 6px;
    border: 0;
    background: transparent;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

@media (min-width: 901px) and (max-width: 1200px) {
    .navbar {
        padding-right: 4%;
        padding-left: 4%;
    }

    .logo {
        gap: 6px;
    }

    .logo img {
        width: 46px;
        height: 46px;
    }

    .logo h2 {
        font-size: 20px;
        white-space: nowrap;
    }

    .nav-links {
        gap: 12px;
        padding-left: 0;
    }

    .nav-links a {
        font-size: 14px;
    }
}

.menu:focus-visible,
.nav-links a:focus-visible {
    outline: 2px solid #FFD700;
    outline-offset: 4px;
}

/* =========================
   HERO SECTION
========================= */
.hero {
    min-height: 90vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)),
        url("./Images/church-background.jpg") center center / cover no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 80px 20px;
}

.hero-content {
    max-width: 900px;
    color: white;
    z-index: 2;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.hero-content h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-content .btn {
    display: inline-block;
    padding: 13px 30px;
    background: #d4a017;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s ease;
}

.hero-content .btn:hover {
    background: #b8860b;
    transform: translateY(-2px);
}

/* =========================
WELCOME
========================= */
.welcome {
    padding: 70px 10%;
    text-align: center;
    /* min-height: 90vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)),
        url("./Images/church-background.jpg") center center / cover no-repeat; */

}

.welcome h2 {
    color: #003366;
    font-size: 35px;
    margin-bottom: 20px;
}

.welcome p {
    line-height: 1.8;
    font-size: 18px;
}

/* =========================
SERVICES
========================= */
.services {
    padding: 60px 10%;
    background: #f5f5f5;
    text-align: center;
}

.services h2 {
    color: #003366;
    font-size: 35px;
}

.service-container {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow:
        0 5px 15px rgba(0, 0, 0, .1);
    transition: .3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 40px;
    color: #FFD700;
    margin-bottom: 15px;
}

.service-card h3 {
    color: #003366;
}

/* =========================
MISSION VISION
========================= */

.mission {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 70px 10%;
}

.mission div {
    padding: 35px;
    background: #003366;
    color: white;
    border-radius: 15px;
}

.mission h2 {
    color: #FFD700;
    margin-bottom: 15px;
}

/* =========================
PASTOR
========================= */
.pastor {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 70px 10%;
}

.pastor img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
}

.pastor h2 {
    color: #003366;
    margin-bottom: 20px;
}

.pastor .btn {
    display: inline-block;
    padding: 13px 30px;
    margin-top: 25px;
    background: #d4a017;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s ease;
}

.pastor .btn:hover {
    background: #b8860b;
    transform: translateY(-2px);
}

/* =========================
EVENTS
========================= */
.events {
    padding: 70px 10%;
    background: #f5f5f5;
    text-align: center;
}

.events h2 {
    color: #003366;
}

.event-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.event-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow:
        0 5px 15px rgba(0, 0, 0, .1);
}

.event-card h3 {
    color: #003366;
}

/* =========================
BIBLE VERSE
========================= */
.verse {
    background: #003366;
    color: white;
    font-size: 25px;
    padding: 60px;
    text-align: center;
}

.verse h2 {
    color: #FFD700;
    margin-bottom: 20px;
}

.verse blockquote {
    font-size: 22px;
    font-style: italic;

}

.verse p {
    font-size: 26px;
    font-style: italic;
}

.announcement {
    padding: 50px 20px;
    background: #f8f9fa;
    text-align: center;
}

.announcement h2 {
    color: #1a237e;
    margin-bottom: 30px;
}

.marquee-container {
    /* overflow: hidden; */
    width: 100%;
}

.marquee-content {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll 15s linear infinite;
}

.news-card {
    width: 280px;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.news-card h3 {
    color: #1565c0;
}

.news-card p {
    color: #555;
}

/* Moving animation */
@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-30%);
    }
}

/* Pause when mouse is over */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* =========================
FOOTER
========================= */
footer {
    width: 100%;
    flex-shrink: 0;
    padding: 40px;
    text-align: center;
    border-top: 1px solid #dce5ef;
    background: #eef2f6;
    color: black;
    font-size:15px;
    line-height: 20px;
}

footer h2 {
    color: #FFD700;
}

/* Original brand colors */
.social {
    margin: 20px;
}

.social a {
    font-size: 30px;
    text-decoration: none;
    transition: transform 0.3s ease;
       margin: 0 10px;
}

/* Facebook */
.social a:nth-child(1) {
    color: #1877F2;
}

/* YouTube */
.social a:nth-child(2) {
    color: #FF0000;
}

/* Instagram */
.social a:nth-child(3) {
    color: #E4405F;
}

/* WhatsApp */
.social a:nth-child(4) {
    color: #25D366;
}

/* Hover effect */
.social a:hover {
    transform: translateY(-4px);
}

.social a:nth-child(3) i {
    background: linear-gradient(45deg,
            #FEDA75,
            #FA7E1E,
            #D62976,
            #962FBF,
            #4F5BD5);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hover effect */
.social a:hover {
    transform: scale(1.2);
}

/* =========================
RESPONSIVE DESIGN
========================= */

@media(max-width:900px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: min(415px, 100vw);
        max-height: calc(100vh - 85px);
        max-height: calc(100dvh - 85px);
        padding: 18px 16px 20px;
        overflow-y: auto;
        background: #014080;
        border-top: 1px solid rgba(255, 255, 255, .16);
        box-shadow: 12px 12px 30px rgba(0, 0, 0, .18);
        transform: translateX(-120%);
        transition: transform .25s ease;
        text-align: left;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 14px 10px;
        border-radius: 8px;
    }

    .nav-language-switch .language-switch select {
        width: 100%;
        margin-top: 8px;
    }

    .menu {
        display: block;
    }

    .menu[aria-expanded="true"] {
        color: #FFD700;
    }

    .service-container,
    .event-container {

        grid-template-columns: 1fr;
    }

    .mission {

        grid-template-columns: 1fr;
    }

    .pastor {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {

        font-size: 30px;
    }

    .hero-content h2 {

        font-size: 25px;
    }

    /* ==========================
   Back To Top Button
========================== */
    #topBtn {
        position: fixed;
        bottom: 25px;
        right: 25px;
        width: 50px;
        height: 50px;
        border: none;
        border-radius: 50%;
        background: #FFD700;
        color: #003366;
        font-size: 22px;
        cursor: pointer;
        box-shadow: 0 5px 15px rgba(0, 0, 0, .3);
        transition: .3s;
    }

    #topBtn:hover {
        background: #003366;
        color: white;
    }

}
