:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --text-secondary: #aaa;
    --accent-color: #00f2ff;
    --accent-glow: rgba(0, 242, 255, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-hover-bg: rgba(255, 255, 255, 0.1);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--glass-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--glass-border) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    z-index: -2;
    pointer-events: none;
}

.background-glob {
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    opacity: 0.2;
    filter: blur(80px);
    z-index: -1;
    animation: pulse 10s infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.1;
        transform: translateX(-50%) scale(0.9);
    }

    100% {
        opacity: 0.3;
        transform: translateX(-50%) scale(1.1);
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: var(--text-color);
    transition: var(--transition);
}

.logo:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

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

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    /* offset for fixed nav */
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

.headline {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #aaa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.headline .highlight {
    background: none;
    -webkit-text-fill-color: var(--accent-color);
    color: var(--accent-color);
}

.subheadline {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
    font-weight: 300;
}

.highlight {
    color: var(--accent-color);
    font-weight: 600;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.school-logo {
    height: 1.2em;
    width: auto;
    vertical-align: text-bottom;
    margin-left: 5px;
    margin-right: 2px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 5px;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000;
    box-shadow: 0 0 150px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--accent-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border-color: var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--text-color);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 60px;
}

.section-number {
    font-family: var(--font-body);
    font-size: 4rem;
    color: var(--glass-border);
    font-weight: 700;
    line-height: 1;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-color);
}

/* Glass Card */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.project-card {
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.project-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.project-img-content {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: Center;
    transition: transform 0.5s ease;
    padding: 4px;
}

.project-card:hover .project-img-content {
    transform: scale(1.05);
}

.placeholder-img {
    color: #555;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-content {
    padding: 30px;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent-color);
    letter-spacing: 0.05em;
    background: rgba(0, 242, 255, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.project-links {
    display: flex;
    gap: 20px;
}

.icon-link {
    color: var(--text-secondary);
    transition: var(--transition);
}

.icon-link:hover {
    color: var(--accent-color);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.skills-title {
    font-size: 1.2rem;
    margin: 30px 0 15px;
}

.skills-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.skills-list li {
    position: relative;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.skills-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Experience Timeline */
.experience-timeline {
    margin-top: 20px;
    border-left: 2px solid var(--glass-border);
    padding-left: 30px;
}

.experience-item {
    position: relative;
    margin-bottom: 30px;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--bg-color);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
}

.exp-company {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.exp-role {
    display: block;
    font-size: 0.95rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-family: var(--font-body);
}

.exp-desc li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.exp-desc li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.about-visual {
    position: relative;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-placeholder {
    font-size: 4rem;
    color: var(--glass-border);
    font-weight: 700;
}

.profile-card {
    width: 300px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.profile-img {
    width: 300px;
    height: 380px;
    object-fit: cover;
    border-radius: 12px;
}









.about-visual::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -40%);
    width: 300px;
    height: 380px;
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    z-index: 1;
    transition: var(--transition);
}

.about-visual:hover::after {
    transform: translate(-45%, -45%);
}

/* Contact Section */
.contact-container {
    text-align: center;
    max-width: 600px;
}

.contact-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.social-links {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-link {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.heart-icon {
    display: inline-block;
    width: 16px;
    color: var(--accent-color);
    vertical-align: middle;
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Media Queries */
@media (max-width: 768px) {
    .headline {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px 0;
        gap: 20px;
        border-bottom: 1px solid var(--glass-border);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-visual {
        min-height: 300px;
        order: -1;
    }

    .hero-section {
        padding-top: 0;
    }
}