@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #f5f5f5;
    color: #1a1a2e;
    min-height: 100vh;
}

/* =====================
   HERO / BACKGROUND
   ===================== */

.hero-bg {
    width: 100%;
    height: 200px;
    /* --- BACKGROUND PHOTO ---
       Replace the background-color below with your own image:
       background-image: url('images/your-background-photo.jpg');
       background-size: cover;
       background-position: center;
    */
    background-color: #c8d6e5;
    position: relative;
}

/* =====================
   PROFILE SECTION
   ===================== */

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -160px;
    padding: 0 20px 16px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.headshot-wrapper {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 6px solid #fff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    background-color: #dde6f0;
    flex-shrink: 0;
}

.headshot-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.name {
    margin-top: 10px;
    font-size: 2.2em;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.5px;
}

.tagline {
    margin-top: 6px;
    font-size: 1em;
    font-weight: 400;
    color: #555;
    line-height: 1.6;
    max-width: 480px;
}

/* =====================
   NAV CARDS
   ===================== */

.nav-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 8px 24px 14px;
}

.nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    padding: 20px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: #1a1a2e;
    border: 1px solid #e8e8e8;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    gap: 10px;
}

.nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #4a90d9;
    color: #1a1a2e;
}

.nav-card .card-icon {
    font-size: 2em;
    line-height: 1;
}

.nav-card .card-title {
    font-size: 0.95em;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.nav-card .card-desc {
    font-size: 0.78em;
    color: #888;
    text-align: center;
    line-height: 1.4;
}

/* =====================
   SOCIAL LINKS
   ===================== */

.social-section {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 16px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 24px;
    background: #1a1a2e;
    color: #fff;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
    background-color: #4a90d9;
    transform: translateY(-2px);
    color: #fff;
}

/* =====================
   FOOTER
   ===================== */

footer {
    text-align: center;
    padding: 12px;
    font-size: 0.8em;
    color: #aaa;
    border-top: 1px solid #e8e8e8;
    background: #fff;
}

/* =====================
   RESPONSIVE
   ===================== */

@media (max-width: 600px) {
    .hero-bg {
        height: 160px;
    }

    .headshot-wrapper {
        width: 200px;
        height: 200px;
    }

    .name {
        font-size: 1.7em;
    }

    .nav-section {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .nav-card {
        width: 100%;
        max-width: 320px;
        flex-direction: row;
        justify-content: flex-start;
        padding: 20px 24px;
        gap: 16px;
    }

    .nav-card .card-icon {
        font-size: 1.6em;
    }
}
