/* Reset & Base Styles */
:root {
    --bg-color: #050505;
    --bg-darker: #000000;
    --text-main: #FFFFFF;
    --text-muted: #888888;
    --border-color: rgba(255, 255, 255, 0.1);
    --accent: #FFFFFF;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Hide default cursor for custom one */
}

::selection {
    background: var(--text-main);
    color: var(--bg-color);
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
}
.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.1;
}

.text-gray {
    color: var(--text-muted);
}

.small-caps {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.clean-list {
    list-style: none;
}
.clean-list li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #cccccc;
}
.clean-list strong {
    color: var(--text-main);
}
.mt-4 { margin-top: 2rem; }

/* Layout Containers */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 8rem 0;
}
.bg-darker {
    background-color: var(--bg-darker);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.nav-brand {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 3rem;
}
.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--text-main);
    transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--text-main);
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 500;
    border-radius: 100px;
    font-size: 0.9rem;
    transition: transform 0.3s ease, background 0.3s ease;
}
.btn-primary:hover {
    transform: scale(1.05);
    background: #e0e0e0;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.mobile-menu.active {
    transform: translateY(0);
}
.mobile-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 2rem;
    font-family: var(--font-heading);
}

/* Hero Slider */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}
.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}
.slider-track {
    display: flex;
    width: 400%; /* 4 slides */
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.slide {
    width: 25%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 4%;
    gap: 3rem;
}
.slide-content {
    flex: 1;
    max-width: 650px;
}
.slide-media {
    flex: 1.5;
    aspect-ratio: 16 / 9;
    max-height: 75vh;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    position: relative;
    cursor: pointer;
}
.slide-media-link {
    position: absolute;
    inset: 0;
    z-index: 5;
}
.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide-meta {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.slide-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
    line-height: 1.1;
}
.slide-desc {
    font-size: 1.25rem;
    color: #ddd;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Slider Nav */
.slider-nav {
    position: absolute;
    bottom: 3rem;
    right: 5%;
    display: flex;
    gap: 1rem;
    z-index: 10;
}
.thumb {
    width: 120px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}
.thumb.active {
    border-color: var(--accent);
    transform: scale(1.05);
}
.thumb:hover {
    transform: translateY(-5px);
}
.thumb-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
}
.slider-arrow:hover {
    background: white;
    color: black;
}
.slider-arrow.left { left: 2%; }
.slider-arrow.right { right: 2%; }

/* Old Hero Layout */
.hero-title {
    font-size: clamp(3rem, 8vw, 8rem);
    letter-spacing: -0.03em;
    margin-bottom: 4rem;
}
.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 3rem;
}
.hero-subtitle {
    max-width: 500px;
    font-size: 1.25rem;
    color: var(--text-muted);
}
.hero-stats {
    display: flex;
    gap: 4rem;
}
.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.stat-number {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 400;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Shared Section Styles */
.section-header {
    margin-bottom: 5rem;
}

.section-number {
    font-family: var(--font-heading);
    color: var(--text-muted);
    font-size: 1.25rem;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 4rem);
    letter-spacing: -0.02em;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}
.about-headline {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    letter-spacing: -0.01em;
}
.about-content p {
    font-size: 1.125rem;
    color: #cccccc;
    margin-bottom: 1.5rem;
}

/* Experience Section */
.experience-list {
    display: flex;
    flex-direction: column;
}
.experience-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}
.experience-item:last-child {
    border-bottom: 1px solid var(--border-color);
}
.exp-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.exp-date {
    font-family: var(--font-heading);
    color: var(--text-muted);
}
.exp-company {
    font-size: 1.5rem;
    font-family: var(--font-heading);
}
.exp-role {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}
.exp-bullets {
    list-style-type: disc;
    padding-left: 1.5rem;
    color: #cccccc;
}
.exp-bullets li {
    margin-bottom: 0.75rem;
}



/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}
.skill-category {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}
.skill-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}
.skill-list {
    color: #888888;
    line-height: 1.8;
}

/* Footer */
.footer {
    padding: 8rem 0 2rem;
    border-top: 1px solid var(--border-color);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 8rem;
}
.footer-title {
    font-size: clamp(3rem, 6vw, 6rem);
    letter-spacing: -0.03em;
    margin-bottom: 3rem;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-link {
    font-size: 1.5rem;
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-heading);
    display: inline-block;
    width: fit-content;
    position: relative;
}
.contact-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--text-main);
    transition: width 0.3s ease;
}
.contact-link:hover::after {
    width: 100%;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.footer-link {
    color: #cccccc;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}
.footer-link:hover {
    color: var(--text-main);
}
.icon-sm {
    width: 18px;
    height: 18px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}
.back-to-top {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}
.back-to-top:hover {
    color: var(--text-main);
}

/* Animations & Utility */
.reveal-text, .reveal-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-text.active, .reveal-fade.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid, .experience-item, .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .slide {
        flex-direction: column;
        justify-content: flex-start;
        gap: 2rem;
        padding-top: 5.5rem;
        height: auto;
    }
    .slide-content {
        flex: none;
    }
    .slide-media {
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .nav-links, .navbar .btn-primary {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .section {
        padding: 5rem 0;
    }
    .hero-slider-section {
        height: auto;
    }
    .slider-container {
        padding-bottom: 0;
    }
    .slider-nav {
        position: static;
        justify-content: center;
        margin-top: 1.5rem;
    }
    .footer-grid {
        margin-bottom: 4rem;
    }
    
    /* Mobile Slider Optimization */
    .slide {
        gap: 1.5rem;
        padding-top: 5.5rem;
        height: auto;
    }
    .slide-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    .slide-desc {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .thumb {
        width: 80px;
        height: 45px;
    }
    .slider-nav {
        bottom: 2rem;
        gap: 0.5rem;
    }
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    /* Disable custom cursor on mobile */
    .cursor-dot, .cursor-outline {
        display: none;
    }
    body {
        cursor: auto;
    }
}
