/* =========================================================
   GLOBAL RESET
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================================================
   PAGE HEIGHT FIX (KEEPS BOTTOM BAR AT BOTTOM)
========================================================= */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

/* Pushes content so bottom bar stays at bottom */
.content {
    flex: 1;
}

/* =========================================================
   BODY
========================================================= */
body {
    font-family: 'Oswald', sans-serif;
    background-color: #cfcfd1;
    text-align: center;
}

/* =========================================================
   NAVBAR
========================================================= */
nav {
    background-color: #000000;
    padding: 30px 0;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 30px;
    font-size: 22px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

/* =========================================================
   UNIVERSAL CONTENT WRAPPER
========================================================= */
.content h1 {
    color: #000;
    font-size: 38px;
    margin-bottom: 25px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.intro {
    font-size: 22px;
    font-weight: 400;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* =========================================================
   HOME PAGE — FIXED IMAGE SIZE
========================================================= */
.home-photo {
    width: 420px;       /* adjust to match your Figma */
    height: auto;       /* prevents distortion */
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    margin-top: 20px;
}

/* =========================================================
   ABOUT PAGE
========================================================= */
.about-gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.about-img {
    width: 350px;
    border-radius: 5px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.about-img--large {
    width: 520px;
}

@media (max-width: 760px) {
    .about-img,
    .about-img--large {
        width: 90%;
        max-width: 420px;
    }
}

/* =========================================================
   CONTACT PAGE
========================================================= */
.contact-inner {
    max-width: 1000px;
    margin: 60px auto;
    display: flex;
    gap: 40px;
    padding: 0 20px;
    justify-content: center;
}

/* FIXED — NO MORE WARPING */
.contact-headshot {
    width: 350px;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.contact-form {
    width: 420px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #bbb;
    font-family: inherit;
}

.contact-form button {
    padding: 10px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
}

@media (max-width: 760px) {
    .contact-inner {
        flex-direction: column;
        align-items: center;
    }
    .contact-form {
        width: 100%;
        max-width: 520px;
    }
}

/* =========================================================
   MEDIA PAGE
========================================================= */
.media-video iframe {
    max-width: 100%;
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

/* =========================================================
   RESUME PAGE
========================================================= */
/* =========================================================
   RESUME PAGE ICON LINKS
========================================================= */

.resume-icon-links {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 22px;
}

.resume-icon {
    width: 50px;       /* smaller + cleaner */
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.resume-icon:hover {
    transform: scale(1.08);
}

/* =========================================================
   GALLERY PAGE
========================================================= */
/* =========================================================
   GALLERY PAGE — SINGLE HORIZONTAL STRIP (FIGMA MATCH)
========================================================= */

.gallery-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    overflow-x: auto;      /* allows scrolling on small screens */
    white-space: nowrap;   /* prevents wrapping */
}

.gallery-item {
    display: inline-block;
    text-align: center;
}

.gallery-thumb {
    width: 220px;          /* consistent thumbnail size */
    height: auto;
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.gallery-caption {
    margin-top: 8px;
    font-size: 18px;
    color: #000;
}
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
}

.lightbox img {
    max-width: 92%;
    max-height: 86%;
    border-radius: 6px;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 36px;
    background: none;
    color: #fff;
    border: none;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

/* =========================================================
   LINKS PAGE
========================================================= */
.links-list {
    list-style: none;
    padding: 0;
    margin-top: 18px;
}

.links-list li {
    margin: 8px 0;
}

.links-list a {
    color: #000;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
}

.links-list a:hover {
    background: rgba(0,0,0,0.06);
}

/* =========================================================
   BOTTOM BAR
========================================================= */
section {
    height: 90px;
    background-color: #7fb3a6;
}