/* HUD palette — Woods (mist) */
:root {
    --accent: #ebeddd;
}


/* ZZ. Borders for problem solving */


/* table tr td {
    border: 1px solid cyan;
} */


/* ZZ. Borders for problem solving */


/* General Styles */
html {
    margin: 0;
    padding: 0;
}

body {
    line-height: 1.88889;
    margin: 0;
    padding: 0;
    height: 100%;
}

p {
    font-family: "source-code-variable", monospace;
    margin: 0;
    padding: 0 20px;
    color: #ebeddd;
    font-variation-settings: 'wght' 200;
    line-height: 1.4;
    font-size: 1.4em;
    text-shadow: 0 0 10px #ebeddd;
}

h1 {
    font-family: "bd-geminis", monospace;
    font-weight: 400;
    font-style: normal;
    color: #ebeddd;
    font-size: 3em;
    padding: 0 20px;
    text-align: center;
    text-shadow: 0 0 10px #ebeddd;
}

h3 {
    font: italic normal 1.4em georgia, monospace;
    letter-spacing: 1px;
    margin-bottom: 0;
    color: #7D775C;
    text-shadow: 0 0 10px #7D775C;
}

a:link {
    font-weight: bold;
    text-decoration: none;
    color: #ebeddd;
    text-shadow: 0 0 10px #ebeddd;
}

a:visited {
    font-weight: bold;
    text-decoration: none;
    color: #ffffff;
    text-shadow: 0 0 10px #ffffff;
}

a:hover,
a:focus,
a:active {
    color: #9685BA;
    text-shadow: 0 0 10px #9685BA;
}

abbr {
    border-bottom: none;
}

/* General Styles */


/* Background Styles */
.city {
    background-image: url('assets/woods-background.jpg');
    background-repeat: repeat-y !important;
    background-size: cover !important;
    background-position: center;
    image-rendering: pixelated;
}

.city-box {
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px
}

.content-box {
    background-image: url('assets/Techture-Home_Cream.png');
    background-size: contain;
    background-color: rgba(10, 0, 40, 0.786);
    border: 2px double #ebeddd;
    border-radius: 15px;
    position: inherit;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
}

.content-border {
    text-shadow: 0 0 10px #9685BA;
}

.nav {
    color: #ebeddd;
    font-family: 'source-code-variable', monospace;
    padding: 0;
    font-size: 1em;
    text-align: right;
    text-transform: uppercase;
    font-variation-settings: 'wght' 200;
}

/* Background Styles */


/* MOBILE STYLES */
@media screen and (max-width: 600px) {

    /* ALLOWS FOR FLUID TABLES */
    .wrapper {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* ADJUSTS LAYOUT OF LOGO IMAGE */
    .logo img {
        margin: 0 auto !important;
    }

    /* USE THESE CLASSES TO HIDE CONTENT ON MOBILE */
    .mobile-hide {
        display: none !important;
    }

    .img-max {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* FULL-WIDTH TABLES */
    .responsive-table {
        width: 100% !important;
    }

    /* UTILITY CLASSES FOR ADJUSTING PADDING ON MOBILE */
    .padding {
        padding: 10px 5% 15px 5% !important;
    }

    .padding-meta {
        padding: 30px 5% 0px 5% !important;
        text-align: center;
    }

    .no-padding {
        padding: 0 !important;
    }

    .section-padding {
        padding: 50px 15px 50px 15px !important;
    }

    /* ADJUST BUTTONS ON MOBILE */
    .mobile-button-container {
        margin: 0 auto;
        width: 100% !important;
    }

    .mobile-button {
        padding: 15px !important;
        border: 0 !important;
        font-size: 16px !important;
        display: block !important;
    }

    .mobile-paragraph {
        font-size: .6em;
        line-height: 1.4;
    }
}

/* MOBILE STYLES */


/* Desktop Only Styles */
@media only screen and (min-width: 600px) {

    /* USE THESE CLASSES TO HIDE CONTENT ON MOBILE */
    .desktop-hide {
        display: none !important;
    }
}

@media only screen and (min-width: 1000px) {

    /* USE THESE CLASSES TO HIDE CONTENT ON MOBILE */
    .nav {
        color: #ebeddd;
        font-family: 'source-code-variable', monospace;
        padding: 0;
        font-size: 1.5em;
        text-align: right;
        text-transform: uppercase;
        font-variation-settings: 'wght' 200;
    }
}

/* Desktop Only Styles */


/* The sidebar menu */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-image: url('assets/woods-background.jpg');
    background-repeat: space;
    background-size: cover;
    padding: 0;
    overflow-x: hidden;
    padding-top: 60px;
    transition: 0.5s;
}

.sidebar a {
    padding: 8px 18px 8px 0px;
    text-decoration: none;
    font-size: 20px;
    color: #ebeddd;
    display: block;
    transition: 0.3s;
    padding-left: 20px;
    padding-right: 20px;
    text-align: left;
    font-family: 'source-code-variable', monospace;
    font-variation-settings: 'wght' 200;
}

.sidebar a:hover {
    color: #f1f1f1;
}

.sidebar .closebtn {
    position: absolute;
    top: 10px;
    left: 0px;
    font-size: 36px;
    margin-left: 0px;
}

.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #ebeddd;
    color: #081645;
    padding: 5px 10px;
    border: none;
    border-radius: 10px;
    text-align: center;
    right: 10px;
    top: 20px;
}

.openbtn:hover {
    background-color: #440044;
}

@media screen and (max-height: 450px) {
    .sidebar {
        padding-top: 15px;
    }

    .sidebar a {
        font-size: 18px;
    }
}

/* The sidebar menu */


/* Gallery Styles */
td.gallery {
    border: none;
    width: 24%;
    height: auto;
    display: inline-block;
    padding: .25% .5%;
}

td.gallery:hover {}

td.gallery img {
    width: 100%;
    height: auto;
    padding: 0;
}

td.gallery-three {
    border: none;
    width: 24%;
    height: auto;
    display: inline-block;
    padding: .25% .5%;
}

td.gallery-three:hover {}

td.gallery-three img {
    width: 100%;
    height: auto;
    padding: 0;
}

td.gallery-single {
    border: none;
    width: 49%;
    height: auto;
    display: inline-block;
    padding: .125% 22%;
}

td.gallery-single:hover {}

td.gallery-single img {
    width: 100%;
    height: auto;
    padding: 0;
}

td.mobile-gallery {
    border: none;
    width: 49%;
    height: auto;
    display: inline-block;
    padding: 0 .5%;
}

td.mobile-gallery:hover {}

td.mobile-gallery img {
    width: 100%;
    height: auto;
    padding: 0;
}

.fadeimg {
    transition: 0.3s !important;
    opacity: 1 !important;
}

.fadeimg:hover {
    transition: 0.3s !important;
    opacity: 0.5 !important;
}

td.deco-color {
    filter: saturate(8) hue-rotate(290deg) brightness(80%);
}

.container {
    position: relative;
}

.overlap1 {
    position: relative;
    z-index: 1;
}

.overlap2 {
    position: absolute;
    z-index: 2;
    top: -5px;
}

/* Gallery Styles */

:root {
    --gap: 12px;
    --bg: #0f1724;
    --card: #0b1220
}

.wrap {
    max-width: 1600px;
    margin: 36px auto;
    padding: 18px
}

.row {
    display: grid;
    gap: var(--gap);
    margin-bottom: var(--gap)
}

.row.row-4 {
    grid-template-columns: repeat(4, 1fr)
}

.row.row-3 {
    grid-template-columns: repeat(3, 1fr);
    justify-content: center
}

figure {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px double #000;
    cursor: pointer;
    background: linear-gradient(180deg, #0b1220 0%, #07101a 100%)
}

img.gallery-img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    display: block;
    transition: transform .35s ease, opacity .3s ease
}

figure:hover img.gallery-img {
    transform: scale(1.03)
}

/* Lightbox overlay */
#lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 6, 23, 0.85);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

#lightbox.open {
    opacity: 1;
    pointer-events: auto
}

#lightbox .inner {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center
}

#lightbox img {
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 6px 30px rgba(0, 0, 0, .6);
    border-radius: 6px;
    max-height: 95vh;
}

/* nav buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.06);
    border: 0;
    color: #fff;
    padding: 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 20px
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.12)
}

.nav-left {
    left: 14px
}

.nav-right {
    right: 14px
}

/* close button */
.close-btn {
    position: absolute;
    right: 14px;
    top: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 0;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer
}

.caption {
    font-family: "bd-geminis", monospace;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    background: rgba(0, 0, 0, 0.45);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 30px;
    color: #fff;
}

@media (max-width:700px) {
    img.gallery-img {
        height: 140px
    }

    .row.row-4 {
        grid-template-columns: repeat(2, 1fr)
    }

    .row.row-3 {
        grid-template-columns: repeat(2, 1fr)
    }
}

/* Bottom Project Nav */
.bottom-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0 20px;
    margin-top: 20px;
}

.bottom-nav-label {
    font-family: "source-code-variable", monospace;
    color: #ebeddd;
    font-variation-settings: 'wght' 300;
    font-size: 1.1em;
    letter-spacing: 3px;
    filter: blur(.8px);
}

.bottom-nav-home {
    font-family: "source-code-variable", monospace;
    color: #ebeddd;
    font-variation-settings: 'wght' 300;
    font-size: 1em;
    letter-spacing: 3px;
    text-decoration: none;
    filter: blur(.8px);
    transition: color .25s ease;
}

.bottom-nav-home:hover,
.bottom-nav-home:focus {
    color: #f1f1f1;
}

.bottom-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    margin-top: 20px;
}

.bottom-nav-btn {
    flex: 1;
    min-width: 0;
    aspect-ratio: 3 / 1;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.2);
    display: block;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.bottom-nav-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bottom-nav-btn:hover,
.bottom-nav-btn:focus {
    transform: translateY(-3px);
    border-color: #ebeddd;
}

@media (max-width: 780px) {
    .bottom-nav,
    .bottom-nav-header {
        display: none;
    }
}

/* Project Hero — big banner in its own frame; text + gallery sit below it */
.project-hero {
    margin: 10px 5% 0;
    border: 2px double #ebeddd;
    border-radius: 15px;
    background: rgba(8, 22, 69, 0.5);
    overflow: hidden;
    padding: 0;
}

.project-hero img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: 0 0 28px rgba(156, 255, 253, 0.18);
}

.hero-text {
    padding: 18px 5% 4px;
}

.hero-kicker {
    font-family: "source-code-variable", monospace;
    color: #ebeddd;
    font-variation-settings: 'wght' 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 1.1em;
    margin-bottom: 10px;
    filter: blur(.8px);
}

.project-title {
    font-family: "bd-geminis", monospace;
    font-weight: 400;
    font-style: normal;
    color: #ebeddd;
    letter-spacing: 8px;
    text-transform: uppercase;
    font-size: 2em;
    margin: 0 0 14px;
    filter: blur(.8px);
}

.hero-desc p {
    font-family: "source-code-variable", monospace;
    color: #ebeddd;
    font-variation-settings: 'wght' 200;
    line-height: 1.5;
    font-size: 1.1em;
    padding: 0;
    margin: 0;
    max-width: none;
    text-shadow: 0 0 8px rgba(237, 237, 221, 0.35);
}

.hero-desc p + p {
    margin-top: 14px;
}

.gallery-label {
    font-family: "source-code-variable", monospace;
    color: #ebeddd;
    font-variation-settings: 'wght' 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 1.1em;
    margin-bottom: 10px;
    padding: 20px 5% 0;
    filter: blur(.8px);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 0 5% 8px;
}

.gallery figure {
    margin: 0;
    border: 1px solid rgba(237, 237, 221, 0.4);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(180deg, #0b1220 0%, #07101a 100%);
}

.gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    transition: transform .35s ease, opacity .3s ease;
}

.gallery figure:hover img {
    transform: scale(1.03);
    opacity: .85;
}

@media (max-width: 600px) {
    .project-hero { padding: 6px; border-radius: 12px; }
    .project-hero img { border-radius: 8px; }
    .hero-text { padding: 16px 5% 4px; }
    .project-title { font-size: 1.5em; letter-spacing: 5px; }
    .hero-desc p { font-size: .8em; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
}
