/* Optional: Adjust the background and overlay if needed */
.bg-raider-mission {
    position: relative;
}

.background-image {
    width: 100%;
    height: 300px;
    filter: brightness(0.3) blur(4px);
    object-fit: cover; /* Ensures the image covers the entire container without stretching */
}

.text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center text vertically */
    align-items: center; /* Center text horizontally */
    color: white; /* Make text white */
    text-align: center;
    z-index: 10; /* Ensure it overlays above the image */
}

.jazz-title {
    font-size: 3rem;
    font-weight: bold;
    text-transform: capitalize;
    padding: 0;
}

.jazz-description {
    font-size: 1 rem;
    line-height: 1.8;
    padding: 0 15%;
}

/* Hide the images by default */
.btn .img-fluid {
    display: none;
}

/* Show the image when hovering over the button */
.btn-august:hover .img-august,
.btn-september:hover .img-september,
.btn-october:hover .img-october .img-november,
.img-december .img-january .img-february .img-march,
.img-april .img-may .img-june {
    display: block;
}

/* Image Containers */
.image-container {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Keeps the aspect ratio */
    overflow: hidden;
    border-radius: 8px; /* Optional: Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Shadow for better visibility */
}

/* Images should cover the container */
.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image scales properly */
    border-radius: 8px;
}

.image-container .btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 1.5vw 3vw; /* Smaller padding */
    font-size: 2.5vw; /* Smaller font size */
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover effects for the buttons */
.image-container .btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.row.g-4 {
    display: flex; /* Flexbox layout */
    flex-wrap: wrap; /* Allow wrapping to the next row */
    gap: 1.5rem; /* Space between items */
    justify-content: center; /* Center align items horizontally */
}

/* General Button Styles */
.button-container .btn {
    position: relative; /* Allows layering of text over the image */
    width: 200px; /* Button size, adjust as needed */
    height: 200px;
    background-size: cover; /* Ensures the image covers the button */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents image tiling */
    border: 3px solid #333; /* Button border */
    border-radius: 5%; /* Rounded corners */
    color: black; /* Text color */
    font-size: 24px; /* Text size */
    font-weight: bold; /* Bold text */
    text-transform: uppercase; /* Capitalize text */
    display: flex; /* Flexbox for centering text */
    justify-content: center; /* Center text horizontally */
    align-items: center; /* Center text vertically */
    cursor: pointer; /* Pointer cursor on hover */
    transition: transform 0.3s ease, background-color 0.3s ease; /* Smooth hover effect */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .image-container .btn {
        font-size: 4vw; /* Slightly larger for smaller screens */
        padding: 3vw 6vw; /* Adjust padding for small screens */
    }
    .side-image-container img {
        max-width: 80%;
    }
}

/* General Button Container Style */
.button-container {
    position: relative;
    display: inline-block;
    margin: 10px; /* Reduced margin for tighter spacing */
    width: 150px; /* Scaled-down button width */
    height: 150px; /* Scaled-down button height */
    overflow: hidden;
    border-radius: 5%;
}


/* Button (Text) Style */
.button-container .btn {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 1rem; /* Adjusted text size for smaller buttons */
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Background Image Style */
.button-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hover effect to reveal the image */
.button-container:hover img {
    opacity: 1; /* Show the image */
    transform: translateX(-50%) translateY(-10px); /* Slight upward movement */
}

.button-container:hover .btn {
    background-color: #333; /* Darken button background */
    color: white; /* Change text color */
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .button-container img {
        width: 80%; /* Smaller image for smaller screens */
    }
    .btn {
        font-size: 18px; /* Smaller button text */
        padding: 10px 20px;
    }
}

/* Ensure the col div is a relative container */
.position-relative {
    position: relative;
}

/* Style for the images under the buttons */
.hover-image {
    position: absolute; /* Positioned relative to the col container */
    top: 0; /* Align to the top of the container */
    left: 0; /* Align to the left of the container */
    width: 100%; /* Cover the entire width of the button */
    height: 100%; /* Match the height of the button */
    object-fit: cover; /* Ensure image scales without distortion */
    z-index: 0; /* Place image behind the button */
    opacity: 0; /* Hide the image initially */
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out; /* Smooth fade-in and zoom effect */
}

/* Style for the buttons */
.custom-btn {
    position: relative; /* Ensure buttons sit above images */
    z-index: 1; /* Higher z-index to overlay buttons above images */
    background-color: white; /* Default button background */
    border: 3px solid #333;
    border-radius: 5%;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 15px 30px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

/* Hover effect for buttons to reveal images */
.position-relative:hover .hover-image {
    opacity: 1; /* Make the image visible */
    transform: scale(1.1); /* Slight zoom effect */
}

.position-relative:hover .custom-btn {
    background-color: #333; /* Darken button on hover */
    color: white; /* Change button text color */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-btn {
        font-size: 18px; /* Adjust button font size */
        padding: 10px 20px;
    }
    .hover-image {
        object-fit: contain; /* Adjust fit for smaller screens */
    }
}

/* Style for side images */
.side-image {
    width: 100%; /* Scale image to fill the container width */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Optional: Add rounded corners */
    object-fit: cover; /* Ensure the image scales properly */
    border: 3px solid #333; /* Add a border around the images */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Optional: Add a shadow for depth */
}

/* Add a border to the left side image */
.side-image-container.left {
    padding: 10px; /* Optional: Add space between border and image */
    border-radius: 8px; /* Optional: Round the corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for effect */
}

/* Add a border to the right side image */
.side-image-container.right {
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Side Image Containers */
.side-image-container {
    flex: 0 0 20%; /* 20% of the page width for side images */
    max-width: 300px; /* Maximum width of side images */
    display: flex; /* Use flexbox to center the image */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    position: relative; /* To position the button on top of the image */
}

/* Central Content (Month Buttons) */
.month-container {
    flex: 1; /* Take up remaining space in the center */
    text-align: center; /* Center align content */
    padding: 20px; /* Optional: Add padding around the month buttons */
}

/* Layout for the page container */
.page-container {
    display: flex; /* Use flexbox to align side images and central content */
    flex-wrap: nowrap; /* Ensure side images stay on the sides */
    justify-content: space-between; /* Space between left, center, and right sections */
    align-items: center; /* Vertically align the elements */
    gap: 20px; /* Add space between sections */
    padding: 20px; /* Optional: Add padding around the entire container */
}

/* Responsive Behavior */
@media (max-width: 768px) {
    .side-image-container {
        flex: 0 0 25%; /* Larger images on smaller screens */
        max-width: 250px; /* Adjust max-width on small screens */
    }

    .month-container {
        padding: 10px; /* Reduce padding for smaller screens */
    }

    /* Ensure buttons scale appropriately */
    .image-container .btn {
        font-size: 5vw; /* Button size relative to viewport width */
        padding: 3vw 5vw; /* Adjust padding for smaller screen */
    }
}

footer {
    width: 100%; /* Ensures the footer takes the full width */
    background-color: #333; /* Ensure it has a consistent background color */
    color: white;
    padding: 20px 0; /* Add some vertical padding for spacing */
    border-top: 2px solid var(--primary-color); /* Optional border for a neat touch */
    position: relative;
    bottom: 0;
  }
  
  .footer-container {
    max-width: 1200px; /* Optional: Center the content with a max-width */
    margin: 0 auto; /* Center the container horizontally */
  }
  
  .footer-bottom {
    background-color: #444; /* Darker background for the copyright bar */
    padding: 10px;
    text-align: center;
  }