/* Modern Professional Portfolio Design 2026 */
:root {
    /* Color Palette - Deep Navy & Slate with Elegant Accents */
    --primary-900: #0f172a;
    /* Slate 900 */
    --primary-800: #1e293b;
    /* Slate 800 */
    --primary-700: #334155;
    /* Slate 700 */
    --primary-50: #f8fafc;
    /* Slate 50 */

    --accent-color: #3b82f6;
    /* Blue 500 */
    --accent-hover: #2563eb;
    /* Blue 600 */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --bg-body: #ffffff;
    --bg-surface: #f8fafc;
    --bg-card: #ffffff;

    --border-color: #e2e8f0;

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing & Layout */
    --container-width: 1000px;
    /* Slightly wider for modern feel */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition-fast: 0.2s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* Typography Utility */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-900);
    line-height: 1.2;
    font-weight: 700;
}

p {
    margin-bottom: 1.5rem;
    color: var(--primary-700);
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 1.875rem;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

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

.nav-logo {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-900);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

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

/* Hero Section */
.hero {
    padding-top: 10rem;
    /* Space for fixed header */
    padding-bottom: 6rem;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, var(--primary-50) 0%, transparent 70%);
}

.hero-name {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.03em;
}

.hero-title {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 500;
}

.contact-bar {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--primary-900);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
    /* Fix hover text color */
}

.btn-outline {
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary-900);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* About Section */
.about-content {
    font-size: 1.1rem;
    color: var(--text-main);
}

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

.highlight-box {
    background: var(--bg-surface);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Experience Cards */
.experience-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.job-role {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-900);
}

.job-company {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.job-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    background: var(--bg-surface);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    white-space: nowrap;
}

.job-details {
    list-style: disc;
    margin-left: 1.2rem;
    color: var(--primary-700);
}

.job-details li {
    margin-bottom: 0.5rem;
}

/* Grid Layouts (Awards & Skills) */
.grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.grid-cols-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Awards */
.award-item {
    background: var(--bg-surface);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: all var(--transition-fast);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.award-item strong {
    color: var(--primary-900);
    margin-right: 0.5rem;
}

.award-item:hover {
    background: white;
    border-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

/* Skills */
.skill-category {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.skill-category h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-900);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: var(--bg-surface);
    color: var(--primary-700);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-name {
        font-size: 2.25rem;
    }

    .nav-links {
        display: none;
        /* In a real app we'd add a mobile menu, keeping it simple here */
    }

    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section {
        padding: 3rem 0;
    }
}