:root {
    /* Sizing */

    --content-max-width: 100rem;

    /* Font Styling */

    --fw-light: 300;
    --fw-regular: 400;
    --fw-bold: 700;
    --fw-extra-bold: 800;

    /* Font Sizes */

    --fs-paragraph: 1.1rem;
    --fs-product-intro: 1.3rem;
    --fs-product-intro-desktop: 2rem;

    --fs-header-banner: 3.3rem;
    --fs-header-banner-tablet: 3.5rem;
    --fs-header-banner-desktop: 4rem;

    --fs-subheading: 1.3rem;
    --fs-subheading-desktop: 1.6rem;

    --fs-hs-subheading: 1.1rem;
    --fs-hs-subheading-desktop: 1.1rem;
    

    /* Colours */

    --clr-dark-blue: #003560;
    --clr-light-blue: rgb(0, 180, 209);
    --clr-faint-blue: #ebf2fa;

    --clr-light-grey: #e8e9ea;
    --clr-medium-grey: #d4d5d7;

    --clr-paragraph-txt: #5b5c5e;

    --clr-section-title: #fff;

    /* Shadows */

    --smaller-shadow: rgba(0, 0, 0, 0.5) 0px 4px 8px 0px;
    --larger-shadow: rgba(0, 0, 0, 0.5) 0px 8px 15px 0px;

    /* Coloured Shadow */

    --light-blue-shadow: rgba(0, 180, 209, 1) 4px 4px 0px 0px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 1rem;
    font-weight: var(--fw-regular);
    font-family: 'Noto Sans', sans-serif;
}

body {
    height: 100%;
}

img {
    display: block;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

p, ul {
    font-size: var(--fs-paragraph);
    color: var(--clr-paragraph-txt); 
}

p {
    line-height: 1.5rem;
    padding: 0.5rem 0;
}

ul {
    line-height: 2rem;
    padding: 0.5rem 0 0.5rem 1.5rem;
}

.italic {
    font-style: italic;
}

.test {
    border: 2px solid red;
}

/* Body Container Styling */

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 0.5rem;
    margin: 0 auto;
    width: 100%;
}

.content_container {
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    display: flex;
    max-width: var(--content-max-width);
    flex: 1;
    align-items: center;
    margin: 0 auto;
}

.content_wrapper {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0.5rem;
    align-items: center;
    width: 100%;
}

.desktop {
    display: none;
}

@media screen and (min-width: 1024px) {
    .content_wrapper {
        flex-direction: row;
    }

    .desktop {
        display: block;
    }

    .mobile {
        display: none;
    }
}

/* Header Styling */

/* Header Menu */

.header_menu {
    background-color: var(--clr-light-grey);
    padding: 0.5rem;
    z-index: 1000;
}

.header_menu .logo {
    max-width: 200px;
}

.header_menu_container {
    display: flex;
    max-width: var(--content-max-width);
    width: 100%;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    margin: 0 auto;
    padding: 1rem 0.5rem;
}

/* Header Banner */

/* Banner Images */

#homepage_banner {
    background-image: url(media_files/header\ image.jpg);
}

#contact_banner {
    background-image: url(media_files/Contact\ Banner.jpg);
}

/* Main Banner Styling */

.header_container {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    height: 100%;
}

.header_content_container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    display: flex;
    max-width: var(--content-max-width);
    flex: 1;
}

.header_menu_container span {
    font-size: 1.2rem;
    font-weight: var(--fw-bold);
    color: var(--clr-dark-blue);
    cursor: pointer;
}

.header_content_wrapper_left h1 {
    font-size: var(--fs-header-banner);
    font-weight: var(--fw-extra-bold);
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
    width: 50%;
    padding: 1rem;
}

.header_content_wrapper_left,
.header_content_wrapper_right {
    display: flex;
    flex: 1;
    align-items: center;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    color: var(--clr-section-title);
    position: relative;
    min-height: 40vh;
}

.header_content_wrapper_right {
    background-size: cover;
    background-position: center;
    z-index: 1500;
}

.header_content_image {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient( -5deg, transparent 79.5%, rgba(0, 0, 0, 0.1) 79.5%, rgba(0, 0, 0, 0.2) 80%, var(--clr-light-blue) 80% );
}

#homepage_header {
    background-color: var(--clr-light-blue);
}



@media screen and (min-width: 650px) {
    .header_content_container {
        flex-direction: row;
        min-height: 50vh;
    }

    .header_content_wrapper_left,
    .header_content_wrapper_right {
        min-height: 60vh;
    }

    .header_content_container h1 {
        font-size: var(--fs-header-banner-tablet);
    }

    .header_content_image {
        background: linear-gradient( -87deg, transparent 89.5%, rgba(0, 0, 0, 0.1) 89.5%, rgba(0, 0, 0, 0.2) 90%, var(--clr-light-blue) 90% );
    }
}

@media screen and (min-width: 1024px) {
    .header_content_wrapper_left {
        max-width: 40%;
    }

    .header_content_container h1 {
        font-size: var(--fs-header-banner-desktop);
    }

    .header_content_image {
        background: linear-gradient( -85deg, transparent 89.5%, rgba(0, 0, 0, 0.1) 89.5%, rgba(0, 0, 0, 0.2) 90%, var(--clr-light-blue) 90% );
    }
}

/* Text Styling */

.text_wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 50%;
}

.text_wrapper h2 {
    font-weight: var(--fw-bold);
    font-size: var(--fs-product-intro);
    color: var(--clr-section-title);
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.text_wrapper h2 span {
    display: inline;
    padding: 0.5rem;
    background-image: linear-gradient(45deg, var(--clr-dark-blue), var(--clr-light-blue));
    border-radius: 5px;
}


.product_content h3 {
    color: var(--clr-light-blue);
    font-size: var(--fs-subheading);
    font-weight: var(--fw-regular);
}

.gallery_container h3 {
    font-weight: var(--fw-bold);
    color: var(--clr-section-title);
    font-size: var(--fs-hs-subheading);
    padding: 1rem;
    background-color: var(--clr-light-blue);
    text-transform: uppercase;
    border-radius: 5px;
}

.align_left {
    text-align: left;
}

.left {
    padding-right: 0rem;
}

.right {
    padding-left: 0rem;
}

@media screen and (min-width: 1024px) {
    .text_wrapper h2 {
        font-size: var(--fs-product-intro-desktop);
    }

    .product_content h3 {
        color: var(--clr-light-blue);
        font-size: var(--fs-subheading-desktop);
        font-weight: var(--fw-regular);
    }

    .left {
        padding-right: 4rem;
    }

    .right {
        padding-left: 4rem;
    }
}

/* Image Styling */

.product_intro_img {
    aspect-ratio: 3 / 2;
    object-fit: contain;
    min-width: 50%;
    padding: 1rem;
}

.product_intro_img img {
    max-height: 200px;
    object-fit: contain;
}

.text_wrapper img {
    aspect-ratio: 3 / 2;
    object-fit: contain;
    min-width: 40%;
    margin: 1rem 0;
    max-height: 500px;
}

.portrait_image {
    padding-top: 1rem;
    aspect-ratio: 1 / 2;
    object-fit: contain;
    min-width: 50%;
    width: 100%;
    height: 100%;
    max-height: 800px;
}

@media screen and (min-width: 1024px) {
    .product_intro_img img {
        max-height: 500px;
    }
}

/* Specific Image Styling */

#deep_pond_aeration_img {
    height: 100%;
    background-image: url(media_files/Deep\ Pond\ Aeration.jpg);
    background-size: cover;
    background-position: 50% 100%;
}

/* Section Styling */

.product_intro {
    color: var(--clr-light-blue);
    font-size: 2rem;
}

.section_feature_img {
    width: 100%;
    padding: 0.5rem;
    background-size: cover;
    background-position: center bottom;
    box-shadow: var(--light-blue-shadow);
}

#section_one_feature_image {
    min-height: 650px;
    background-image: url(media_files/Deep\ Pond\ Aeration.jpg);
}

.section_title_left,
.section_title_right {
    position: static;
    font-weight: var(--fw-bold);
    color: var(--clr-section-title);
    padding: 0.5rem;
    background-image: linear-gradient(45deg, var(--clr-dark-blue), var(--clr-light-blue));
}

.section_title_left {
    top: 0;
    left: 0;
}

.section_title_right {
    top: 0;
    right: 0;
}

@media screen and (min-width: 840px) {
    #section_one_feature_image {
        width: 50%; /* Adjusts the width to take up the remaining space */
        background-position: center bottom;
        background-size: cover;
        padding: 0.5rem;
    }

}

/* Section 1 */

/* Img Gallery Section */

.grid_gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    width: 100%;
}

@media screen and (min-width: 500px) {
    .grid_gallery {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    }
}

.gallery_item {
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.gallery_item span {
    position: absolute;
    color: #fff;
    font-weight: var(--fw-bold);
    left: 50;
    bottom: 5%;
}

.gallery_item img {
    border-radius: 5px;
}

.product_gallery_thumbnail {
    max-width: 20%;
    position: absolute;
    left: -0.8rem;
    bottom: -0.8rem;
}

/* Background Styling */

section {
    /* border: 2px solid blue; */
    position: relative;
    margin: 0;
    padding: 0;
}

.background {
    z-index: -1;
    overflow: hidden;
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
}

.background svg {
    fill: var(--clr-faint-blue); 
    position: absolute; 
    top: 0; 
    left: 0; 
    z-index: -1; 
    overflow: hidden; 
}

/* Background Section Styling */

#section_1 {
    background-color: var(--clr-faint-blue);
}

#section_4 {
    background-color: var(--clr-faint-blue);
}

/* Footer */

.footer_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(45deg, var(--clr-dark-blue), var(--clr-light-blue));
    color: var(--clr-section-title);
}

.footer_content_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    max-width: var(--content-max-width);
    flex: 1;
    padding: 2rem 0.5rem;
    color: var(--clr-section-title) !important;
}

.logo_wrapper {
    padding: 0.5rem
}

.footer_content_container .content_wrapper p,
.footer_content_container .content_wrapper h2,
.footer_content_container .content_wrapper a {
    display: flex;
    color: var(--clr-section-title);
    flex-direction: column;
    text-align: center;
    width: 100%;
}

footer .logo {
    display: flex;
    justify-content: flex-start;
    max-width: 200px;
    width: 100%;
}

@media screen and (min-width: 650px) {
    .footer_content_container {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer_content_container .content_wrapper {
        flex-direction: column;
        justify-content: flex-end;
        text-align: right;
        width: 100%;
    }

    .footer_content_container .content_wrapper p,
    .footer_content_container .content_wrapper h2,
    .footer_content_container .content_wrapper a {
    text-align: right;

}
}





