/* General styles */
body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Typography */
h1, .main-heading {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 30pt;
    color: #2e8b57; /* Dark green */
}

/* Layout */
.two-column-layout {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.content-column {
    flex: 1;
    min-width: 300px;
    padding-right: 2rem;
}

.image-column {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Image styles */
.image-container {
    width: 100%;
    max-width: 600px;
    margin: 1rem auto;
}

.responsive-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain; /* Changed from 'cover' to 'contain' */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

figcaption {
    margin-top: 0.5rem;
    font-style: italic;
    color: #666;
    text-align: center;
}

/* Navigation styles */
nav {
    background-color: #4682b4; /* Steel blue */
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav .nav-links {
    list-style: none;
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0; /* Ensure there's no gap between nav-links and the bar */
}

nav .nav-links li {
    margin: 0 15px;
}

nav .nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    background-color: #5f9ea0;
    border-radius: 5px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

nav .nav-links li a:hover {
    background-color: #7fb3d5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Add hover shadow effect */
}

/* Hamburger Menu Icon */
.menu-icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
    background-color: #4682b4;
    padding: 5px;
    border-radius: 5px;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1001; /* Ensure it stays above content */
}

/* Mobile view (max-width 600px) */
@media (max-width: 600px) {
    .menu-icon {
        display: block; /* Show the hamburger icon */
    }

    nav .nav-links {
        display: none; /* Hide the nav links initially */
        flex-direction: column; /* Stack the nav links vertically */
        position: absolute;
        top: 0; /* Align the top of the pane with the top of the nav bar */
        left: 0;
        width: 100%;
        background-color: #4682b4;
        padding-top: 10px; /* Ensure a little padding inside the pane */
    }

    nav .nav-links.show {
        display: flex; /* Show the nav links when triggered */
    }

    nav .nav-links li {
        margin: 10px 0;
    }
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .two-column-layout {
        flex-direction: column;
    }

    .content-column, .image-column {
        width: 100%;
        padding-right: 0;
    }

    .image-column {
        margin-top: 2rem;
    }

    .responsive-image {
        max-height: 300px;
    }
}

/* Banner styles */
.banner {
    background-color: #4682b4; /* Steel blue, matching the nav background */
    color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.banner h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    margin-bottom: 1rem;
}

.banner p {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
}

/* Adjust layout for larger screens */
@media (min-width: 1024px) {
    .content-column {
        display: flex;
        flex-direction: column;
    }

    .banner {
        flex-shrink: 0;
        width: 100%;
        max-width: 300px; /* Adjust as needed */
        align-self: flex-start;
        position: sticky;
        top: 80px; /* Adjust based on your nav height */
    }
}

/* Page container */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header styles */
header {
    text-align: center;
    padding: 2rem 0;
}

/* Footer styles */
footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}