/* Footer styles */
.footer {
    background-color: {{ gym_settings.primary_color }};
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    margin-top: 20px;
    font-size: 0.9rem;
}

.footer .footer-links {
    display: flex;
    gap: 15px;
}

.footer .footer-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
}

.footer .footer-links a:hover {
    text-decoration: underline;
}

.footer .copyright {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 20px;
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: Arial, sans-serif;
    z-index: 9999; /* Ensure it stays on top */
    box-shadow: 0px -4px 8px rgba(0, 0, 0, 0.2); /* Slight shadow to make it stand out */
}

/* Content styling inside the banner */
.cookie-banner p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

/* Link styling */
.cookie-banner a {
    color: #477bff;
    text-decoration: none;
    font-weight: bold;
}

.cookie-banner a:hover {
    text-decoration: underline;
}

/* Button container styling (wraps the buttons) */
.cookie-btn-container {
    margin-top: 15px;
}

/* Button styles */
.cookie-btn {
    background-color: #477bff;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    margin: 0 10px;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-align: center;
}

/* Button hover effect */
.cookie-btn:hover {
    background-color: #355fa1;
}

/* Button focus style for accessibility */
.cookie-btn:focus {
    outline: none;
    box-shadow: 0 0 5px #477bff;
}

/* Overlay that blocks user interaction */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 9998; /* Just below the cookie banner */
    display: none; /* Hidden by default */
    pointer-events: all; /* Blocks interactions */
}

/* HEADER CONTAINER */
.header {
    background-color: #477BFF;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* HEADER TITLE */
.header h1 {
    font-size: 2rem;
    margin: 0;
}

/* NAV CONTAINER */
.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    background-color: transparent; /* Matches header, doesn't override */
}

/* NAV LINK BASE STYLE */
.nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* ON HOVER */
.nav a:hover {
    background-color: rgba(255, 255, 255, 0.1); /* Subtle, not white */
}

/* DROPDOWN CONTAINER */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

/* DROPDOWN TRIGGER LINK */
.dropdown > a {
    cursor: pointer;
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
}

/* HOVER ON TOP LINK */
.dropdown:hover > a {
    background-color: rgba(255, 255, 255, 0.1);
}

/* DROPDOWN MENU */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 4px 0;
}

/* SHOW DROPDOWN ON HOVER */
.dropdown:hover .dropdown-content {
    display: block;
}

/* DROPDOWN LINKS */
.dropdown-content a {
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s ease;
}

/* HOVER ON DROPDOWN LINKS */
.dropdown-content a:hover {
    background-color: #f0f0f0;
    color: black;
}

/* Make dropdowns visible on click via JS */
.dropdown.show .dropdown-content {
    display: block;
}

/* Keep :hover for desktop devices only */
@media (hover: hover) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

.language-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
}

.lang-btn {
    background: none;
    border: none;
    text-align: left;
    padding: 10px 16px;
    color: #333;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 4px;
}

.lang-btn:hover {
    background-color: #f0f0f0;
}

.lang-btn.active {
    background-color: #e0e0e0;
    font-weight: bold;
}



