/* =========================================================
   SURVIVOR'S CHAPEL INTERNATIONAL
   MAIN WEBSITE STYLES
   ========================================================= */

:root {
    --purple: #6d0f70;
    --purple-dark: #3b073d;
    --purple-deep: #210526;

    --gold: #d6a43a;
    --gold-light: #f7df8a;
    --gold-dark: #9b6b16;

    --navy: #07152d;
    --black: #09070b;
    --white: #ffffff;
    --off-white: #faf8fc;
    --text: #252129;
    --muted: #77717b;

    --border: rgba(109, 15, 112, 0.12);

    --shadow:
        0 18px 50px rgba(33, 5, 38, 0.12);

    --container: 1180px;

    --transition: all 0.3s ease;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--white);
    color: var(--text);

    line-height: 1.6;

    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* =========================================================
   GLOBAL
   ========================================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.section-dark {
    padding: 100px 0;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(109, 15, 112, 0.35),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #210526,
            #09070b
        );

    color: var(--white);
}

.eyebrow {
    display: inline-block;

    margin-bottom: 15px;

    color: var(--gold-dark);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.section-dark .eyebrow,
.hero .eyebrow {
    color: var(--gold-light);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 55px;
}

.section-heading.centered {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.section-heading h2 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(36px, 5vw, 58px);

    line-height: 1.1;

    color: var(--purple-dark);
}

.section-dark .section-heading h2 {
    color: var(--white);
}

.section-heading h2 span,
.hero h1 span,
.welcome-card h3,
.service-intro h2 span,
.giving h2 span,
.contact-grid h2 span {
    color: var(--gold);
}

.gold-line {
    width: 65px;
    height: 4px;

    margin-top: 22px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            var(--gold-dark),
            var(--gold-light),
            var(--gold-dark)
        );
}

.centered .gold-line {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 27px;

    border-radius: 4px;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition: var(--transition);

    cursor: pointer;
}

.btn-gold {
    color: var(--black);

    background:
        linear-gradient(
            135deg,
            #9d6c17,
            #f5d875 35%,
            #fff0a6 50%,
            #d6a43a 70%,
            #8e6112
        );

    box-shadow:
        0 8px 25px rgba(214, 164, 58, 0.25);
}

.btn-gold:hover {
    transform: translateY(-3px);

    box-shadow:
        0 14px 35px rgba(214, 164, 58, 0.38);
}

.btn-outline {
    color: var(--white);

    border: 1px solid rgba(255,255,255,0.7);

    background: rgba(255,255,255,0.04);

    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    color: var(--black);

    background: var(--white);

    border-color: var(--white);
}

.btn-dark {
    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--purple-dark),
            var(--purple)
        );
}

.btn-dark:hover {
    transform: translateY(-3px);

    box-shadow: var(--shadow);
}

.text-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 20px;

    color: var(--purple);

    font-weight: 800;
}

.text-link span {
    color: var(--gold-dark);

    transition: var(--transition);
}

.text-link:hover span {
    transform: translateX(5px);
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;

    border-bottom:
        1px solid rgba(255,255,255,0.12);

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,0.72),
            rgba(0,0,0,0)
        );
}

.header-inner {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    min-height: 92px;

    margin: auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.brand {
    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--white);
}

.brand-logo {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    overflow: hidden;

    border-radius: 50%;

    background: var(--white);

    box-shadow:
        0 0 0 2px rgba(214,164,58,0.6);
}

.brand-logo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.brand-text {
    display: flex;

    flex-direction: column;

    line-height: 1.1;
}

.brand-text strong {
    font-size: 15px;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.brand-text span {
    margin-top: 5px;

    color: var(--gold-light);

    font-size: 11px;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.main-nav {
    display: flex;

    align-items: center;

    gap: 25px;
}

.main-nav a {
    position: relative;

    color: rgba(255,255,255,0.9);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.8px;

    text-transform: uppercase;

    transition: var(--transition);
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -10px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--gold-light);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    border: 1px solid rgba(255,255,255,0.3);

    background: rgba(0,0,0,0.25);

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 21px;
    height: 2px;

    margin: 4px auto;

    background: var(--white);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 760px;

    display: flex;

    align-items: center;

    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(109,15,112,0.75),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #160219 0%,
            #350737 45%,
            #07152d 100%
        );

    color: var(--white);

    overflow: hidden;
}

.hero::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.75),
            rgba(0,0,0,0.15)
        );

    pointer-events: none;
}

.hero-overlay {
    position: absolute;

    width: 550px;
    height: 550px;

    right: -150px;
    bottom: -250px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(214,164,58,0.18),
            transparent 70%
        );
}

.hero-content {
    position: relative;

    z-index: 2;

    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin: 100px auto 0;
}

.hero h1 {
    max-width: 850px;

    margin-bottom: 25px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(50px, 8vw, 90px);

    line-height: 0.98;

    letter-spacing: -2px;
}

.hero p {
    max-width: 650px;

    margin-bottom: 35px;

    color: rgba(255,255,255,0.78);

    font-size: 18px;

    line-height: 1.8;
}

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;
}

.hero-scroll {
    position: absolute;

    left: 50%;
    bottom: 25px;

    transform: translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    color: rgba(255,255,255,0.55);

    font-size: 10px;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 35px;

    background:
        linear-gradient(
            var(--gold),
            transparent
        );
}


/* =========================================================
   WELCOME
   ========================================================= */

.welcome {
    background: var(--off-white);
}

.welcome-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(300px, 0.8fr);

    gap: 70px;

    align-items: center;
}

.welcome-text p {
    margin-bottom: 20px;

    color: var(--muted);
}

.welcome-text .lead {
    color: var(--text);

    font-size: 20px;

    line-height: 1.8;
}

.welcome-card {
    position: relative;

    padding: 45px;

    color: var(--white);

    background:
        linear-gradient(
            145deg,
            var(--purple),
            var(--purple-dark)
        );

    box-shadow: var(--shadow);

    overflow: hidden;
}

.welcome-card::after {
    content: "";

    position: absolute;

    right: -60px;
    bottom: -60px;

    width: 180px;
    height: 180px;

    border-radius: 50%;

    border: 1px solid rgba(214,164,58,0.4);
}

.card-icon {
    margin-bottom: 25px;

    color: var(--gold-light);

    font-size: 35px;
}

.welcome-card h3 {
    margin-bottom: 15px;

    font-family:
        Georgia,
        serif;

    font-size: 28px;
}

.welcome-card p {
    color: rgba(255,255,255,0.75);
}


/* =========================================================
   SERVICE SECTION
   ========================================================= */

.service-section {
    padding: 70px 0;

    color: var(--white);

    background:
        linear-gradient(
            110deg,
            var(--purple-dark),
            var(--purple),
            #4d0a51
        );
}

.service-grid {
    display: grid;

    grid-template-columns:
        1.2fr 1fr 1fr;

    gap: 35px;

    align-items: center;
}

.service-intro h2 {
    font-family:
        Georgia,
        serif;

    font-size: 38px;

    line-height: 1.1;
}

.service-intro p {
    margin-top: 15px;

    color: rgba(255,255,255,0.7);
}

.service-item {
    display: flex;

    align-items: flex-start;

    gap: 18px;

    padding-left: 25px;

    border-left:
        1px solid rgba(255,255,255,0.25);
}

.service-icon {
    color: var(--gold-light);

    font-size: 28px;
}

.service-label {
    display: block;

    margin-bottom: 4px;

    color: var(--gold-light);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;
}

.service-item h3 {
    margin-bottom: 6px;

    font-size: 19px;
}

.service-item p {
    color: rgba(255,255,255,0.65);

    font-size: 13px;
}


/* =========================================================
   EVENTS
   ========================================================= */

.empty-content {
    max-width: 650px;

    margin: auto;

    padding: 65px 30px;

    text-align: center;

    border:
        1px solid var(--border);

    background: var(--white);

    box-shadow: var(--shadow);
}

.empty-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 20px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: var(--gold-dark);

    background:
        rgba(214,164,58,0.12);

    font-size: 25px;
}

.empty-content h3 {
    margin-bottom: 10px;

    font-family:
        Georgia,
        serif;

    font-size: 28px;

    color: var(--purple-dark);
}

.empty-content p {
    margin-bottom: 25px;

    color: var(--muted);
}

.dark-empty {
    background:
        rgba(255,255,255,0.04);

    border-color:
        rgba(255,255,255,0.12);
}

.dark-empty h3 {
    color: var(--white);
}

.dark-empty p {
    color: rgba(255,255,255,0.65);
}


/* =========================================================
   MINISTRIES
   ========================================================= */

.ministries {
    background: var(--off-white);
}

.ministry-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}

.ministry-card {
    position: relative;

    min-height: 270px;

    padding: 30px;

    background: var(--white);

    border:
        1px solid rgba(109,15,112,0.08);

    transition: var(--transition);

    overflow: hidden;
}

.ministry-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 4px;
    height: 0;

    background:
        linear-gradient(
            var(--gold),
            var(--purple)
        );

    transition: var(--transition);
}

.ministry-card:hover {
    transform: translateY(-8px);

    box-shadow: var(--shadow);
}

.ministry-card:hover::before {
    height: 100%;
}

.ministry-number {
    margin-bottom: 55px;

    color: var(--gold-dark);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}

.ministry-card h3 {
    margin-bottom: 10px;

    color: var(--purple-dark);

    font-family:
        Georgia,
        serif;

    font-size: 25px;
}

.ministry-card p {
    margin-bottom: 20px;

    color: var(--muted);

    font-size: 14px;
}

.ministry-card span {
    color: var(--purple);

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;
}


/* =========================================================
   GIVING
   ========================================================= */

.giving {
    padding: 85px 0;

    color: var(--white);

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(214,164,58,0.15),
            transparent 35%
        ),
        var(--navy);
}

.giving-content {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.giving h2 {
    margin-bottom: 15px;

    font-family:
        Georgia,
        serif;

    font-size: clamp(38px, 5vw, 55px);
}

.giving p {
    max-width: 600px;

    color: rgba(255,255,255,0.65);
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-preview {
    background: var(--white);
}

.contact-grid {
    display: grid;

    grid-template-columns:
        1fr 0.6fr;

    gap: 70px;

    align-items: center;
}

.contact-grid h2 {
    margin-bottom: 20px;

    font-family:
        Georgia,
        serif;

    font-size: clamp(40px, 5vw, 58px);

    line-height: 1.05;

    color: var(--purple-dark);
}

.contact-grid p {
    max-width: 650px;

    color: var(--muted);
}

.contact-phone {
    padding: 40px;

    border-left:
        4px solid var(--gold);

    background:
        linear-gradient(
            135deg,
            var(--off-white),
            white
        );
}

.contact-phone span {
    display: block;

    margin-bottom: 10px;

    color: var(--gold-dark);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}

.contact-phone a {
    color: var(--purple-dark);

    font-family:
        Georgia,
        serif;

    font-size: 28px;

    font-weight: 700;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding-top: 70px;

    color: rgba(255,255,255,0.7);

    background:
        #09070b;
}

.footer-main {
    display: grid;

    grid-template-columns:
        1.4fr 0.8fr 0.8fr 1fr;

    gap: 45px;

    padding-bottom: 55px;
}

.footer-brand img {
    width: 70px;
    height: 70px;

    margin-bottom: 20px;

    object-fit: cover;

    border-radius: 50%;

    border:
        2px solid var(--gold);
}

.footer-brand h3 {
    margin-bottom: 5px;

    color: var(--white);

    font-family:
        Georgia,
        serif;

    font-size: 22px;
}

.footer-brand p {
    color: var(--gold-light);

    font-size: 12px;

    letter-spacing: 1px;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;

    color: var(--white);

    font-size: 13px;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.footer-links a {
    display: block;

    margin-bottom: 10px;

    font-size: 13px;

    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-light);

    transform: translateX(4px);
}

.footer-contact p {
    margin-bottom: 15px;

    font-size: 13px;
}

.footer-contact a {
    color: var(--gold-light);

    font-weight: 700;
}

.footer-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 22px 0;

    border-top:
        1px solid rgba(255,255,255,0.08);

    font-size: 11px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 1050px) {

    .main-nav {
        gap: 15px;
    }

    .main-nav a {
        font-size: 10px;
    }

    .ministry-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


@media (max-width: 800px) {

    .section,
    .section-dark {
        padding: 75px 0;
    }

    .header-inner {
        min-height: 78px;
    }

    .main-nav {
        position: absolute;

        top: 78px;
        left: 20px;
        right: 20px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 15px;

        background:
            rgba(20,4,25,0.98);

        border:
            1px solid rgba(255,255,255,0.1);

        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 13px 10px;

        font-size: 12px;
    }

    .main-nav a::after {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        min-height: 720px;
    }

    .hero h1 {
        font-size: clamp(45px, 13vw, 70px);
    }

    .hero p {
        font-size: 16px;
    }

    .welcome-grid,
    .contact-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        padding-left: 0;

        padding-top: 20px;

        border-left: none;

        border-top:
            1px solid rgba(255,255,255,0.2);
    }

    .giving-content {
        flex-direction: column;

        align-items: flex-start;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;
    }
}


@media (max-width: 520px) {

    .container {
        width:
            calc(100% - 30px);
    }

    .header-inner {
        width:
            calc(100% - 30px);
    }

    .brand-text {
        display: none;
    }

    .hero-content {
        width:
            calc(100% - 30px);
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .ministry-grid {
        grid-template-columns: 1fr;
    }

    .welcome-card {
        padding: 30px;
    }

    .contact-phone {
        padding: 30px;
    }

    .contact-phone a {
        font-size: 22px;
    }
}