:root {
    --color-primary: #009639;
    --color-white: #fff;
    --color-black: #000;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.contact-button {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

/* 
*** Hero section
*/
.hero {

    background-image: url('/images/banner_image_mobile.jpeg');
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    position: absolute;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 3em;
}

.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-text {
    color: var(--color-white);

    h1 {
        font-size: 4rem;
        margin: 0;
    }
}

.hero-arrow-down {
    display: flex;
    justify-content: end;
}

.hero-button {
    background-color: var(--color-white);
    color: var(--color-black);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;

    a {
        text-decoration: none;
        color: var(--color-black);
    }
}

/* 
*** About section
*/
.about {
    margin-top: 100px;
    margin-bottom: 100px;
    margin-left: 40px;
    margin-right: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    gap: 10px;

    p {
        font-size: 1rem;
        line-height: 1.25;
    }

    h2 {
        margin: 0;
        font-size: 1.5rem;
    }
}
.trees {
    position: absolute;
    right: 20px;
    top: -70px;
    z-index: 0; /* z-index should be lower than the image */
    width: 50px;
}
.about-image-wrapper-container {
    position: relative;
    min-width: 300px;
    width: 100%;
}
.about-image-wrapper {
    z-index: 1;
    position: relative;
    background-image: url('/images/about_image.jpeg');
    background-size: cover;
    border-radius: 20px;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    width: 100%;
}

/* 
*** Images section
*/
.image-wrapper {
    display: flex;
    flex-direction: column;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* 
*** Footer section
*/
.footer-content {
    margin: 40px;
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 40px;
}

.footer-logo {
    width: 100px;
}

.footer-links {
    color: var(--color-primary);
    display: flex;
    flex-direction: column;
    gap: 10px;

    a {
        text-decoration: none;
        color: var(--color-primary);
    }

    hr {
        width: 100%;
        color: var(--color-primary);
        border: none;
        border-bottom: 1px solid var(--color-primary);
    }
}

.footer-link-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 
*** Media queries
*/
@media (min-width: 576px) {
    .about-text {
        width: 90%;
    }
    .image-wrapper {
        flex-direction: row;
    }
}
@media (min-width: 768px) {
    .image-wrapper {
        min-width: 500px;
    }
   
}
@media (min-width: 768px) {
    .about {
        flex-direction: row;
    }
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {

    .hero {
        background-image: url('/images/banner_image.jpeg');
        background-position: bottom;
    }

    .about-text {
        h2 {
            font-size: 1.5rem;
        }

        p {
            font-size: 1.25rem;
            line-height: 1.5;
        }
    }
    .footer-link-wrapper {
        width: 100%; 
        display: flex;
        justify-content: flex-end;

    }
}

@media (min-width: 1440px) {
    .hero {
        background-image: url('/images/banner_image_cropped.jpeg');
        background-position: center;
    }

    .about-image-wrapper {
        height: 500px;
    }

    .about {
        gap: 340px;
        margin: 100px 80px;
        margin-top: 140px;
    }
    .footer-content {
        margin: 100px 80px;
    }

    .about-text {
        h2 {
            font-size: 2rem;
        }

        p {
            font-size: 1.5rem;
            line-height: 1.5;
        }
    }
}