/* ═══════════════════════════════════════════
   COMPLIA — Global Styles
   Shared across all pages.
   Brand: Deep Sea Green #00555a
   ═══════════════════════════════════════════ */

/* --- RESET --- */
html {
    scroll-behavior: smooth;
}

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


/* --- DESIGN TOKENS --- */
:root {
    /* Brand */
    --brand: #00555a;
    --brand-hover: #003e42;
    --brand-light: rgba(0, 85, 90, 0.06);

    /* Text */
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #888888;

    /* Surfaces */
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --border: #e5e7eb;

    /* Effects */
    --radius: 10px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Type */
    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}


/* --- BASE TYPOGRAPHY --- */
body {
    font-family: var(--font-stack);
    color: var(--text-primary);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

h1 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: var(--text-primary);
}

h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.3;
    color: var(--text-primary);
}

h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
}

p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-secondary);
}


/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    height: 64px;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--brand);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand);
}

.nav-link.active {
    font-weight: 700;
}

/* LinkedIn CTA — Ghost button */
.nav-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand);
    background: transparent;
    border: 1.5px solid var(--brand);
    padding: 7px 17px;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.nav-linkedin:hover {
    background: var(--brand-light);
}

.nav-linkedin svg {
    flex-shrink: 0;
    color: var(--brand);
}

/* Hamburger — hidden on desktop */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.2s ease;
}


/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
    padding: 20px 28px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    border-top: 1px solid var(--border);
}

.site-footer a {
    color: var(--brand);
    text-decoration: underline;
}

.site-footer a:hover {
    color: var(--brand-hover);
}


/* ═══════════════════════════════════════════
   RESPONSIVE — Shared
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        padding: 16px 28px 20px;
        gap: 16px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-linkedin {
        justify-content: center;
    }

    /* Footer — stack into 3 lines */
    .site-footer p {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .site-footer .footer-sep {
        display: none;
    }

    .site-footer .footer-copyright,
    .site-footer .footer-brand,
    .site-footer .footer-links {
        display: block;
    }
}