/* Add these styles to your 'public/css/styles.css' file */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1; /* Ensures this section grows to fill the space between header and footer */
    padding-bottom: 20px; /* Optional padding for bottom spacing */
    padding-top: 20px;
}

footer {
    background-color: #f8f9fa;
    padding: 15px 0;
    text-align: center;
}

/* Optional: Add padding to the navbar to keep space on the sides */
.navbar {
    padding-left: 15px;
    padding-right: 15px;
}

/* Center the navbar items */
.navbar-nav.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Ensure navbar content is aligned correctly */
.navbar-nav .nav-link {
    font-size: 1.1rem; /* Adjust this value as needed */
    font-weight: 500; /* Optional: makes the text a bit bolder for better readability */
}

/* Optional: Increase padding around links for a more spacious layout */
.navbar-nav .nav-item {
    padding: 0 10px;
}

/* Custom container for the navbar */
.custom-container {
    max-width: 960px; /* Adjust this width as needed */
    width: 100%; /* Ensure it takes up full width up to max-width */
}


.menu-bundle {
    background-color: black;
    color: white;
    padding: 1em;
    margin-bottom: 1em;
    text-align: center;
}



/* Styles for the overlay and blur */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.overlay img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}

/* Initially hide the overlay */
.hidden {
    display: none;
}

/* Apply blur effect to the main content when overlay is visible */
body.blurred .player-list {
    filter: blur(8px);
}


.nav-link.active {
    text-decoration: underline; /* Sublinează linkul activ */
    font-weight: bold; /* Optional: face textul mai îndrăzneț */
}

/* Style for the player list and items */
.players-container {
/*    max-width: 1200px;*/
    margin: 0 auto;
/*    padding: 20px;*/
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.player-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.8em;
    text-align: left;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

.player-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 20px;
}

.player-item {
    text-align: center;
    list-style-type: none;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
}

.image-container:hover {
    transform: scale(1.05);
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.player-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    font-size: 0.9em;
    font-weight: bold;
}



/* Overlay for displaying large image with blurred background */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.overlay img {
    max-width: 90%;
    max-height: 90%;
}

.hidden {
    display: none;
}

.welcome-content {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.welcome-text p, .welcome-text ol {
    color: #333;
}

.welcome-text ol li {
    margin-bottom: 0.8em;
}

.text-danger {
    color: #dc3545 !important;
}


/* Blur effect on body when overlay is active */
body.overlay-active {
    filter: blur(5px);
}
