/* Updated styles for portfolio website - March 2026 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'HIDESerif';
    src: url('material/Fonts/HIDESerif_v0.9.4.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'WorseEvo';
    src: url('material/Fonts/WORSE_EVO v1.0 By SYIN.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Quinn';
    src: url('material/Fonts/Quinn.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'LTSoul';
    src: url('material/Fonts/LTSoul-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'LTSoul';
    src: url('material/Fonts/LTSoul-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

body {
    font-family: 'LTSoul', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.sidebar {
    width: 100%;
    height: auto;
    background-color: transparent;
    padding: 20px 30px;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: none;
    z-index: 1000;
}

.artist-name {
    font-size: 30px;
    font-weight: normal;
    margin-bottom: 0;
    font-family: 'HIDESerif', Arial, sans-serif;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

.nav-links li {
    margin-bottom: 0;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 20px;
    transition: opacity 0.2s;
    line-height: 1.4;
    font-family: 'LTSoul', Arial, sans-serif;
    font-weight: normal;
    text-shadow: 0 2px 10px rgba(8, 159, 0, 0.8), 0 0 2px rgba(0, 0, 0, 0.9);
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.3);
}

.artist-name a {
    text-decoration: none;
    color: #ffffff;
    transition: opacity 0.2s;
    text-shadow: 0 2px 10px rgba(8, 159, 0, 0.8), 0 0 2px rgba(0, 0, 0, 0.9);
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.3);
}

.artist-name a:hover {
    opacity: 0.6;
}

.nav-links a:hover {
    opacity: 0.6;
}

/* Hide works list in nav on desktop */
.nav-links .works-list {
    display: none;
}

/* Works page layout */
.works-page {
    display: flex;
    flex-direction: column;
}

.works-layout {
    display: flex;
    margin-top: 30px;
    height: calc(100vh);
    overflow: hidden;
}

.works-sidebar {
    width: 300px;
    background-color: #ffffff;
    padding: 75px 30px;
    border-right: 1px solid #089f00;
    overflow-y: auto;
    flex-shrink: 0;
}

.bio-sidebar {
    width: 300px;
    background-color: #ffffff;
    padding: 75px 30px;
    border-right: 1px solid #089f00;
    overflow-y: auto;
    flex-shrink: 0;
}

.bio-email {
    font-size: 18px;
    line-height: 1.4;
    margin: -5px 0 0 0;
    font-family: 'LTSoul', Arial, sans-serif;
    font-weight: 600;
    color: #000000;
}

.bio-email-mobile {
    display: none;
}

.works-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.works-list li {
    margin-bottom: 20px;
}

.works-list a {
    text-decoration: none;
    color: #000000;
    font-size: 18px;
    font-family: 'LTSoul', Arial, sans-serif;
    font-weight: 600;
    transition: opacity 0.2s;
    line-height: 1.4;
}

.works-list a:hover {
    opacity: 0.6;
}

.works-content {
    flex: 1;
    padding: 0;
    overflow-y: auto;
    height: 100%;
}

.content.work-detail {
    flex: 1;
    padding: 35px 60px 40px 60px;
    overflow-y: auto;
}

.content.work-detail h2:first-child {
    margin-top: 0;
    padding-top: 0;
    line-height: 1.4;
}

.works-content .works-grid {
    column-count: 2;
    column-gap: 0;
    width: 100%;
    min-height: 100%;
}

.works-content .work-item {
    display: inline-block;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    vertical-align: top;
}

.works-content .work-item a {
    text-decoration: none;
    color: #000000;
    display: block;
    position: relative;
}

.works-content .work-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s;
    vertical-align: bottom;
}

.works-content .work-item a:hover img {
    opacity: 0.5;
}

.works-content .work-item h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    padding: 20px;
    background: none;
    color: #000000;
    text-shadow: none;
    opacity: 0;
    transition: opacity 0.3s;
    text-align: center;
    white-space: nowrap;
    font-family: 'LTSoul', Arial, sans-serif;
}

.works-content .work-item a:hover h3 {
    opacity: 1;
}

.works-content .work-year {
    display: none;
}

.content {
    margin-left: 0;
    margin-top: 35px;
    padding: 40px 60px;
    width: 100%;
    height: calc(100vh - 90px);
    overflow-y: auto;
}

.content.bio-content {
    margin-left: 0;
    margin-top: 35px;
    padding: 35px 60px 40px 60px;
    width: 100%;
    height: calc(100vh - 90px);
    overflow-y: auto;
}

.content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
    font-family: 'LTSoul', Arial, sans-serif;
}

.content.bio-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
    font-family: 'LTSoul', Arial, sans-serif;
}

.content h3 {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    font-family: 'LTSoul', Arial, sans-serif;
}

.content.bio-content h3 {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
    font-family: 'LTSoul', Arial, sans-serif;
}

.content p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.content.bio-content p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.content a {
    color: #000000;
    text-decoration: underline;
}

.work-image {
    width: 100%;
    max-width: 100%;
    margin: 30px 0;
}

.work-image img {
    width: 100%;
    height: auto;
}

.image-caption {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    line-height: 1.5;
}

.works-grid {
    column-count: 2;
    column-gap: 0;
    max-width: 100%;
}

.work-item {
    display: block;
    position: relative;
    overflow: hidden;
    break-inside: avoid;
    margin: 0;
    padding: 0;
}

.work-item a {
    text-decoration: none;
    color: #000000;
    display: block;
    position: relative;
}

.work-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s;
    vertical-align: bottom;
}

.work-item a:hover img {
    opacity: 0.3;
}

.work-item h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    padding: 20px;
    background: none;
    color: #000000;
    text-shadow: none;
    opacity: 0;
    transition: opacity 0.3s;
    text-align: center;
    white-space: nowrap;
    font-family: 'LTSoul', Arial, sans-serif;
}

.work-item a:hover h3 {
    opacity: 1;
}

.work-year {
    display: none;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    padding-bottom: 56.25%;
    height: 0;
    margin: 30px 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 10px;
    cursor: pointer;
    padding: 0;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1001;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(8, 159, 0, 0.8), 0 0 2px rgba(0, 0, 0, 0.9);
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.3);
    line-height: 0.5;
    font-weight: 10;
}

/* Index page specific styles */
.content.index-content {
    padding: 0;
    margin-top: 0;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: auto;
}

.slide {
    display: block;
    width: 100%;
    height: 100vh;
    position: relative;
    scroll-snap-align: start;
    overflow: hidden;
}

.slide a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: #ffffff;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-out;
    will-change: transform;
}

.slide a:hover img {
    opacity: 1;
}

.slide-text {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 10;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(8, 159, 0, 0.8), 0 0 2px rgba(0, 0, 0, 0.9);
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.3);
}

.slide-arrow {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(8, 159, 0, 0.8), 0 0 2px rgba(0, 0, 0, 0.9);
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.3);
    font-size: 22px;
    font-family: 'LTSoul', Arial, sans-serif;
    font-weight: normal;
    opacity: 0.9;
    pointer-events: none;
}

.slide-text h2 {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 5px 0;
    font-family: 'LTSoul', Arial, sans-serif;
    line-height: 1.2;
}

.slide-text p {
    font-size: 16px;
    font-weight: normal;
    margin: 0;
    font-family: 'LTSoul', Arial, sans-serif;
    opacity: 0.9;
}

.slide h3 {
    display: none;
}

.slide a:hover h3 {
    display: none;
}

/* Mobile styles */
@media (max-width: 768px) {
    body {
        flex-direction: column;
        overflow: auto;
    }

    .content.index-content {
        height: 100svh;
        max-height: 100svh;
    }

    .slide {
        height: 100svh;
    }

    .slide-text {
        left: 20px;
        bottom: 20px;
    }

    .slide-arrow {
        right: 20px;
        bottom: 20px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: fixed;
        top: 0;
        left: 0;
        padding: 20px;
        border-right: none;
        border-bottom: none;
        z-index: 1001;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: transparent;
    }
    
    .artist-name {
        margin-bottom: 0;
        margin-left: 0;
        padding-left: 0;
        font-size: 28px;
    }
    
    .menu-toggle {
        position: static;
        transform: none;
        display: flex;
        align-items: center;
        margin-top: -15px;
        font-size: 28px;
    }
    
    .nav-links {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background-color: transparent;
        padding: 20px;
        border-bottom: none;
        transition: max-height 0.3s ease, padding 0.3s ease;
        margin-top: 0;
        z-index: 999;
        max-height: 0;
        overflow: hidden;
        padding-top: 0;
        padding-bottom: 0;
        display: block;
    }
    
    .nav-links.active {
        max-height: 600px;
        padding-top: 10px;
        padding-bottom: 10px;
        overflow-y: auto;
        border-bottom: none;
    }
    
    .nav-links li {
        margin-bottom: 15px;
    }
    
    .nav-links li:first-child {
        margin-bottom: 15px;
    }
    
    .nav-links li:nth-child(2) {
        margin-bottom: 15px;
    }
    
    /* Show works list in mobile menu */
    .nav-links .works-list {
        display: block;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .nav-links .works-list li {
        margin-bottom: 15px;
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .nav-links .works-list li:last-child {
        margin-bottom: 15px;
    }
    
    .nav-links .works-list a {
        font-size: 16px;
        color: #ffffff;
        text-shadow: 0 2px 10px rgba(8, 159, 0, 0.8), 0 0 2px rgba(0, 0, 0, 0.9);
        -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.3);
    }
    
    /* Hide works sidebar on mobile */
    .works-sidebar {
        display: none;
    }
    
    /* Hide bio sidebar on mobile */
    .bio-sidebar {
        display: none;
    }
    
    /* Show mobile email on bio page */
    .bio-email-mobile {
        display: block;
        font-size: 18px;
        line-height: 1.4;
        margin: 0 0 20px 0;
        font-family: 'LTSoul', Arial, sans-serif;
        font-weight: 600;
        color: #000000;
    }
    
    /* Adjust works layout for mobile */
    .works-layout {
        margin-top: 80px;
        height: auto;
        overflow: visible;
    }
    
    .content.work-detail {
        padding: 20px;
    }
    
    .content {
        margin-left: 0;
        margin-top: 0px;
        width: 100%;
        padding: 20px;
        height: auto;
        overflow-y: visible;
    }
    
    .content.bio-content {
        margin-left: 0;
        margin-top: 0px;
        width: 100%;
        padding: 20px 20px 60px 20px;
        height: auto;
        overflow-y: visible;
        max-height: none;
    }
    
    .works-grid {
        column-count: 1;
        column-gap: 0;
    }
    
    .content h2 {
        font-size: 24px;
    }
    
    .content.bio-content h2 {
        font-size: 24px;
    }
    
    /* Disable hover text effects on mobile */
    .works-content .work-item a:hover h3 {
        opacity: 0;
    }
    
    .work-item a:hover h3 {
        opacity: 0;
    }
    
    .slide a:hover h3 {
        opacity: 0;
    }
}


/* Works page navigation - black text, no shadow, white background */
body.works-page .sidebar {
    background-color: #ffffff;
}

body.works-page .artist-name a {
    color: #000000;
    text-shadow: none;
    -webkit-text-stroke: 0;
}

body.works-page .nav-links a {
    color: #000000;
    text-shadow: none;
    -webkit-text-stroke: 0;
}

body.works-page .menu-toggle {
    color: #000000;
    text-shadow: none;
    -webkit-text-stroke: 0;
}

body.works-page .nav-links {
    background-color: #ffffff;
}

body.works-page .nav-links.active {
    border-bottom: 1px solid #089f00;
}


/* Add green border back to works page navigation */
body.works-page .sidebar {
    border-bottom: 1px solid #089f00;
}


/* Mobile homepage - use phone-specific images */
@media (max-width: 768px) {
    /* Hide img tags on mobile, use background-image instead for reliable full-screen coverage */
    .slide img {
        display: none;
    }

    .slide a {
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .slide:nth-child(1) a {
        background-image: url('material/The Room Continues to Breathe Without Us/TheRoom_homepage_phone.jpg');
    }
    
    .slide:nth-child(2) a {
        background-image: url('material/(de)tuning/(de)tuning_homepage_phone.jpg');
    }
    
    .slide:nth-child(3) a {
        background-image: url('material/Six Leg Solution/SixLegSolution_homepage_phone.png');
    }
    
    .slide:nth-child(4) a {
        background-image: url('material/Everlasting Flux/everlastingflux_homepage_phone.png');
    }
    
    .slide:nth-child(5) a {
        background-image: url('material/I Gaze into a Bright Light/Igaze_homepage_phone.png');
    }
    
    .slide:nth-child(6) a {
        background-image: url('material/Insectum/Insectum_homepage_phone.png');
    }
    
    .slide:nth-child(7) a {
        background-image: url('material/Coral/coral_homepage_phone.png');
    }
}
