/* =====================
   GLOBAL
===================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Source Sans 3", sans-serif;
    background-color: #f4f4f1;
    color: #2b2b2b;
    line-height: 1.7;
}

h1,
h2,
h3,
.logo {
    font-family: "Libre Baskerville", serif;
}

/* =====================
   HEADER
===================== */

header {
    background-color: #3d4a33;
    color: white;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover {
    color: #a7b2a5;
}

/* =====================
   HERO
===================== */

.hero {
    height: 85vh;

    background:
        linear-gradient(
            rgba(0,0,0,.55),
            rgba(0,0,0,.55)
        ),
        url("images/hero.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 3.3rem;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.3rem;
    max-width: 650px;
    margin: 0 auto 30px;
}

/* =====================
   BUTTONS
===================== */

.btn {
    display: inline-block;
    background-color: #3d4a33;
    color: white;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    background-color: #2f3928;
}

button {
    width: 100%;
    border: none;
    background-color: #3d4a33;
    color: white;
    padding: 15px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #2f3928;
}

/* =====================
   SECTIONS
===================== */

.section {
    padding: 90px 10%;
}

.section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #3d4a33;
}

.light {
    background-color: white;
}

/* =====================
   CARDS
===================== */

.card-container {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(260px, 1fr)
    );
    gap: 25px;
}

.card {
    background: white;
    padding: 35px;
    border-radius: 10px;

    box-shadow:
        0 8px 25px rgba(0,0,0,.06);

    transition: .3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #3d4a33;
    margin-bottom: 15px;
}

/* =====================
   CTA
===================== */

.cta {
    background-color: #3d4a33;
    color: white;
    text-align: center;
    padding: 90px 10%;
}

.cta h2 {
    margin-bottom: 30px;
}

/* =====================
   PAGE BANNER
===================== */

.page-banner {
    background-color: #3d4a33;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.page-banner h1 {
    margin-bottom: 15px;
}

/* =====================
   CONTACT CONTAINER
===================== */

.contact-container {
    max-width: 750px;
    margin: auto;

    background: white;

    padding: 40px;

    border-radius: 10px;

    box-shadow:
        0 8px 25px rgba(0,0,0,.06);
}

.contact-container h2 {
    text-align: center;
    margin-bottom: 25px;
}

/* =====================
   FORM FIELDS
===================== */

input,
textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;

    border: 1px solid #d8d8d8;

    border-radius: 6px;

    font-size: 1rem;

    font-family: "Source Sans 3", sans-serif;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #7a8d78;
}

textarea {
    min-height: 150px;
}

/* =====================
   BUSINESS INFO
===================== */

.business-info {
    text-align: center;
    max-width: 700px;
    margin: auto;
}

.business-info p {
    margin-bottom: 15px;
}

/* =====================
   FOOTER
===================== */

footer {
    background-color: #232323;
    color: white;
    text-align: center;
    padding: 30px;
}

/* =====================
   MOBILE
===================== */

@media (max-width: 768px) {

    header {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero {
        height: 70vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 60px 20px;
    }
}


