/* ========================================================= 
   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 {
    margin-top: 15px;
    text-align: center;
    position: relative;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 0;
    margin: 0;
}

.nav-links li {
    border: 2px solid var(--navy);
    padding: 5px 10px;
    background: white;
    font-size: 12px;
    min-width: 120px;
    text-align: center;
}

.nav-links a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

/* Hamburger toggle */
.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
}

/* =========================================================
   MOBILE NAV
   ========================================================= */
@media (max-width: 768px) {

    .hamburger {
        display: block;
        cursor: pointer;
        padding: 10px;
        position: absolute;
        right: 10px;
        top: -5px;
        z-index: 1000;
    }

    .hamburger span {
        display: block;
        width: 28px;
        height: 3px;
        background: var(--navy);
        margin: 5px 0;
        border-radius: 2px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: white;
        padding: 20px;
        border: 2px solid var(--navy);
        position: absolute;
        right: 0;
        top: 45px;
        width: 220px;
        z-index: 999;
        gap: 15px;
    }

    .menu-toggle:checked ~ .nav-links {
        display: flex;
    }
}

/* =========================================================
   MULTI-IMAGE SCROLLING LIGHTBOX
========================================================= */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    overflow-y: auto;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 0;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 30px;
}

.lightbox-content img {
    width: 60%;
    max-width: 750px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* Big Lightbox Close Button */
.close-btn {
    position: fixed;
    top: 25px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
    z-index: 10001;
}

/* =========================================================
   SINGLE-IMAGE LIGHTBOXES (Travel + Shapes)
========================================================= */
.single-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.single-lightbox.active {
    display: flex;
    animation: fadeIn 0.25s ease-out;
}

.single-lightbox .single-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* Close Buttons for Single Lightboxes */
.close-travel,
.close-shapes {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    user-select: none;
}

/* Fade Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to   { opacity: 1; transform: scale(1); }
}

/* =========================================================
   WORK THUMBNAILS
========================================================= */
.work {
    text-align: center;
    margin-bottom: 25px;
}

.work img {
    width: 750px;
    max-width: 90%;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s;
}

.work img:hover {
    transform: scale(1.02);
}

/* =========================================================
   RESPONSIVE DESIGN
========================================================= */
@media (max-width: 650px) {

    .hamburger {
        display: flex;
        position: absolute;
        right: 15px;
        top: -5px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -260px;
        width: 260px;
        height: 100%;
        background: white;
        flex-direction: column;
        padding-top: 80px;
        gap: 20px;
        transition: 0.35s ease;
        box-shadow: -4px 0 25px rgba(0,0,0,0.2);
        z-index: 1000;
    }

    .menu-toggle:checked ~ .nav-links { right: 0; }

    .menu-toggle:checked + .hamburger span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .menu-toggle:checked + .hamburger span:nth-child(2) { opacity: 0; }
    .menu-toggle:checked + .hamburger span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .lightbox-content img {
        width: 90%;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .work img {
        width: 100%;
    }
}
