/*!*******************************************************************
 * LAYOUT.CSS - SoulsInfoTech Dimensional UI Layout Styles
 * 
 * Copyright (c) 2025 Souls InfoTech. All rights reserved.
 * Author: SoulsInfoTech Development Team
 * Website: https://soulsinfotech.com
 * 
 * This software is the proprietary property of Souls InfoTech.
 * Unauthorized copying, modification, distribution, or use of this
 * software, via any medium, is strictly prohibited without prior
 * written permission from Souls InfoTech.
 * 
 * Licensed under proprietary license.
 * For licensing inquiries, contact: info@soulsinfotech.com
 * 
 * Description: Navigation bar, sidebar, and main layout structure
 * for the SoulsInfoTech Dimensional UI.
 * 
 * Version: 1.0.0
 * Last Updated: 2025-11-28
 *******************************************************************!*/

/* Top Navigation Bar */
.navbar {
    width: 100%;
    height: 60px;
    background: var(--glass);
    border-bottom: 1px solid rgba(39, 247, 215, 0.25);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: 0 0 20px rgba(39, 247, 215, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.navbar .logo {
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent);
    text-shadow: 0 0 12px var(--accent);
}

.navbar .nav-links {
    display: flex;
    gap: 25px;
}

.navbar .nav-links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.navbar .nav-links a:hover {
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary);
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    width: 220px;
    height: calc(100% - 60px);
    background: var(--glass);
    border-right: 1px solid rgba(39, 247, 215, 0.25);
    backdrop-filter: blur(8px);
    padding: 20px;
    box-shadow: inset 0 0 20px rgba(39, 247, 215, 0.1);
    overflow-y: auto;
    z-index: 99;
}

.sidebar h3 {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1rem;
}

.sidebar a {
    display: block;
    padding: 12px;
    color: var(--accent);
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 10px;
    transition: 0.2s;
}

.sidebar a:hover,
.sidebar a.active {
    background: rgba(39, 247, 215, 0.2);
    color: #000;
}

/* Multi-level Submenu */
.submenu {
    padding-left: 15px;
    display: none;
}

.sidebar a.active+.submenu {
    display: block;
}

/* Main Content Area */
.main {
    margin-left: 240px;
    margin-top: 60px;
    padding: 40px;
    min-height: calc(100vh - 60px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

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

    .main {
        margin-left: 0;
    }
}