/* CSS Variables for theming - Inspired by Lu.ma */
:root {
    /* Lu.ma inspired minimalist color palette */
    --bg-primary: #FFFFFF;
    --bg-secondary: #FFFFFF;
    --bg-tertiary: #FFFFFF;

    --text-primary: #1A1A1A;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;

    --accent-primary: #6366F1;
    --accent-secondary: #8B5CF6;
    --accent-tertiary: #EC4899;
    --accent-success: #10B981;
    --accent-info: #3B82F6;

    --border-light: #E5E7EB;
    --border-medium: #D1D5DB;

    /* Colorful accent colors */
    --color-primary: #6366F1;
    --color-secondary: #8B5CF6;
    --color-accent: #EC4899;
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-info: #3B82F6;
    --color-danger: #EF4444;

    /* Gradient colors */
    --gradient-primary: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --gradient-secondary: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-success: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-warning: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-info: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}



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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-secondary);
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-text {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
    text-decoration: none;
    position: relative;
}

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

.nav-link.active {
    color: var(--text-primary);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
}



/* Main content */
main {
    padding-top: 80px;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    padding: 6rem 0;
}

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

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

.hero-text {
    text-align: left;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-primary);
}

.greeting {
    display: block;
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.name {
    color: var(--text-primary);
    font-weight: 800;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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



/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--text-primary);
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-item {
    background: var(--bg-primary);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.project-item:hover {
    box-shadow: var(--shadow-md);
}

.project-content {
    padding: 2rem;
}



.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

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

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Work Section */
.work {
    padding: 6rem 0;
    background: var(--bg-tertiary);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.work-item {
    background: var(--bg-primary);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.work-item:hover {
    box-shadow: var(--shadow-md);
}

.work-content {
    padding: 2rem;
}

.work-icon {
    width: 50px;
    height: 50px;
    background: white;
    border: 2px solid #80868B;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #80868B;
    font-size: 1.25rem;
}

.work-item:nth-child(2) .work-icon {
    border-color: #80868B;
    color: #80868B;
}

.work-item:nth-child(3) .work-icon {
    border-color: #80868B;
    color: #80868B;
}

.work-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.work-role {
    font-size: 1rem;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.work-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    transition: all 0.2s ease;
}

.tag-blue {
    background: var(--color-info);
    color: #FFFFFF;
    border: 1px solid var(--color-info);
}

.tag-green {
    background: var(--color-success);
    color: #FFFFFF;
    border: 1px solid var(--color-success);
}

.tag-purple {
    background: var(--color-secondary);
    color: #FFFFFF;
    border: 1px solid var(--color-secondary);
}

.tag-orange {
    background: var(--color-warning);
    color: #FFFFFF;
    border: 1px solid var(--color-warning);
}

.tag-red {
    background: var(--color-danger);
    color: #FFFFFF;
    border: 1px solid var(--color-danger);
}

.tag:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.work-time-range {
    display: block;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 2rem 0 1rem 0;
}

.education-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.education-list li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.achievement-list-simple {
    list-style: none;
    padding: 0;
}

.achievement-list-simple li {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}





/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 1.125rem;
}

.contact-link:hover {
    color: var(--text-primary);
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 2rem 0;
}

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

.footer-content {
    text-align: center;
    color: var(--text-secondary);
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.footer-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-container {
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-card,
    .experience-card,
    .contact-card {
        padding: 1.5rem;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .greeting {
        font-size: 1.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling and animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.about-card,
.experience-card,
.contact-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--border-light);
    z-index: 1001;
}

.scroll-progress {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.1s ease;
}

/* --- Lu.ma-inspired UI Enhancements --- */

/* Buttons */
.btn, button {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    outline: none;
    margin: 0.5rem 0;
}

.btn:hover, button:hover {
    background: var(--gradient-secondary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px) scale(1.03);
}

.btn:active, button:active {
    background: var(--gradient-accent);
    box-shadow: var(--shadow-md);
    transform: scale(0.98);
}

/* Card-like containers */
.card, .project-item, .work-item, .about-card, .experience-card, .contact-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    padding: 2rem;
    transition: box-shadow 0.2s, transform 0.1s;
}

.card:hover, .project-item:hover, .work-item:hover, .about-card:hover, .experience-card:hover, .contact-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px) scale(1.01);
}

/* Inputs */
input, textarea, select {
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--text-primary);
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-sm);
    outline: none;
    margin-bottom: 1rem;
}

input:focus, textarea:focus, select:focus {
    border: 1.5px solid var(--color-primary);
    box-shadow: 0 0 0 2px #6366f133;
}

/* Section backgrounds for separation */
section, .projects, .work, .about, .contact {
    background: var(--bg-secondary);
    border-radius: 24px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Accent text and highlights */
.accent {
    color: var(--color-primary);
    font-weight: 700;
}

/* Subtle divider */
.divider {
    height: 1px;
    background: var(--border-light);
    margin: 2rem 0;
    border-radius: 1px;
}

/* Tag enhancements */
.tag {
    border-radius: 15px;
    font-weight: 600;
    padding: 0.4rem 1.1rem;
    font-size: 0.85rem;
    color: #fff;
    border: none;
    box-shadow: var(--shadow-sm);
    transition: background 0.2s, box-shadow 0.2s;
    opacity: 0.8;
}

.tag:hover {
    box-shadow: var(--shadow-md);
}
