@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;700&family=Space+Mono&display=swap');

:root {
    --bg-dark: #070709;
    --bg-card: #13131a;
    --primary-gold: #c9a84c;
    --primary-gold-dim: rgba(201, 168, 76, 0.2);
    --text-main: #f0ede8;
    --text-muted: #8a8799;
    --border-color: rgba(255, 255, 255, 0.05);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Custom cursor */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.mono { font-family: 'Space Mono', monospace; }

/* Custom Cursor */
.cursor-dot {
    width: 8px; height: 8px;
    background-color: var(--primary-gold);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
}
.cursor-outline {
    width: 40px; height: 40px;
    border: 1px solid var(--primary-gold-dim);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease-out;
}

/* Navbar */
.navbar {
    background: rgba(7, 7, 9, 0.8) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}
.navbar-brand { font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--text-main) !important; letter-spacing: 1px;}
.navbar-brand span { color: var(--primary-gold); }
.nav-link { color: var(--text-muted) !important; font-weight: 500; transition: color 0.3s; }
.nav-link:hover { color: var(--primary-gold) !important; }

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}
.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-role {
    color: var(--primary-gold);
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.glow-effect {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, rgba(7,7,9,0) 70%);
    top: 50%; right: -10%;
    transform: translateY(-50%);
    z-index: -1;
}

/* Sections */
.section-padding { padding: 100px 0; }
.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px; left: 0;
    width: 60px; height: 3px;
    background-color: var(--primary-gold);
}

/* Cards */
.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}
.tech-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold-dim);
    box-shadow: 0 10px 30px -10px rgba(201,168,76,0.1);
}

/* Experience Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--border-color);
}
.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}
.timeline-dot {
    position: absolute;
    left: -2.45rem;
    top: 0;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--primary-gold);
}
.timeline-date { color: var(--primary-gold); font-family: 'Space Mono', monospace; font-size: 0.9rem; margin-bottom: 0.5rem;}
.timeline-title { font-size: 1.5rem; margin-bottom: 0.2rem;}
.timeline-company { color: var(--text-muted); font-weight: 500; margin-bottom: 1rem;}

/* Buttons */
.btn-gold {
    background-color: transparent;
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    padding: 0.75rem 2rem;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}
.btn-gold:hover {
    background-color: var(--primary-gold-dim);
    color: var(--primary-gold);
}

/* Badges */
.badge-tech {
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    border: 1px solid var(--border-color);
    font-family: 'Space Mono', monospace;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
}

/* Animated Background Elements */
.bg-particles {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
}
.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-gold) 0%, transparent 70%);
    opacity: 0.15;
    animation: float 20s infinite linear;
}
@keyframes float {
    0% { transform: translateY(0) translateX(0) rotate(0deg); }
    33% { transform: translateY(-100px) translateX(50px) rotate(120deg); }
    66% { transform: translateY(50px) translateX(-50px) rotate(240deg); }
    100% { transform: translateY(0) translateX(0) rotate(360deg); }
}

/* Profile Image Container */
.profile-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    perspective: 1000px;
}
.profile-border {
    position: absolute;
    top: -15px; left: -15px; right: -15px; bottom: -15px;
    border: 2px solid var(--primary-gold-dim);
    border-radius: 20px;
    transition: all 0.5s ease;
    z-index: 0;
    animation: borderRotate 10s infinite linear;
}
.profile-wrapper:hover .profile-border {
    border-color: var(--primary-gold);
    transform: rotate(5deg) scale(1.05);
}
@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    filter: grayscale(100%) contrast(1.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.profile-wrapper:hover .profile-img {
    filter: grayscale(0%) contrast(1);
    transform: translateZ(20px) scale(1.02);
    box-shadow: 0 30px 50px rgba(201,168,76,0.2);
}

/* Moving Grid Background */
.grid-bg {
    position: fixed;
    top: 0; left: 0;
    width: 200vw; height: 200vh;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -3;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}
@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px) translateZ(-200px); }
}
