/* Standard Header Menu - Home Page Style for All Pages */

/* Quick HTML page hide - reduce display to under 0.5 seconds */
.fade-in {
    animation: quickFadeIn 0.3s ease-in;
}

@keyframes quickFadeIn {
    0% { 
        opacity: 0;
        transform: translateY(10px);
    }
    100% { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Standard header matching Home page exactly */
.header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    min-height: 70px;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    min-height: 50px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
    transition: all 0.3s ease;
}

.brand-container {
    display: flex;
    flex-direction: column;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1;
    font-weight: 500;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: nowrap;
}

.nav-actions .btn {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    white-space: nowrap;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

/* Standard Navigation Menu */
.navigation {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.6rem 0.8rem;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.nav-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-bottom-color: #4facfe;
    transform: translateY(-1px);
}

/* MEGA DEPLOY special styling */
.nav-links a[href*="mega-deploy"] {
    color: #f093fb !important;
    font-weight: bold !important;
}

.nav-links a[href*="mega-deploy"]:hover {
    color: #ff6b9d !important;
    background: rgba(240, 147, 251, 0.1) !important;
}

/* Main content adjustment */
.main-content {
    padding-top: 120px !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header {
        padding: 0.5rem 0;
        min-height: 60px;
    }
    
    .header-content {
        padding: 0 1rem;
        min-height: 45px;
    }
    
    .logo {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .brand-text {
        font-size: 1.1rem;
    }
    
    .brand-subtitle {
        font-size: 0.65rem;
    }
    
    .nav-actions .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .navigation {
        display: none; /* Hide on mobile for space */
    }
    
    .main-content {
        padding-top: 70px !important;
    }
}

/* Admin pages specific adjustments */
.admin-page .main-content {
    padding-top: 120px !important;
}

@media (max-width: 768px) {
    .admin-page .main-content {
        padding-top: 70px !important;
    }
}