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

html {
    scroll-behavior: smooth;
    background: #245edc;
    overscroll-behavior: none;
}

/* === FADE IN ANIMATION === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === WINDOWS XP LUNA BLUE THEME === */
body {
    font-family: Tahoma, 'Segoe UI', Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg, #245edc 0%, #3d7be6 50%, #4a8aed 100%);
    background-attachment: fixed;
    color: #000000;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    animation: fadeIn 0.6s ease-out;
}

/* === NAVIGATION SIDEBAR === */
.nav-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 120px;
    display: flex;
    align-items: center;
    z-index: 100;
    padding-left: 30px;
}

.nav-sidebar ul {
    list-style: none;
}

.nav-sidebar li {
    margin: 15px 0;
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
    border-radius: 3px;
}

.nav-link:hover {
    color: #5cd665;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: #5cd665;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: -5px;
    width: 2px;
    height: 0;
    background: #3cb043;
    transition: height 0.3s ease;
}

.nav-link.active::before {
    height: 30px;
}

/* === MAIN WRAPPER === */
.main-wrapper {
    margin-left: 120px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* === INTRO SECTION (STICKY LEFT) === */
.intro-section {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 50px;
    padding-bottom: 10vh;
    grid-column: 1;
}

.intro-content {
    max-width: 600px;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.intro-text-link {
    text-decoration: none;
    cursor: pointer;
}

.intro-text {
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    color: #5cd665;
    font-size: 16px;
    margin-bottom: 2px;
    font-style: italic;
    transition: color 0.3s ease;
}

.intro-text-link:hover .intro-text {
    color: #8aff8a;
}

h1 {
    color: #ffffff;
    font-size: clamp(74px, 5vw, 72px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    margin-left: -3.85px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    white-space: nowrap;
}

.subtitle {
    color: #d4e5f7;
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 5px;
}

.sometimes {
    color: #d4e5f7;
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 30px;
    font-style: italic;
}

.header-description {
    max-width: 450px;
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.7;
    color: #ffffff;
}

/* === VISITOR BADGE === */
.visitor-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ece9d8;
    border: 2px solid #0054e3;
    border-radius: 4px;
    color: #003399;
    padding: 12px 20px;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    box-shadow: inset 1px 1px 0 #ffffff, 2px 2px 4px rgba(0, 0, 0, 0.2);
}

#visitor-count {
    font-weight: 700;
    color: #5cd665;
}

/* === BUTTON === */
.ButtonClick {
    display: block;
    margin-top: 15px;
    background: linear-gradient(180deg, #3cb043 0%, #2d8a34 100%);
    border: 2px solid #236b29;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 4px;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: inset 1px 1px 0 #5cd665, 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.ButtonClick:hover {
    background: linear-gradient(180deg, #4ed656 0%, #3cb043 100%);
}

/* === SOCIAL LINKS === */
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.social-links img {
    width: 60px;
    height: 60px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.social-links .LinkedIn img {
    width: 48px;
    height: 48px;
}


.social-links a:hover img {
    filter: brightness(0) saturate(100%) invert(74%) sepia(50%) saturate(400%) hue-rotate(70deg);
}

/* === CONTENT SECTIONS (SCROLLABLE RIGHT) === */
.content-sections {
    grid-column: 2;
    padding: 100px 50px 50px 50px;
    max-width: 700px;
    animation: fadeIn 0.8s ease-out 0.4s both;
}

.content-sections section {
    margin-bottom: 80px;
    scroll-margin-top: 100px;
}
 
/* === SECTION HEADING === */
.section-heading {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    margin-left: -8.7px;
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-heading::before {
    content: attr(data-number);
    font-family: 'Fira Code', monospace;
    color: #5cd665;
    font-size: 20px;
    margin-right: 10px;
}

/* === ABOUT CONTENT === */
.about-content {
    padding-left: 20px;
    border-left: 3px solid #3cb043;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.8;
    color: #ffffff;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* === SKILLS === */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.skill-category {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 248, 245, 0.92) 100%);
    padding: 18px 25px 25px 18px;
    border-radius: 4px;
    border: 1px solid #0054e3;
    border-top: 2px solid #0054e3;
    transition: all 0.3s ease;
    box-shadow: 
        inset 1px 1px 0 #ffffff,
        inset -1px -1px 0 rgba(0, 0, 0, 0.1),
        3px 3px 6px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.skill-category:hover {
    transform: translateY(-5px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 245, 240, 0.95) 100%);
    box-shadow: 
        inset 1px 1px 0 #ffffff,
        inset -1px -1px 0 rgba(0, 0, 0, 0.1),
        5px 5px 10px rgba(0, 0, 0, 0.4);
}

.skill-category h3 {
    color: #2d8a34;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding-bottom: 8px;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 15px;
    color: #000000;
}

.skill-category li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #3cb043;
    font-size: 18px;
}

/* === PROJECTS === */
.project-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 248, 245, 0.92) 100%);
    padding: 22px 30px 30px 22px;
    border-radius: 4px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    border: 1px solid #0054e3;
    border-top: 2px solid #0054e3;
    box-shadow: 
        inset 1px 1px 0 #ffffff,
        inset -1px -1px 0 rgba(0, 0, 0, 0.1),
        3px 3px 6px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.project-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 245, 240, 0.95) 100%);
    box-shadow: 
        inset 1px 1px 0 #ffffff,
        inset -1px -1px 0 rgba(0, 0, 0, 0.1),
        5px 5px 10px rgba(0, 0, 0, 0.4);
}

.project-card h3 {
    color: #2d8a34;
    font-size: 22px;
    margin-bottom: 10px;
}

.tech-list {
    font-family: 'Fira Code', monospace;
    color: #3cb043;
    font-size: 12px;
    margin-bottom: 15px;
}

.project-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
}

/* === FOOTER === */
footer {
    text-align: center;
    padding: 50px 0 30px;
    color: #ffffff;
    font-size: 13px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .main-wrapper {
        display: block;
        margin-left: 0;
    }

    .nav-sidebar {
        display: none;
    }
    
    .intro-section {
        position: relative;
        height: auto;
        min-height: auto;
        padding: 80px 40px 60px 40px;
        display: block;
    }

    .content-sections {
        padding: 50px 40px;
        max-width: 100%;
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .intro-section {
        padding: 50px 20px 40px 20px;
    }

    .content-sections {
        padding: 30px 20px;
    }

    .intro-content {
        text-align: center;
        max-width: 100%;
    }

    h1 {
        font-size: 32px;
        white-space: normal;
        margin-left: 0;
        word-break: break-word;
    }

    .subtitle {
        font-size: 22px;
    }

    .sometimes {
        margin-bottom: 20px;
    }

    .header-description {
        font-size: 15px;
        max-width: 100%;
        text-align: center;
    }

    .visitor-badge {
        padding: 10px 16px;
        font-size: 12px;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .ButtonClick {
        padding: 10px 16px;
        font-size: 12px;
        width: 100%;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .section-heading {
        font-size: 22px;
        margin-left: 0;
        justify-content: flex-start;
    }

    .about-content {
        padding-left: 15px;
        border-left-width: 2px;
    }

    .about-content p {
        font-size: 14px;
        line-height: 1.7;
    }

    .project-card {
        padding: 16px;
        margin-bottom: 20px;
    }

    .project-card h3 {
        font-size: 17px;
    }

    .project-card p {
        font-size: 13px;
        line-height: 1.6;
    }

    .tech-list {
        font-size: 10px;
        word-break: break-word;
    }

    .skill-category {
        padding: 15px;
    }

    .skill-category h3 {
        font-size: 16px;
    }

    .skill-category li {
        font-size: 14px;
    }

    .content-sections section {
        margin-bottom: 40px;
        scroll-margin-top: 20px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    footer {
        text-align: center;
        padding: 20px 15px;
    }

    footer p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .intro-section {
        padding: 40px 15px 30px 15px;
    }

    .content-sections {
        padding: 20px 15px;
    }

    h1 {
        font-size: 26px;
        line-height: 1.2;
    }

    .subtitle {
        font-size: 18px;
    }

    .intro-text {
        font-size: 13px;
    }

    .header-description {
        font-size: 13px;
        line-height: 1.5;
    }

    .section-heading {
        font-size: 18px;
    }

    .project-card {
        padding: 14px;
    }

    .project-card h3 {
        font-size: 15px;
    }

    .project-card p {
        font-size: 12px;
    }

    .about-content p {
        font-size: 13px;
    }

    .visitor-badge,
    .ButtonClick {
        font-size: 11px;
        padding: 8px 12px;
    }

    .social-links img {
        width: 32px;
        height: 32px;
    }

    .social-links .LinkedIn img {
        width: 26px;
        height: 26px;
    }
}