:root {
    --font-sans: 'Helvetica Neue', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
}

/* =====================================
   Typography & General Elements
   ===================================== */
a {
    text-decoration: none;
    color: black;
}

h1, h2, h3 {
    font-weight: 500;
}

h1 { font-size: 5.5vw; } 
h2 { font-size: 2.2vw;}
h3 { font-size: 1.1vw; }

p {
    font-size: 1.1vw;
}

ul li {
    font-size: 1.3em; 
}

#title {
    font-size: 1.3vw;
    padding-top: 20px;
}

.info p {
    font-size: 0.9vw !important;
    color:rgb(103, 103, 103);
}

.name{
    font-size: 3.5vw;
}

.proInfo{
    opacity: 0.6;
}

/* =====================================
   Layout Structure
   ===================================== */
.container {
    display: flex;
    min-height: 100vh;
}

section {
    padding-top: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid #eee;
}

.right-content section:last-of-type {
    border-bottom: none;
}

.left-nav {
    width: 33%;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    position: fixed; 
    top: 0;
    bottom: 0;
    box-shadow: 6px 0 10px rgba(4, 18, 78, 0.15);
    z-index: 10;
}

.left-nav h1 {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1; 
}

.left-nav h2 {
    font-size: 1.6em;
    margin-bottom: 0.2em;
}

.left-nav p {
    opacity: 0.6;
}

.left-nav ul {
    list-style-type: none; 
    margin-top: auto; 
    margin-bottom: auto;
    padding-left: 30px;
}

.left-nav ul li {
    margin-bottom: 15px;
    text-decoration: none;
}

.left-nav ul a {
    color: var(--color-sidebar-text);
    font-size: 1.9vw;
    display: block;
    padding: 8px 0;
    transition: all 0.2s ease-in-out;
}

.left-nav ul a:hover {
    color: var(--color-secondary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 18px;
    padding-bottom: 20px;
}

.social-links img {
    width: 1.6vw; 
    opacity: 0.6;
    transition: opacity 0.2s ease-in-out;
}

.social-links a:hover img {
    opacity: 1;
}

/* --- Right Content Area --- */
.right-content {
    flex-grow: 1;
    margin-left: 33%;
    padding: 0px 20px;
    background-image: url('../media/grid.png'); 
    background-size: 85%;
    background-attachment: fixed;
    background-color: var(--color-background);
}

.right-content h1{
    background-color: white;
    display:inline;
    padding-top: 2vw;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 10px;
    margin-left: 20px;
}

/* =====================================
   Intro & About Sections
   ===================================== */
#intro {
    padding: 0;
    border-bottom: none;
    box-shadow: none;
    background-color: transparent; 
}

#intro-video {
    margin-left: -10px;
    width: 50%; 
    height: auto;
    display: block;
    cursor: pointer;
}

.about-header-content{
    gap: 30px;
    background-color: white;
}

#about h1 {
    color: var(--color-primary);
    margin-top: 0;
}

#me {
    width: 20%;
    position: absolute;
    top: 20px;
    left: 60px;
    will-change: transform; 
    z-index: 5;
}

/* =====================================
   Contact Section
   ===================================== */
.contact{
    padding-top: 60px;
    padding-bottom: 40px;
    padding-left: 30px;
}

.right-content .contact a {
    transition: transform 0.2s ease-in-out; 
    display: block; 
    padding-top: 15px;
    padding-bottom: 15px;
    list-style-type: disc !important;
}

.right-content .contact a:hover {
    transform: translateX(5px); 
}

/* =====================================
   Filter/Dropdown
   ===================================== */
.filter-wrapper {
    padding: 15px 10px 0 20px;
    display: flex; 
    justify-content: flex-end; 
}

.filter {
    position: relative;
    display: inline-block;
    z-index: 20;
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.dropdown-toggle {
    background-color: white;
    color: black;
    padding: 10px 20px;
    font-size: 1.3em;
    cursor: pointer;
    border: 2px solid rgb(65, 65, 65);
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.2s;
    outline: none;
    font-family: var(--font-sans);
    position: relative; 
    z-index: 100; 
    margin-right: 10px;
}

.dropdown-toggle:hover {
    background-color: #f0f0f0;
}

.dropdown-menu {
    list-style-type: none;
    position: absolute;
    right: 10px;
    top: 100%;
    margin-top: 5px;
    min-width: 200px; 
    background-color: white;
    border: 2px solid rgb(65, 65, 65);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
    padding: 10px 0;
    z-index: 99; 
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu li {
    font-size: 1.2em; 
    padding: 12px 20px; 
    cursor: pointer;
    line-height: 1.3;
    transition: background-color 0.2s, color 0.2s;
    display: block;
    text-align: left; 
    margin: 0;
}

.dropdown-menu li:hover {
    background-color: #f0f0f0;
}

.dropdown-menu .active-filter {
    font-weight: bold;
}

.dropdown-menu li[data-filter="all"].active-filter {
    color: #F24B3A; 
}

.dropdown-menu li[data-filter="ui-ux"].active-filter {
    color: #F5B401; 
}

.dropdown-menu li[data-filter="motion"].active-filter {
    color: #19BD6D; 
}

.dropdown-menu li[data-filter="coding"].active-filter {
    color: #F24B3A;
}

.dropdown-menu li[data-filter="industrial-design"].active-filter {
    color: #4286F4; 
}

/* =====================================
   Portfolio/Project Grid
   ===================================== */
.portfolio-grid {
    column-count: 2;
    column-gap: 10px;
    padding: 10px 20px 20px;
}

.video-item {
    display: block; 
    width: 100%;
    margin-bottom: 10px;
    break-inside: avoid;
    border-width: 2px;
    border-style: solid;
    border-color: rgb(65, 65, 65);
    border-radius: 12px;
    position: relative; 
    transition: transform 0.3s ease-in-out; 
}

.video-item:hover {
    transform: scale(1.03); 
    z-index: 10; 
}

.video-item video,
.video-item img {
    width: 100%;
    height: auto; 
    display: block;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.portfolio-grid .info{
    padding: 8px;
    padding-left: 20px;
    background-color: white;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-color: rgb(65, 65, 65);
}

.portfolio-grid .info p{
    color:rgb(103, 103, 103);
}

.project-item {
    background-color: #fff;
    padding: 25px;
    margin-bottom: 25px;
    transition: box-shadow 0.3s;
}

/* =====================================
   Project Details / Content Pages
   ===================================== */
.content{
    padding-top: 20px;
    padding-left: 60px;
    padding-right: 60px;
    padding-bottom: 25px;
    background-color: white;
    margin: 20px;
    margin-top: 15px;
    border-radius: 15px;
    border-width: 2px;
    border-style: solid;
    border-color: rgb(65, 65, 65);
    position: relative;
    overflow: hidden;
}

.content .text{
    background-color: white;
    padding-bottom: 0.5vw;
    flex-grow: 1;
}

.text h3{
    padding-bottom: 10px;
}

#last{
    padding-bottom: 15px;
}

.content h1{
    width: 4vw !important;
}

.content p {
    padding-bottom: 10px;
}

.content a {
    text-decoration: underline;
    color: rgb(45, 95, 188);
}

.content video{
    display: block;
    margin: auto;
    width: 100%;
    margin-bottom: 25px;
    margin-top: 15px;
    border-radius: 10px;
}

.content img{
    display: block;
    margin: auto;
    width: 100%;
}

.exhibit{
    margin-top: 25px !important;
    margin-bottom: 25px !important;
    padding-top: 15px;
}

 .exhibit2{
    margin-top: 25px !important;
 }

.image-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px auto auto auto;
}

.caption {
    text-align: left !important; 
}

.caption p{
    margin: 0 !important;
    opacity: 0.6;
}

/* --- Clothing/Art Examples --- */
.clothing, .clothing2 {
    text-align: center;
}

.clothing img{
    width: 49.6%;
    display: inline;
}

.clothing2 img{
    display: inline;
    width: 32.8%;
    margin-left: auto;
    margin-right: auto;
}

.tee{
    width: 50% !important;
    margin-left: auto;
    margin-right: auto;
}

#hero img{
    width: 49.6%;
    padding-bottom: 25px;
    padding-top: 15px;
    display: inline;
}

.artexamples{
    margin: auto;
    width: 90%;
    float: right;
    padding-top: 10px;
}

.artexamples img{
    display: inline-block;
}

.content .art1{
    width: 30%;
}
.content .art2{
    width: 58%;
}
.content .art3{
    width: 58%;
}
.content .art4{
    width: 30%;
}

/* =====================================
   Lightbox
   ===================================== */
#lightbox {   
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

#lightbox-content {
    position: relative; 
    width: fit-content;
    height: fit-content;
    display: block; 
    padding: 0; 
    margin: 0;
}

#lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto; 
    display: block; 
}

#close-btn {
    position: absolute;
    top: -35px; 
    right: -55px; 
    color: #fff;
    font-size: 3.5vw;
    font-weight: bold;
    cursor: pointer;
    background: none;
    line-height: 1; 
    z-index: 1001; 
}

#close-btn:hover,
#close-btn:focus {
    color: #bbb;
    text-decoration: none;
}
/* Hide the mobile footer on desktop */
.mobile-footer {
    display: none;
    background-color: white;
    padding: 20px;
    width: 100%;
    border-top: 1px solid #eee;
    justify-content: center;
}

.mobile-footer .social-links {
    padding-bottom: 0; /* Remove padding since it's centered in the footer */
    justify-content: center;
}

/* Ensure mobile footer icons are a legible size */
.mobile-footer .social-links img {
    width: 35px; /* Fixed size for mobile touch targets */
    opacity: 0.8;
}

/* --- Hamburger Menu Icon --- */
.menu-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: black;
    transition: all 0.3s ease;
}

.mobile-only {
    display: none;
}

/* =====================================
   Media Queries
   ===================================== */

@media (min-width: 1920px) {
    .left-nav ul li {
        padding-bottom: 25px;
        padding-right: 40px;
    }

    h2{
        padding-top: 15px;
        padding-bottom: 10px;
    }

    #me{
        width: 17%;
    }
}

@media (max-width: 900px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        margin-top: 40px;
        margin-left: 17px;
        display: block !important;
        width: 60%;
    }

    .portfolio-grid{
        padding: 0px;
    }

    .container {
        flex-direction: column;
    }

    .left-nav {
        position: relative;
        width: 100%;
        padding: 0px;
        box-shadow: 0px 2px 10px rgba(4, 18, 78, 0.15);
        z-index: 100;
    }

    .nav-header-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .content{
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 20px;
        margin-left: 0px;
        margin-right: 0px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .name{
        font-size: 6.6vw;
    }
    .nav-links {
        display: none; 
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 20px 0;
    }

    .left-nav h1 {
        font-size: 15vw; 
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links a {
        font-size: 24px !important;
    }

    #title {
        display: none;
    }

    .left-nav ul a {
        font-size: 1.2em; 
    }
    
    .menu-toggle {
        display: flex;
    }

    .left-nav .social-links {
        justify-content: center;
    }

    .left-nav ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin: 20px 0;
        padding-left: 0;
    }
    
    .left-nav ul li {
        margin-bottom: 0px;
        margin-left: 5vw;
        margin-right: 5vw;
    }
    
    .left-nav ul a:hover {
        transform: none;
    }

    .right-content {
        margin-left: 0;
        column-count: 1;
        padding: 20px 10px;
        background-size: 150%;
        margin-left: 0;     
        background-size: 150%;
        padding-top: 0px;
        padding-bottom: 0px;
    }
    
    section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .filter {
        float: none;
        display: block;
        width: fit-content;
    }
    
    .about-header-content {
        flex-direction: column;
        gap: 0;
    }

    .video-item {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .dropdown-toggle{
        margin-right: 0px;
        margin-top: 10px;
    }

    .dropdown-menu{
        margin: 0px;
        right: 0px;
    }
    
    .portfolio-grid {
        column-count: 1; 
    }
    
    #me {
        width: 30%;
        max-width: 200px;
        margin: 0 auto 20px auto;
        left: 0;
        top: 0;
    }

    .left-nav .social-links {
        display: none;
    }

    /* Show the footer at the bottom of the page */
    .mobile-footer {
        display: flex;
        padding-bottom: 10px;
        box-shadow: 0px -5px 10px rgba(4, 18, 78, 0.15);
        z-index: 100;
    }

    .info h3 {
        font-size: 18px; /* Fixed min size */
    }

    .info p {
        font-size: 14px !important;
    }

    .filter-wrapper{
        padding: 0px;
    }

    .social-links a{
        padding-left: 10px;
        padding-right: 10px;
    }

    p {
        font-size: 3.5vw;
    }

    .artexamples{
        width: 100%;
    }

    .content .art1{
        width: 100%;
        margin: auto;
    }

    .content .art2{
        width: 100%;
        margin: auto;
    }

    .content .art3{
        width: 100%;
        margin: auto;
    }

    .content .art4{
        width: 100%;
        margin: auto;
    }

    h2{
        font-size: 6vw;
    }

    .content video {
        width: 100%;
    }

    #hero img{
        width: 100%;
        padding-bottom: 5px;
        padding-top: 5px;
    }

    .clothing img{
        width: 100%;
    }

    .tee{
        width: 100% !important;
    }

    .clothing2 img{
        width: 100%;
    }

    #last{
        padding-bottom: 0px;
    }

    #last p{
        padding-bottom: 0px;
    }
}