/* Import Geist */
@import url('https://geist-fonts.vercel.app/style.css');

/* Load Slibinas */
@font-face {
    font-family: 'Slibinas';
    src: url('fonts/Slibinas.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-color: #FF3600;
    --text-color: #19191A;
    --highlight-color: #D8D8E8;
}

/* Everything Else (See/Hear Pages) */
.see-page, .hear-page, .see-hear-page {
    --bg-color: #D8D8E8;
    --text-color: #19191A;
    --highlight-color: #FF3600;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    opacity: 0;
    animation: fadeIn 0.8s ease-in-out forwards;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    padding: 40px; /* Adjusted padding */
}

/* Left Column */
.left-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 0 1 auto; /* Allow it to shrink or grow based on content */
    min-width: 450px; /* Prevent shrinking too much */
    max-width: 25%; /* Prevent it from taking up too much space */
    padding-right: 20px;
    position: sticky; /* Make the left column sticky */
    top: 40px; /* Ensure there is always a top margin */ 
    height: calc(95vh - 40px); /* Full height of the viewport minus top and bottom margins */
    padding-bottom: 20px; /* Ensure there is always a bottom margin */
    overflow-y: auto; /* Allow scrolling within the left column if needed */
}


.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo-title {
    font-family: 'Slibinas', sans-serif;
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.3;
    margin-bottom: 15vh;
}

.work-links {
    display: flex;
    flex-direction: column;
    gap: 0.5vh;
    margin-bottom: auto;
}

.work-links a {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.8;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5vh;
}

.nav-links a {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.work-links a:hover,
.nav-links a:hover {
    color: var(--highlight-color);
}

/* Right Column */
.right-column {
    
    flex-direction: column;
    justify-content: space-between; /* Add this line */
    align-items: flex-end;
    text-align: right;
    gap: 5vh;
}


.profile-img {
    width: 75%;
    max-width: 450px; /* Ensure the image does not exceed 300px */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 20px; /* Add bottom margin */
}

.mobile-image {
    display: none; /* Hidden by default */
}

.bio-text {
    font-family: 'Geist', sans-serif;
    font-size: 2.7vh;
    line-height: 1.6;
    max-width: 300%;
    margin-top: auto; /* Add this line */
}

.bio-text p {
    margin-bottom: 2vh;
}

.project-list {
    margin-top: 0; 
    padding-left: 20px;
}

.project-list ul {
    list-style-type: none;
    padding: 0;
}

.project-list ul li {
    
}

.project-list ul li a {
    font-size: 15px; 
    font-weight: normal; 
    line-height: 2;
    text-decoration: none; 
    color: var(--text-color); 
    transition: color 0.3s ease; 
}

.project-list ul li a:hover {
    color: var(--highlight-color); 
}

/* General Styles */
.project-content {
    font-family: 'Geist', sans-serif;
    max-width: 1500px;
    min-width: 50vw;
    margin: 0 auto;
    padding: 0px;
    line-height: 1.25;
}

/* Video Styling */
.project-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 5px;
    margin-top: 0px;
    margin-bottom: 20px;
}

/* Title & Description */
.project-title {
    font-size: 1vw;
    font-weight: normal; /* Change to regular font weight */
    line-height: 1.5; /* Increase line spacing */
    color: #19191A;
    margin-bottom: 0px;
}

.project-description {
    font-size: 1vw;
    font-weight: normal; /* Change to regular font weight */
    line-height: 1.5; /* Increase line spacing */
    color: #19191A;
    margin-bottom: 20px;
}

/* Image Gallery */
.project-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project-image {
    width: 100%;
    border-radius: 5px;
    object-fit: cover;
    margin-bottom: 15px
}

/* Custom styles for about.html */
.about-page .bio-text {
    text-align: left; /* Left align text */
    font-size: 2vh; /* Default font size for desktop */
    padding-left: 20px; /* Align with top navigation controls */
    padding-right: 20px; /* Align with top navigation controls */
    padding-top: 0; /* Default top padding for desktop */
}

.about-page .profile-img {
    float: left; /* Left align image */
    width: 30%;
    max-width: 450px; /* Ensure the image does not exceed 450px */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 20px; /* Add bottom margin */
    margin-right: 20px; /* Add right margin to create space between image and text */
    padding-top: 0; /* Default top padding for desktop */
}

/* Custom styles for index.html */
.main-page .bio-text {
    padding-left: 20px; /* Align with top navigation controls */
    padding-right: 20px; /* Align with top navigation controls */
}

.main-page .profile-img {
    padding-left: 20px; /* Align with top navigation controls */
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 22.5px; /* Reduced size to 3/4 */
    height: 22.5px; /* Reduced size to 3/4 */
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger div {
    width: 22.5px; /* Reduced size to 3/4 */
    height: 2.25px; /* Reduced size to 3/4 */
    background-color: var(--text-color);
    border-radius: 5px;
    transition: all 0.3s linear;
    position: relative;
}

.hamburger.active div:nth-child(1) {
    transform: rotate(45deg);
    top: 7.5px; /* Adjusted for new size */
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

.hamburger.active div:nth-child(3) {
    transform: rotate(-45deg);
    top: -7.5px; /* Adjusted for new size */
}

.mobile-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 1000;
    padding-top: 50px;
}

.mobile-menu a {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.8;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 10px 0;
}

.mobile-menu a:hover {
    color: var(--highlight-color);
}

/* Close Button for Mobile Menu */
.mobile-menu .close-btn {
    position: absolute;
    top: 15px; /* Adjusted for new size */
    right: 15px; /* Adjusted for new size */
    background: transparent;
    border: none;
    font-size: 22.5px; /* Reduced size to 3/4 */
    cursor: pointer;
    color: var(--text-color);
}

/* Mobile Navigation Controls */
.mobile-nav {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px; /* Increased padding for more space */
    background-color: var(--bg-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
}

.mobile-nav .logo-link {
    font-family: 'Slibinas', sans-serif;
    font-size: 18px; /* Reduced size to 3/4 */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-color);
    text-decoration: none;
}

.mobile-nav .nav-buttons {
    display: flex;
    gap: 10px;
}

.mobile-nav .nav-buttons a {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: var(--text-color);
    text-decoration: none;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.mobile-nav .nav-buttons a:hover {
    color: var(--highlight-color);
}

.mobile-nav .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 22.5px; /* Reduced size to 3/4 */
    height: 22.5px; /* Reduced size to 3/4 */
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-nav .hamburger div {
    width: 22.5px; /* Reduced size to 3/4 */
    height: 2.25px; /* Reduced size to 3/4 */
    background-color: var(--text-color);
    border-radius: 5px;
    transition: all 0.3s linear;
    position: relative;
}

.mobile-nav .hamburger.active div:nth-child(1) {
    transform: rotate(45deg);
    top: 7.5px; /* Adjusted for new size */
}

.mobile-nav .hamburger.active div:nth-child(2) {
    opacity: 0;
}

.mobile-nav .hamburger.active div:nth-child(3) {
    transform: rotate(-45deg);
    top: -7.5px; /* Adjusted for new size */
}

.mobile-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    height: calc(100% - 50px);
    background-color: var(--bg-color);
    z-index: 1000;
    padding-top: 50px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-family: 'Geist', sans-serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.8;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 10px 0;
}

.mobile-menu a:hover {
    color: var(--highlight-color);
}

/* Custom styles for see.html and hear.html */
.see-page .project-list,
.hear-page .project-list {
    display: none; /* Hide project list by default */
}

.see-page .project-content,
.hear-page .project-content {
    display: none; /* Hide project content by default */
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Show mobile navigation controls */
    .mobile-nav {
        display: flex;
    }

    /* Hide left column */
    .left-column {
        display: none;
    }

    /* Adjust container to a single-column layout */
    .container {
        grid-template-columns: 1fr;
        gap: 5vh;
        padding-top: 70px; /* Add padding to avoid overlap with mobile nav */
        padding-left: 15px; /* Align with top navigation controls */
        padding-right: 15px; /* Align with top navigation controls */
    }

    /* Adjust right column layout */
    .right-column {
        align-items: flex-start;
        text-align: left;
    }

    /* Ensure project list and content are visible in mobile view */
    .see-page .project-list,
    .hear-page .project-list {
        display: block; /* Show project list */
        padding-top: 20px; /* Add padding to avoid overlap with mobile nav */
        padding-left: 15px; /* Align with top navigation controls */
        padding-right: 15px; /* Align with top navigation controls */
    }

    .see-page .project-content,
    .hear-page .project-content {
        display: block; /* Show project content */
        padding-top: 20px; /* Add padding to avoid overlap with mobile nav */
        padding-left: 7px; /* Align with top navigation controls */
        padding-right: 7px; /* Align with top navigation controls */
        margin-left: 0px; /* Align with top navigation controls */
        margin-right: 0px; /* Align with top navigation controls */
    }

    /* Ensure bio text and profile image align with navigation bar on mobile */
    .main-page .bio-text,
    .about-page .bio-text {
        padding-left: 15px; /* Align with top navigation controls */
        padding-right: 15px; /* Align with top navigation controls */
    }

    .main-page .profile-img,
    .about-page .profile-img {
        padding-left: 15px; /* Align with top navigation controls */
        padding-top: 40px; /* Add top padding */
    }

    .about-page .bio-text {
        padding-top: 70px; /* Add padding to avoid overlap with mobile nav */
    }

    .about-page .profile-img {
        padding-top: 70px; /* Add padding to avoid overlap with mobile nav */
        width: 50%; /* Make the profile image smaller */
    }

    /* Scale text sizes for smaller screens */
    .work-links a,
    .nav-links a,
    .bio-text {
        font-size: 4vw;
    }

    /* Ensure project content is properly visible on mobile devices */
    .project-content {
        font-size: vw; /* Adjust font size for mobile */
        line-height: 1.6;
    }

    .project-title {
        font-size: 3vw; /* Increase font size for mobile */
        font-weight: normal; /* Change to regular font weight */
        line-height: 1.5; /* Increase line spacing */
        color: #19191A;
        margin-bottom: 10px; /* Add bottom margin */
    }

    .project-description {
        font-size: 3vw; /* Increase font size for mobile */
        font-weight: normal; /* Change to regular font weight */
        line-height: 1.5; /* Increase line spacing */
        color: #19191A;
        margin-bottom: 20px;
    }

    .project-video {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        border-radius: 5px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .project-image {
        width: 100%;
        height: auto;
        border-radius: 5px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    /* Ensure project list items are formatted correctly */
    .project-list ul {
        list-style-type: none;
        padding: 0;
    }

    .project-list ul li {
        margin-bottom: 8px; /* Decrease line spacing */
    }

    .project-list ul li a {
        font-family: 'Geist', sans-serif;
        font-size: 14px; /* Make font size smaller */
        font-weight: normal; /* Regular weight */
        color: var(--text-color);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .project-list ul li a:hover {
        color: var(--highlight-color);
    }
}

/* Ensure project list and content are visible in desktop view */
@media (min-width: 769px) {
    .see-page .project-list,
    .hear-page .project-list {
        display: block; /* Show project list */
    }

    .see-page .project-content,
    .hear-page .project-content {
        display: block; /* Show project content */
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}