/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Full-page background */
body {
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    color: white;
    background: 
        linear-gradient(rgba(5, 24, 40, 0.68), rgba(7, 39, 59, 0.68)),
        url("../_images/Background\ Image\ 2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Main wrapper fills the screen */
#wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Center the main content vertically similar to Figma */
header {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding-top: 140px;
}

/* Main heading */
header h1 {
    font-size: 4.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

/* Subheading */
header h2 {
    font-size: 3.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 110px;
    letter-spacing: 1px;
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 55px;
    flex-wrap: wrap;
}

/* Remove the visible | separators effect by hiding text spacing around links */
nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 2.2rem;
    font-weight: 300;
    transition: 0.3s ease;
}

/* Hover effect */
nav a:hover {
    color: white;
    transform: translateY(-2px);
}

/* Footer */
footer {
    text-align: center;
    padding: 25px 20px 35px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Footer link */
footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Since your footer has a lone li, remove the bullet */
footer li {
    list-style: none;
    margin-top: 8px;
}

/* Tablet */
@media (max-width: 900px) {
    header {
        padding-top: 110px;
    }

    header h1 {
        font-size: 3.2rem;
    }

    header h2 {
        font-size: 2.5rem;
        margin-bottom: 80px;
    }

    nav {
        gap: 32px;
    }

    nav a {
        font-size: 1.8rem;
    }
}

/* Mobile */
@media (max-width: 600px) {
    header {
        padding: 90px 20px 0;
    }

    header h1 {
        font-size: 2.4rem;
    }

    header h2 {
        font-size: 1.9rem;
        margin-bottom: 55px;
    }

    nav {
        gap: 18px;
        flex-direction: column;
    }

    nav a {
        font-size: 1.5rem;
    }

    footer {
        font-size: 0.95rem;
    }
}

/* About Page Main Section */
.about-main {
    text-align: center;
    padding: 80px 40px;
}

.about-text {
    font-size: 2.8rem;
    font-weight: 300;
    color: rgba(255,255,255,0.92);
    margin-bottom: 80px;
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.resume-section {
    width: 700px;
    height: 900px;
    max-width: 100%;
    max-height: 100%;
}

.resume-section img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}


.linkedin-section {
    max-width: 300px;
    text-align: center;
}

.linkedin-section p {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: rgba(255,255,255,0.9);
}

.linkedin-logo {
    width: 180px;
    transition: 0.3s ease;
}

.linkedin-logo:hover {
    transform: scale(1.08);
    opacity: 0.9;
}

/* Gallery Page */
.gallery-main {
    text-align: center;
    padding: 80px 40px;
}

/* Title text */
.gallery-text {
    font-size: 2.5rem;
    font-weight: 300;
    color: rgba(255,255,255,0.92);
    margin-bottom: 60px;
}

/* Grid layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    justify-items: center;
}

/* Images */
.gallery-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    transition: 0.3s ease;
}

/* Taller images (like your Figma center ones) */
.gallery-img.tall {
    max-width: 260px;
}

/* Hover effect */
.gallery-img:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Links Page */
.links-main {
    text-align: center;
    padding: 80px 20px;
}

/* Top text */
.links-text {
    font-size: 2.6rem;
    font-weight: 300;
    color: rgba(255,255,255,0.92);
    margin-bottom: 60px;
}

/* Container */
.links-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 45px;
}

/* Individual links */
.link-item {
    font-size: 2.2rem;
    font-weight: 300;
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
    max-width: 700px;
    line-height: 1.4;
    transition: 0.3s ease;
}

/* Hover effect */
.link-item:hover {
    color: white;
    transform: translateY(-3px);
}

/* Media Page */
.media-main {
    text-align: center;
    padding: 80px 20px 140px;
}

.media-text {
    font-size: 2.5rem;
    font-weight: 300;
    color: rgba(255,255,255,0.92);
    margin-bottom: 50px;
    line-height: 1.35;
}

.video-wrapper {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background-color: rgba(255,255,255,0.85);
    padding: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}