/* Modern & Airy Color Scheme */
:root {
    --color-bg: #f8f9fa;      /* Light, airy background */
    --color-text: #2d3436;    /* Dark, readable text */
    --color-primary: #00b894; /* Softer, more elegant green */
    --color-secondary: #6c5ce7; /* Purple accent for contrast */
    --color-accent: #fd79a8;  /* Playful pink for highlights */
    --color-card: #ffffff;    /* White cards for content */
    --color-border: #dfe6e9;  /* Light borders */
}

/* Base Styles */
body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Navigation */
nav {
    background-color: var(--color-card);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--color-primary);
}

/* About Page Specific Styles */
.about-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.about-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.about-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--color-text);
    font-weight: 700;
}

.about-hero .lead {
    font-size: 1.3rem;
    color: var(--color-primary);
    font-weight: 400;
}

.about-content {
    display: grid;
    gap: 3rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.7;
    background: var(--color-card);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.skills-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-text);
    font-size: 2rem;
}

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

.skill-item {
    background: var(--color-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--color-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.skill-item h3 {
    margin: 0 0 1rem 0;
    color: var(--color-text);
    font-size: 1.2rem;
}

.skill-item p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer */
footer {
    background: var(--color-card);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--color-border);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1.5rem;
    }
    
    .about-hero h1 {
        font-size: 2.2rem;
    }
    
    .about-text {
        padding: 1.5rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation for fun */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skill-item {
    animation: fadeInUp 0.6s ease-out;
}

.skill-item:nth-child(2) { animation-delay: 0.1s; }
.skill-item:nth-child(3) { animation-delay: 0.2s; }
.skill-item:nth-child(4) { animation-delay: 0.3s; }

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