/* =========================================================
   ABUNDANT CHIROPRACTIC
   Modern Website Styles
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --green: #193f35;
    --green-dark: #102d26;
    --green-light: #31594d;

    --gold: #c7a55b;
    --gold-light: #dfc889;

    --cream: #f5f2e9;
    --cream-dark: #e9e4d7;

    --white: #ffffff;
    --black: #17201d;
    --gray: #68736e;

    --max-width: 1200px;

    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;

}


/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    color: var(--black);
    background: var(--white);
    line-height: 1.7;
}

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

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

button {
    font-family: inherit;
}


/* =========================================================
   GLOBAL
========================================================= */

.container {
    width: min(92%, var(--max-width));
    margin: 0 auto;
}

.eyebrow {
    display: inline-block;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;

    color: var(--gold-light);

    margin-bottom: 20px;
}

.eyebrow.dark {
    color: var(--green);
}

h1,
h2,
h3 {
    line-height: 1.15;
}

h1,
h2 {
    font-family: var(--serif);
    font-weight: 600;
}

h1 em,
h2 em {
    color: var(--gold);
    font-style: italic;
}

h2 {
    font-size: clamp(38px, 5vw, 64px);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 54px;
    padding: 0 28px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;

    transition: .25s ease;
}

.button i {
    font-size: 12px;
}

.button-primary {
    background: var(--gold);
    color: var(--green-dark);
}

.button-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.button-outline {
    border: 1px solid rgba(255,255,255,.6);
    color: white;
}

.button-outline:hover {
    background: white;
    color: var(--green);
}

.button-light {
    background: white;
    color: var(--green);
}

.button-light:hover {
    background: var(--gold-light);
}


/* =========================================================
   TOP BAR
========================================================= */

.announcement {
    background: var(--green-dark);
    color: rgba(255,255,255,.85);

    font-size: 12px;
}

.announcement-inner {
    min-height: 38px;

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

.announcement i {
    color: var(--gold);
    margin-right: 6px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navbar {
    position: relative;
    z-index: 100;

    background: white;

    border-bottom: 1px solid rgba(0,0,0,.06);
}

.nav-inner {
    min-height: 88px;

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

.logo {
    width: 170px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;

    font-size: 13px;
    font-weight: 600;
}

.nav-menu > a:not(.nav-button) {
    position: relative;
}

.nav-menu > a:not(.nav-button)::after {
    content: "";

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

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: .25s ease;
}

.nav-menu > a:not(.nav-button):hover::after {
    width: 100%;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 13px 20px;

    background: var(--green);
    color: white;

    transition: .25s ease;
}

.nav-button:hover {
    background: var(--green-dark);
}

.mobile-menu {
    display: none;

    border: 0;
    background: none;

    width: 42px;
    height: 42px;

    cursor: pointer;
}

.mobile-menu span {
    display: block;

    width: 24px;
    height: 2px;

    margin: 5px auto;

    background: var(--green);

    transition: .25s ease;
}


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

.hero {
    background:
        linear-gradient(
            90deg,
            rgba(15,40,33,.88),
            rgba(15,40,33,.48),
            rgba(15,40,33,.15)
        ),
        url("https://images.pexels.com/photos/30423030/pexels-photo-30423030.jpeg")
        center / cover no-repeat;
}


/*
   If you don't have hero.jpg, replace the URL above
   with one of your existing large background images.
*/

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

    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(199,165,91,.12),
            transparent 30%
        );
}

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

    padding: 100px 0;
}

.hero h1 {
    font-size: clamp(52px, 7vw, 92px);

    max-width: 850px;

    margin-bottom: 25px;
}

.hero-text {
    max-width: 560px;

    font-size: 18px;
    line-height: 1.8;

    color: rgba(255,255,255,.88);

    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-bottom {
    display: flex;
    gap: 13px;

    margin-top: 80px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;

    color: var(--gold-light);
}

.hero-bottom .dot {
    color: rgba(255,255,255,.5);
}


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

.intro {
    padding: 110px 0;

    background: var(--cream);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}

.intro-heading h2 {
    max-width: 560px;
}

.intro-heading h2 span {
    color: var(--green);
}

.intro-copy {
    max-width: 550px;

    color: var(--gray);

    font-size: 17px;
}

.intro-copy p + p {
    margin-top: 18px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 30px;

    color: var(--green);

    font-weight: 700;
}

.text-link i {
    transition: .2s ease;
}

.text-link:hover i {
    transform: translateX(5px);
}


/* =========================================================
   CARE
========================================================= */

.care-section {
    padding: 120px 0;
}

.section-heading {
    max-width: 760px;

    margin: 0 auto 65px;

    text-align: center;
}

.section-heading h2 {
    color: var(--green);

    margin-bottom: 20px;
}

.section-heading h2 span {
    color: var(--gold);
}

.section-heading p {
    color: var(--gray);

    max-width: 620px;

    margin: 0 auto;
}

.care-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.care-card {
    background: white;

    border: 1px solid #e6e7e3;

    overflow: hidden;

    transition: .3s ease;
}

.care-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 20px 50px rgba(20,40,35,.10);
}

.care-image {
    height: 245px;

    overflow: hidden;

    background: var(--cream);
}

.care-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .5s ease;
}

.care-card:hover .care-image img {
    transform: scale(1.05);
}

.care-content {
    position: relative;

    padding: 30px 28px 35px;
}

.card-number {
    color: var(--gold);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.care-content h3 {
    color: var(--green);

    font-family: var(--serif);
    font-size: 29px;

    margin: 8px 0 14px;
}

.care-content p {
    color: var(--gray);

    font-size: 14px;

    margin-bottom: 25px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: var(--green);

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

.card-link i {
    color: var(--gold);

    transition: .2s ease;
}

.card-link:hover i {
    transform: translateX(5px);
}


/* =========================================================
   MISSION
========================================================= */

.mission {
    position: relative;

    overflow: hidden;

    padding: 120px 0;

    background: var(--green);
    color: white;
}

.mission-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;

    gap: 80px;

    align-items: center;
}

.mission-copy h2 {
    max-width: 600px;

    margin-bottom: 25px;
}

.mission-copy p {
    max-width: 560px;

    color: rgba(255,255,255,.75);

    margin-bottom: 16px;
}

.mission-copy .button {
    margin-top: 20px;
}

.mission-images {
    position: relative;

    min-height: 500px;
}

.mission-photo {
    position: absolute;

    overflow: hidden;

    border: 7px solid rgba(255,255,255,.95);

    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.mission-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.mission-photo span {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 20px;

    background: linear-gradient(
        transparent,
        rgba(0,0,0,.75)
    );

    color: white;

    font-family: var(--serif);
    font-size: 27px;
}

.photo-one {
    width: 48%;
    height: 300px;

    left: 0;
    top: 80px;
}

.photo-two {
    width: 42%;
    height: 270px;

    right: 0;
    top: 0;
}

.photo-three {
    width: 46%;
    height: 300px;

    right: 12%;
    bottom: 0;
}


/* =========================================================
   STATS
========================================================= */

.stats {
    padding: 120px 0;

    background: var(--cream);
}

.stats-heading {
    text-align: center;

    max-width: 650px;

    margin: 0 auto 55px;
}

.stats-heading h2 {
    color: var(--green);

    margin-bottom: 15px;
}

.stats-heading p {
    color: var(--gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.stat-card {
    padding: 55px 30px;

    text-align: center;

    background: white;

    border-top: 4px solid var(--gold);

    box-shadow: 0 15px 40px rgba(20,40,35,.06);
}

.stat-card strong {
    display: block;

    color: var(--green);

    font-family: var(--serif);
    font-size: clamp(48px, 5vw, 72px);

    line-height: 1;
}

.stat-card span {
    display: block;

    margin-top: 12px;

    color: var(--gray);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* =========================================================
   VIDEO
========================================================= */

.video-section {
    padding: 120px 0;
}

.video-heading {
    text-align: center;

    max-width: 700px;

    margin: 0 auto 55px;
}

.video-heading h2 {
    color: var(--green);
}

.video-wrapper {
    position: relative;

    width: 100%;

    padding-top: 56.25%;

    overflow: hidden;

    background: var(--green);

    box-shadow: 0 25px 70px rgba(20,40,35,.15);
}

.video-wrapper iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 400px;

    border: 0;
}


/* =========================================================
   TESTIMONIALS
========================================================= */

.testimonials {
    padding: 120px 0;

    background: var(--green-dark);

    color: white;
}

.section-heading.light h2 {
    color: white;
}

.section-heading.light p {
    color: rgba(255,255,255,.7);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.testimonial-card {
    position: relative;

    padding: 42px 35px;

    background: rgba(255,255,255,.07);

    border: 1px solid rgba(255,255,255,.1);

    transition: .25s ease;
}

.testimonial-card:hover {
    background: rgba(255,255,255,.1);

    transform: translateY(-5px);
}

.quote-mark {
    color: var(--gold);

    font-family: Georgia, serif;
    font-size: 70px;

    line-height: .6;

    margin-bottom: 25px;
}

.testimonial-card > p {
    min-height: 145px;

    color: rgba(255,255,255,.82);

    font-size: 15px;
}

.testimonial-person {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-top: 25px;
}

.testimonial-person img {
    width: 55px;
    height: 55px;

    border-radius: 50%;

    object-fit: cover;
}

.testimonial-person strong,
.testimonial-person span {
    display: block;
}

.testimonial-person strong {
    color: white;
}

.testimonial-person span {
    color: var(--gold-light);

    font-size: 11px;

    margin-top: 2px;
}


/* =========================================================
   CTA
========================================================= */

.cta {
    padding: 90px 0;

    background: var(--gold);
}

.cta-inner {
    display: flex;

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

    gap: 40px;
}

.cta h2 {
    color: var(--green-dark);
}

.cta .eyebrow {
    color: var(--green-dark);
}


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

.footer {
    background: #0d241e;

    color: rgba(255,255,255,.75);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;

    gap: 60px;

    padding: 80px 0;
}

.footer-logo {
    width: 190px;

    margin-bottom: 25px;

    filter: brightness(0) invert(1);
}

.footer-brand p {
    max-width: 330px;

    font-size: 14px;

    color: rgba(255,255,255,.6);
}

.footer-column h3 {
    color: white;

    font-family: var(--serif);

    font-size: 22px;

    margin-bottom: 20px;
}

.footer-column p {
    font-size: 13px;

    line-height: 1.8;

    margin-bottom: 12px;
}

.footer-column > a {
    display: block;

    width: fit-content;

    font-size: 13px;

    margin-bottom: 10px;

    transition: .2s ease;
}

.footer-column > a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;

    gap: 10px;

    margin-top: 28px;
}

.social-links a {
    width: 42px;
    height: 42px;

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

    border: 1px solid rgba(255,255,255,.2);

    color: white;

    transition: .25s ease;
}

.social-links a:hover {
    background: var(--gold);
    border-color: var(--gold);

    color: var(--green-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-bottom .container {
    min-height: 70px;

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

    gap: 20px;

    color: rgba(255,255,255,.45);

    font-size: 11px;
}


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

@media (max-width: 1000px) {

    .nav-menu {
        gap: 18px;
    }

    .care-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .mission-images {
        max-width: 700px;

        width: 100%;

        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}


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

@media (max-width: 760px) {

    .announcement-inner {
        justify-content: center;
    }

    .announcement-inner span {
        display: none;
    }

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

    .logo {
        width: 145px;
    }

    .mobile-menu {
        display: block;
    }

    .nav-menu {
        position: absolute;

        left: 0;
        right: 0;
        top: 100%;

        display: none;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 15px 6% 25px;

        background: white;

        box-shadow: 0 15px 30px rgba(0,0,0,.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > a {
        padding: 14px 0;

        border-bottom: 1px solid #eee;
    }

    .nav-menu .nav-button {
        margin-top: 15px;

        justify-content: center;
    }

    .hero {
        min-height: 650px;
    }

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

    .hero h1 {
        font-size: clamp(48px, 14vw, 70px);
    }

    .hero-text {
        font-size: 16px;
    }

    .hero-bottom {
        margin-top: 55px;

        font-size: 9px;
        letter-spacing: 2px;
    }

    .intro {
        padding: 80px 0;
    }

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

        gap: 35px;
    }

    .care-section,
    .mission,
    .stats,
    .video-section,
    .testimonials {
        padding: 80px 0;
    }

    .section-heading {
        margin-bottom: 45px;
    }

    .care-grid {
        grid-template-columns: 1fr;
    }

    .care-image {
        height: 260px;
    }

    .mission-images {
        min-height: 420px;
    }

    .photo-one {
        width: 55%;
        height: 240px;
    }

    .photo-two {
        width: 50%;
        height: 220px;
    }

    .photo-three {
        width: 55%;
        height: 240px;

        right: 5%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 40px 25px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card > p {
        min-height: auto;
    }

    .cta {
        padding: 70px 0;
    }

    .cta-inner {
        flex-direction: column;

        align-items: flex-start;
    }

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

        gap: 40px;

        padding: 65px 0;
    }

    .footer-bottom .container {
        flex-direction: column;

        justify-content: center;

        text-align: center;

        padding: 20px 0;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 420px) {

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-bottom {
        gap: 7px;
    }

    .mission-images {
        min-height: 360px;
    }

    .photo-one {
        height: 200px;
    }

    .photo-two {
        height: 180px;
    }

    .photo-three {
        height: 200px;
    }

}
