/* BTS NDRC - Common Styles */
/* This file contains all shared CSS across the site */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --primary-color: #8b5cf6;
    --secondary-color: #7c3aed;
    --accent-color: #ec4899;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --dark-gray: #1f2937;
    --medium-gray: #6b7280;
    --light-gray: #f3f4f6;
    --white: #ffffff;
    --border-radius: 12px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    min-height: 100vh;
    padding-top: 70px; /* Space for fixed header */
}

/* ========================================
   Fixed Navigation Bar
   ======================================== */
#global-nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #111827;
    color: white;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    z-index: 10000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-logo {
    color: white;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo:hover {
    color: var(--primary-color);
}

/* ========================================
   Burger Menu Button
   ======================================== */
#burger-trigger {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

#burger-trigger:hover {
    color: var(--primary-color);
}

/* ========================================
   Burger Sidebar Menu
   ======================================== */
#burger-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: #000000;
    color: #f3f4f6;
    z-index: 10001;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
}

#burger-sidebar.active {
    left: 0;
}

#burger-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

#burger-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    background: #0f0f0f;
    padding: 1rem 1.5rem;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.sidebar-header h3 {
    font-size: 1.2rem;
    margin: 0;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#burger-close {
    background: transparent;
    border: none;
    color: #9ca3af;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
}

#burger-close:hover {
    color: white;
}

.sidebar-content {
    padding: 1.5rem;
}

.sidebar-content h4 {
    color: #6b7280;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 1.5rem 0 0.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #1f2937;
}

.sidebar-content h4:first-child {
    margin-top: 0;
}

.sidebar-content h4 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.sidebar-content ul {
    list-style: none;
    padding: 0;
}

.sidebar-content li {
    margin-bottom: 0.25rem;
}

.sidebar-content a {
    text-decoration: none;
    color: #d1d5db;
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 0.95rem;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-left: 3px solid transparent;
}

.sidebar-content a:hover {
    background: #111827;
    color: white;
    border-left-color: var(--primary-color);
}

.sidebar-content a.active {
    background: #1f2937;
    color: white;
    border-left-color: var(--secondary-color);
}

/* ========================================
   Container
   ======================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    #global-nav-bar {
        padding: 0 1rem;
    }
    
    .nav-logo {
        font-size: 1rem;
    }
}
