/* -----------------------------
   GLOBAL
------------------------------ */

:root {
    --bg-color: #fff;
    --social-color: #333;
    --accent-color: rgb(228, 182, 186);
    --soft-pink: rgb(249, 235, 237);
    --light-border: #eeeeee;
}

body {
    font-family: 'Sora', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: #111;
}

h1 {
    font-weight: 800;
    margin-bottom: 0;
}

h3 {
    font-weight: 600;
}

p {
    font-weight: 400;
}


/* -----------------------------
   NAVBAR
------------------------------ */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    box-sizing: border-box;

    padding: 22px 40px 0;
    margin-right: 0;

    font-size: 20px;
}

.navbar ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.navbar a {
    text-decoration: none;
    font-weight: 500;
    color: black;
    transition: color 0.3s;
}

.navbar a:hover {
    color: var(--accent-color);
}

.navbar a.active {
    font-weight: 600;
    color: var(--accent-color);
}

body.main-page .navbar {
    justify-content: center;
    padding-top: 40px;
}

body:not(.main-page) .navbar {
    justify-content: space-between;
}


/* -----------------------------
   MAIN PAGE
------------------------------ */

.home {
    display: flex;
    font-size: 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 85vh;
    text-align: center;
    background: #fff;
    color: #333;
}

.typewriter {
    font-size: 3rem;
    color: var(--accent-color);
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    line-height: 1.2;
}

.typewriter::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: var(--accent-color);
    margin-left: 4px;
    animation: blink 0.7s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}


/* -----------------------------
   ABOUT PAGE
------------------------------ */

.about-content {
    max-width: 1000px;
    margin: 0 auto 55px;
    padding: 0 30px;
    text-align: left;
}

.about-content:first-of-type {
    margin-top: 55px;
    margin-bottom: 20px;
}

.about-content h1 {
    font-size: 3rem;
}

.about-content h3 {
    font-weight: 600;
    margin-bottom: 15px;
}

.about-content p {
    line-height: 1.7;
    margin: 10px 0;
}


/* Intro / two-column layout */

.about-intro {
    display: grid;
    grid-template-columns: 1.45fr 0.75fr;
    gap: 70px;
    align-items: center;
}

.about-text {
    min-width: 0;
}

.tagline {
    font-size: 0.72rem;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 25px !important;
}


/* Boeing link */

.company-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.company-link:hover {
    text-decoration: underline;
    color: var(--accent-color);
}


/* Resume button */

.resume-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 22px;

    background-color: var(--soft-pink);
    color: #111;

    border-radius: 30px;

    text-decoration: none;
    font-size: 14px;
    font-weight: 500;

    transition:
        background-color 0.3s ease,
        transform 0.2s ease;
}

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


/* About photo */

.about-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-photo img {
    width: 100%;
    max-width: 300px;
    height: 360px;
    object-fit: cover;
    border-radius: 12px;
}

.photo-placeholder {
    width: 100%;
    max-width: 300px;
    height: 360px;

    background-color: var(--soft-pink);

    border-radius: 12px;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #888;
    font-size: 13px;
}

.about-photo span {
    margin-top: 12px;
    color: var(--accent-color);
    font-size: 13px;
    font-style: italic;
}


/* -----------------------------
   BUILD / COLLABORATE / LEARN /
   EXPLORE
------------------------------ */

.values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;

    border-top: 1px solid var(--light-border);
    border-bottom: 1px solid var(--light-border);

    padding-top: 28px;
    padding-bottom: 28px;
}

.value {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.value-icon {
    width: 45px;
    height: 45px;

    display: flex;
    justify-content: center;
    align-items: center;

    flex-shrink: 0;

    border-radius: 50%;
    background-color: var(--soft-pink);

    font-size: 18px;
}

.value strong {
    font-size: 13px;
    font-weight: 600;
}

.value p {
    font-size: 11px;
    color: #666;

    margin: 3px 0 0;

    line-height: 1.4;
}


/* -----------------------------
   PROJECT LINKS
------------------------------ */

.project-link {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.project-link:hover {
    text-decoration: underline;
    color: var(--accent-color);
}


/* -----------------------------
   CONTACT PAGE
------------------------------ */

.contact-page {
    font-family: 'Sora', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-page .navbar {
    width: 100%;
}

.contact-content {
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;

    margin: 0 auto 40px;
    padding: 0 30px;

    text-align: left;
}

.contact-content h1 {
    font-size: 3rem;
    text-align: left;
}

.contact-content p {
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-content:first-of-type {
    margin-top: 60px;
}


/* -----------------------------
   SOCIAL ICONS / FOOTER
------------------------------ */

.footer {
    background-color: var(--bg-color);
    padding: 40px 0 20px;
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid #f0f0f0;
}

.social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.social-icons a {
    text-decoration: none;
    font-size: 20px;
    color: var(--social-color);

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background-color: #f7f7f7;

    transition:
        transform 0.2s ease,
        color 0.3s ease,
        background-color 0.3s ease;
}

.social-icons a:nth-child(1) {
    background-color: #ADE2FF;
}

.social-icons a:nth-child(2) {
    background-color: #A3A3A3;
}

.social-icons a:nth-child(3) {
    background-color: #F2BAD3;
}

.social-icons a:nth-child(4) {
    background-color: #F7A4A1;
}

.social-icons a:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

.page-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px 15px;
    font-size: 14px;
    color: #888;
    font-family: 'Sora', sans-serif;
}

.footer-counter img {
    display: block;
    opacity: 0.65;
}

.footer-counter img:hover {
    opacity: 1;
}

.footer-desc-text {
    font-size: 14px;
    color: var(--social-color);
    line-height: 1.6;
}

.page-footer em {
    font-style: normal;
}

/* PHOTOGRAPHY PAGE */
photography-content {
    max-width: 1100px;
    margin: 55px auto 70px;
    padding: 0 30px;
}

.photography-header {
    margin-bottom: 40px;
    padding: 0 40px;
}

.photography-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.photography-header .tagline {
    margin-top: 10px;
    margin-bottom: 15px !important;
}

.photography-intro {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.gallery-photo {
    overflow: hidden;
    border-radius: 10px;
}

.gallery-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.gallery-photo img:hover {
    transform: scale(1.03);
    opacity: 0.92;
}

.photo-signoff {
    margin-top: 18px;
    text-align: right;
    color: var(--accent-color);
    font-size: 13px;
    font-style: italic;
}

/* -----------------------------
   MOBILE
------------------------------ */

@media (max-width: 800px) {

    .navbar {
        margin-right: 15px;
        font-size: 15px;
    }

    .navbar ul {
        gap: 15px;
    }

    .about-content {
        padding: 0 24px;
    }

    .about-content h1 {
        font-size: 2.5rem;
    }

    .about-intro {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-photo {
        order: -1;
    }

    .photo-placeholder,
    .about-photo img {
        max-width: 100%;
        height: 350px;
    }

    .photography-content {
        width: 100%;
        max-width: 1200px;
        box-sizing: border-box;

        margin: 60px auto 70px;
        padding: 0 40px;
    }

    .photography-header h1 {
        font-size: 2.5rem;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .tagline {
        letter-spacing: 2px;
        line-height: 1.8;
    }

    .typewriter {
        font-size: 2rem;
    }

    
}


@media (max-width: 500px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
        margin-right: 0;
    }

    .navbar ul {
        gap: 12px;
    }

    .values {
        grid-template-columns: 1fr;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}