/* ========================================
   SWEET FRAGRANCE CHURCH
   Main Website Styles
======================================== */


/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #111827;
}


/* ---------- COLORS ---------- */

:root {
    --deep-blue: #071a3d;
    --royal-purple: #4b1f73;
    --gold: #d4af37;
    --light-gold: #f0d477;
    --white: #ffffff;
    --light-bg: #f7f7fb;
}


/* ---------- GLOBAL ---------- */

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* ---------- HEADER ---------- */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* ---------- LOGO ---------- */

.logo {
    display: flex;
    align-items: center;

    text-decoration: none;
}

.logo img {
    display: block;

    width: 180px;
    height: auto;

    max-height: 65px;

    object-fit: contain;
}


/* ---------- NAVIGATION ---------- */

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;

    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--light-gold);
}


/* ---------- HEADER BUTTON ---------- */

.header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 22px;

    background: var(--gold);
    color: var(--deep-blue);

    text-decoration: none;
    font-size: 13px;
    font-weight: 700;

    border-radius: 4px;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.header-button:hover {
    background: var(--light-gold);
    transform: translateY(-2px);
}


/* ---------- HERO ---------- */

.hero {
    min-height: 100vh;
    position: relative;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            120deg,
            rgba(7, 26, 61, 0.97),
            rgba(75, 31, 115, 0.88)
        );

    overflow: hidden;
}


/* Decorative background glow */

.hero::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -200px;
    top: -180px;

    background: rgba(212, 175, 55, 0.10);

    border-radius: 50%;

    filter: blur(10px);
}


/* ---------- HERO OVERLAY ---------- */

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(212, 175, 55, 0.13),
            transparent 35%
        );
}


/* ---------- HERO CONTENT ---------- */

.hero-content {
    position: relative;
    z-index: 2;

    padding-top: 100px;

    max-width: 850px;
}

.hero-label {
    margin-bottom: 22px;

    color: var(--light-gold);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero h1 {
    color: var(--white);

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(45px, 6vw, 78px);
    line-height: 1.08;

    font-weight: 500;

    max-width: 850px;
}

.hero h1 span {
    color: var(--gold);
}

.hero-description {
    margin-top: 28px;

    max-width: 620px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 17px;
    line-height: 1.8;
}


/* ---------- HERO BUTTONS ---------- */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-top: 38px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 27px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    border-radius: 4px;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--gold);
    color: var(--deep-blue);
}

.btn-primary:hover {
    background: var(--light-gold);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--deep-blue);
}


/* ---------- SCROLL INDICATOR ---------- */

.hero-scroll {
    position: absolute;

    bottom: 35px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 10px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-scroll span {
    width: 22px;
    height: 35px;

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 20px;

    position: relative;
}

.hero-scroll span::after {
    content: "";

    position: absolute;

    width: 3px;
    height: 7px;

    background: var(--gold);

    border-radius: 10px;

    top: 7px;
    left: 50%;

    transform: translateX(-50%);
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

    .header-button {
        display: none;
    }

    .hero h1 {
        font-size: clamp(42px, 10vw, 65px);
    }
}


@media (max-width: 600px) {

    .site-header {
        padding: 17px 0;
    }

    .logo-mark {
        width: 42px;
        height: 42px;
    }

    .logo-text strong {
        font-size: 15px;
    }

    .hero-content {
        padding-top: 80px;
    }

    .hero-label {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .hero-scroll {
        display: none;
    }
}
/* ========================================
   ABOUT SECTION
======================================== */

.about-section {
    padding: 110px 0;
    background: #ffffff;
}

.about-container {
    width: min(1180px, 92%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 430px minmax(0, 1fr);

    align-items: center;
    gap: 75px;
}


/* ---------- FOUNDER PHOTO ---------- */

.about-image {
    position: relative;
    width: 100%;
}

.founder-photo {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 500px;

    overflow: hidden;

    border-radius: 6px;

    background: #f5f5f5;

    box-shadow: 0 25px 60px rgba(7, 26, 61, 0.16);
}

.founder-photo img {
    width: 100%;
    height: 100%;

    display: block;

    /*
       Contain keeps the founder's full portrait visible
       instead of zooming/cropping his face.
    */
    object-fit: contain;
    object-position: center center;
}


/* Gold decorative square */

.about-image-accent {
    position: absolute;

    width: 150px;
    height: 150px;

    right: -22px;
    bottom: -22px;

    border: 2px solid #d4af37;

    z-index: 1;
}


/* ---------- ABOUT CONTENT ---------- */

.about-content {
    min-width: 0;
}

.section-label {
    margin-bottom: 15px;

    color: #b18b24;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;
}

.about-content h2 {
    margin: 0;

    color: #071a3d;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(38px, 4vw, 55px);

    line-height: 1.15;

    font-weight: 500;
}

.about-content h2 span {
    display: block;

    color: #4b1f73;
}

.about-content > p {
    color: #5e6470;

    font-size: 16px;
    line-height: 1.8;
}

.about-intro {
    margin-top: 25px;
    margin-bottom: 15px;
}


/* ---------- VISION & MISSION ---------- */

.about-features {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 30px;

    margin-top: 35px;
}

.about-feature {
    display: flex;

    align-items: flex-start;

    gap: 15px;
}

.feature-icon {
    flex-shrink: 0;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(212, 175, 55, 0.12);

    color: #b18b24;

    border-radius: 50%;

    font-size: 14px;
}

.about-feature h3 {
    margin: 0 0 8px;

    color: #071a3d;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 19px;
}

.about-feature p {
    margin: 0;

    color: #777d88;

    font-size: 13px;

    line-height: 1.7;
}


/* ---------- ABOUT LINK ---------- */

.text-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 35px;

    color: #4b1f73;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition: gap 0.3s ease;
}

.text-link span {
    color: #d4af37;

    font-size: 20px;
}

.text-link:hover {
    gap: 16px;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 850px) {

    .about-container {
        grid-template-columns: 360px minmax(0, 1fr);

        gap: 45px;
    }

    .founder-photo {
        height: 440px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-content h2 {
        font-size: 40px;
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .about-section {
        padding: 80px 0;
    }

    .about-container {
        width: min(92%, 520px);

        display: grid;
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .about-image {
        width: 100%;
        max-width: 430px;

        margin: 0 auto;
    }

    .founder-photo {
        width: 100%;
        height: 430px;
    }

    .about-image-accent {
        width: 100px;
        height: 100px;

        right: -12px;
        bottom: -12px;
    }

    .about-content h2 {
        font-size: 38px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}
/* ========================================
   FINAL ABOUT LAYOUT FIX
======================================== */

.about-container {
    display: grid !important;
    grid-template-columns: 430px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 75px !important;
    width: min(1180px, 92%) !important;
    margin: 0 auto !important;
}

.about-image {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.founder-photo {
    width: 100% !important;
    height: 500px !important;
}

.about-content {
    min-width: 0 !important;
}


/* Only stack the About section on genuinely small screens */

@media (max-width: 600px) {

    .about-container {
        grid-template-columns: 1fr !important;
        width: min(92%, 520px) !important;
        gap: 50px !important;
    }

    .about-image {
        max-width: 430px !important;
        margin: 0 auto !important;
    }

    .founder-photo {
        height: 430px !important;
    }

}
/* =========================================
   SERVICES SECTION
========================================= */

.services-section {
    padding: 110px 0;
    background: #f7f7fb;
}

.services-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

/* SECTION HEADING */

.section-heading {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-label {
    margin: 0 0 12px;
    color: #d4af37;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0 0 18px;
    color: #071a3d;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
}

.section-heading h2 span {
    display: block;
    color: #4b1f73;
}

.section-heading > p:last-child {
    margin: 0;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

/* SERVICES GRID */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    align-items: start;
}

/* SERVICE CARD */

.service-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(7, 26, 61, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* SERVICE IMAGE */

.service-image {
    width: 100%;
    background: #ffffff;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* SERVICE CONTENT */

.service-content {
    padding: 25px;
}

.service-label {
    margin: 0 0 10px;
    color: #d4af37;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.service-content h3 {
    margin: 0 0 10px;
    color: #071a3d;
    font-size: 25px;
    line-height: 1.2;
}

.service-time {
    margin: 0 0 16px;
    color: #4b1f73;
    font-size: 15px;
    font-weight: 700;
}

.service-content > p:last-child {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}

/* =========================================
   SERVICES - MOBILE
========================================= */

@media (max-width: 700px) {

    .services-section {
        padding: 80px 0;
    }

    .section-heading {
        margin-bottom: 45px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }


    .service-content {
        padding: 26px;
    }

    .service-content h3 {
        font-size: 24px;
    }

}
/* =========================
   SERMONS SECTION
========================= */

.sermons-section {
    padding: 110px 0;
    background: #ffffff;
}

.sermons-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.youtube-sermons {
    max-width: 800px;
    margin: 0 auto;
    padding: 55px 40px;
    text-align: center;
    background: linear-gradient(135deg, #071a3d, #4b1f73);
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(7, 26, 61, 0.16);
}

.youtube-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #d4af37;
    border-radius: 50%;
    font-size: 28px;
    padding-left: 4px;
}

.youtube-sermons h3 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.3;
}

.youtube-sermons p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.8;
}

.youtube-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: #d4af37;
    color: #071a3d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.youtube-button:hover {
    background: #f0d477;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

@media (max-width: 700px) {

    .sermons-section {
        padding: 80px 0;
    }

    .youtube-sermons {
        padding: 45px 25px;
    }

    .youtube-sermons h3 {
        font-size: 25px;
    }

    .youtube-sermons p {
        font-size: 15px;
    }

    .youtube-button {
        width: 100%;
    }
}
/* =========================
   EVENTS & SOCIAL SECTION
========================= */

.events-section {
    padding: 110px 0;
    background: #f7f7fb;
}

.events-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}


/* NO EVENTS CARD */

.no-events-card {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 55px 40px;
    text-align: center;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(7, 26, 61, 0.10);
    border-top: 3px solid #d4af37;
}

.no-events-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d4af37;
    border-radius: 50%;
    color: #d4af37;
    font-size: 28px;
}

.no-events-card h3 {
    margin: 0 0 15px;
    color: #071a3d;
    font-size: 30px;
}

.no-events-card p {
    max-width: 620px;
    margin: 0 auto;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}


/* SOCIAL CONNECT */

.social-connect {
    text-align: center;
}

.social-connect > .section-label {
    margin-bottom: 10px;
}

.social-connect h3 {
    margin: 0 0 15px;
    color: #071a3d;
    font-size: 34px;
    line-height: 1.2;
}

.social-intro {
    max-width: 650px;
    margin: 0 auto 40px;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}


/* SOCIAL GRID */

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 950px;
    margin: 0 auto;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid rgba(7, 26, 61, 0.08);
    border-radius: 8px;
    text-align: left;
    transition: all 0.3s ease;
}

.social-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(7, 26, 61, 0.10);
}

.social-link {
    text-decoration: none;
}

.social-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #071a3d;
    color: #d4af37;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
}

.social-info h4 {
    margin: 0 0 5px;
    color: #071a3d;
    font-size: 16px;
}

.social-info p {
    margin: 0;
    color: #777;
    font-size: 13px;
    line-height: 1.4;
}


/* MOBILE */

@media (max-width: 800px) {

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {

    .events-section {
        padding: 80px 0;
    }

    .no-events-card {
        padding: 45px 25px;
        margin-bottom: 60px;
    }

    .no-events-card h3 {
        font-size: 26px;
    }

    .social-connect h3 {
        font-size: 28px;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

}
/* ---------- ABOUT PAGE ---------- */

.about-page-intro {
    padding: 120px 0 110px;
    background: #ffffff;
}

.about-page-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.about-page-intro .section-heading {
    max-width: 850px;
    margin: 0 auto 65px;
    text-align: center;
}

.about-page-intro h1 {
    margin: 0 0 25px;
    color: var(--deep-blue);
    font-size: 52px;
    line-height: 1.15;
}

.about-page-intro h1 span {
    display: block;
    color: var(--royal-purple);
}

.about-page-intro .section-heading > p:last-child {
    max-width: 760px;
    margin: 0 auto;
    color: #666;
    font-size: 17px;
    line-height: 1.9;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.mission-vision-card {
    padding: 45px;
    background: #f7f7fb;
    border-top: 3px solid var(--gold);
}

.card-label {
    margin: 0 0 15px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.mission-vision-card h2 {
    margin: 0 0 18px;
    color: var(--deep-blue);
    font-size: 28px;
    line-height: 1.3;
}

.mission-vision-card > p:last-child {
    margin: 0;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

@media (max-width: 700px) {

    .about-page-intro {
        padding: 80px 0;
    }

    .about-page-intro h1 {
        font-size: 38px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .mission-vision-card {
        padding: 35px 25px;
    }

}
/* ---------- ABOUT PAGE LEADERSHIP ---------- */

.leadership-section {
    padding: 110px 0;
    background: #f7f7fb;
}

.leadership-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.leadership-section .section-heading {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.leadership-section .section-heading h2 {
    margin: 0 0 22px;
    color: var(--deep-blue);
    font-size: 44px;
    line-height: 1.2;
}

.leadership-section .section-heading h2 span {
    color: var(--royal-purple);
}

.leadership-section .section-heading > p:last-child {
    max-width: 720px;
    margin: 0 auto;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.leadership-card {
    display: flex;
    gap: 25px;
    padding: 35px;
    background: #ffffff;
    border: 1px solid rgba(7, 26, 61, 0.07);
    border-radius: 6px;
    box-shadow: 0 15px 35px rgba(7, 26, 61, 0.06);
}

.leadership-number {
    flex-shrink: 0;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--gold);
    border-radius: 50%;

    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
}

.leadership-content .card-label {
    margin: 0 0 8px;
}

.leadership-content h3 {
    margin: 0 0 12px;
    color: var(--deep-blue);
    font-size: 22px;
    line-height: 1.3;
}

.leadership-content > p:last-child {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.75;
}
.leadership-card-final {
    grid-column: 1 / -1;
    max-width: 560px;
    width: 100%;
    justify-self: center;
}

@media (max-width: 800px) {

    .leadership-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .leadership-section {
        padding: 80px 0;
    }

    .leadership-section .section-heading h2 {
        font-size: 34px;
    }

    .leadership-card {
        padding: 28px 22px;
        gap: 18px;
    }

    .leadership-number {
        width: 45px;
        height: 45px;
    }

    .leadership-content h3 {
        font-size: 20px;
    }

}
.gallery-section {
    padding: 110px 0;
    background: #fff;
}

.gallery-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.gallery-section .section-heading {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.gallery-section .section-heading h2 {
    margin: 0 0 22px;
    color: var(--deep-blue);
    font-size: 44px;
    line-height: 1.2;
}

.gallery-section .section-heading h2 span {
    display: block;
    color: var(--royal-purple);
}

.gallery-section .section-heading > p:last-child {
    max-width: 720px;
    margin: 0 auto;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

/* =========================================
   CHURCH GALLERY
   ========================================= */

   .gallery-section {
    padding: 110px 0;
    background: #f7f7fb;
}

.gallery-container {
    width: min(1280px, 92%);
    margin: 0 auto;
}


/* ---------- GALLERY HEADING ---------- */

.gallery-heading {
    max-width: 820px;
    margin: 0 auto 60px;
    text-align: center;
}

.gallery-heading .section-label {
    margin-bottom: 12px;
}

.gallery-heading h2 {
    margin: 0 0 22px;
    color: var(--deep-blue);
    font-size: 46px;
    line-height: 1.2;
}

.gallery-heading h2 span {
    display: block;
    color: var(--royal-purple);
}

.gallery-heading > p:not(.section-label) {
    max-width: 720px;
    margin: 0 auto;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

.gallery-divider {
    width: 55px;
    height: 3px;
    margin: 28px auto 0;
    background: var(--gold);
}


/* ---------- GALLERY GRID ---------- */

.church-gallery {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}


/* ---------- IMAGE CARDS ---------- */

.gallery-item {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 12px 35px rgba(7, 26, 61, 0.10);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}


/* ---------- DESKTOP HOVER ---------- */

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(7, 26, 61, 0.16);
}

.gallery-item:hover img {
    transform: scale(1.03);
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 900px) {

    .gallery-section {
        padding: 90px 0;
    }

    .church-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .gallery-heading {
        margin-bottom: 45px;
    }

    .gallery-heading h2 {
        font-size: 40px;
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .gallery-section {
        padding: 75px 0;
    }

    .gallery-container {
        width: 90%;
    }

    .gallery-heading {
        margin-bottom: 38px;
    }

    .gallery-heading h2 {
        font-size: 32px;
        line-height: 1.25;
    }

    .gallery-heading > p:not(.section-label) {
        font-size: 15px;
        line-height: 1.75;
    }

    .gallery-divider {
        margin-top: 22px;
    }

    .church-gallery {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gallery-item {
        border-radius: 7px;
    }

    /* Disable desktop hover movement on touch screens */
    .gallery-item:hover {
        transform: none;
        box-shadow: 0 12px 30px rgba(7, 26, 61, 0.10);
    }

    .gallery-item:hover img {
        transform: none;
    }
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

@media (max-width: 900px) {
    .church-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-section {
        padding: 80px 0;
    }

    .gallery-section .section-heading h2 {
        font-size: 34px;
    }

    .church-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
/* =========================================
   FINAL GALLERY LAYOUT FIX
   ========================================= */

   .gallery-container {
    display: block;
    width: min(1280px, 92%);
    margin: 0 auto;
}

.gallery-heading {
    width: 100%;
    max-width: 820px;
    margin: 0 auto 60px;
    text-align: center;
}

.church-gallery {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.gallery-item {
    width: 100%;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}


/* TABLET */

@media (max-width: 900px) {

    .gallery-container {
        width: 92%;
    }

    .church-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* PHONE */

@media (max-width: 600px) {

    .gallery-container {
        width: 90%;
    }

    .gallery-heading {
        margin-bottom: 38px;
    }

    .church-gallery {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}
/* =========================================
   MOBILE HEADER
   ========================================= */

   @media (max-width: 700px) {

    .site-header {
        padding: 18px 0;
    }

    .header-container {
        width: 92%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }

    .logo {
        display: block;
        flex-shrink: 0;
    }

    .logo img {
        width: 105px;
        height: auto;
        display: block;
    }

    /* Hide desktop navigation for now */
    .main-nav {
        display: none;
    }

    /* Keep Prayer Request visible on mobile */
    .header-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 11px 15px;
        font-size: 11px;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }
}
/* =========================================
   GIVING & PARTNERSHIPS
   ========================================= */

   .giving-section {
    padding: 110px 0;
    background: #ffffff;
}

.giving-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.giving-section .section-heading {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.giving-section .section-heading h2 {
    margin: 0 0 22px;
    color: var(--deep-blue);
    font-size: 46px;
    line-height: 1.2;
}

.giving-section .section-heading h2 span {
    display: block;
    color: var(--royal-purple);
}

.giving-section .section-heading > p:last-child {
    max-width: 720px;
    margin: 0 auto;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

.giving-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    margin-bottom: 55px;
}

.giving-message {
    padding: 45px;
    background: #f7f7fb;
    border-top: 3px solid var(--gold);
}

.giving-message .card-label {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.giving-message h3 {
    margin: 0 0 20px;
    color: var(--deep-blue);
    font-size: 30px;
    line-height: 1.3;
}

.giving-message p {
    margin: 0 0 18px;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

.giving-message p:last-child {
    margin-bottom: 0;
}

.giving-image {
    width: 100%;
    background: #ffffff;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(7, 26, 61, 0.12);
}

.giving-image img {
    width: 100%;
    height: auto;
    display: block;
}

.partnership-note {
    max-width: 850px;
    margin: 0 auto;
    padding: 45px;
    text-align: center;
    background: var(--deep-blue);
    border-top: 3px solid var(--gold);
}

.partnership-note .card-label {
    margin: 0 0 12px;
    color: var(--light-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.partnership-note h3 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.3;
}

.partnership-note p:last-child {
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.8;
}


/* TABLET */

@media (max-width: 900px) {

    .giving-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .giving-message {
        padding: 40px;
    }

    .giving-image {
        max-width: 650px;
        margin: 0 auto;
    }
}


/* PHONE */

@media (max-width: 600px) {

    .giving-section {
        padding: 75px 0;
    }

    .giving-container {
        width: 90%;
    }

    .giving-section .section-heading {
        margin-bottom: 40px;
    }

    .giving-section .section-heading h2 {
        font-size: 32px;
        line-height: 1.25;
    }

    .giving-section .section-heading > p:last-child {
        font-size: 15px;
        line-height: 1.75;
    }

    .giving-content {
        gap: 25px;
        margin-bottom: 35px;
    }

    .giving-message {
        padding: 30px 25px;
    }

    .giving-message h3 {
        font-size: 25px;
    }

    .giving-message p {
        font-size: 15px;
    }

    .partnership-note {
        padding: 32px 25px;
    }

    .partnership-note h3 {
        font-size: 25px;
    }

    .partnership-note p:last-child {
        font-size: 15px;
    }
}
/* =========================================
   FOOTER LOGO
   ========================================= */

   .footer-brand img {
    width: 150px;
    height: auto;
    display: block;
}
/* =========================================
   FOOTER
   ========================================= */

   .site-footer {
    background: var(--deep-blue);
    color: #ffffff;
    padding: 75px 0 0;
}

.footer-container {
    width: min(1180px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-brand img {
    width: 150px;
    height: auto;
    display: block;
    margin-bottom: 22px;
}

.footer-brand p {
    max-width: 280px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.8;
}

.footer-column h3 {
    margin: 0 0 22px;
    color: var(--light-gold);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-column a {
    display: block;
    width: fit-content;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-column a:hover {
    color: var(--light-gold);
}

.footer-column p {
    margin: 0 0 17px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.7;
}

.footer-column p strong {
    color: #ffffff;
    font-weight: 600;
}

.footer-bottom {
    width: min(1180px, 92%);
    margin: 0 auto;
    padding: 22px 0 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    line-height: 1.6;
}


/* TABLET */

@media (max-width: 900px) {

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 45px 35px;
    }
}


/* PHONE */

@media (max-width: 600px) {

    .site-footer {
        padding-top: 60px;
    }

    .footer-container {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 38px;
        padding-bottom: 45px;
    }

    .footer-brand img {
        width: 135px;
    }

    .footer-brand p {
        max-width: 330px;
    }

    .footer-bottom {
        width: 90%;
        padding: 20px 0 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* ONLINE DONATION SECTION */
.online-donation {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 55px;
    margin: 65px 0;
    padding: 55px;
    background: #071a3d;
    border-radius: 12px;
    overflow: hidden;
}

.donation-intro .card-label {
    color: #d8b45a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 14px;
}

.donation-intro h3 {
    color: #fff;
    font-size: 38px;
    line-height: 1.25;
    margin: 0 0 20px;
}

.donation-intro > p:last-child {
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.9;
    margin: 0;
}

.donation-card {
    background: #fff;
    padding: 35px;
    border-radius: 10px;
    border-top: 4px solid #d8b45a;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.donation-card-heading {
    text-align: center;
    margin-bottom: 28px;
}

.donation-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: #f7f1e3;
    color: #9b7729;
    font-size: 23px;
}

.donation-card-heading h4 {
    color: #071a3d;
    font-size: 23px;
    margin: 0 0 8px;
}

.donation-card-heading p {
    color: #777;
    font-size: 14px;
    margin: 0;
}

.donation-label {
    display: block;
    color: #26344b;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px;
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 25px;
}

.amount-option {
    min-height: 48px;
    padding: 10px;
    background: #fff;
    border: 1px solid #dedfe6;
    border-radius: 6px;
    color: #071a3d;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.amount-option:hover,
.amount-option.selected {
    background: #071a3d;
    border-color: #071a3d;
    color: #fff;
}

#custom-donation {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    margin-bottom: 20px;
    border: 1px solid #dedfe6;
    border-radius: 6px;
    background: #fff;
    color: #071a3d;
    font: inherit;
    box-sizing: border-box;
}

#custom-donation:focus,
#donor-email:focus {
    outline: 2px solid #d8b45a;
    outline-offset: 2px;
}

.donation-fund-note {
    padding: 14px;
    margin: 0 0 20px;
    background: #f7f7fb;
    border-left: 3px solid #d8b45a;
    color: #606575;
    font-size: 13px;
    line-height: 1.7;
}

.donate-button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border: none;
    border-radius: 6px;
    background: #d8b45a;
    color: #071a3d;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.donate-button:hover {
    background: #e8c977;
}

.donation-security {
    margin: 15px 0 0;
    text-align: center;
    color: #777;
    font-size: 12px;
    line-height: 1.7;
}

/* RESPONSIVE LAYOUT */
@media (max-width: 900px) {
    .online-donation {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 40px;
    }

    .donation-intro {
        text-align: center;
    }

    .donation-intro h3 {
        font-size: 32px;
    }

    .donation-card {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
        box-sizing: border-box;
    }
}

@media (max-width: 600px) {
    .online-donation {
        gap: 28px;
        margin: 40px 0;
        padding: 28px 18px;
        border-radius: 8px;
    }

    .donation-intro h3 {
        font-size: 28px;
    }

    .donation-intro > p:last-child {
        font-size: 15px;
    }

    .donation-card {
        padding: 25px 18px;
    }

    .donation-card-heading h4 {
        font-size: 21px;
    }
}

/* FIX DONOR EMAIL FIELD SIZE */
#donor-email {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    margin: 0 0 20px;
    border: 1px solid #dedfe6;
    border-radius: 6px;
    background: #fff;
    color: #071a3d;
    font: inherit;
    box-sizing: border-box;
}

#donor-email:focus {
    outline: 2px solid #d8b45a;
    outline-offset: 2px;
}
