/* General page setup */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #FFFFFF;
    background-color: #000000;
	overflow: none; /* Allow scrolling */
    -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}
/* Hide scrollbar for WebKit browsers (Chrome, Safari) */
body::-webkit-scrollbar {
    display: none;
}
/* Fullscreen background image */
#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('../images/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* Map selection screen */
#map-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
#map-selection h1 {
    position: absolute;
    top: 20px;
    text-align: center;
    color: #FFA500;
    font-size: 2rem;
    z-index: 1;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.0);
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.0);
}
/* Map container */
#map-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-content: center;
    margin-top: 100px;
    padding: 20px;
    max-width: 1200px;
    height: calc(100vh - 150px);
    overflow-y: auto;
}
/* Map button styling */
.map-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.map-button img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 10px;
}
.map-button p {
    font-size: 1.1em;
    color: #FFA500;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    width: max-content;
}
/* Container for the header */
#header-container {
    display: flex;
    justify-content: space-between; /* Ensures the button moves to the right */
    align-items: center; /* Vertically centers the content */
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Optional: background for better visibility */
    border-radius: 8px;
    margin-bottom: 20px;
}
/* Loadout selection screen */
#loadout-selection {
    display: none;
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center horizontally */
    justify-content: center; /* Center vertically */
    text-align: center;
    min-height: 100vh; /* Ensure it fills the entire screen height */
    padding: 20px;
    gap: 20px; /* Add spacing between elements */
}
/* Columns row within the loadout page */
.column-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    gap: 20px; /* Space between columns */
}
/* Ensure the column container itself is not scrollable */
.column {
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Prevent scrollbars on the column itself */
    max-height: 100%; /* Ensure the column takes up available space */
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
}
/* Trophy Info Section */
#trophy-info-column {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
}
.trophy-info-section,
.callers-scent-section {
    flex: 1;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}
/* Column title remains static */
.column-title {
    position: sticky; /* Keeps the title at the top of the column */
    top: 0;
    background-color: rgba(0, 0, 0, 0.0); /* Background for better visibility */
    z-index: 10;
    padding: 10px;
    font-size: 1.3rem;
    font-weight: bold;
    color: #FFA500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Optional: separator line */
}
/* Ensure the column layout respects a minimum width */
.column {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 60vh; /* Set a fixed maximum height for the column */
    min-width: 300px; /* Set a minimum width for the column */
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    box-sizing: border-box; /* Ensure padding is included in the width calculation */
}
/* Scrollable list area */
.column ul {
    overflow-y: scroll; /* Enable scrolling for the list */
    flex-grow: 1; /* Allow the list to fill available space */
    margin: 0;
    padding: 0;
    list-style: none; /* Remove default bullet points */
}
/* Hide the scrollbar */
.column ul::-webkit-scrollbar {
    width: 0; /* Hide the scrollbar width for WebKit browsers */
    height: 0; /* Hide the horizontal scrollbar */
}
.column ul {
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for older versions of IE and Edge */
}
/* Styling for individual list items */
.column ul li {
	text-align: left;
    margin-bottom: 8px; /* Add spacing between list items */
    padding: 5px 10px; /* Add padding around the text */
    cursor: pointer; /* Pointer cursor for interactivity */
    border-radius: 5px; /* Rounded corners for hover/selection effect */
    transition: all 0.3s ease; /* Smooth transition for hover and selection */
    color: #FFFFFF; /* Default white text */
	font-weight: bold;
}
/* Hover effect: Add transparent orange background */
.column ul li:hover {
    background-color: rgba(255, 165, 0, 0.5);
}
/* Selected item: Full orange background with bold black text */
.column ul li.selected {
    background-color: #FFA500;
    color: #000000;
    font-weight: bold;
}
/* Styling for the "Change Reserve" button */
#change-reserve-btn {
    background-color: #FFA500; /* Orange background */
    color: #000000; /* Black text */
    padding: 10px 20px; /* Space inside the button */
    border: none; /* Remove default border */
    border-radius: 8px; /* Rounded corners */
    font-size: 1em; /* Adjust font size */
    font-weight: bold; /* Make text bold */
    cursor: pointer; /* Pointer cursor for interactivity */
    text-align: center; /* Center the text */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover effect */
}
/* Hover effect for the "Change Reserve" button */
#change-reserve-btn:hover {
    background-color: #FF8C00; /* Slightly darker orange */
    color: #FFFFFF; /* White text */
}
/* Trophy Info and Scent & Callers sections */
.trophy-info-section ul,
.callers-scent-section ul {
    list-style: none; /* Remove default list markers */
    padding: 0; /* Remove extra padding */
    margin: 0; /* Remove extra margin */
}

/* Styling for list items with separators */
.trophy-info-section ul li,
.callers-scent-section ul li {
    margin: 0; /* Remove extra spacing around items */
    padding: 10px 5px; /* Add padding for better spacing */
    border-bottom: 1px solid rgba(255, 165, 0, 0.5); /* Subtle horizontal line */
    color: #FFFFFF; /* Ensure text is visible */
	font-weight: bold;
}
/* Remove the last separator line */
.trophy-info-section ul li:last-child,
.callers-scent-section ul li:last-child {
    border-bottom: none;
}
/* Map name styling */
#selected-map-header {
    margin: 0;
    font-size: 1.5rem;
    color: #FFA500;
	padding-right: 50px;
}
/* Responsive grid behavior for different screen sizes */
@media (max-width: 1200px) {
    #map-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .map-button img {
        width: 150px;
        height: 150px;
    }
}
@media (max-width: 768px) {
    #map-container {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .map-button img {
        width: 120px;
        height: 120px;
    }

    .map-button p {
        font-size: 1em;
    }
}
@media (max-width: 480px) {
    #map-container {
        grid-template-columns: 1fr;
    }

    .map-button img {
        width: 100px;
        height: 100px;
    }

    .map-button p {
        font-size: 0.9em;
        padding: 3px 8px;
    }
}