/* =========================================================
   COLOR THEME VARIABLES
   ========================================================= */
:root {
    --navy: #0A1A2F;
    --slate: #394552;
    --ice: #c7dff6;
    --accent-blue: #4C8DFF;
    --accent-teal: #7ED6D1;
}

/* =========================================================
   GLOBAL RESET
   ========================================================= */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--ice);
    color: var(--navy);
    margin: 0;
}

.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px;
}

/* =========================================================
   HEADER
   ========================================================= */
#name {
    font-size: 18px;
    border: 2px solid var(--navy);
    display: inline-block;
    padding: 8px 14px;
    background: white;
    margin-top: 15px;
}

#name a {
    color: var(--navy);
    text-decoration: none;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 12px;
    padding: 0;
    margin: 0;
}

.nav li {
    border: 2px solid var(--navy);
    padding: 5px 10px;
    background: white;
}

.nav a {
    color: var(--navy);
    text-decoration: none;
}

/* Mobile hamburger */
.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        cursor: pointer;
        padding: 10px;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--navy);
        margin: 5px 0;
    }

    .nav ul {
        display: none;
        flex-direction: column;
        background: white;
        padding: 20px;
        margin-top: 10px;
        border: 2px solid var(--navy);
    }

    .menu-toggle:checked ~ .nav-links {
        display: flex;
    }
}

/* =========================================================
   LINKS (your lightbox-trigger <li>)
   ========================================================= */

   .links ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
    justify-content: center;
}

.links li {
    background: var(--ice);
    padding: 15px 20px;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid var(--navy);
    font-weight: 600;
    transition: 0.25s ease;
    user-select: none;
}

.links li:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
    transform: scale(1.05);
}

.links li:active {
    transform: scale(0.97);
}

/* =========================================================
   LIGHTBOX (UPDATED FOR VERTICAL + SCROLLING)
   ========================================================= */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: flex-start;  /* start at top for scroll */
    overflow-y: auto;         /* ENABLE SCROLLING */
    padding: 40px 0;          /* prevent images from touching edges */
    z-index: 9999;
}

.lightbox-content {
    display: flex;
    flex-direction: column;   /* vertical layout */
    align-items: center;
    gap: 30px;
    width: 100%;
}

.lightbox-content img {
    width: 90%;
    max-width: 1000px;   /* Bigger images */
    border-radius: 8px;
}

.close {
    position: fixed;  /* stays visible while scrolling */
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10000;
}

/* MOBILE */
@media (max-width: 700px) {
    .lightbox-content img {
        width: 95%;
        max-width: 95%;
    }
}
