:root {
    --primary: #4A90E2;
    --accent: #2DD4BF;
    --dark: #1E293B;
    --light: #F8FAFC;
    --glass: rgba(255, 255, 255, 0.8);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Header & Nav --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -1px;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    background: radial-gradient(circle at top right, #e2e8f0, #f8fafc);
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.profile-img-container {
    width: 400px;
    height: 500px;
    background: #cbd5e1;
    /* Placeholder */
    border-radius: 20px;
    margin-left: auto;
    overflow: hidden;
    box-shadow: 20px 20px 60px #d1d9e6;
    position: relative;
}

.profile-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Grid Layouts --- */
section {
    padding: 8rem 10%;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.card .date {
    font-size: 0.8rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
}

/* --- Skills Section --- */
.skills-container {
    background: var(--dark);
    color: white;
    border-radius: 30px;
    padding: 4rem;
}

.skill-tag {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    margin: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.skill-tag:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--dark);
}

footer {
    padding: 4rem 10%;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .profile-img-container {
        width: 100%;
        height: 350px;
        margin-top: 2rem;
    }
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}
.stat-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    color: #64748b;
}

/* Container for the cards */
.project-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 1.5rem; 
}

/* Base Card Style */
.project-card {
    background: white; 
    border-radius: 16px; 
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08); 
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header Area */
.project-header { 
    padding: 2rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

/* The Secret Sauce: Hidden Content */
.project-content {
    max-height: 0; 
    overflow: hidden; 
    padding: 0 2rem;
    transition: all 0.4s ease-out; 
    opacity: 0;
}

/* State when clicked */
.project-card.active { 
    border-color: #2563eb; 
    box-shadow: 0 15px 30px rgba(0,0,0,0.05); 
}

.project-card.active .project-content { 
    max-height: 500px; /* Adjust if content is very long */
    padding-bottom: 2rem; 
    opacity: 1; 
}

/* Plus Button Animation */
.btn-plus { 
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid #cbd5e1;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
    transition: 0.3s;
}

.project-card.active .btn-plus { 
    transform: rotate(45deg); 
    background: #0f172a; 
    color: white; 
    border-color: #0f172a;
}

/* Skill Tags */
.tag-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tag { 
    font-size: 0.7rem; 
    padding: 0.3rem 0.7rem; 
    background: #f1f5f9; 
    border-radius: 4px; 
    font-weight: 700; 
    color: #475569;
    text-transform: uppercase;
}