/* Site-wide navigation and layout styles for multi-page personal website */

/* ---- Top Navigation Bar ---- */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e8e8e8;
    padding: 0 6vw;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Poppins', sans-serif;
    transition: box-shadow 0.3s ease;
}

.site-nav.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.site-nav .nav-name {
    font-size: 16px;
    font-weight: 600;
    color: #353535;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.site-nav .nav-name:hover {
    color: #555;
}

.site-nav .nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav .nav-links a {
    font-size: 14px;
    font-weight: 400;
    color: #555;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    position: relative;
}

.site-nav .nav-links a:hover,
.site-nav .nav-links a.active {
    color: #353535;
}

.site-nav .nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1.5px;
    background: #353535;
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: #353535;
    cursor: pointer;
    padding: 4px;
}

@media screen and (max-width: 768px) {
    .site-nav {
        padding: 0 5vw;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav .nav-links {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        gap: 0;
        padding: 8px 0 16px;
        border-bottom: 1px solid #e8e8e8;
    }

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

    .site-nav .nav-links a {
        padding: 12px 6vw;
        font-size: 15px;
    }

    .site-nav .nav-links a.active::after {
        display: none;
    }
}

/* Push content below fixed nav */
body {
    padding-top: 56px;
}

/* ---- Social Icon Links ---- */
.social-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.social-icons a {
    color: #858585;
    font-size: 20px;
    transition: color 0.2s ease;
    text-decoration: none;
}

.social-icons a:hover {
    color: #353535;
}

/* ---- Footer ---- */
footer.site-footer {
    padding: 40px 6vw;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    border-top: 1px solid #e8e8e8;
}

footer.site-footer .footer-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

footer.site-footer .footer-icons a {
    color: #858585;
    font-size: 20px;
    transition: color 0.2s ease;
    text-decoration: none;
}

footer.site-footer .footer-icons a:hover {
    color: #353535;
}

footer.site-footer .footer-email {
    font-size: 14px;
    color: #858585;
    margin-bottom: 20px;
}

footer.site-footer .footer-email a {
    color: #555;
    text-decoration: none;
}

footer.site-footer .footer-email a:hover {
    color: #353535;
}

footer.site-footer .footer-credit {
    font-size: 12px;
    color: #aaa;
}

footer.site-footer .footer-credit a {
    color: #999;
    text-decoration: none;
}

footer.site-footer .footer-credit a:hover {
    color: #353535;
}

/* ---- Home Page Hero ---- */
.home-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 60px 8vw;
    max-width: 1200px;
    margin: 0 auto;
}

.home-hero .hero-photo {
    flex-shrink: 0;
}

.home-hero .hero-photo img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
}

.home-hero .hero-text {
    max-width: 560px;
}

.home-hero .hero-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #353535;
    margin: 0 0 4px;
}

.home-hero .hero-text .pronouns {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #858585;
    margin: 0 0 16px;
}

.home-hero .hero-text .hero-icons {
    margin-bottom: 24px;
}

@media screen and (max-width: 768px) {
    .home-hero {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 6vw;
    }

    .home-hero .hero-photo img {
        width: 220px;
        height: 220px;
    }

    .home-hero .hero-text h1 {
        font-size: 26px;
    }

    .home-hero .hero-icons {
        justify-content: center;
    }
}

/* ---- Page Header ---- */
.page-header {
    padding: 48px 8vw 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #353535;
    margin: 0;
}

/* ---- CV Page ---- */
.cv-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 6vw 60px;
}

.cv-container .cv-download {
    margin-bottom: 24px;
}

.cv-container iframe {
    width: 100%;
    height: 80vh;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
}

/* ---- Project Cards ---- */
.project-entry {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #ececec;
}

.project-entry:last-child {
    border-bottom: none;
}

.project-entry h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #353535;
    margin: 0 0 6px;
}

.project-entry .project-meta {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #858585;
    margin-bottom: 4px;
}

.project-entry .project-meta a {
    color: #555;
}

.project-entry .project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
