
/* Navigation Bar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #141414;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 50px;
    height: 50px;
    /* This will be replaced by your actual logo image */
    background: #141414;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-weight: bold;
    font-size: 18px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #cccccc;
}

.nav-toggle {
    background: none;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #cccccc;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.nav-toggle:hover {
    transform: scale(1.05);
    background: rgba(0, 0, 0, 0.05);
}

/* Side Panel */
.side-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: #141414;
    transition: right 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 999;
    padding: 100px 30px 40px;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
}

.side-panel.open {
    right: 0;
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: #008CBA;
    font-size: 1.8rem;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.close-btn:hover {
    background: #008CBA;
}

.panel-logo {
    text-align: center;
    margin-bottom: 40px;
}

.panel-logo .logo-img {
    margin: 0 auto;
    width: 60px;
    height: 60px;
    font-size: 24px;
    background: #141414;
    color: #2c3e50;
}

.panel-logo h2 {
    color: white;
    margin-top: 15px;
    font-size: 1.6rem;
}


.nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-5px);
}

.nav-links i {
    margin-right: 15px;
    font-size: 1.4rem;
    width: 30px;
    text-align: center;
}

/* Overlay when panel is open */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 998;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Scroll behavior */
nav.hide {
    transform: translateY(-100%);
}

/* Responsive design */
@media (max-width: 768px) {
    .logo-text {
        font-size: 1.2rem;
    }
    
    .content {
        padding: 20px;
        margin-top: 90px;
    }
    
    .content h1 {
        font-size: 2rem;
    }
    
    .side-panel {
        width: 280px;
        right: -280px;
    }
}

