body,
html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}


/* ----------------------------- Header Section ----------------------------- */
#logo img {
    justify-content: left;
    width: 240px;
    height: 160x;
    z-index: 1;
}

#logo {
    flex: 0 1 auto;
}

#header {
    margin: 0;
    padding: 0;
    /* change to white once done more stuff */
}

#header-container {
    display: flex;
    align-items: center;
    /* Align items vertically centered */
    padding: 10px 20px;
    /* Optional: Add some padding */
    /*!!!!!!Change the font to Azur sans-serif!!!!!!*/
    margin: 0;
    font-size: 15px;
}

nav {
    flex: 1 1 auto;
    /* Allow the nav to grow and shrink */
    text-align: center;
    /* Center the nav content */
}

nav ul {
    list-style-type: none;
    /* Remove bullets */
    padding: 0;
    /* Remove padding */
    margin: 0;
    /* Remove margin */
    display: flex;
    /* Use flexbox to arrange items horizontally */
    justify-content: center;
}

nav ul li {
    padding: 10px 20px;
    text-align: center;
    /* Add padding for spacing */
}

nav ul li a {
    text-decoration: none;
    /* Remove underline from links */
    color: black;
    /* Set link color */
}

nav ul li a:hover {
    color: grey;
    /* Change color on hover */
}

/* ------------------------------- Mobile Mode Header ------------------------------ */

/* Hide the menu icon by default */
#menu-toggle {
    display: none;
}

/* Media Query for Mobile Devices */
@media only screen and (max-width: 960px) {
    #header-container {
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    nav ul li {
        width: 100%;
    }

    nav ul.show {
        display: flex;
    }

    #menu-toggle {
        display: block;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 10px;
    }

    #menu-toggle img {
        width: 30px;
        height: 30px;
    }
}

/* ----------------------------- Top Image Card ----------------------------- */

/* Adjustments for mobile view */
@media only screen and (max-width: 960px) {
    .image-container {
        width: 100%;
        height: auto;
    }

    .image-container img {
        width: 100%;
        height: auto;
        object-fit: cover;
        position: static;
        /* Remove absolute positioning */
        transform: none;
        /* Remove centering transform */
    }

    #overlay-text {
        top: 50%;
        /* Center text vertically */
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        /* Reduce width for better fit on small screens */
        font-size: 2em;
        /* Adjust font size for better fit on small screens */
    }
}

/* General styles for image container */
.image-container {
    width: 100%;
    height: auto;
    /* Allow height to adjust automatically */
    overflow: hidden;
    position: relative;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    /* Ensure image is block level for proper scaling */
}

/* Overlay text styling */
#overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    width: 80%;
    /* Reduce width for better fit */
    font-size: 2.5em;
    z-index: 2;
    text-align: center;
    padding: 1000px 1000px;
    /* Add padding for better readability */
    background: rgba(0, 0, 0, 0.5);
    /* Add background for better contrast */
    border-radius: 10px;
    /* Add border radius for a polished look */
}

/* Mobile view adjustments */
@media only screen and (max-width: 960px) {
    .image-container {
        height: auto;
        /* Adjust height to content */
    }

    #overlay-text {
        width: 100%;
        /* Increase width for better fit on small screens */
        font-size: 1em;
        /* Adjust font size for better fit on small screens */
        padding: 1000px 1000px;
        /* Adjust padding for smaller screens */
    }
}


/* ---------------------------- Mid Video Section --------------------------- */

#video-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 80px;
    background-color: #1a1a1a;
    /* Dark background color */
    color: #fefcfc;
    /* Text color */
}

.video-container {
    flex: 1;
    margin-right: 20px;
}

.video-description {
    flex: 1;
    padding: 0 20px;
    max-width: 60%;
}

.video-description h2 {
    color: #bf0000;
    /* Yellow color */
    margin-bottom: 20px;
}

.video-description p {
    margin-bottom: 10px;
    line-height: 1.5;
}

@media only screen and (max-width: 960px) {

    #video-section {
        display: flex;
        flex-direction: column;
        padding: 40px 10px;
    }

    .video-container video {
        width: 100%;
        height: auto;
    }

    .video-description h2 {
        font-size: 17px;
    }

    .video-description p {
        font-size: 12px;
    }
}

/* ---------------------------- Products Section ---------------------------- */
.button-container {
    text-align: left;
}

.learn-more-button {
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.learn-more-button:hover {
    background-color: #0056b3;
}


.products-section {
    background-color: #fff;
    color: #333;
    padding: 40px 20px;
    text-align: center;
}

.products-section h2 {
    margin-top: 0;
}

.product {
    display: flex;
    align-items: center;
    margin: 40px 0;
    justify-content: center;
}

.product img {
    width: 40%;
    border-radius: 8px;
    margin-right: 20px;
}

.product-content {
    width: 40%;
    text-align: left;
}

.product-content h3 {
    margin-top: 0;
    color: #333;
}

.product-content h4 {
    color: #bf0000;
}

.product-content p {
    margin: 20px 0;
}

@media only screen and (max-width: 960px) {
    .product-content p {
        font-size: 12px;
    }

    .product-content h3 {
        font-size: 17px;
    }

    .product-content h4 {
        font-size: 15px;
    }
}

/* --------------------------------- Footer --------------------------------- */

#footer {
    width: 100%;
    padding: 30px 20px;
    transition: background-color 0.2s ease-in;
}

#footer:hover {
    background-color: #F4F5F5;
}

#footer #icon-container {
    display: flex;
    justify-content: right;
    align-items: center;
    width: 100%;
    position: relative;
    right: 50px;
}

#footer #icon-container img {
    width: 20px;
    height: 20px;
    margin: 0 5px;
}

@media only screen and (max-width: 960px) {
    #footer #icon-container {
        justify-content: center;
        right: 0;
    }
}