/* =========================================================
   CROSSROADS FELLOWSHIP
   STATIC WEBSITE STYLES
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --navy: #151c27;
    --blue: #315a7d;
    --blue-dark: #24445f;

    --gold: #c39a4a;
    --gold-dark: #a77f38;

    --cream: #f6f4ef;
    --white: #ffffff;

    --text: #33383e;
    --muted: #6b737b;

    --line: #dedfe1;

    --shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

    --max-width: 1120px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.65;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
}


/* =========================================================
   CONTAINER
   ========================================================= */

section {
    scroll-margin-top: 180px;
}

.container {
    width: 92%;
    max-width: var(--max-width);

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.top-bar {
    background: var(--navy);

    color: var(--white);

    font-size: 13px;
}

.top-bar-content {
    min-height: 38px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    background: var(--white);

    border-bottom: 1px solid var(--line);

    position: sticky;

    top: 0;

    z-index: 1000;
}

.navigation {
    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* =========================================================
   LOGO
   ========================================================= */

.site-logo {
    display: inline-flex;

    flex-direction: column;

    line-height: 1;

    color: var(--blue);

    font-weight: 800;
}

.logo-main {
    font-size: 20px;

    letter-spacing: 0.08em;
}

.logo-sub {
    color: var(--gold);

    font-size: 10px;

    letter-spacing: 0.25em;

    margin-top: 7px;
}


/* =========================================================
   MAIN NAVIGATION
   ========================================================= */

.main-navigation {
    display: flex;

    align-items: center;

    gap: 28px;
}


/* Standard navigation links */

.main-navigation > a {
    color: var(--text);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.06em;

    transition:
        color 0.2s ease;

    white-space: nowrap;
}

.main-navigation > a:hover,
.main-navigation > a.active {
    color: var(--gold);
}


/* =========================================================
   MEMBER PORTAL
   ========================================================= */

.nav-dropdown {
    position: relative;

    display: flex;

    align-items: center;

    height: 100%;
}


/* Member Portal button */

.nav-dropdown-button {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 0;

    border: 0;

    background: transparent;

    color: var(--text);

    font-family: inherit;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.06em;

    line-height: 1.65;

    white-space: nowrap;

    cursor: pointer;

    transition:
        color 0.2s ease;
}


/* Member Portal hover */

.nav-dropdown:hover .nav-dropdown-button,
.nav-dropdown:focus-within .nav-dropdown-button {
    color: var(--gold);
}


/* Dropdown arrow */

.dropdown-arrow {
    display: inline-block;

    font-size: 11px;

    line-height: 1;

    transition:
        transform 0.2s ease;
}


/* Rotate arrow */

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown:focus-within .dropdown-arrow {
    transform: rotate(180deg);
}


/* =========================================================
   MEMBER PORTAL DROPDOWN MENU
   ========================================================= */

.nav-dropdown-content {
    display: none;

    position: absolute;

    top: calc(100% + 1px);

    left: 0;

    min-width: 235px;

    padding: 7px 0;

    background: var(--white);

    border: 1px solid var(--line);

    box-shadow: var(--shadow);

    z-index: 2000;
}


/* Show dropdown */

.nav-dropdown:hover .nav-dropdown-content,
.nav-dropdown:focus-within .nav-dropdown-content {
    display: block;
}


/* Dropdown links */

.nav-dropdown-content a {
    display: block;

    width: 100%;

    padding: 10px 18px;

    color: var(--text);

    background: var(--white);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.03em;

    text-decoration: none;

    white-space: nowrap;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}


/* Dropdown hover */

.nav-dropdown-content a:hover,
.nav-dropdown-content a:focus {
    background: var(--cream);

    color: var(--gold);
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.mobile-menu-button {
    display: none;

    border: 0;

    background: transparent;

    color: var(--blue);

    font-size: 28px;

    cursor: pointer;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 550px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    color: var(--white);

    background-color: var(--blue);

    background-image:
        url("../images/hero.jpg");

    background-size: cover;

    background-position: center;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10, 17, 27, 0.78),
            rgba(31, 78, 121, 0.50)
        );
}

.hero-content {
    position: relative;

    z-index: 2;

    padding: 80px 0;
}

.hero h1 {
    margin: 15px 0 20px;

    font-size:
        clamp(
            40px,
            6vw,
            68px
        );

    line-height: 1.08;

    font-weight: 700;
}

.hero p {
    max-width: 760px;

    margin: 0 auto 30px;

    font-size: 19px;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.eyebrow {
    color: var(--gold);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.22em;

    text-transform: uppercase;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    display: inline-block;

    padding: 13px 24px;

    margin: 5px;

    border: 1px solid transparent;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.05em;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.button-gold {
    background: var(--gold);

    border-color: var(--gold);

    color: var(--white);
}

.button-gold:hover {
    background: var(--gold-dark);

    border-color: var(--gold-dark);
}

.button-blue {
    background: var(--blue);

    border-color: var(--blue);

    color: var(--white);
}

.button-blue:hover {
    background: var(--blue-dark);

    border-color: var(--blue-dark);
}

.button-outline {
    background: transparent;

    border-color: var(--white);

    color: var(--white);
}

.button-outline:hover {
    background: var(--white);

    color: var(--blue);
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 75px 0;
}

.section-light {
    background: var(--cream);
}


/* =========================================================
   TWO COLUMN
   ========================================================= */

.two-column {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 50px;

    align-items: center;
}


/* =========================================================
   HEADINGS
   ========================================================= */

h2 {
    margin-top: 8px;

    margin-bottom: 18px;

    color: var(--blue);

    font-size: 38px;

    line-height: 1.2;
}

h3 {
    color: var(--blue);

    font-size: 23px;

    line-height: 1.3;
}

p {
    margin-top: 0;

    margin-bottom: 18px;
}


/* =========================================================
   SERVICE CARD
   ========================================================= */

.service-card {
    padding: 40px;

    background: var(--white);

    border: 1px solid var(--line);

    box-shadow: var(--shadow);
}

.service-card h3 {
    margin-top: 10px;

    margin-bottom: 15px;
}

.service-time {
    color: var(--gold);

    font-size: 34px;

    font-weight: 700;

    margin-bottom: 15px;
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.section-heading {
    max-width: 760px;

    margin: 0 auto 45px;

    text-align: center;
}

.section-heading h2 {
    margin-bottom: 15px;
}

.section-heading p {
    color: var(--muted);

    font-size: 17px;
}


/* =========================================================
   THREE COLUMN
   ========================================================= */

.three-column {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 25px;
}


/* =========================================================
   CONTENT CARDS
   ========================================================= */

.content-card {
    padding: 35px;

    background: var(--white);

    border: 1px solid var(--line);

    box-shadow: var(--shadow);

    text-align: center;
}

.content-card h3 {
    margin-top: 10px;
}

.content-card p {
    color: var(--muted);
}

.card-icon {
    width: 52px;

    height: 52px;

    margin: 0 auto 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid var(--gold);

    border-radius: 50%;

    color: var(--gold);

    font-size: 20px;
}


/* =========================================================
   VIDEO CALLOUT
   ========================================================= */

.video-callout {
    background: var(--blue);

    color: var(--white);

    padding: 65px 0;
}

.video-callout-content {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.video-callout h2 {
    color: var(--white);

    margin-bottom: 12px;
}

.video-callout p {
    max-width: 650px;

    margin-bottom: 0;

    color: rgba(255,255,255,0.85);
}


/* =========================================================
   SCRIPTURE
   ========================================================= */

.scripture-section {
    background: var(--white);

    text-align: center;
}

blockquote {
    max-width: 850px;

    margin: 0 auto;

    color: var(--blue);

    font-size: 24px;

    font-style: italic;
}

blockquote cite {
    display: block;

    margin-top: 15px;

    color: var(--gold);

    font-size: 14px;

    font-style: normal;

    font-weight: 700;

    letter-spacing: 0.1em;
}


/* =========================================================
   PAGE HERO
   ========================================================= */

.page-hero {
    padding: 75px 0;

    text-align: center;

    background: var(--cream);
}

.page-hero h1 {
    margin: 10px 0;

    color: var(--blue);

    font-size: 50px;

    line-height: 1.1;
}

.page-hero p {
    margin: 0;

    color: var(--muted);

    font-size: 17px;
}


/* =========================================================
   EVENT LIST
   ========================================================= */

.event-list {
    display: grid;

    gap: 25px;
}

.event-card {
    display: flex;

    gap: 25px;

    padding: 30px;

    background: var(--white);

    border: 1px solid var(--line);

    box-shadow: var(--shadow);
}

.event-date {
    flex: 0 0 82px;

    height: 90px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    background: var(--blue);

    color: var(--white);
}

.event-month {
    font-size: 12px;

    letter-spacing: 0.1em;
}

.event-day {
    font-size: 32px;

    font-weight: 700;

    line-height: 1;
}

.event-details h3 {
    margin-top: 0;
}

.event-details p {
    color: var(--muted);
}


/* =========================================================
   VIDEO
   ========================================================= */

.video-container {
    position: relative;

    width: 100%;

    padding-top: 56.25%;

    background: #111;

    overflow: hidden;
}

.video-container iframe {
    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    border: 0;
}

.video-placeholder {
    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 30px;

    color: var(--white);
}


/* =========================================================
   VIDEO CARDS
   ========================================================= */

.video-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 25px;
}

.video-card {
    background: var(--white);

    border: 1px solid var(--line);

    box-shadow: var(--shadow);

    overflow: hidden;
}

.video-card-content {
    padding: 20px;
}

.video-card h3 {
    margin-top: 0;

    font-size: 20px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.8fr)
        minmax(0, 1.2fr);

    gap: 50px;
}

.contact-information {
    padding: 35px;

    background: var(--cream);
}

.contact-information h2 {
    margin-top: 0;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item strong {
    display: block;

    margin-bottom: 5px;

    color: var(--blue);

    text-transform: uppercase;

    font-size: 12px;

    letter-spacing: 0.1em;
}


/* =========================================================
   FORM
   ========================================================= */

.contact-form {
    display: grid;

    gap: 17px;
}

.form-group {
    display: grid;

    gap: 7px;
}

.form-group label {
    color: var(--blue);

    font-size: 13px;

    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #cfd4d9;

    border-radius: 0;

    background: var(--white);

    color: var(--text);

    font-size: 15px;

    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--blue);

    box-shadow:
        0 0 0 2px
        rgba(49,90,125,0.1);
}

.form-group textarea {
    min-height: 170px;

    resize: vertical;
}


/* =========================================================
   NOTICE
   ========================================================= */

.notice {
    padding: 16px 20px;

    margin-bottom: 25px;

    background: #eef4f8;

    border-left: 4px solid var(--blue);

    color: var(--text);
}


/* =========================================================
   MAP
   ========================================================= */

.map-container {
    width: 100%;

    height: 400px;
}

.map-container iframe {
    width: 100%;

    height: 100%;

    border: 0;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 55px 0 20px;

    background: var(--navy);

    color: var(--white);
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap: 45px;
}

.site-footer h3 {
    margin-top: 0;

    color: var(--white);

    font-size: 19px;
}

.site-footer p {
    color: #c9d0d8;
}

.site-footer a {
    color: #dce3e9;
}

.site-footer a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-top: 40px;

    padding-top: 20px;

    border-top:
        1px solid
        rgba(255,255,255,0.15);

    color: #aeb7c1;

    font-size: 13px;
}


/* =========================================================
   UTILITY
   ========================================================= */

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

    .top-bar-content {
        flex-direction: column;

        justify-content: center;

        gap: 2px;

        padding: 7px 0;
    }


    .navigation {
        min-height: 75px;
    }


    .mobile-menu-button {
        display: block;
    }


    /* =========================================
       MOBILE MAIN NAVIGATION
       ========================================= */

    .main-navigation {
        display: none;

        position: absolute;

        left: 0;

        right: 0;

        top: 75px;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px 4% 20px;

        background: var(--white);

        border-bottom:
            1px solid
            var(--line);

        box-shadow: var(--shadow);
    }


    .main-navigation.open {
        display: flex;
    }


    .main-navigation > a {
        width: 100%;

        padding: 13px 0;

        border-bottom:
            1px solid
            var(--line);
    }


    /* =========================================
       MOBILE MEMBER PORTAL
       ========================================= */

    .nav-dropdown {
        display: block;

        width: 100%;

        border-bottom:
            1px solid
            var(--line);
    }


    .nav-dropdown-button {
        width: 100%;

        justify-content: space-between;

        padding: 13px 0;

        text-align: left;
    }


    .nav-dropdown-content {
        position: static;

        display: none;

        width: 100%;

        min-width: 0;

        margin: 0;

        padding: 0 0 5px 20px;

        background: var(--cream);

        border: 0;

        box-shadow: none;
    }


    .nav-dropdown:hover .nav-dropdown-content {
        display: none;
    }


    .nav-dropdown:focus-within .nav-dropdown-content {
        display: block;
    }


    .nav-dropdown-content a {
        width: 100%;

        padding: 10px 15px;

        color: var(--text);

        background: transparent;

        font-size: 12px;

        border-bottom:
            1px solid
            rgba(0,0,0,0.08);
    }


    .nav-dropdown-content a:hover,
    .nav-dropdown-content a:focus {
        background: rgba(195,154,74,0.10);

        color: var(--gold);
    }


    .hero {
        min-height: 500px;
    }


    .hero h1 {
        font-size: 42px;
    }


    .two-column {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .three-column {
        grid-template-columns: 1fr;
    }


    .video-callout-content {
        flex-direction: column;

        align-items: flex-start;
    }


    .video-grid {
        grid-template-columns: 1fr;
    }


    .contact-grid {
        grid-template-columns: 1fr;
    }


    .footer-grid {
        grid-template-columns: 1fr;
    }


    .footer-bottom {
        flex-direction: column;

        gap: 5px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 500px) {

    .logo-main {
        font-size: 16px;
    }


    .logo-sub {
        font-size: 8px;
    }


    .hero h1 {
        font-size: 36px;
    }


    .hero p {
        font-size: 17px;
    }


    h2 {
        font-size: 31px;
    }


    .page-hero h1 {
        font-size: 39px;
    }


    .service-card {
        padding: 28px;
    }


    .event-card {
        flex-direction: column;
    }


    .event-date {
        width: 82px;
    }
} 

