body {
    background-image: url('../img/background.png'), linear-gradient(to right, #800080, #008000);
    /* Image first, then gradient */
    background-size: 100% auto;
    /* Sets the width to 100% and height scales automatically */
    background-repeat: no-repeat, no-repeat;
    background-attachment: fixed, fixed;
    background-position: top center;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    font-family: 'Roboto', sans-serif;
    /* Apply the Roboto font */

}


#hero {
    background-image: url('../img/treeterminal.splash.png');
    /* Your hero background image */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    /* Aligns the top of the image with the top of the section */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 75%;
    min-width: 900px;
    /* Width of the hero section */
    margin: 0 auto;
    /* Corrected: Centers the section horizontally */
    padding: 50px 20px;
    /* Padding inside the hero section */
    color: #000;
    /* Text color */
    min-height: 1000px;
    /* Example minimum height, adjust as needed */
}


.hero-image {
    flex: 1;
    max-width: 25%;
    border: 2px solid #000;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    margin: 10px;
    background-color: #fff;
    padding: 0;
    /* Removes default padding */
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    /* Sets images to block to remove bottom space */
}

.hero-text {
    margin-top: 220px;
    flex: 2;
    /* Text area takes double the space of each image */
    max-width: 66;
    /* Adjust based on your design needs */
    padding: 20px;
    /* Adds padding inside the text container */
    background-color: rgba(0, 0, 0, 0.7);
    /* Semi-transparent black background */
    color: #fff;
    /* High contrast text color */
    border-radius: 10px;
    /* Optional: Rounded corners */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    /* Optional: Adds shadow for depth */
    font-family: 'Roboto', sans-serif;
    /* Apply the Roboto font */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* Text shadow for better contrast */
}

/* Optional: Styling for headings and paragraphs inside .hero-text */
.hero-text h1,
.hero-text p {
    margin: 0 0 10px;
    /* Adjusts spacing between text elements */
}


/* For wider screens (landscape orientation) */
@media screen and (aspect-ratio: 13/9),
screen and (aspect-ratio: 16/9) {
    body {
        background-size: cover;
        /* Cover for wider screens */
    }
}

/* For narrower screens (portrait orientation) */
@media screen and (aspect-ratio: 9/16),
screen and (aspect-ratio: 9/13) {
    body {
        background-size: contain;
        /* Contain for narrower screens */
    }
}

.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 75%;
    min-width: 900px;
    /* Width of the hero section */
    margin: 0 auto;
    /* Corrected: Centers the section horizontally */
    padding: 50px 20px;
    /* Padding inside the hero section */
    color: #000;
    /* Hides the non-visible images */
}

.carousel-images {
    display: flex;
    width: 600%; /* Adjust based on number of images (including duplicates) */
    transition: transform 0.5s ease-in-out;
}

.carousel-images img {
    max-height: 256px;
    /* Sets the maximum height for images */
    flex-shrink: 0;
    /* Prevents images from resizing */
    object-fit: cover;
    /* Optional: Adjusts the image to cover the area, might crop */
    width: auto;
    /* Adjusts the width automatically to maintain aspect ratio */
}

#subscribe {
    text-align: center;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.8);
    /* Semi-transparent background */
    color: #fff;
    /* White text for contrast */
    border-radius: 10px;
    /* Rounded corners */
    margin: 20px auto;
    /* Centering the section */
    max-width: 500px;
    /* Max width of the section */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    /* Shadow for depth */
}

#subscribe h2 {
    margin-bottom: 10px;
    /* Spacing below the heading */
}

#subscribe p {
    margin-bottom: 20px;
    /* Spacing above the form */
}

#subscribe form {
    display: flex;
    justify-content: center;
    gap: 10px;
}

#subscribe input[type="email"] {
    flex-grow: 1;
    padding: 10px;
    border: 2px solid #fff;
    /* White border */
    background-color: transparent;
    color: #fff;
    border-radius: 5px;
}

#subscribe button {
    padding: 10px 20px;
    background-color: #c0392b;
    /* Example: a bold color for the button */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#subscribe button:hover {
    background-color: #e74c3c;
    /* Slightly lighter color on hover */
}