:root {
    /* Color Palette - Earthy Neutrals (Light Mode) */
    --bg-color: #fdfbf7;
    --surface-color: rgba(255, 255, 255, 0.65);
    --surface-border: rgba(180, 190, 180, 0.3);
    --text-primary: #2c332c;
    --text-secondary: #5c665c;
    
    /* Accents - Modern Tech Indigo */
    --accent-1: #6366f1;
    --accent-2: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));

    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Spacing & Layout */
    --max-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Border Radius */
    --radius-md: 16px;
    --radius-lg: 24px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-color);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
    position: relative;
}

/* Dynamic Background Blobs */
.blob {
    position: absolute;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.25;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent-1);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: #e0d4fc; /* Much lighter violet */
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(253, 251, 247, 0.85);
    border-bottom: 1px solid var(--surface-border);
    transition: all 0.3s ease;
}

.nav-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-small, .social-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.5);
}

.btn-primary-small, .nav-links a.btn-primary-small {
    padding: 0.5rem 1rem;
    background: var(--accent-gradient);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
}

/* Layout */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--spacing-xl) 0;
}

.fullscreen-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.section-header {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.section-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--surface-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--surface-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Grids */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Hero Section */
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Image Placeholders */
.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-secondary);
    text-align: center;
    border: 1px dashed var(--surface-border);
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-1);
}

.hero-image {
    width: 400px;
    height: 500px;
    border-radius: var(--radius-lg);
}

.teamwork-image {
    width: 100%;
    height: 300px;
    margin-bottom: 2rem;
}

.interests-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.hobby-image {
    width: 100%;
    aspect-ratio: 4 / 5;
}

/* Contact */
.contact-card {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--surface-border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-btn:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--surface-border);
    color: var(--text-secondary);
}

footer i {
    color: var(--accent-2);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card Image */
.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

#interests-grid .glass-card {
    display: flex;
    flex-direction: column;
}

#interests-grid .card-image {
    height: auto;
    aspect-ratio: 4 / 5;
    order: 1;
    margin-bottom: 0;
    margin-top: auto;
}

/* Lists */
.card-bullets {
    list-style: none;
    margin-top: 1rem;
}

.card-bullets li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.card-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-1);
    font-weight: bold;
}

/* Tags */
.tag-container {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent-1);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 2rem;
    }
    
    .hero-visual {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .nav-links {
        display: none; /* In a real app, add a hamburger menu */
    }
}
