/* =========================================
   🧭 TOP NAVIGATION
   ========================================= */

.main-nav {
    position: fixed;
    top: 24px;
    right: 30px;
    z-index: 500;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 10px 12px 10px 20px;
    background: var(--surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 40px;
    box-shadow: 0 8px 24px var(--shadow);
    transition: background-color 0.6s ease, border-color 0.6s ease;
}

.nav-mark {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    color: var(--text);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 30px;
    background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border: 1px solid var(--border);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav-link {
    position: relative;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 6px 2px;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active { color: var(--text); }

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================
   📌 LEFT SOCIAL SIDEBAR
   ========================================= */

.social-sidebar {
    position: fixed;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.social-icon {
    color: var(--text-muted);
    font-size: 1.3rem;
    opacity: 0.75;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.social-icon:hover,
.social-icon:focus-visible { opacity: 1; }

.social-icon.linkedin:hover { color: #0a66c2; }
.social-icon.github:hover { color: var(--text); filter: drop-shadow(0 0 8px var(--accent-soft)); }
.social-icon.youtube:hover { color: #ff0000; }
.social-icon.instagram:hover i {
    background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-line {
    width: 1px;
    height: 70px;
    background: linear-gradient(to bottom, var(--border), transparent);
    margin-top: 4px;
}

/* =========================================
   🔘 VERTICAL DOT NAVIGATION
   ========================================= */

.dot-nav {
    position: fixed;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.dot-nav__arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    background: #1a1d2e;
    color: #9096a8;
    box-shadow:
        4px 4px 10px rgba(0,0,0,0.5),
        -1px -1px 3px rgba(255,255,255,0.02);
}

.dot-nav__arrow:hover {
    color: var(--accent);
    box-shadow:
        4px 4px 12px rgba(0,0,0,0.6),
        -2px -2px 8px rgba(255,255,255,0.06);
}

body.light-mode .dot-nav__arrow {
    background: #e8e4d8;
    color: #8a8070;
    box-shadow:
        5px 5px 12px rgba(0,0,0,0.1),
        -5px -5px 12px rgba(255,255,255,0.6);
}

body.light-mode .dot-nav__arrow:hover {
    color: var(--accent);
}

.dot-nav__track {
    position: relative;
    width: 38px;
    height: 220px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    background: #1a1d2e;
    box-shadow:
        inset 3px 3px 8px rgba(0,0,0,0.6),
        inset -1px -1px 3px rgba(255,255,255,0.02);
    cursor: pointer;
}

body.light-mode .dot-nav__track {
    background: #e8e4d8;
    box-shadow:
        inset 4px 4px 10px rgba(0,0,0,0.08),
        inset -4px -4px 10px rgba(255,255,255,0.5);
}

.dot-nav__thumb {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 44px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    transition: top 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    top: 18px;
    z-index: 2;
    background: #22263a;
    box-shadow:
        4px 4px 10px rgba(0,0,0,0.6),
        -1px -1px 3px rgba(255,255,255,0.02);
}

.dot-nav__thumb:active {
    cursor: grabbing;
}

body.light-mode .dot-nav__thumb {
    background: #f0ece0;
    box-shadow:
        5px 5px 12px rgba(0,0,0,0.1),
        -5px -5px 12px rgba(255,255,255,0.6);
}

.dot-nav__thumb-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

.dot-nav__thumb-lines span {
    display: block;
    height: 2px;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.dot-nav__thumb-lines span:nth-child(1) { width: 14px; background: #e05a2b; }
.dot-nav__thumb-lines span:nth-child(2) { width: 14px; background: #3b7fe8; }
.dot-nav__thumb-lines span:nth-child(3) { width: 10px; background: #9096a8; }

body.light-mode .dot-nav__thumb-lines span:nth-child(3) { background: #b0a898; }

.dot-nav__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    background: #2e3248;
}

body.light-mode .dot-nav__dot { background: #c8c2b0; }

.dot-nav__dot.active {
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
    transform: scale(1.3);
}