/* BlackBox Forensics - Modern Sidebar Navigation */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 50%, #1a202c 100%);
    color: #e2e8f0;
    overflow-x: hidden;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #1a202c 0%, #2d3748 100%);
    border-right: 2px solid #4299e1;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid #4a5568;
    text-align: center;
}

.sidebar-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4299e1;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.sidebar-logo i {
    font-size: 1.8rem;
}

.sidebar-tagline {
    font-size: 0.75rem;
    color: #a0aec0;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Navigation Menu */
.sidebar-nav {
    padding: 1rem 0;
}

.nav-section {
    margin-bottom: 2rem;
}

.nav-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 1.5rem;
    margin-bottom: 0.75rem;
}

.nav-item {
    display: block;
    padding: 0.875rem 1.5rem;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.nav-item:hover {
    background: rgba(66, 153, 225, 0.1);
    border-left-color: #4299e1;
    color: #4299e1;
    transform: translateX(5px);
}

.nav-item.active {
    background: rgba(66, 153, 225, 0.15);
    border-left-color: #4299e1;
    color: #4299e1;
    font-weight: 600;
}

.nav-item i {
    width: 20px;
    margin-right: 0.75rem;
    text-align: center;
}

.nav-item .nav-badge {
    background: #f56565;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    margin-left: auto;
    float: right;
}

/* Sidebar Footer */
.sidebar-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    border-top: 1px solid #4a5568;
    background: rgba(26, 32, 44, 0.8);
}

.sidebar-contact {
    text-align: center;
}

.contact-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #4299e1, #3182ce);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 10px rgba(66, 153, 225, 0.3);
}

.contact-btn:hover {
    /* transform: translateY(-2px); */
    box-shadow: 0 4px 20px rgba(66, 153, 225, 0.4);
    color: white;
}

/* Main Content Area */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
    padding: 2rem;
    transition: all 0.3s ease;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Mobile Sidebar Toggle */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background: #4299e1;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar-toggle {
        display: block;
    }
    
    .sidebar-overlay.active {
        display: block;
    }
    
    .main-content {
        margin-left: 0;
        padding: 1rem;
        padding-top: 4rem;
    }
}

/* Content Styling */
.page-header {
    margin-bottom: 3rem;
}

.page-title {
    font-size: 3rem;
    font-weight: bold;
    color: #e2e8f0;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #4299e1, #63b3ed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.25rem;
    color: #a0aec0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Card Styling */
.content-card {
    background: rgba(45, 55, 72, 0.8);
    border: 1px solid #4a5568;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Button Styling */
.btn-primary-custom {
    background: linear-gradient(135deg, #4299e1, #3182ce);
    border: none;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(66, 153, 225, 0.3);
}

.btn-primary-custom:hover {
    /* transform: translateY(-2px); */
    box-shadow: 0 6px 25px rgba(66, 153, 225, 0.4);
    color: white;
}

.btn-secondary-custom {
    background: transparent;
    border: 2px solid #4299e1;
    color: #4299e1;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.btn-secondary-custom:hover {
    background: #4299e1;
    color: white;
    /* transform: translateY(-2px); */
}

/* Animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-in {
    animation: slideInFromLeft 0.6s ease-out;
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Scrollbar Styling */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: #2d3748;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #4299e1;
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #3182ce;
}

/* Hero Graphic Styles */
.hero-desktop-icon {
    font-size: 8rem;
    color: #4299e1;
    opacity: 0.8;
}

.hero-search-icon {
    font-size: 2.5rem;
    color: #f6e05e;
}
