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

:root {
    --black: #000000;
    --white: #ffffff;
    --gray: #1a1a1a;
    --light-gray: #f5f5f5;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: var(--white);
    color: var(--black);
    overflow-x: hidden;
    cursor: none;
    line-height: 1.6;
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    background-color: var(--white);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 8px;
    height: 8px;
    background-color: var(--white);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

/* Loading Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.loader.slide-up {
    transform: translateY(-100%);
}

.loader-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.loader-bar {
    width: 400px;
    height: 3px;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    background-color: var(--black);
    width: 0%;
    transition: width 0.1s linear;
}

.loader-percentage {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--black);
    min-width: 60px;
    text-align: left;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--black);
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--black);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    position: relative;
    padding-top: 80px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 5rem;
    font-weight: bold;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.hero-subtitle {
    font-size: 1.5rem;
    letter-spacing: 3px;
    font-weight: 300;
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

.hero-scroll span {
    font-size: 0.8rem;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background-color: var(--black);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
section {
    padding: 6rem 0;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.title-line {
    width: 100px;
    height: 2px;
    background-color: var(--black);
    margin: 0 auto;
}

/* About Section */
.about {
    background-color: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0;
}

/* Career Section */
.career {
    background-color: var(--white);
}

.career-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.career-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--black);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 3rem;
    opacity: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background-color: var(--black);
    border-radius: 50%;
    border: 3px solid var(--white);
}

.timeline-year {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

/* Skills Section */
.skills {
    background-color: var(--black);
    color: var(--white);
}

.skills .section-title,
.skills .title-line {
    color: var(--white);
}

.skills .title-line {
    background-color: var(--white);
}

.skills-list {
    max-width: 1000px;
    margin: 0 auto;
}

.skill-row {
    display: grid;
    grid-template-columns: 60px 1fr 2fr;
    gap: 2rem;
    padding: 2.5rem 0 2.5rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
    opacity: 0;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleX(0);
    width: 3px;
    height: 60%;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.skill-row:hover::before {
    transform: translateY(-50%) scaleX(1);
}

.skill-row:hover {
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
}

.skill-row:last-child {
    border-bottom: none;
}

.skill-number {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-row:hover .skill-number {
    color: rgba(255, 255, 255, 1);
    transform: scale(1.15);
    letter-spacing: 3px;
}

.skill-name {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-row:hover .skill-name {
    letter-spacing: 1.5px;
}

.skill-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-row:hover .skill-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-image {
    position: relative;
    overflow: hidden;
}

.contact-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.contact-image:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.contact-item {
    margin-bottom: 2rem;
    opacity: 0;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.contact-item p {
    font-size: 1rem;
    color: #333;
}

/* Footer with Parallax */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.footer-text {
    text-align: center;
}

.footer-text p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.03) 10px, rgba(255,255,255,0.03) 20px);
    opacity: 0.5;
    z-index: 1;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Normal Scrolling */
html {
    scroll-behavior: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
        font-size: 0.8rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .skill-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem 0;
    }
    
    .skill-number {
        font-size: 0.9rem;
    }
    
    .skill-name {
        font-size: 1.2rem;
    }
    
    .skill-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .career-timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
}

