/* =========================================================
   TEXAS TO AFRICA — COMMUNITY PAGE
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0b0d0c;
    color: #f1eee7;
    font-family: "Montserrat", sans-serif;
    line-height: 1.7;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 1000;
    background: #090b0a;
    border-bottom: 1px solid rgba(198, 161, 91, 0.25);
}

.header-inner {
    width: min(1200px, 92%);
    min-height: 90px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* BRAND */

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

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

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: "Cormorant Garamond", serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
}

.brand-tagline {
    color: #b99a5b;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2.5px;
}


/* NAV */

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    position: relative;

    color: #d9d6ce;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;

    transition: color 0.3s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: #c6a15b;

    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #c6a15b;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}


/* MOBILE MENU */

.menu-toggle {
    display: none;

    border: 0;
    background: transparent;

    cursor: pointer;

    padding: 8px;
}

.menu-toggle span {
    display: block;

    width: 28px;
    height: 2px;

    margin: 6px 0;

    background: #c6a15b;

    transition: 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* =========================================================
   COMMUNITY HERO
========================================================= */

.community-hero {
    position: relative;

    min-height: 680px;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.community-hero-image {
    position: absolute;
    inset: 0;
}

.community-hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.community-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 8, 7, 0.96),
            rgba(5, 8, 7, 0.72) 48%,
            rgba(5, 8, 7, 0.2)
        );
}

.community-hero-content {
    position: relative;
    z-index: 2;

    width: min(1200px, 92%);

    margin: auto;

    padding: 100px 0;
}

.eyebrow {
    color: #c6a15b;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 20px;
}

.community-hero h1 {
    max-width: 800px;

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(60px, 9vw, 115px);

    line-height: 0.9;

    font-weight: 600;

    margin-bottom: 35px;
}

.hero-description {
    max-width: 620px;

    color: #d1cec6;

    font-size: 18px;

    margin-bottom: 35px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 18px;

    padding: 15px 27px;

    background: #c6a15b;
    color: #10110f;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    transition: 0.3s ease;
}

.hero-button:hover {
    background: #dfbf7d;

    transform: translateY(-3px);
}

.hero-button span {
    font-size: 17px;
}


/* =========================================================
   INTRO
========================================================= */

.community-intro {
    padding: 120px 20px;

    background: #101311;
}

.community-intro-inner {
    width: min(850px, 92%);

    margin: auto;

    text-align: center;
}

.section-label {
    display: inline-block;

    color: #c6a15b;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 18px;
}

.community-intro h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: clamp(45px, 6vw, 75px);

    line-height: 1;
}

.gold-line {
    width: 65px;
    height: 2px;

    margin: 30px auto;

    background: #c6a15b;
}

.community-intro p {
    color: #999b96;

    font-size: 15px;

    margin-top: 20px;
}

.community-intro .lead {
    color: #e7e3da;

    font-family: "Cormorant Garamond", serif;

    font-size: 25px;

    line-height: 1.5;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    width: min(1100px, 90%);

    margin: 0 auto 70px;

    display: flex;
    align-items: center;

    gap: 25px;
}

.section-heading span {
    flex: 1;

    height: 1px;

    background: rgba(198, 161, 91, 0.3);
}

.section-heading h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: clamp(35px, 5vw, 55px);

    font-weight: 600;

    text-align: center;
}


/* =========================================================
   COMMUNITY VALUES
========================================================= */

.community-values {
    padding: 120px 20px;

    background: #0b0e0c;
}

.community-grid {
    width: min(1150px, 92%);

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.community-card {
    position: relative;

    min-height: 390px;

    padding: 45px 35px;

    background:
        linear-gradient(
            145deg,
            #171b18,
            #0d100e
        );

    border: 1px solid rgba(198, 161, 91, 0.15);

    transition:
        transform 0.35s ease,
        border-color 0.35s ease;
}

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

    border-color: rgba(198, 161, 91, 0.55);
}

.card-number {
    position: absolute;

    top: 20px;
    right: 25px;

    color: rgba(198, 161, 91, 0.25);

    font-family: "Cormorant Garamond", serif;

    font-size: 42px;
}

.card-icon {
    color: #c6a15b;

    font-size: 38px;

    margin-bottom: 30px;
}

.community-card h3 {
    font-family: "Cormorant Garamond", serif;

    font-size: 35px;

    margin-bottom: 15px;
}

.community-card p {
    color: #999b96;

    font-size: 14px;
}


/* =========================================================
   CAMPFIRE
========================================================= */

.campfire-section {
    position: relative;

    min-height: 650px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        url("../images/hero/hero.png")
        center / cover
        no-repeat;
}

.campfire-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            rgba(5, 8, 7, 0.88),
            rgba(5, 8, 7, 0.94)
        );
}

.campfire-content {
    position: relative;
    z-index: 2;

    width: min(800px, 90%);

    text-align: center;
}

.campfire-content h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: clamp(50px, 7vw, 80px);

    line-height: 1;
}

.campfire-content p {
    color: #aaa9a3;

    max-width: 650px;

    margin: 15px auto;
}

.campfire-content p:first-of-type {
    color: #e3dfd6;

    font-family: "Cormorant Garamond", serif;

    font-size: 25px;
}


/* =========================================================
   EXPECT SECTION
========================================================= */

.expect-section {
    padding: 120px 20px;

    background: #101311;
}

.expect-list {
    width: min(900px, 92%);

    margin: auto;
}

.expect-item {
    display: grid;

    grid-template-columns: 90px 1fr;

    gap: 30px;

    padding: 35px 0;

    border-bottom: 1px solid rgba(198, 161, 91, 0.15);
}

.expect-item:first-child {
    border-top: 1px solid rgba(198, 161, 91, 0.15);
}

.expect-number {
    color: #c6a15b;

    font-family: "Cormorant Garamond", serif;

    font-size: 28px;
}

.expect-item h3 {
    font-family: "Cormorant Garamond", serif;

    font-size: 32px;

    margin-bottom: 5px;
}

.expect-item p {
    color: #999b96;

    font-size: 14px;
}


/* =========================================================
   JOIN
========================================================= */

.join-section {
    padding: 130px 20px;

    background:
        linear-gradient(
            135deg,
            #18150e,
            #0b0d0c
        );

    border-top: 1px solid rgba(198, 161, 91, 0.2);
}

.join-content {
    width: min(850px, 92%);

    margin: auto;

    text-align: center;
}

.join-content h2 {
    font-family: "Cormorant Garamond", serif;

    font-size: clamp(50px, 7vw, 80px);

    line-height: 1;
}

.join-content p {
    max-width: 650px;

    margin: 15px auto;

    color: #aaa9a3;
}

.join-buttons {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 35px;
}

.join-button {
    padding: 15px 27px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    transition: 0.3s ease;
}

.join-button.primary {
    background: #c6a15b;

    color: #10110f;
}

.join-button.primary:hover {
    background: #dfbf7d;

    transform: translateY(-3px);
}

.join-button.secondary {
    color: #c6a15b;

    border: 1px solid rgba(198, 161, 91, 0.6);
}

.join-button.secondary:hover {
    background: #c6a15b;

    color: #10110f;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 60px 20px 35px;

    background: #070908;

    border-top: 1px solid rgba(198, 161, 91, 0.2);

    text-align: center;
}

.footer-brand {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    margin-bottom: 30px;
}

.footer-brand img {
    width: 55px;
    height: 55px;

    border-radius: 50%;

    object-fit: cover;
}

.footer-brand div {
    display: flex;

    flex-direction: column;

    text-align: left;
}

.footer-brand strong {
    font-family: "Cormorant Garamond", serif;

    font-size: 23px;

    letter-spacing: 2px;
}

.footer-brand span {
    color: #b99a5b;

    font-size: 8px;

    letter-spacing: 2px;
}

.footer-links {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 25px;

    margin-bottom: 25px;
}

.footer-links a {
    color: #888b86;

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.footer-links a:hover {
    color: #c6a15b;
}

.footer-email {
    color: #c6a15b;

    font-size: 13px;
}

.copyright {
    margin-top: 30px;

    color: #555952;

    font-size: 11px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .main-nav {
        gap: 16px;
    }

    .main-nav a {
        font-size: 10px;
    }

    .community-grid {
        grid-template-columns: 1fr;

        max-width: 600px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .header-inner {
        min-height: 75px;
    }

    .brand img {
        width: 48px;
        height: 48px;
    }

    .brand-name {
        font-size: 19px;
    }

    .brand-tagline {
        font-size: 7px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;

        top: 75px;
        left: 0;
        right: 0;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        background: #090b0a;

        border-bottom: 1px solid rgba(198, 161, 91, 0.25);

        padding: 10px 20px;

        transform: translateY(-20px);

        opacity: 0;

        visibility: hidden;

        transition:
            opacity 0.3s ease,
            transform 0.3s ease,
            visibility 0.3s ease;
    }

    .main-nav.open {
        transform: translateY(0);

        opacity: 1;

        visibility: visible;
    }

    .main-nav a {
        padding: 15px 5px;

        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .main-nav a:last-child {
        border-bottom: 0;
    }

    .main-nav a::after {
        display: none;
    }


    /* HERO */

    .community-hero {
        min-height: 590px;
    }

    .community-hero-content {
        padding: 80px 0;
    }

    .community-hero h1 {
        font-size: 60px;
    }

    .hero-description {
        font-size: 15px;
    }


    /* INTRO */

    .community-intro {
        padding: 80px 20px;
    }

    .community-intro h2 {
        font-size: 46px;
    }

    .community-intro .lead {
        font-size: 21px;
    }


    /* VALUES */

    .community-values {
        padding: 80px 20px;
    }

    .section-heading {
        gap: 12px;

        margin-bottom: 45px;
    }

    .section-heading h2 {
        font-size: 36px;
    }

    .community-card {
        min-height: auto;
    }


    /* CAMPFIRE */

    .campfire-section {
        min-height: 550px;
    }

    .campfire-content h2 {
        font-size: 50px;
    }


    /* EXPECT */

    .expect-section {
        padding: 80px 20px;
    }

    .expect-item {
        grid-template-columns: 55px 1fr;

        gap: 15px;
    }

    .expect-item h3 {
        font-size: 27px;
    }


    /* JOIN */

    .join-section {
        padding: 90px 20px;
    }

    .join-content h2 {
        font-size: 50px;
    }

    .join-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .join-button {
        text-align: center;
    }


    /* FOOTER */

    .footer-brand {
        flex-direction: column;
    }

    .footer-brand div {
        text-align: center;
    }

    .footer-links {
        gap: 15px;
    }

}