/* =========================================
   2026 Modern Reset & Variables
   ========================================= */
:root {
    /* Color Palette - Dark Mode "Cyber-Minimal" */
    --bg-main: #0f172a;       /* Deep dark blue/slate background */
    --bg-secondary: #1e293b;  /* Slightly lighter for cards/sections */
    --text-primary: #f8fafc;  /* Off-white for main text */
    --text-secondary: #94a3b8;/* Muted blue-grey for subtext */
    --accent: #6366f1;        /* Modern Indigo accent color */
    --accent-hover: #818cf8;  /* Lighter indigo for hover states */

    /* Typography */
    /* Using system-ui stack for maximum performance and native feel */
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Spacing & Structure */
    --container-width: 1100px;
    --border-radius: 12px;
    --section-spacing: 5rem;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Utility Classes */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* =========================================
   Navigation / Header
   ========================================= */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a:not(.btn) {
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-links a:not(.btn):hover {
    color: var(--accent);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    padding: var(--section-spacing) 0;
    display: flex;
    align-items: center;
    min-height: 70vh; /* Takes up most of the screen initially */
}

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

.overline {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.headline {
    font-size: clamp(3rem, 8vw, 5rem); /* Responsive font sizing */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    background: linear-gradient(to right, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subhead {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn-small:hover {
    background-color: var(--accent);
    color: white;
}

/* =========================================
   Portfolio Summary Section
   ========================================= */
.summary {
    padding: var(--section-spacing) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* On larger screens, split into two columns */
@media (min-width: 768px) {
    .summary-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.card {
    background-color: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.about-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Skills Chips */
.skills-intro {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-chip {
    background-color: rgba(99, 102, 241, 0.1); /* Subtle accent tint */
    color: var(--accent-hover);
    padding: 0.5rem 1rem;
    border-radius: 50px; /* Pill shape */
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    padding: 3rem 0;
    margin-top: var(--section-spacing);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.social-links {
    margin-top: 1.5rem;
}

.social-links a {
    margin: 0 0.5rem;
    color: var(--accent);
    font-weight: 600;
}
.social-links a:hover {
     text-decoration: underline;
}

/* =========================================
   Mobile Adjustments
   ========================================= */
@media (max-width: 600px) {
    .site-header {
        flex-direction: column;
        gap: 1rem;
    }
    .hero {
        min-height: auto; /* Don't force full height on mobile */
        padding-top: 3rem;
    }
    .cta-group {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
}
