/* Common styles for all pages */

/* Page header */
.page-header {
    padding: 80px 0 40px;
    text-align: center;
    margin-top: 64px;
}

.page-title-m {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.page-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-section {
    margin-bottom: 40px;
    background-color: #240e0e;
    border-radius: 0.5rem;
    padding: 2rem;
}

.page-section h2 {
    color: #f8bf45;
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-align: center;
}

.page-section p {
    color: #eaeaea;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Navigation */
.fixed-navbar {
    background-color: rgba(14, 14, 14, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar-left {
    display: flex;
    align-items: center;
}

.logo {
    margin-right: 1.5rem;
}

.logo-image {
    height: 2.5rem;
}

.navbar-center {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-pills {
    display: flex;
    gap: 1rem;
}

.nav-pill {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s;
}

.nav-pill i {
    margin-right: 0.5rem;
}

.nav-pill.active {
    background-color: #e6b829;
    color: #000;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.missions-button {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    margin-right: 0.5rem;
}

.missions-icon {
    height: 1.5rem;
    margin-right: 0.5rem;
}

.search-button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
}

.auth-buttons {
    display: flex;
    gap: 0.5rem;
}

.login-button, .register-button {
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.login-button {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.register-button {
    background-color: #e6b829;
    color: #000;
}

/* Footer */
.footer {
    background-color: #0f1923;
    padding: 40px 0;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo img {
    height: 2.5rem;
}

.footer-nav {
    flex: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-nav-column {
    flex: 1;
    min-width: 160px;
}

.footer-nav-column h4 {
    color: #e6b829;
    margin-bottom: 1rem;
}

.footer-nav-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-column ul li {
    margin-bottom: 0.5rem;
}

.footer-nav-column ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav-column ul li a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #222;
}

.footer-info p {
    color: #6b7280;
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #1e1e1e;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.2s;
}

.social-icon:hover {
    background-color: #e6b829;
    color: #000;
}

/* Mobile menu */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: #0e0e0e;
    z-index: 2000;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 4px 0 10px rgba(0,0,0,0.5);
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #222;
}

.mobile-sidebar-logo {
    height: 30px;
}

.close-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
    color: #9ca3af;
    border-radius: 50%;
    background-color: #222;
    border: none;
    cursor: pointer;
}

.mobile-sidebar-content {
    padding: 1rem;
}

.mobile-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.mobile-sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s;
    color: #9ca3af;
    text-decoration: none;
}

.mobile-sidebar-item.active {
    background-color: #222;
    color: #fff;
}

.mobile-sidebar-item:not(.active):hover {
    background-color: #1a1a1a;
    color: #fff;
}

.mobile-sidebar-auth {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.login-button-full, .register-button-full {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border: none;
}

.login-button-full {
    background-color: #292929;
    color: #fff;
}

.register-button-full {
    background: linear-gradient(to bottom, #e6b829, #edc849);
    color: #000;
}

.mobile-sidebar-language {
    padding-top: 1rem;
    border-top: 1px solid #222;
}

.mobile-sidebar-language p {
    font-size: 0.875rem;
    font-weight: 500;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.language-switcher-full {
    display: flex;
    gap: 0.5rem;
}

.language-switcher-full .lang-button {
    flex: 1;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.875rem;
    border-radius: 9999px;
    transition: all 0.2s;
    color: #9ca3af;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.language-switcher-full .lang-button.active {
    background-color: #4b5563;
    color: #fff;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: block;
}

.sidebar-overlay.visible {
    visibility: visible;
    opacity: 1;
}

/* Mobile bottom navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0e0e0e;
    display: none;
    z-index: 999;
    justify-content: space-around;
    padding: 0.75rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
}

.mobile-nav-item.active {
    color: #e6b829;
}

.mobile-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

/* Common notification styles */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #e6b829;
    color: #000;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title-m {
        font-size: 2rem;
    }
    
    .hamburger-menu {
        display: block;
        order: -1;
    }
    
    .navbar-center, 
    .missions-button, 
    .search-button {
        display: none;
    }
    
    .navbar-left {
        justify-content: center;
        flex-grow: 1;
    }
    
    .mobile-bottom-nav {
        display: flex;
    }
    
    .footer {
        display: none;
    }
}

@media (max-width: 992px) {
    .footer-top {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-nav {
        justify-content: space-between;
    }

    .footer-nav-column {
        flex: 0 0 48%;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-info {
        text-align: center;
    }
} 