/* Ensure the html and body take up the full height */
html, body {
    height: 100%; /* Full viewport height */
    margin: 0; /* Remove default margins */
    display: flex;
    flex-direction: column;
}

/* Styling for general page content */
body {
    background-color: #FFFFFF; /* White background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Padding for various elements */
header, nav, main, footer {
    padding: 20px;
}

.logo {
  height: 200px;
  margin-top: 10px;
  margin-right: 10px;
}

.top-band, footer {
    position: relative;  /* Ensure it positions relative to the page */
    left: 0;  /* Align to the left edge */
    right: 0;  /* Align to the right edge */
    width: 100vw; /* Full viewport width */
    margin-left: calc(-50vw + 50%); /* Force to ignore container constraints */
    padding: 0;
}

/* Top banner should stretch across the screen */
.top-band {
    background-color: #203470; /* Royal Blue */
    height: auto; /* 1.5 inches */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF; /* Text color */
    font-size: 2.0em; /* Default text size */
    padding: 10px;
    box-sizing: border-box;
    width: 100vw; /* Full viewport width */
    margin: 0; /* Ensure no margins */
    flex-wrap: wrap;
}

/* Default styling for the h1 on desktop */
h1 {
    font-size: 2.5em; /* You can adjust this as per your preference */
    text-align: center;
}

/* Mobile-specific styling for the h1 */
@media only screen and (max-width: 600px) {
    h1 {
        font-size: 1.4em; /* Smaller size for mobile */
    }
}



/* Default size for the map (desktop) */
.service-area-map {
    width: 100%; /* Allow it to scale with the container */
    max-width: 1100px; /* Similar to side images on the index page */
    height: 800px; /* Same height as the side images */
    object-fit: cover; /* Maintain aspect ratio and cover the container */
    margin-left: 20px; /* Optional: adjust margins */
}

/* Mobile-specific size for the map */
@media only screen and (max-width: 600px) {
    .service-area-map {
        max-width: 100%; /* Take up full width on mobile */
        height: auto; /* Ensure it scales while maintaining the aspect ratio */
        margin-left: 0; /* Remove margin on mobile */
    }
}



/* Responsive text size for banner and adjustments for mobile */
@media only screen and (max-width: 600px) {
    .top-band {
        font-size: 1.2em; /* Smaller text for mobile */
        height: auto; /* Allow height to adjust based on content */
        padding: 10px; /* Add some padding for better spacing */
        justify-content: center; /* Center the content on mobile */
    }

    .top-band img:last-child {
        display: none; /* Hide the final_opposite_pool_icon.png on mobile */
    }

    .top-band img:first-child {
        margin-left: 10px; /* Add margin to prevent cruz_pool_logo.png from being cut off */
    }
}

/* Main content area should expand to fill available space */
main {
    flex: 1; /* Make the main area flexible to fill space */
    padding: 20px; /* Add some padding for spacing */
}

/* Footer navigation bar */
.footer-nav {
    display: flex;
    justify-content: center; /* Center the nav links */
    gap: 20px; /* Space between each link */
    margin-bottom: 10px; /* Add space between nav and copyright text */
}

.footer-nav a {
    color: #FFFFFF; /* Match the text color with the footer text */
    text-decoration: none; /* Remove underlines */
    font-size: 1.2em; /* Slightly larger font for readability */
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

.footer-nav a:hover {
    color: #f0a500; /* Change color on hover */
}

/* Footer stays at the bottom */
footer {
    text-align: center;
    padding: 20px;
    background-color: #203470;  /* Matches the colors with the top band background */
    color: #FFFFFF; /* Matches the colors with the top band text */
    width: 100vw; /* Full viewport width */
    margin: 0; /* Ensure no margins */
    position: relative;
    bottom: 0;
}

/* Styling for the services table */
.services-table {
    width: 80%; /* Adjust width as needed */
    margin: 20px auto;
    border-collapse: collapse; /* Remove default border spacing */
    text-align: left;
    font-size: 1.2em;
}

.services-table th, .services-table td {
    border: 1px solid #203470; /* Border color matching the blue theme */
    padding: 10px;
}

.services-table th {
    background-color: #203470; /* Blue background for header */
    color: white; /* White text for header */
}

.services-table td {
    background-color: #f9f9f9; /* Light gray for table rows */
}

/* Mobile view for the services table */
@media only screen and (max-width: 600px) {
    .services-table {
        width: 100%; /* Full width on mobile */
        font-size: 1em; /* Adjust font size for mobile */
    }
}

.image-row {
    display: flex;
    justify-content: center; /* Center the images */
    align-items: center; /* Align the images vertically */
    gap: 200px; /* Space between the images */
    margin-top: 20px; /* Add space above the row */
}

.side-by-side-image {
    height: 2in; /* Maintain a consistent height for the images */
    object-fit: cover; /* Ensure the images scale nicely */
    border-radius: 8px; /* Add rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
}


/* Left and Right Images with 2 images each */
.left-images, .right-images {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Space between images */
    flex: 1;
    text-align: center;
    margin-left: 100px; /* Add left margin */
    margin-right: 2px; /* Add right margin to balance sides */
}

/* Remove margins on mobile */
@media only screen and (max-width: 600px) {
    .left-images, .right-images {
        margin-left: 0; /* Remove left margin on mobile */
        margin-right: 0; /* Remove right margin on mobile */
    }
}

/* Left and right side images */
.side-image {
    width: 100%;
    max-width: 420px; /* Ensure max size for the side images */
    height: 300px;
    object-fit: cover;
    border-radius: 8px; /* Rounded corners */
}

/* Center aligned icons */
.center-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px; /* Default gap for desktop */
    flex: 1;
}

/* Make icons bigger (2-3X larger) for desktop */
.icon {
    width: 250px;
    height: auto;
    margin-bottom: 20px;
}

/* Mobile-specific sizes and wrapping */
@media only screen and (max-width: 600px) {
    .image-row {
        flex-direction: column; /* Stack images and icons vertically on mobile */
        align-items: center;    /* Center everything */
    }


    .side-image {
        max-width: 100%; /* Allow images to take the full width of the mobile screen */
    }

    .center-icons {
        flex-direction: row; /* Align icons horizontally when stacked */
        flex-wrap: wrap;     /* Wrap icons if they overflow */
        justify-content: center; /* Center the icons */
        gap: 20px; /* Increase gap between icons for mobile */
    }

    .icon {
        width: 200px; /* Resize icons to fit better on mobile */
    }
}

.portfolio-example-banner {
    background-color: #203470; /* Matches the top band color */
    color: #FFFFFF; /* White text */
    text-align: center;
    font-size: 1.5em;
    padding: 10px 20px;
    position: relative;
    z-index: 10;
    width: 100%; /* Full width */
    margin: 0; /* No margin */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
}


body {
    background-color: #FFFFFF; /* White background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    /*background-image: url('background.png');  Add your background image here */
    background-size: cover; /* Cover the entire background */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-attachment: fixed; /* Fixed background for effect */
    background-position: center; /* Center the image */
}

/* Add a semi-transparent overlay to enhance readability */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5); /* Semi-transparent white overlay */
    z-index: -1; /* Send it behind the content */
}

.logo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
