:root {
    --ob-gold: #c8ab63;
    --ob-gold-dark: #af9352;
    --ob-charcoal: #181818;
    --ob-grey: #f4f2ee;
    --ob-light: #faf8f4;
    --ob-text: #555;
    --ob-white: #fff;
}

/* BASE */

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ob-text);
    background: var(--ob-white);
}

section {
    padding: 80px 0;
}

h1,
h2 {
    color: var(--ob-charcoal);
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.1;
}

h1 {
    font-size: 4.25rem;
}

h2 {
    font-size: 3rem;
}

h3,
h4,
h5 {
    color: var(--ob-charcoal);
    font-family: inherit;
}

.text-accent {
    color: var(--ob-gold) !important;
}

.bg-dark {
    background-color: var(--ob-charcoal) !important;
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark p,
.bg-dark li {
    color: var(--ob-white);
}

.bg-dark .text-accent {
    color: var(--ob-gold) !important;
}

/* NAV */

.navbar {
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(8px);
}

.navbar .nav-link {
    color: var(--ob-white);
}

.navbar .nav-link:hover {
    color: var(--ob-gold);
}

/* BUTTONS */

.btn-accent,
.btn-accent:visited {
    background: var(--ob-gold);
    border-color: var(--ob-gold);
    color: var(--ob-white);
    border-radius: 4px;
}

.btn-accent:hover,
.btn-accent:focus {
    background: var(--ob-gold-dark);
    border-color: var(--ob-gold-dark);
    color: var(--ob-white);
}

/* HERO */

.hero {
    min-height: 75vh;
    background-image:
        linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .45)),
        url('../img/heroback.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero .container {
    padding-top: 100px;
}

.hero h1,
.hero p {
    color: var(--ob-white);
}

.hero h1 {
    font-size: 4.75rem;
    line-height: 1;
}

/* IMAGES */

.card-img-top {
    height: 200px;
    object-fit: cover;
}

#problem img {
    width: 100%;
    min-height: 320px;
    object-fit: cover;
}

/* CARDS */

.card,
.result-card,
.team-card {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.card {
    border: none;
    border-radius: 0;
}

.card-body {
    border-top: 4px solid var(--ob-gold);
}

.card-title {
    color: var(--ob-charcoal);
}

/* RESULT / FEATURE CARDS */

.result-card {
    background: var(--ob-white);
    border-top: 5px solid var(--ob-gold);
    padding: 2rem;
    height: 100%;
}

.result-card h3 {
    color: var(--ob-gold);
    font-size: 3.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.result-card h5,
.result-card p {
    color: var(--ob-charcoal);
}

.result-card h5 {
    font-size: 1.25rem;
}

.result-card p {
    margin-bottom: 0;
}

#builder-types .result-card h5 {
    margin-bottom: 0;
}

/* SOLUTIONS */

#solutions {
    background: var(--ob-light);
}

.badge-accent,
#solutions .badge {
    background: var(--ob-gold) !important;
    color: var(--ob-white) !important;
    border-radius: 0;
}

.accordion-item {
    border: none;
    border-left: 5px solid var(--ob-gold);
    border-radius: 0;
    margin-bottom: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    overflow: hidden;
}

.accordion-button {
    background: var(--ob-white);
    padding: 1.25rem 1.5rem;
    color: var(--ob-charcoal);
}

.accordion-button:hover {
    background: var(--ob-grey);
}

.accordion-button:not(.collapsed) {
    background: var(--ob-gold);
    color: var(--ob-white);
}

.accordion-button:not(.collapsed) small {
    color: rgba(255, 255, 255, .85) !important;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    background: var(--ob-white);
}

/* TEAM */

#team {
    background: var(--ob-charcoal);
}

#team h2,
#team h4 {
    color: var(--ob-white);
}

#team h4 {
    font-size: 1.75rem;
}

.team-card {
    background: var(--ob-white);
    color: var(--ob-text);
    padding: 1.5rem;
    border-top: 4px solid var(--ob-gold);
    height: 100%;
}

.team-card h5 {
    color: var(--ob-charcoal);
    font-size: 1.35rem;
    margin-bottom: .25rem;
}

.team-card p {
    color: var(--ob-text);
}

.team-role {
    color: var(--ob-gold) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 1rem;
}

.team-photo {
    width: 250px;
    max-width: 100%;
    aspect-ratio: 1064 / 659;
    height: 150px;
    object-fit: cover;
    display: block;
    margin-bottom: 1rem;
}

/* CONTACT */

#contact {
    background: var(--ob-white);
}

.contact-box {
    background: var(--ob-light);
    border-left: 5px solid var(--ob-gold);
    padding: 2rem;
}

.contact-box .form-control {
    border-radius: 0;
    border-color: #c9c9c9;
    min-height: 3rem;
}

.contact-box textarea.form-control {
    min-height: 8rem;
}

.contact-box .form-control:focus {
    border-color: var(--ob-gold);
    box-shadow: 0 0 0 .2rem rgb(184 145 58 / 20%);
}

.contact-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-status.is-success {
    color: #236b3a;
}

.contact-status.is-error {
    color: #a12622;
}

/* MOBILE */

@media (max-width: 991px) {
    h1 {
        font-size: 3.75rem;
    }

    h2 {
        font-size: 2.65rem;
    }

    .hero h1 {
        font-size: 4rem;
    }
}

@media (max-width: 575px) {
    h1 {
        font-size: 3.1rem;
    }

    h2 {
        font-size: 2.35rem;
    }

    .hero h1 {
        font-size: 3.35rem;
    }

    .result-card h3 {
        font-size: 3rem;
    }

    #team h4 {
        font-size: 1.55rem;
    }

    .team-card {
        text-align: center;
    }

    .team-photo {
        margin: 0 auto 1rem;
    }
}
