/* =========================
   GLOBAL RESET
========================= */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


html, body {

    height:100%;

}


body {

    font-family: Arial, sans-serif;

    margin:0;

}


/* =========================
   GENERAL
========================= */


section {

    text-align:center;

    padding:120px 20px;

}


h1 {

    font-size:60px;

    margin-bottom:20px;

}


h2 {

    font-size:30px;

    font-weight:normal;

}


p {

    font-size:18px;

    max-width:600px;

    margin:20px auto;

}


/* =========================
   BUTTONS
========================= */


button {

    background-color:white;

    color:black;

    border:none;

    padding:15px 35px;

    font-size:18px;

    cursor:pointer;

    border-radius:30px;

    font-weight:bold;

    transition:0.3s ease;

}


button:hover {

    transform:translateY(-3px);

    opacity:0.85;

}



/* =========================
   HERO
========================= */


.hero {

    min-height:100vh;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:100px 20px;

    position:relative;

    overflow:hidden;


    background-image:url("images/hero.webp");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

}



.hero::before {

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:100%;


    background:rgba(0,0,0,0.45);

}



.hero h1,
.hero h2,
.hero p,
.hero a {

    position:relative;

    z-index:1;

}



.hero h1 {

    color:#D4AF37;

}


.hero h2 {

    color:white;

}


.hero p {

    color:#dddddd;

}


/* HERO TEXT ANIMATION */


.hero h1,
.hero h2,
.hero p {


    opacity:0;

    transform:translateY(30px);

    animation:heroFade 1s forwards;

}



.hero h1 {

    animation-delay:.2s;

}


.hero h2 {

    animation-delay:.4s;

}


.hero p {

    animation-delay:.6s;

}



/* HERO BUTTON */


.hero-button {

    position:relative;

    z-index:2;

    opacity:0;

    transform:translateY(30px);

    animation:heroButtonFade 1s forwards;

    animation-delay:0.8s;

}


.hero-button button {

    background-color:#D4AF37;

    color:black;

    border:none;

    padding:15px 35px;

    border-radius:30px;

    cursor:pointer;

    font-weight:bold;

    transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;

}


.hero-button button:hover {

    transform:translateY(-5px);

    background:white;

    color:black;

    box-shadow:0 8px 20px rgba(212,175,55,0.4);

}


/* =========================
   NAVIGATION
========================= */


nav {

    background:black;

    color:white;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 40px;

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:1000;

    transition:.3s ease;

}



nav.scrolled {

    background:rgba(0,0,0,.9);

    box-shadow:0 5px 20px rgba(0,0,0,.3);

    padding:10px 40px;

}



nav ul {

    display:flex;

    list-style:none;

    gap:20px;

}



nav h2 {

    color:gold;

    font-size:28px;

    letter-spacing:1px;

}



nav a {

    color:white;

    text-decoration:none;

    font-weight:600;

    position:relative;

    transition:.3s ease;

}



nav a::after {

    content:"";

    position:absolute;

    width:0;

    height:2px;

    background:gold;

    left:0;

    bottom:-5px;

    transition:.3s ease;

}



nav a:hover::after {

    width:100%;

}



nav a:hover {

    color:gold;

    transform:translateY(-2px);

}



/* MOBILE NAME */


.mobile-name {

    display:none;

}


/* HAMBURGER */


.menu-toggle {

    display:none;

    width:35px;

    cursor:pointer;

}



.menu-toggle span {

    display:block;

    height:3px;

    background:gold;

    margin:6px 0;

    transition:.3s ease;

}
@keyframes heroFade {

    from {

        opacity:0;
        transform:translateY(30px);

    }


    to {

        opacity:1;
        transform:translateY(0);

    }

}


@keyframes heroButtonFade {

    from {

        opacity:0;
        transform:translateY(30px);

    }


    to {

        opacity:1;
        transform:translateY(0);

    }

}
/* =========================
   ABOUT SECTION
========================= */


.about {

    background-color:rgb(255,251,0);

    color:black;

    display:flex;

    align-items:center;

    justify-content:space-between;

    flex-direction:row;

    gap:60px;

    padding:80px 20px;

}


.about h2 {

    font-size:40px;

}


.about p {

    max-width:700px;

    margin:auto;

    line-height:1.6;

}


.about-text {

    flex:1;

}



/* ABOUT IMAGES */


.about-images {

    display:flex;

    gap:20px;

    align-items:center;

}



.main-about-image {

    width:400px;

    height:auto;

    border-radius:15px;

}



.small-about-images {

    display:flex;

    flex-direction:column;

    gap:20px;

}



.small-about-images img {

    width:220px;

    height:auto;

    border-radius:15px;

}



.about-images img {

    transition:0.3s ease;

}



.about-images img:hover {

    transform:scale(1.05);

}





/* =========================
   SERMONS SECTION
========================= */


.sermons {

    background:#111;

    color:white;

    text-align:center;

    padding:80px 20px;

}



.sermons h2 {

    text-align:center;

}



.sermon-container {

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:40px;

    align-items:start;

}



.sermon-card {

    background:white;

    color:black;

    max-width:400px;

    height:fit-content;

    margin:40px auto;

    padding:25px;

    border-radius:20px;


    box-shadow:
    0 6px 18px rgba(0,0,0,0.15);


    transition:0.3s ease;

}



.sermon-card:hover {

    transform:translateY(-10px);

}



.sermon-card img {

    width:100%;

    border-radius:15px;

    transition:0.3s ease;

}



.sermon-card:hover img {

    transform:scale(1.03);

}



.sermon-card a {

    text-decoration:none;

    display:inline-block;

}



.sermon-card a + a {

    margin-left:15px;

}



.sermon-card button {

    background-color:#D4AF37;

    color:black;

    padding:12px 25px;

}



.sermon-card button:hover {

    transform:scale(1.05);

    opacity:0.8;

}



.sermon-buttons {

    display:flex;

    justify-content:center;

    gap:15px;

}
/* =========================
   EVENTS SECTION
========================= */


.events {

    background-color:gold;

    color:black;

    text-align:center;

    padding:80px 20px;

}


.events h2 {

    color:black;

    font-size:40px;

}


.events p {

    color:black;

    font-size:20px;

    margin-top:20px;

}



/* =========================
   ACTIVITIES SECTION
========================= */


.activities {

    background:white;

    color:black;

    text-align:center;

    padding:80px 20px;

}


.activities h2 {

    font-size:40px;

}



/* =========================
   CONTACT SECTION
========================= */


.contact {

    background:white;

    color:black;

    text-align:center;

    padding:80px 20px;

}



.contact h2 {

    font-size:40px;

}



.contact-info {

    margin-top:30px;

}



.contact-info p {

    font-size:18px;

}



/* =========================
   FOOTER
========================= */


footer {

    background:black;

    color:white;

    text-align:center;

    padding:60px 20px;

}



footer h2 {

    color:gold;

    font-size:30px;

}



footer p {

    margin:15px 0;

    text-align:center;

    margin-left:auto;

    margin-right:auto;

}



.footer-links,
.footer-social {

    margin:25px 0;

}



footer a {

    color:white;

    text-decoration:none;

    margin:0 15px;

    transition:0.3s ease;

}



footer a:hover {

    color:gold;

}



.copyright {

    font-size:14px;

    opacity:0.7;

}
/* =========================
   TABLET STYLES
   769px - 1024px
========================= */


@media (max-width:1024px) and (min-width:769px) {


    .about {

        flex-direction:column;

        align-items:center;

    }


    .about-images {

        justify-content:center;

    }


    .hero h1 {

        font-size:45px;

    }


    .main-about-image {

        width:300px;

    }


    .small-about-images img {

        width:170px;

    }


}



/* =========================
   MOBILE STYLES
   768px AND BELOW
========================= */


@media (max-width:768px) {


/* =========================
   NAVIGATION
========================= */


nav {

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:15px 20px;

}



nav h2 {

    font-size:16px;

    white-space:nowrap;

    margin:0;

}



.desktop-name {

    display:none;

}



.mobile-name {

    display:block;

    font-size:20px;

}



.menu-toggle {

    display:block;

    width:35px;

    cursor:pointer;

    margin-left:auto;

}



.nav-links {

    display:flex;

    flex-direction:column;

    width:100%;

    text-align:center;

    position:absolute;

    top:100%;

    left:0;

    background:black;

    max-height:0;

    overflow:hidden;

    opacity:0;


    transition:

    max-height .45s ease,

    opacity .35s ease,

    padding .35s ease;

}



.nav-links.active {

    max-height:450px;

    opacity:1;

    padding:15px 0;

}



.nav-links li {

    margin:10px 0;

}



/* =========================
   HERO
========================= */


h1 {

    font-size:38px;

}


.hero h2 {

    font-size:24px;

}



/* =========================
   ABOUT MOBILE
========================= */


.about {

    flex-direction:column;

    align-items:center;

    text-align:center;

}



.about-text {

    width:100%;

    margin-top:25px;

}



.about-images {

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:12px;

}



.main-about-image {

    width:260px;

}



.small-about-images {

    display:flex;

    flex-direction:row;

    justify-content:center;

    gap:12px;

}



.small-about-images img {

    width:140px;

    height:90px;

    object-fit:cover;

}



/* =========================
   SERMONS MOBILE
========================= */


.sermon-container {

    grid-template-columns:1fr;

}



.sermon-buttons {

    flex-direction:column;

}



/* =========================
   GENERAL
========================= */


section {

    padding:60px 20px;

}


}
/* =========================
   SCROLL REVEAL ANIMATION
========================= */


.reveal{

    opacity:0;

    transform:translateY(35px);

    transition:
        opacity .8s ease-out,
        transform .8s ease-out;

    will-change:opacity,transform;

}

.reveal.active{

    opacity:1;

    transform:translateY(0);

}
/* =========================
   GALLERY HERO
========================= */

.gallery-hero{

    position: relative;

    height:55vh;

    background-image:url("images/gallery-hero.webp");

    background-size:cover;

    background-position:center 40%;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

}

.gallery-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.55);

}

.gallery-content{

    position:relative;

    z-index:2;

}

.gallery-content h1{

    color:#D4AF37;

    font-size:60px;

    margin-bottom:20px;

}

.gallery-content p{

    color:white;

    font-size:22px;

}
/* =========================
   GALLERY ALBUMS
========================= */


.gallery-albums {

    background-color: #111;
    color: white;
    text-align: center;
    padding: 80px 20px;

}


.gallery-albums h2 {

    color: #D4AF37;
    font-size: 40px;
    margin-bottom: 15px;

}


.gallery-albums p {

    color: #ddd;
    margin-bottom: 50px;

}



.album-container {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 35px;

    max-width: 1200px;

    margin: auto;

}



.album-card {

    background-color: white;

    color: black;

    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 8px 20px rgba(0,0,0,0.25);

    transition: 0.4s ease;

}



.album-card:hover {

    transform: translateY(-10px);

}



.album-card img {

    width: 100%;

    height: 260px;

    object-fit: cover;

    transition: 0.4s ease;

}



.album-card:hover img {

    transform: scale(1.05);

}



.album-info {

    padding: 25px;

}



.album-info h3 {

    font-size: 25px;

    margin-bottom: 15px;

}



.album-info a {

    color: #D4AF37;

    text-decoration: none;

    font-weight: bold;

    transition: 0.3s ease;

}



.album-info a:hover {

    color: black;

}
/* =========================
   GALLERY DESKTOP FIX
========================= */

@media (min-width:769px){

    .gallery-hero{

        margin-top: 90px;

    }

}
/* =========================
   ALBUM CARD GOLD HOVER
========================= */


.album-card {

    border: 2px solid transparent;

    transition: 
        transform .4s ease,
        box-shadow .4s ease,
        border .4s ease;

}


.album-card:hover {

    transform: translateY(-12px);

    border: 2px solid #D4AF37;

    box-shadow:
        0 0 20px rgba(212,175,55,0.5);

}


.album-card img {

    transition: transform .4s ease;

}


.album-card:hover img {

    transform: scale(1.08);

}


.album-info a {

    transition: color .3s ease;

}


.album-card:hover .album-info a {

    color: #D4AF37;

}
/* =========================
   ALBUM HERO
========================= */


.album-hero {

    position: relative;

    height:70vh;

    background-image: url("images/gallery/crusades/cover.webp");

    background-size:cover;

   background-position:center top;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

}


.album-overlay {

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.55);

}


.album-content {

    position:relative;

    z-index:2;

}


.album-content h1 {

    color:#D4AF37;

    font-size:60px;

}


.album-content p {

    color:white;

    font-size:22px;

}
/* =========================
   PHOTO GALLERY GRID
========================= */


.photo-gallery {

    background:#111;

    color:white;

    text-align:center;

    padding:80px 20px;

}



.photo-gallery h2 {

    color:#D4AF37;

    font-size:40px;

    margin-bottom:50px;

}



.photo-grid {

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}



.photo-grid img {

    width:100%;

    height:300px;

    object-fit:cover;

    border-radius:15px;

    transition:.4s ease;

}



.photo-grid img:hover {

    transform:scale(1.05);

}
.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

    margin-top:30px;

}

.watch-btn,
.gallery-btn{

    padding:15px 35px;

    font-size:18px;

    cursor:pointer;

    border-radius:50px;

    transition:.3s ease;

}

.watch-btn{

    background:#D4AF37;

    color:black;

    border:none;

}

.gallery-btn{

    background:transparent;

    color:white;

    border:2px solid #D4AF37;

}

.gallery-btn:hover{

    background:#D4AF37;

    color:black;

}
.hero-reveal{

    opacity:0;

    transform:translateY(30px);

    animation:heroFade 1s ease forwards;

}


@keyframes heroFade{

    to{

        opacity:1;

        transform:translateY(0);

    }

}
/* HERO LOAD ANIMATION */

.gallery-content{

    animation: heroFade 1s ease forwards;

}


@keyframes heroFade{

    from{

        opacity:0;

        transform:translateY(40px);

    }


    to{

        opacity:1;

        transform:translateY(0);

    }

}
.album-content{

    animation: heroFade 1s ease forwards;

}


@keyframes heroFade{

    from{

        opacity:0;

        transform:translateY(40px);

    }


    to{

        opacity:1;

        transform:translateY(0);

    }

}
/* Gallery Albums Section */

.gallery-section {

    background:#111;

    color:white;

    padding:80px 20px;

    text-align:center;

}
.gallery-section h2 {

    color:#D4AF37;

    font-size:40px;

    margin-bottom:15px;

}
.gallery-section h2::after {

    content:"";

    display:block;

    width:80px;

    height:3px;

    background:#D4AF37;

    margin:15px auto;

}
.photo-gallery {

    background:#111;

    color:white;

    padding:80px 20px;

    text-align:center;

}


.photo-gallery h2 {

    color:#D4AF37;

}
/* LIGHTBOX */

.lightbox{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.9);

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:9999;

    opacity:0;

    visibility:hidden;

    pointer-events:none;

    transition:opacity .35s ease;

}


.lightbox.active{

    opacity:1;

    visibility:visible;

    pointer-events:auto;

}


.lightbox-image{

    max-width:90%;

    max-height:85%;

    border-radius:12px;

    opacity:0;

    transform:translateY(25px) scale(.95);

    transition:

        opacity .35s ease,

        transform .35s ease;

}
.slide-out-left{

    animation:slideOutLeft .25s ease forwards;

}


.slide-in-right{

    animation:slideInRight .25s ease forwards;

}


.slide-out-right{

    animation:slideOutRight .25s ease forwards;

}


.slide-in-left{

    animation:slideInLeft .25s ease forwards;

}



@keyframes slideOutLeft{

    from{

        transform:translateX(0);

        opacity:1;

    }

    to{

        transform:translateX(-80px);

        opacity:0;

    }

}


@keyframes slideInRight{

    from{

        transform:translateX(80px);

        opacity:0;

    }

    to{

        transform:translateX(0);

        opacity:1;

    }

}


@keyframes slideOutRight{

    from{

        transform:translateX(0);

        opacity:1;

    }

    to{

        transform:translateX(80px);

        opacity:0;

    }

}


@keyframes slideInLeft{

    from{

        transform:translateX(-80px);

        opacity:0;

    }

    to{

        transform:translateX(0);

        opacity:1;

    }

}


.lightbox.active .lightbox-image{

    opacity:1;

    transform:translateY(0) scale(1);

}


.close-lightbox{

    position:absolute;

    top:30px;

    right:40px;

    color:white;

    font-size:45px;

    cursor:pointer;

}


.prev,
.next{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    background:none;

    border:none;

    color:white;

    font-size:50px;

    cursor:pointer;

}


.prev{

    left:40px;

}


.next{

    right:40px;

}
@media(max-width:768px){

    .lightbox-image{

        max-width:95%;

        max-height:75%;

    }


    .close-lightbox{

        top:15px;

        right:20px;

        font-size:35px;

    }


    .prev,
    .next{

        font-size:35px;

        top:auto;

        bottom:30px;

    }


    .prev{

        left:30%;

    }


    .next{

        right:30%;

    }

}
/* LIGHTBOX OPEN */

.lightbox{

    opacity:0;

    visibility:hidden;

    transition:opacity .35s ease;

}

.lightbox.active{

    opacity:1;

    visibility:visible;

}

.lightbox-image{

    opacity:0;

    transform:translateY(30px) scale(.96);

    transition:
        opacity .35s ease,
        transform .35s ease;

}

.lightbox.active .lightbox-image{

    opacity:1;

    transform:translateY(0) scale(1);

}
.upcoming-program{

    background:#000;

    color:#fff;

    text-align:center;

    padding:80px 20px;

}

.upcoming-program h2{

    color:#D4AF37;

    font-size:2.2rem;

    margin-bottom:15px;

}

.upcoming-program p{

    color:#ddd;

    margin-bottom:40px;

}

.program-flyer{

    max-width:500px;

    margin:auto;

    border-radius:15px;

    overflow:hidden;

    transition:.4s ease;

    cursor:pointer;

}

.program-flyer img{

    width:100%;

    display:block;

}

.program-flyer:hover{

    transform:translateY(-8px) scale(1.02);

    box-shadow:0 0 35px rgba(212,175,55,.45);

}
#backTop{

    position:fixed;

    bottom:30px;

    right:30px;

    width:50px;

    height:50px;

    border-radius:50%;

    border:none;

    background:#D4AF37;

    color:black;

    font-size:30px;

    font-weight:bold;

    display:flex;

    justify-content:center;

    align-items:center;

    cursor:pointer;

    opacity:0;

    visibility:hidden;

    transition:.3s ease;

    z-index:999;

    line-height:1;

}


#backTop.show{

    opacity:1;

    visibility:visible;

}
#backTop:hover{

    transform:translateY(-5px);

}
.program-btn{

    display:inline-block;

    margin-top:30px;

    padding:12px 30px;

    background:#D4AF37;

    color:black;

    text-decoration:none;

    font-weight:bold;

    border-radius:30px;

    transition:.3s ease;

}


.program-btn:hover{

    transform:translateY(-5px);

}
#events{

    scroll-margin-top:100px;

}
.events{

    background:#D4AF37;

    color:black;

    padding:80px 20px;

    text-align:center;

}


.events h2{

    color:black;

    font-size:2.3rem;

    margin-bottom:40px;

}


.event-card{

    max-width:900px;

    margin:auto;

    background:black;

    color:white;

    border-radius:20px;

    padding:30px;

    display:flex;

    align-items:center;

    gap:40px;

    box-shadow:0 10px 30px rgba(0,0,0,.5);

}


.event-card img{

    width:350px;

    border-radius:15px;

}


.event-info p{

    color:#D4AF37;

    margin-bottom:15px;

    line-height:1.6;

    font-weight:500;

}
@media(max-width:768px){

    .event-card{

        flex-direction:column;

        gap:25px;

    }


    .event-card img{

        width:100%;

    }


    .event-info{

        text-align:center;

    }

}