/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO DESIGN SYSTEM — ABDULMOMIN.DEV IDE & TERMINAL STYLE
   For: Aniebietabasi Enobong Etukudo (Ambassador Heartcode)
   AI Engineer & Full-Stack Developer | CEO of Technova
   ═══════════════════════════════════════════════════════════════ */

:root {
    --bg-dark-100: #121214;
    --bg-dark-200: #0a0a0c;
    --bg-dark-300: #1a1a1e;
    --bg-dark-400: #26262e;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(249, 115, 22, 0.3);
    --border-active: rgba(249, 115, 22, 0.6);
    
    --accent-orange: #f97316;
    --accent-orange-light: #fb923c;
    --accent-orange-glow: rgba(249, 115, 22, 0.2);
    --accent-cyan: #06b6d4;
    --accent-blue: #3b82f6;
    --accent-purple: #a855f7;
    --accent-green: #22c55e;
    --accent-red: #ef4444;

    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Space Grotesk', var(--font-sans);
    --font-mono: 'JetBrains Mono', monospace;

    --sidebar-width-lg: 260px;
    --sidebar-width-md: 70px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    background-color: var(--bg-dark-200);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark-200);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-dark-400);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-orange);
}

/* Background Grid Overlay */
.grid-bg {
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Dynamic Spotlight Radial Glow */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.08) 0%, rgba(6, 182, 212, 0.04) 40%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease;
}

/* ═══════════════════════════════════════════
   LEFT FIXED IDE SIDEBAR NAVIGATOR
   ═══════════════════════════════════════════ */
.ide-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sidebar-width-lg);
    background-color: var(--bg-dark-100);
    border-right: 1px solid var(--border-color);
    z-index: 50;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
}

.ide-brand {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    items-center: center;
    gap: 0.75rem;
}
.brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 15px var(--accent-orange-glow);
}
.brand-title {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}
.brand-title span {
    color: var(--accent-orange);
}

.ide-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.ide-nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-right: 2px solid transparent;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.88rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: left;
}

.ide-nav-item:hover {
    color: var(--text-primary);
    background-color: var(--bg-dark-300);
}

.ide-nav-item.active {
    color: var(--accent-orange);
    background-color: rgba(249, 115, 22, 0.08);
    border-right-color: var(--accent-orange);
}

.ide-nav-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.ide-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-start;
}

.social-icon-btn {
    padding: 0.5rem;
    border-radius: 6px;
    color: var(--text-muted);
    transition: all 0.2s ease;
}
.social-icon-btn:hover {
    color: var(--accent-orange);
    background: var(--bg-dark-300);
}

/* ═══════════════════════════════════════════
   RIGHT DOT QUICK SCROLL INDICATOR
   ═══════════════════════════════════════════ */
.right-indicator-bar {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.right-indicator-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(249, 115, 22, 0.3), transparent);
    z-index: -1;
}

.right-dot-item {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
}

.right-dot-tooltip {
    position: absolute;
    right: 54px;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    background: var(--bg-dark-100);
    border: 1px solid var(--border-hover);
    color: var(--accent-orange);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: all 0.2s ease;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}
.right-dot-item:hover .right-dot-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.right-dot-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed var(--accent-orange);
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
    transition: all 0.4s ease;
}

.right-dot-core {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-dark-400);
    border: 1px solid var(--border-color);
    z-index: 2;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
}

.right-dot-item.active .right-dot-ring {
    opacity: 0.8;
    transform: scale(1) rotate(180deg);
}

.right-dot-item.active .right-dot-core {
    width: 32px;
    height: 32px;
    background: var(--bg-dark-200);
    border-color: var(--accent-orange);
    box-shadow: 0 0 15px var(--accent-orange-glow);
}
.right-dot-item.active .right-dot-core svg {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* ═══════════════════════════════════════════
   MOBILE BOTTOM NAVIGATION BAR
   ═══════════════════════════════════════════ */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(18, 18, 20, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    z-index: 50;
    padding: 0.5rem;
}
.mobile-bottom-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.mobile-tab-item {
    padding: 0.5rem;
    border-radius: 8px;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.mobile-tab-item.active {
    color: var(--accent-orange);
    background: rgba(249, 115, 22, 0.15);
}

/* ═══════════════════════════════════════════
   MAIN LAYOUT & CONTENT AREA
   ═══════════════════════════════════════════ */
.main-wrapper {
    margin-left: var(--sidebar-width-lg);
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

.section-container {
    min-height: 100vh;
    padding: 6rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}
.section-header svg {
    color: var(--accent-orange);
}
.section-header h2 {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
}
.section-header h2 span {
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   1. HERO SECTION (main.ts)
   ═══════════════════════════════════════════ */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Cyber Portrait Avatar */
.profile-avatar-frame {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--accent-orange);
    box-shadow: 0 0 25px var(--accent-orange-glow);
    margin-bottom: 1.25rem;
}
.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Profile Photo Card */
.about-photo-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-dark-100);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}
.about-photo-card:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 0 25px var(--accent-orange-glow);
}
.about-photo-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    filter: brightness(0.9) contrast(1.05);
    transition: filter 0.3s ease;
}
.about-photo-card:hover .about-photo-img {
    filter: brightness(1) contrast(1.1);
}
.about-photo-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(18, 18, 20, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent-orange);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-kernel-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    border: 1px solid rgba(249, 115, 22, 0.3);
    background: rgba(249, 115, 22, 0.05);
    color: var(--accent-orange);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
}
.kernel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-orange);
    box-shadow: 0 0 8px var(--accent-orange);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.gradient-name {
    background: linear-gradient(to right, var(--accent-orange), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin-bottom: 2rem;
    font-weight: 300;
}
.hero-description .tag {
    font-family: var(--font-mono);
    color: var(--accent-orange);
}

/* Action Buttons Container */
.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

/* Initialize OS Boot Button (Polygon Clip-Path) */
.btn-boot-os {
    position: relative;
    cursor: pointer;
    flex: 1;
    min-width: 250px;
    text-decoration: none;
}
.btn-boot-os .glow-bg {
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-blue));
    opacity: 0.3;
    transition: opacity 0.3s ease;
    clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}
.btn-boot-os:hover .glow-bg {
    opacity: 0.8;
}
.btn-boot-os .btn-content {
    position: relative;
    background: #18181b;
    border: 1px solid rgba(249, 115, 22, 0.4);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
    transition: background 0.2s ease;
}
.btn-boot-os:hover .btn-content {
    background: #202025;
}
.btn-boot-icon {
    width: 38px;
    height: 38px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
}
.btn-boot-info {
    flex: 1;
}
.btn-boot-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}
.btn-boot-progress {
    width: 100%;
    height: 4px;
    background: #2a2a30;
    border-radius: 2px;
    overflow: hidden;
    margin: 0.35rem 0;
}
.btn-boot-fill {
    height: 100%;
    width: 65%;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}
.btn-boot-os:hover .btn-boot-fill {
    width: 90%;
}
.btn-boot-status {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
}

.btn-github-pill {
    position: relative;
    cursor: pointer;
    text-decoration: none;
}
.btn-github-pill .glow-bg {
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-light));
    opacity: 0.2;
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    transition: opacity 0.3s ease;
}
.btn-github-pill:hover .glow-bg {
    opacity: 0.6;
}
.btn-github-pill .btn-content {
    position: relative;
    background: #18181b;
    border: 1px solid rgba(249, 115, 22, 0.3);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
    color: #fff;
    font-weight: 700;
}
.btn-github-pill:hover .btn-content {
    color: var(--accent-orange);
}

/* Module Chip Badges */
.loaded-modules-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.module-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-right: 0.5rem;
}
.module-chip {
    padding: 0.25rem 0.6rem;
    background: rgba(249, 115, 22, 0.05);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 4px;
    color: rgba(249, 115, 22, 0.9);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}
.module-chip:hover {
    background: rgba(249, 115, 22, 0.15);
    border-color: rgba(249, 115, 22, 0.5);
    color: #fff;
}

/* ═══════════════════════════════════════════
   HERO VS CODE WINDOW PREVIEW (Right Column)
   ═══════════════════════════════════════════ */
.code-editor-window {
    background: var(--bg-dark-100);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    position: relative;
}
.code-editor-header {
    background: var(--bg-dark-200);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.window-dots {
    display: flex;
    gap: 0.5rem;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.window-title {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.window-title-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-orange);
    animation: pulseGlow 2s infinite;
}

.code-editor-body {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    line-height: 1.8;
    overflow-x: auto;
}

.code-line {
    display: flex;
    align-items: flex-start;
}
.line-num {
    width: 2rem;
    color: var(--text-muted);
    opacity: 0.4;
    user-select: none;
    font-size: 0.78rem;
}
.line-content {
    flex: 1;
}

/* Code Highlight Tokens */
.ts-keyword { color: var(--accent-purple); }
.ts-component { color: var(--accent-orange); }
.ts-prop { color: var(--accent-cyan); }
.ts-string { color: var(--accent-green); }
.ts-bracket { color: #f3f4f6; }

.code-editor-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 1rem;
}
.btn-run-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.4);
    color: var(--accent-orange);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-run-profile:hover {
    background: rgba(249, 115, 22, 0.25);
}

.btn-view-projects {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-view-projects:hover {
    border-color: var(--accent-orange);
    color: #fff;
}

/* ═══════════════════════════════════════════
   2. ABOUT SECTION (about.md)
   ═══════════════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-terminal-box {
    background: var(--bg-dark-100);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    font-family: var(--font-mono);
    line-height: 1.8;
}
.about-terminal-box p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}
.about-terminal-box strong {
    color: var(--accent-orange);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.stat-card {
    background: var(--bg-dark-100);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}
.stat-card:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 0 20px var(--accent-orange-glow);
    transform: translateY(-4px);
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 0.25rem;
}
.stat-label {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-family: var(--font-mono);
}

/* ═══════════════════════════════════════════
   3. SKILLS MATRIX (skills.json) & 3D GLOBE
   ═══════════════════════════════════════════ */
.skills-layout-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.skills-globe-card {
    background: var(--bg-dark-100);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    min-height: 480px;
}
.skills-globe-card:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 0 35px var(--accent-orange-glow);
}

.skills-globe-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}
.skills-globe-badge {
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.skills-globe-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
    animation: pulseGlow 1.5s infinite;
}

#skillsGlobeCanvas {
    width: 100%;
    max-width: 440px;
    height: 380px;
    cursor: grab;
    touch-action: none;
}
#skillsGlobeCanvas:active {
    cursor: grabbing;
}

.skills-globe-footer {
    width: 100%;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}
.skills-globe-footer span {
    color: var(--accent-orange);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.skill-category-card {
    background: var(--bg-dark-100);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}
.skill-category-card:hover {
    border-color: var(--border-hover);
}
.skill-category-title {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.skill-tag {
    padding: 0.35rem 0.75rem;
    background: var(--bg-dark-300);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}
.skill-tag:hover {
    border-color: var(--accent-orange);
    color: #fff;
    background: rgba(249, 115, 22, 0.15);
}
    border-color: var(--accent-orange);
    color: #fff;
    background: rgba(249, 115, 22, 0.1);
}

/* ═══════════════════════════════════════════
   4. EXPERIENCE TIMELINE (experience.git)
   ═══════════════════════════════════════════ */
.timeline-container {
    position: relative;
    padding-left: 2rem;
    border-left: 2px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.timeline-item {
    position: relative;
}
.timeline-dot {
    position: absolute;
    left: calc(-2rem - 6px);
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-orange);
    box-shadow: 0 0 10px var(--accent-orange);
}
.timeline-card {
    background: var(--bg-dark-100);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.75rem;
    transition: all 0.3s ease;
}
.timeline-card:hover {
    border-color: var(--border-hover);
}
.timeline-role {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}
.timeline-company {
    font-family: var(--font-mono);
    color: var(--accent-orange);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.timeline-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

/* ═══════════════════════════════════════════
   5. PROJECTS SHOWCASE (projects/)
   ═══════════════════════════════════════════ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2rem;
}
.project-card {
    background: var(--bg-dark-100);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}
.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}
.project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.project-folder-icon {
    color: var(--accent-orange);
}
.project-links {
    display: flex;
    gap: 0.75rem;
}
.project-links a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}
.project-links a:hover {
    color: var(--accent-orange);
}
.project-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}
.project-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-orange);
}

/* ═══════════════════════════════════════════
   6. CONTACT SECTION (contact.exe)
   ═══════════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.contact-form-box {
    background: var(--bg-dark-100);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.form-input, .form-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-dark-200);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease;
}
.form-input:focus, .form-textarea:focus {
    border-color: var(--accent-orange);
}
.btn-submit-form {
    width: 100%;
    padding: 1rem;
    background: var(--accent-orange);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s ease;
}
.btn-submit-form:hover {
    background: var(--accent-orange-light);
}

/* ═══════════════════════════════════════════
   7. INTERACTIVE KALI TERMINAL OS MODAL
   ═══════════════════════════════════════════ */
.terminal-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.terminal-modal.active {
    display: flex;
}
.terminal-modal-content {
    width: 100%;
    max-width: 900px;
    height: 580px;
    background: #09090b;
    border: 1px solid var(--accent-orange);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 50px rgba(249, 115, 22, 0.25);
}
.terminal-modal-header {
    background: var(--bg-dark-100);
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.btn-close-terminal {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
}
.btn-close-terminal:hover {
    color: var(--accent-red);
}
.terminal-modal-body {
    flex: 1;
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    overflow-y: auto;
    color: #e4e4e7;
}
.term-output-line {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}
.term-prompt {
    color: var(--accent-green);
}
.term-cmd {
    color: #fff;
    font-weight: 700;
}
.terminal-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.terminal-cli-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.88rem;
}

/* ═══════════════════════════════════════════
   RESPONSIVE MEDIA QUERIES
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .ide-sidebar {
        width: var(--sidebar-width-md);
    }
    .brand-title, .ide-nav-item span {
        display: none;
    }
    .ide-brand {
        justify-content: center;
        padding: 1rem;
    }
    .ide-nav-item {
        justify-content: center;
        padding: 1rem 0;
    }
    .ide-footer {
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
    }
    .main-wrapper {
        margin-left: var(--sidebar-width-md);
    }
    .hero-grid, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .right-indicator-bar {
        display: none;
    }
}

@media (max-width: 768px) {
    .ide-sidebar {
        display: none;
    }
    .mobile-bottom-bar {
        display: block;
    }
    .main-wrapper {
        margin-left: 0;
        padding-bottom: 4rem;
    }
    .section-container {
        padding: 4rem 1.5rem;
    }
    .hero-title {
        font-size: 2.6rem;
    }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}