/* Sidebar Navigation Styles */

:root {
    --sidebar-width: 200px;
    --sidebar-bg: #000000;
    --sidebar-border: #1f1f1f;
    --sidebar-hover: rgba(255, 255, 255, 0.08);
    --sidebar-active: rgba(255, 255, 255, 0.12);
}

body {
    display: flex;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Sidebar */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background-color: #000000;
    border-right: 1px solid var(--sidebar-border);
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 28px 20px;
    border-bottom: 1px solid var(--sidebar-border);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fira Code', monospace;
}

.logo-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    border: 1px solid var(--sidebar-border);
}

.logo-text {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

/* Navigation */
.sidebar-nav {
    padding: 20px 0;
}

.nav-section {
    margin-bottom: 28px;
}

.nav-section:last-child {
    margin-bottom: 0;
}

.nav-section-title {
    padding: 6px 20px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    font-family: 'Fira Code', monospace;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: 'Fira Code', monospace;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background-color: var(--sidebar-hover);
    color: var(--text-primary);
    border-left-color: rgba(255, 255, 255, 0.2);
}

.nav-item.active {
    background-color: var(--sidebar-active);
    border-left-color: var(--text-primary);
    color: var(--text-primary);
}

.nav-icon {
    display: none;
}

.nav-text {
    font-size: 13px;
    font-weight: 400;
}

/* Main Content */
.main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
    background-color: #000000;
}

/* Remove old header since we have sidebar now */
header {
    display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    width: 44px;
    height: 44px;
    background-color: #000000;
    border: 1px solid var(--sidebar-border);
    border-radius: 6px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

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

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

.sidebar::-webkit-scrollbar-thumb {
    background: var(--sidebar-border);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Adjust main content sections */
.main-content .hero,
.main-content section {
    padding-left: 0;
    padding-right: 0;
}

.main-content .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

.main-content .hero {
    padding-top: 60px;
    padding-bottom: 40px;
}

.main-content section {
    padding-top: 40px;
    padding-bottom: 40px;
}

@media (max-width: 768px) {
    .main-content .container {
        padding: 0 24px;
    }
}