/* ============================
   Light Blue/White Theme
   ============================ */

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-deep: #1e40af;
    --primary-light: #dbeafe;
    --primary-mid: rgba(37, 99, 235, 0.08);
    --border: #e5e7eb;
    --border-accent: rgba(37, 99, 235, 0.25);
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --bg-base: #f1f5f9;
    --bg-surface: #ffffff;
    --bg-elevated: #f8fafc;
}

/* ── Base ── */
body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: 'Open Sans', sans-serif;
}

/* ── Links ── */
a { color: var(--primary); transition: color 0.2s ease; }
a:hover { color: var(--primary-hover); }

/* ── Main card ── */
.main-card {
    position: relative;
    box-shadow: 0 0 0 1px var(--border),
                0 8px 40px rgba(0, 0, 0, 0.08) !important;
}
.main-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    border-radius: 0.5rem 0.5rem 0 0;
    background: linear-gradient(90deg, transparent, var(--primary) 30%, var(--primary) 70%, transparent);
    opacity: 0.4;
    pointer-events: none;
}

/* ══════════════════════════
   HERO HEADER
══════════════════════════ */

.hero-name {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    background: linear-gradient(130deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.4rem;
}

.hero-role {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 0.2rem;
}

.hero-company {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}
.hero-company a {
    color: var(--text-secondary) !important;
    text-decoration: none !important;
}
.hero-company a:hover { color: var(--primary) !important; }

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    background: var(--primary-light);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary-deep);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-location {
    color: var(--text-muted);
    font-size: 0.775rem;
}

/* ── Avatar ── */
.avatar-img {
    display: block;
    border-radius: 1rem;
    border: 1px solid var(--border);
    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.06),
        0 8px 24px rgba(0, 0, 0, 0.1);
}

/* ── Social links ── */
.social-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2rem !important;
    height: 2rem !important;
    min-width: 2rem !important;
    border-radius: 0.5rem !important;
    background: var(--primary-light) !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
    color: var(--primary) !important;
    font-size: 0.8rem !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
    cursor: default;
    transition: all 0.2s ease !important;
}
.social-btn:hover {
    background: rgba(37, 99, 235, 0.15) !important;
    border-color: rgba(37, 99, 235, 0.4) !important;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.15) !important;
}

.social-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-decoration: none !important;
}
a.social-label:hover { color: var(--primary) !important; }

/* ══════════════════════════
   SECTION TITLES
══════════════════════════ */

.section-title {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--text-muted) !important;
    padding-left: 0.75rem !important;
    border-left: 2px solid var(--primary) !important;
}
.section-title .fas,
.section-title .fab,
.section-title .far {
    font-size: 0.68rem !important;
    color: var(--primary) !important;
}

/* ══════════════════════════
   BADGES / SKILLS
══════════════════════════ */

.badge-primary,
.badge {
    background-color: var(--primary-light) !important;
    color: var(--primary) !important;
    border: 1px solid var(--border) !important;
    border-radius: 9999px !important;
    padding: 0.25rem 0.75rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
}

/* ── Year badges ── */
.year-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover)) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
    color: white !important;
    font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', monospace;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
}

/* ── Skill badges ── */
.bg-blue-100 { background-color: var(--primary-light) !important; }
.text-blue-800 { color: var(--primary-deep) !important; }
.hover\:bg-blue-200:hover { background-color: rgba(37, 99, 235, 0.15) !important; }

/* ── CTA button ── */
.bg-blue-600 { background-color: var(--primary) !important; }
.hover\:bg-blue-700:hover { background-color: var(--primary-hover) !important; }
.text-blue-600 { color: var(--primary) !important; }
.hover\:text-blue-600:hover { color: var(--primary) !important; }
.hover\:text-blue-800:hover { color: var(--primary-hover) !important; }

/* ── Cards ── */
.hover\:shadow-md:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08),
                0 0 0 1px var(--border-accent) !important;
}

/* ── Tech stack label ── */
.bg-gray-50 .font-medium { color: var(--primary) !important; }

/* ── Activity logos ── */
.activity-logo img {
    margin: 10px 10px 2px;
    max-width: 50px;
    max-height: 50px;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* ── Print ── */
.visible-print { display: none; }

/* ── Legacy Bootstrap overrides ── */
.card, .bg-light {
    background-color: #ffffff !important;
    border: 1px solid var(--border) !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}
.card a, .bg-light a { color: var(--primary) !important; text-decoration: none !important; }
.card a:hover, .bg-light a:hover { color: var(--primary-hover) !important; text-decoration: underline !important; }

/* ── Utility ── */
.text-muted       { color: var(--text-muted) !important; }
.font-weight-bold { color: var(--text-primary) !important; }

/* ── FontAwesome centering ── */
.fa, .fas, .far, .fab, .fal, .fad, .fat, .fass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ── Transitions ── */
* {
    transition: color 0.2s ease, background-color 0.2s ease,
                border-color 0.2s ease, box-shadow 0.2s ease;
}

/* ── Forms ── */
input, textarea, select {
    border: 1px solid var(--border) !important;
    border-radius: 0.375rem !important;
    padding: 0.5rem 0.75rem !important;
    color: var(--text-primary) !important;
}
input:focus, textarea:focus, select:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

/* ── Buttons ── */
.btn { border-radius: 0.375rem !important; font-weight: 500 !important; }
.btn-primary { background-color: var(--primary) !important; border-color: var(--primary) !important; color: white !important; }
.btn-primary:hover { background-color: var(--primary-hover) !important; border-color: var(--primary-hover) !important; }

/* ── Social grid ── */
.social-grid { max-width: 800px; margin: 0 auto; }
