@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Syne:wght@700;800&display=swap');

:root {
    --bg-light: #ffffff;
    --bg-secondary: #fdfcf8;
    --bg-card: #ffffff;
    --accent: #f59e0b;
    /* Vibrant Gold-Yellow (Amber 500) */
    --accent-gold: #fbbf24;
    /* Golden Yellow */
    --accent-dark: #b45309;
    --accent-light: #fef3c7;
    --accent-gradient: linear-gradient(135deg, #f59e0b, #fbbf24);
    --accent-rgb: 245, 158, 11;
    --text-primary: #1a1a1a;
    --text-secondary: #64748b;
    --glass: rgba(255, 255, 255, 0.85);
    --border: rgba(0, 0, 0, 0.05);
    --font-heading: 'Outfit', sans-serif;
    --font-sub: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background: var(--bg-light);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Elements */
.mesh-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(at 0% 0%, rgba(var(--accent-rgb), 0.08) 0, transparent 40%),
        radial-gradient(at 100% 100%, rgba(var(--accent-rgb), 0.05) 0, transparent 40%);
    z-index: -1;
}

.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(var(--accent-rgb), 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    opacity: 0.5;
}

/* Navigation */
nav {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 0.8rem 2.5rem;
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.logo {
    height: 40px;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: 0.3s;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-sub);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-cta a,
.btn {
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-family: var(--font-sub);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    transition: 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.nav-cta a:hover,
.btn:hover {
    background: var(--accent-dark);
    box-shadow: 0 5px 15px rgba(var(--accent-rgb), 0.3);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* Sections */
section {
    padding: 5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-label {
    font-family: var(--font-sub);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
    color: var(--text-primary);
    line-height: 1.1;
    font-weight: 700;
}

.section-title span {
    color: var(--accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 8% 2rem;
    gap: 3rem;
    position: relative;
    text-align: left;
}

.hero-content {
    flex: 1;
    z-index: 10;
}

.hero-image-wrapper {
    flex: 0.8;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3/4;
    /* Portrait ratio for person */
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    /* Focus on face/top */
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    filter: saturate(1.05) brightness(1.02);
}

.hero-img-bg {
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--accent-light);
    border-radius: 30px;
    z-index: -1;
    transform: rotate(5deg);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    font-weight: 800;
}

.hero h1 .outline {
    color: transparent;
    -webkit-text-stroke: 1px var(--accent);
    opacity: 0.6;
}

.hero .description {
    font-family: var(--font-sub);
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3.5rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    justify-content: flex-start;
}

.stat-item h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent);
}

.stat-item p {
    font-family: var(--font-sub);
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1.2rem;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-radius: 24px;
    padding: 1.8rem;
    transition: 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-light);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
}

.bento-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.bento-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.bento-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
}

.col-2 {
    grid-column: span 2;
}

.row-2 {
    grid-row: span 2;
}

/* Experience Section */
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.exp-item {
    display: flex;
    justify-content: space-between;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 24px;
    border: 1px solid var(--accent);
    transition: 0.3s;
}

.exp-item:hover {
    background: white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.exp-left h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.exp-left .role {
    color: var(--accent);
    font-family: var(--font-sub);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: block;
}

.exp-left ul {
    list-style: none;
    color: var(--text-secondary);
}

.exp-left ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.exp-left ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.exp-right .date {
    font-family: var(--font-sub);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-primary);
}

/* Skills Tags */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tag {
    background: white;
    border: 1px solid var(--border);
    padding: 1rem 2rem;
    border-radius: 100px;
    font-family: var(--font-sub);
    font-weight: 600;
    color: var(--text-primary);
    transition: 0.3s;
}

.skill-tag:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Theme Utilities */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    section {
        padding: 4rem 2rem;
        /* Safe margin for tablets */
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 10vw;
    }

    .exp-item {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        /* Text on top, Image on bottom */
        text-align: center;
        padding-top: 6rem;
        gap: 2rem;
        justify-content: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .hero-image-wrapper {
        width: 100%;
        justify-content: center;
    }

    .hero-image-container {
        max-width: 280px;
        /* Appropriately sized for mobile */
    }

    .bento-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem;
    }

    .col-2,
    .row-2 {
        grid-column: auto !important;
        grid-row: auto !important;
        width: 100%;
    }

    .nav-links {
        display: none;
    }

    section {
        padding: 3rem 1.5rem;
        /* Safe margin for mobile */
    }

    .skills-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .skill-tag {
        text-align: center;
        padding: 0.8rem 0.5rem;
        width: 100%;
        font-size: 0.85rem;
    }
}