:root {
    --header-top-position: 40px;
    --nav-top-position: 50px;
    
    /* Typography */
    --font-primary: 'Neue Montreal', Arial, sans-serif;
    
    /* Colors */
    --color-white: #fff;
    --color-dark: #141414;
    --color-dark-overlay: rgba(20, 20, 20, 0.95);
    --color-gray: #666;
    --color-gray-dark: #595959;
    --color-black: #000000;
    
    /* Spacing */
    --spacing-xs: 10px;  /* Small gaps */
    --spacing-sm: 20px;  /* Header padding */
    --spacing-md: 30px;  /* Grid gaps */
    --spacing-lg: 60px;  /* Section padding */
    --spacing-xl: 80px;  /* Large margins */
    
    /* Font sizes for 1920px */
    --font-1920-nav: 1.5rem;
    --font-1920-title: 1.5rem;
}

@font-face {
    font-family: 'Neue Montreal';
    src: url('fonts/NeueMontreal-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Neue Montreal';
    src: url('fonts/NeueMontreal-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

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

body {
    font-family: var(--font-primary);
    background: var(--color-black);
    line-height: 1.6;
    color: var(--color-white);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Loading Screen Styles */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-black);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out;
}

#loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    max-width: 300px;
    width: 90%;
}

.loading-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-white);
    margin-bottom: 30px;
    letter-spacing: 0.1em;
}

.progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #fff, #ccc);
    width: 0%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.progress-percentage {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: normal;
}

/* Hide main content until loaded */
body.loading .landing-section,
body.loading .works-section {
    display: none;
}

/* Loading Screen Responsive Styles */

/* 1920x1080 Full HD Display */
@media screen and (min-width: 1900px) and (max-width: 2000px) {
    .loading-text {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .progress-container {
        height: 6px;
        margin-bottom: 20px;
    }
    
    .progress-percentage {
        font-size: 1.1rem;
    }
    
    .loading-content {
        max-width: 400px;
    }
}

/* Standard desktop and Mac displays */
@media screen and (min-width: 1440px) and (max-width: 1899px) {
    .loading-text {
        font-size: 1.7rem;
        margin-bottom: 35px;
    }
    
    .progress-container {
        height: 5px;
        margin-bottom: 18px;
    }
    
    .progress-percentage {
        font-size: 1rem;
    }
    
    .loading-content {
        max-width: 350px;
    }
}

/* Laptop screens */
@media (min-width: 1024px) and (max-width: 1439px) {
    .loading-text {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .progress-container {
        height: 4px;
        margin-bottom: 15px;
    }
    
    .progress-percentage {
        font-size: 0.9rem;
    }
    
    .loading-content {
        max-width: 300px;
    }
}

/* Tablets - All orientations (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .loading-text {
        font-size: 1.4rem;
        margin-bottom: 25px;
        letter-spacing: 0.08em;
    }
    
    .progress-container {
        height: 4px;
        margin-bottom: 12px;
    }
    
    .progress-percentage {
        font-size: 0.85rem;
    }
    
    .loading-content {
        max-width: 280px;
        width: 85%;
    }
}

/* Mobile phones - 320px to 768px */
@media (max-width: 768px) {
    .loading-text {
        font-size: 1.2rem;
        margin-bottom: 20px;
        letter-spacing: 0.06em;
    }
    
    .progress-container {
        height: 3px;
        margin-bottom: 10px;
    }
    
    .progress-percentage {
        font-size: 0.8rem;
    }
    
    .loading-content {
        max-width: 250px;
        width: 80%;
        padding: 0 20px;
    }
}

/* Small mobile phones - 320px to 480px */
@media (max-width: 480px) {
    .loading-text {
        font-size: 1.1rem;
        margin-bottom: 18px;
    }
    
    .progress-container {
        height: 3px;
        margin-bottom: 8px;
    }
    
    .progress-percentage {
        font-size: 0.75rem;
    }
    
    .loading-content {
        max-width: 220px;
        width: 75%;
        padding: 0 15px;
    }
}

/* Very small screens - below 320px */
@media (max-width: 320px) {
    .loading-text {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .progress-container {
        height: 2px;
        margin-bottom: 8px;
    }
    
    .progress-percentage {
        font-size: 0.7rem;
    }
    
    .loading-content {
        max-width: 200px;
        width: 70%;
        padding: 0 10px;
    }
}

.landing-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    opacity: 0;
    animation: fadeInSite 2s ease-out 0.2s forwards;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.8;
    /* Ensure video works on mobile */
    -webkit-appearance: none;
    appearance: none;
}

/* Completely hide all video controls and UI */
.video-background video::-webkit-media-controls {
    display: none !important;
    -webkit-appearance: none;
}

.video-background video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}

.video-background video::-webkit-media-controls-play-button {
    display: none !important;
    -webkit-appearance: none;
}

.video-background video::-webkit-media-controls-panel {
    display: none !important;
}

.video-background video::-webkit-media-controls-current-time-display {
    display: none !important;
}

.video-background video::-webkit-media-controls-time-remaining-display {
    display: none !important;
}

.video-background video::-webkit-media-controls-timeline {
    display: none !important;
}

.video-background video::-webkit-media-controls-volume-slider {
    display: none !important;
}

.video-background video::-webkit-media-controls-mute-button {
    display: none !important;
}

.video-background video::-webkit-media-controls-fullscreen-button {
    display: none !important;
}

/* Force no controls attribute */
.video-background video[controls] {
    -webkit-appearance: none;
    appearance: none;
}

/* Prevent any control appearance */
.video-background video {
    pointer-events: none; /* Prevent direct video interaction */
}

/* Add visual overlay to completely hide any Safari controls */
.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
    pointer-events: auto;
    cursor: default;
}

/* Mobile video specific styles */
@media (max-width: 768px) {
    .video-background video {
        opacity: 0.6;
        object-position: center center;
    }
}

.bottom-left-text {
    position: fixed;
    top: var(--header-top-position);
    left: 60px;
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-white);
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1;
}

.top-right-nav {
    position: fixed;
    top: var(--nav-top-position);
    right: var(--spacing-lg);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: normal;
    color: var(--color-white);
    z-index: 10;
    line-height: 1;
}

.top-right-nav span, .top-right-nav .about-me-nav {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.top-right-nav span:hover, .top-right-nav .about-me-nav:hover {
    opacity: 0.7;
}

.linkedin-icon {
    height: 32px;
    width: 32px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    filter: brightness(100) invert(1);
    position: relative;
    top: 50%;
    transform: translateY(-20%);
}

.linkedin-icon:hover {
    opacity: 0.7;
}

/* Hide mobile menu and carousel on desktop by default */
.mobile-menu,
.mobile-carousel,
.project-mobile-menu {
    display: none;
}

.middle-left-text {
    position: absolute;
    top: 50%;
    left: 200px;
    transform: translateY(-50%);
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-white);
    z-index: 10;
    /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); */
}

.description-text {
    position: absolute;
    top: calc(50% + 50px);
    left: 200px;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: normal;
    color: var(--color-white);
    z-index: 10;
    line-height: 1.4;
}

.works-section {
    min-height: 100vh;
    background: var(--color-dark);
    padding: 0 var(--spacing-lg) var(--spacing-lg) var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.works-tabs {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    font-family: var(--font-primary);
    margin-top: var(--header-top-position);
}

.tab {
    font-size: 1rem;
    font-weight: normal;
    color: var(--color-gray);
    cursor: pointer;
    transition: color 0.3s ease;
    padding: var(--spacing-xs) 0;
}

.tab.active {
    color: var(--color-white);
    font-weight: normal;
}

.tab:hover {
    color: #ccc;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    max-width: 1200px;
    width: 100%;
    margin-top: var(--spacing-lg);
    transition: opacity 0.3s ease-out;
}

.grid-container.fade-in .grid-item {
    animation: fadeInProjectItems 0.6s ease-out forwards;
}

@keyframes fadeInProjectItems {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.coding-drawings-container {
    display: none;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-xs);
    max-width: 1200px;
    width: 100%;
    margin-top: var(--spacing-lg);
    transition: opacity 0.3s ease-out;
}

.coding-drawings-container.fade-in .simple-grid-item {
    animation: fadeInProjectItems 0.6s ease-out forwards;
}

.generative-3d-container {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xs);
    max-width: 1200px;
    width: 100%;
    margin-top: var(--spacing-lg);
    transition: opacity 0.3s ease-out;
}

.generative-3d-container.fade-in .simple-grid-item {
    animation: fadeInProjectItems 0.6s ease-out forwards;
}

.experiment-container {
    display: none;
    column-count: 3;
    column-gap: var(--spacing-xs);
    max-width: 1200px;
    width: 100%;
    margin-top: var(--spacing-lg);
    transition: opacity 0.3s ease-out;
}

.experiment-container.fade-in .experiment-grid-item {
    animation: fadeInProjectItems 0.6s ease-out forwards;
}

.experiment-grid-item {
    break-inside: avoid;
    margin-bottom: var(--spacing-xs);
    background: transparent;
    transition: transform 0.3s ease;
    cursor: pointer;
    display: inline-block;
    width: 100%;
}

.experiment-grid-item:hover {
    transform: translateY(-5px);
}

.experiment-image-container {
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    width: 100%;
}

.experiment-image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.01);
}

.experiment-caption {
    font-family: var(--font-primary);
    font-size: 0.7rem;
    color: #ccc;
    text-align: center;
    margin-top: 5px;
    line-height: 1.8;
    padding: 0 5px;
}


.grid-item {
    aspect-ratio: 1;
    background: #dadada;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.grid-image {
    height: 65%;
    width: 100%;
    overflow: hidden;
}

.grid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.grid-content {
    height: 35%;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.grid-title {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-black);
    margin: 0 0 2px 0;
    line-height: 1.2;
}

.grid-tags {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

/* Grid tags - for project grid items */
.grid-tags .tag {
    background: var(--color-gray-dark);
    color: var(--color-white);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: normal;
}

/* Project page tags - for individual project pages */
.project-tags .tag {
    background: var(--color-gray-dark);
    color: var(--color-white);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: normal;
}

.grid-description {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: var(--color-gray);
    line-height: 1.3;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.simple-grid-item {
    aspect-ratio: 1;
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.simple-grid-item:hover {
    transform: translateY(-5px);
}

.simple-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.01);
}

.header {
    position: relative;
    z-index: 10;
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.nav-menu {
    margin-top: 10px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-item:hover {
    transform: translateX(10px);
}

.black-box {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.nav-text {
    font-size: 1.1rem;
    font-weight: normal;
    color: var(--color-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    transition: color 0.3s ease;
}

.nav-item:hover .nav-text {
    color: #ccc;
}

/* 1920x1080 Full HD Display Optimization */
@media screen and (min-width: 1900px) and (max-width: 2000px) {
    /* Landing section optimizations */
    .bottom-left-text {
        font-size: 2.2rem;
        left: var(--spacing-xl);
        top: 50px;
    }
    
    .top-right-nav {
        right: var(--spacing-xl);
        top: var(--spacing-lg);
        font-size: var(--font-1920-nav);
        gap: 50px;
    }
    
    .linkedin-icon {
        height: 42px;
        width: 42px;
    }
    
    .middle-left-text {
        font-size: 3.5rem;
        left: 250px;
    }
    
    .description-text {
        font-size: 1.6rem;
        left: 250px;
        top: calc(50% + 60px);
        line-height: 1.5;
    }
    
    /* Works section optimizations */
    .works-section {
        padding: 0 var(--spacing-lg) var(--spacing-lg) var(--spacing-lg);
    }
    
    .works-section .works-tabs {
        margin-top: 22px;
    }
    
    .tab {
        font-size: 1.2rem;
        padding: 40px 0;
    }
    
    /* Grid optimizations for 1920x1080 - proportional scaling */
    .grid-container {
        max-width: 1600px;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        margin-top: 60px;
    }
    
    .grid-item {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .grid-item:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    }
    
    .grid-title {
        font-size: 1.5rem;
        margin: 0 0 15px 0;
    }
    
    .grid-description {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .grid-tags {
        margin-bottom: 20px;
    }
    
    .grid-content {
        justify-content: flex-start !important;
        padding: 14px !important;
    }
    
    .grid-tags .tag {
        font-size: 0.8rem;
        padding: 3px 10px;
    }
    
    /* Coding drawings grid for 1920x1080 */
    .coding-drawings-container {
        max-width: 1600px;
        grid-template-columns: repeat(5, 1fr);
        gap: 15px;
        margin-top: 80px;
    }
    
    /* Generative 3D grid for 1920x1080 */
    .generative-3d-container {
        max-width: 1600px;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin-top: 80px;
    }
    
    /* Experiment container for 1920x1080 */
    .experiment-container {
        max-width: 1600px;
        column-count: 3;
        column-gap: 15px;
        margin-top: 80px;
    }
    
    .simple-grid-item:hover {
        transform: translateY(-8px);
    }
}

/* Mac 14 Pro and similar high-res displays */
@media screen and (min-width: 3024px) {
    .header {
        padding: 60px 80px;
    }
    
    .header h1 {
        font-size: 3.5rem;
    }
    
    .nav-text {
        font-size: 1.4rem;
    }
    
    .black-box {
        width: 16px;
        height: 16px;
    }
}

/* Standard desktop and Mac 14 Pro at normal zoom */
@media screen and (min-width: 1440px) and (max-width: 3023px) {
    .header {
        padding: 50px 70px;
    }
    
    .header h1 {
        font-size: 3rem;
    }
    
    .nav-text {
        font-size: 1.2rem;
    }
    
    .black-box {
        width: 14px;
        height: 14px;
    }
}

/* Laptop screens */
@media (min-width: 1024px) and (max-width: 1439px) {
    .header {
        padding: 40px 60px;
    }
    
    .header h1 {
        font-size: 2.5rem;
    }
    
    .nav-text {
        font-size: 1.1rem;
    }
}

/* Tablets - All orientations (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Landing Section Tablet Optimization */
    .landing-section {
        padding: 0 50px;
    }
    
    .bottom-left-text {
        left: 50px;
        font-size: 2rem;
        top: 35px;
    }
    
    .top-right-nav {
        right: 50px;
        top: 40px;
        font-size: 1.1rem;
        gap: 25px;
    }
    
    .linkedin-icon {
        height: 28px;
        width: 28px;
    }
    
    .middle-left-text {
        left: 50px;
        font-size: 2.5rem;
    }
    
    .description-text {
        left: 50px;
        font-size: 1.3rem;
        top: calc(50% + 45px);
        max-width: calc(100vw - 120px);
        line-height: 1.5;
    }
    
    /* Works Section Tablet - Use Carousel like mobile */
    .works-section {
        padding: 50px;
        margin: 0 auto;
        max-width: 100%;
    }
    
    /* Hide desktop tabs on tablet */
    .works-tabs {
        display: none;
    }
    
    /* Show Mobile Carousel on Tablet */
    .mobile-carousel {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
        position: relative;
    }
    
    .carousel-content {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 40px;
        position: relative;
    }
    
    .carousel-tab {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.6rem;
        font-weight: normal;
        color: var(--color-white);
        white-space: nowrap;
        opacity: 0;
        transition: all 0.3s ease;
        cursor: pointer;
        text-align: center;
        margin: 0;
        padding: 0;
        line-height: 1.4rem;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    
    .carousel-tab.active {
        opacity: 1;
    }
    
    .carousel-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-105%);
        background: none;
        border: none;
        color: var(--color-white);
        font-size: 2.2rem;
        cursor: pointer;
        z-index: 10;
        padding: 0;
        margin: 0;
        transition: opacity 0.3s ease;
        line-height: 1.4rem;
    }
    
    .carousel-arrow:hover {
        opacity: 0.7;
    }
    
    .carousel-arrow-left {
        left: calc(50% - 150px);
    }
    
    .carousel-arrow-right {
        right: calc(50% - 150px);
    }
    
    .carousel-dots {
        display: flex;
        gap: 10px;
        margin-top: 15px;
    }
    
    .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #666;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    
    .dot.active {
        background: #fff;
    }
    
    /* Project Grid Tablet - Two Column with margins */
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-top: 40px;
        max-width: calc(100% - 30px);
        margin-left: auto;
        margin-right: auto;
    }
    
    .grid-item {
        aspect-ratio: 1.2/1.5;
        margin: 0 !important;
    }
    
    .grid-content {
        height: 42%;
        padding: 18px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .grid-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .grid-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        line-height: 1.5;
        min-height: 4.5em;
    }
    
    .grid-tags .tag {
        font-size: 0.7rem;
        padding: 2px 8px;
    }
    
    /* Coding Drawings Tablet - 3 Column Grid with margins */
    .coding-drawings-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin-top: 40px;
        max-width: calc(100% - 100px);
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Generative 3D Tablet - 2 Column Grid with margins */
    .generative-3d-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 40px;
        max-width: calc(100% - 100px);
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Experiment Container Tablet - 2 Columns */
    .experiment-container {
        column-count: 2;
        column-gap: 15px;
        margin-top: 40px;
        max-width: calc(100% - 100px);
        margin-left: auto;
        margin-right: auto;
    }
    
    .experiment-caption {
        font-size: 0.85rem;
        margin-top: 10px;
    }
    
    /* Project Page Tablet */
    .project-container {
        padding: 60px;
        max-width: calc(100% - 120px);
        margin: 0 auto;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .project-header {
        padding: 20px 60px;
    }
    
    .project-hero {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
        width: 100%;
    }
    
    .project-info h1 {
        font-size: 2.8rem;
        margin-bottom: 18px;
    }
    
    .project-description {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .project-year {
        font-size: 1rem;
    }
    
    .steam-logo {
        height: 56px;
    }
    
    .details-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 25px;
    }
    
    /* Reorder sections: Video → Overview → Skills - TABLET (all vertical) */
    .details-grid .detail-section:nth-child(3).video-section {
        order: -2; /* Video comes first */
        width: 100%;
    }
    
    .details-grid .detail-section:nth-child(1) {
        order: -1; /* Overview comes second */
        width: 100%;
    }
    
    .details-grid .detail-section:nth-child(2) {
        order: 0; /* Skills comes third */
        width: 100%;
    }
    
    .detail-section {
        width: 100%;
        padding: 25px;
        margin-bottom: 0;
        grid-column: auto !important; /* Override any grid-column spans */
    }
    
    .detail-section.video-section {
        padding: 15px !important;
        grid-column: auto !important; /* Override any grid-column spans */
    }
    
    .detail-section h3 {
        font-size: 1.4rem;
        margin-bottom: 18px;
    }
    
    .detail-section p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .detail-section ul, .detail-section ol {
        font-size: 1rem;
        columns: 1;
        column-gap: 0;
    }
    
    /* Gallery optimizations for tablet */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .gallery-2x2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .movements-gif-media,
    .text-gifs-media {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .movements-gif-title,
    .text-gifs-title {
        font-size: 1.25rem;
        margin-bottom: 15px;
    }
    
    .movements-gif-description,
    .text-gifs-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .project-gallery h3 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .header {
        padding: 30px 40px;
        flex-direction: column;
        gap: 25px;
    }
    
    .header h1 {
        font-size: 2.2rem;
    }
    
    .nav-menu ul {
        gap: 18px;
    }
    
    .nav-text {
        font-size: 1rem;
    }
}

/* Specific Tablet Optimizations */

/* iPad (768x1024) - Most common tablet */
@media screen and (min-width: 768px) and (max-width: 768px) and (min-height: 1024px) {
    .landing-section {
        padding: 0 60px;
    }
    
    .bottom-left-text, .middle-left-text, .description-text {
        left: 60px;
    }
    
    .top-right-nav {
        right: 60px;
    }
    
    .works-section {
        padding: 60px;
    }
    
    .grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: calc(100% - 120px);
    }
}

/* iPad Air (810x1080, 820x1180) */
@media screen and (min-width: 810px) and (max-width: 820px) and (min-height: 1080px) {
    .landing-section {
        padding: 0 70px;
    }
    
    .bottom-left-text, .middle-left-text, .description-text {
        left: 70px;
    }
    
    .top-right-nav {
        right: 70px;
    }
    
    .works-section {
        padding: 70px;
    }
    
    .grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: calc(100% - 140px);
    }
    
    .carousel-arrow-left {
        left: calc(50% - 170px);
    }
    
    .carousel-arrow-right {
        right: calc(50% - 170px);
    }
}

/* Tablets landscape (800x1280, 1280x800) */
@media screen and (min-width: 800px) and (max-width: 1280px) and (orientation: landscape) {
    .landing-section {
        padding: 0 80px;
    }
    
    .bottom-left-text, .middle-left-text, .description-text {
        left: 80px;
    }
    
    .top-right-nav {
        right: 80px;
    }
    
    .works-section {
        padding: 80px;
    }
    
    .grid-container {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: calc(100% - 120px);
    }
    
    .carousel-tab {
        font-size: 1.8rem;
    }
    
    .carousel-arrow {
        font-size: 2.4rem;
    }
    
    .carousel-arrow-left {
        left: calc(50% - 200px);
    }
    
    .carousel-arrow-right {
        right: calc(50% - 200px);
    }
}

/* Tablets portrait */
@media (max-width: 768px) {
    .header {
        padding: 25px 35px;
        flex-direction: column;
        gap: 20px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .nav-menu ul {
        gap: 15px;
    }
    
    .nav-text {
        font-size: 0.95rem;
    }
    
    .black-box {
        width: 10px;
        height: 10px;
    }
}

/* Mobile phones - 320px to 768px */
@media (max-width: 768px) {
    /* Landing Section Mobile Layout */
    .landing-section {
        padding: 20px;
        position: relative;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }
    
    /* Video Background Mobile - Full Viewport Height */
    .video-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: -1;
        overflow: hidden;
    }
    
    .video-background video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        opacity: 0.6;
    }
    
    /* Create mobile header layout */
    .landing-section::before {
        content: '';
        display: block;
        width: 100%;
        height: 60px;
    }
    
    /* Header - Name (Logo) - Top Left */
    .bottom-left-text {
        position: absolute;
        top: 30px;
        left: 30px;
        font-size: 2rem;
        text-align: left;
        margin: 0;
    }
    
    /* Navigation - Top Right Mobile */
    .top-right-nav {
        position: absolute;
        top: 30px;
        right: 30px;
        flex-direction: row;
        gap: 30px;
        font-size: 0.9rem;
        align-items: center;
        margin: 0;
        justify-content: flex-end;
    }
    
    /* Hide all nav text on mobile, show hamburger */
    .works-text,
    .about-me-nav,
    .blog-nav {
        display: none !important;
    }
    
    /* Force show mobile menu */
    .mobile-menu {
        display: block !important;
        position: relative;
    }
    
    /* Hamburger menu icon - 3 horizontal lines */
    .menu-toggle {
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 6px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 20px;
        height: 30px;
        outline: none;
        transition: all 0.3s ease;
    }
    
    .hamburger-line {
        display: block;
        width: 20px;
        height: 2px;
        background-color: #ffffff;
        border-radius: 1px;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    
    /* Hamburger hover effect */
    .menu-toggle:hover .hamburger-line {
        background-color: #cccccc;
    }
    
    /* Hamburger animation when active */
    .mobile-menu.active .menu-toggle .hamburger-line:first-child {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-menu.active .menu-toggle .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .mobile-menu.active .menu-toggle .hamburger-line:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    /* Dropdown menu */
    .dropdown-content {
        position: absolute;
        right: 0;
        top: 100%;
        background: rgba(20, 20, 20, 0.95);
        backdrop-filter: blur(10px);
        min-width: 140px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
        border-radius: 8px;
        z-index: 1000;
        margin-top: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .dropdown-content span {
        color: var(--color-white);
        padding: 14px 18px;
        text-decoration: none;
        display: block;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transform: translateX(10px);
        opacity: 0;
    }
    
    .dropdown-content span:last-child {
        border-bottom: none;
    }
    
    .dropdown-content span:hover {
        background-color: rgba(255, 255, 255, 0.1);
        transform: translateX(0);
    }
    
    /* Show dropdown when active */
    .mobile-menu.active .dropdown-content {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }
    
    /* Animate dropdown items */
    .mobile-menu.active .dropdown-content span {
        opacity: 1;
        transform: translateX(0);
    }
    
    .mobile-menu.active .dropdown-content span:nth-child(1) {
        transition-delay: 0.1s;
    }
    
    .mobile-menu.active .dropdown-content span:nth-child(2) {
        transition-delay: 0.15s;
    }
    
    .mobile-menu.active .dropdown-content span:nth-child(3) {
        transition-delay: 0.2s;
    }
    
    .linkedin-icon {
        height: 36px;
        width: 36px;
        top: 40%;
        transform: translateY(-2%);
    }
    
    /* Hero Content - Centered vertically */
    .middle-left-text {
        position: absolute;
        top: 50%;
        left: 30px;
        transform: translateY(-50%);
        font-size: 2.2rem;
        margin-bottom: 0;
        text-align: left;
    }
    
    /* Description right below hero text */
    .description-text {
        position: absolute;
        top: calc(50% + 30px);
        left: 30px;
        font-size: 1.1rem;
        line-height: 1.5;
        text-align: left;
        margin: 0;
        max-width: calc(100vw - 70px);
    }
    
    /* Hide line breaks on mobile */
    .description-text br {
        display: none;
    }
    
    /* Works Section Mobile */
    .works-section {
        padding: 30px;
        margin: 0 auto;
        max-width: 100%;
    }
    
    /* Hide desktop tabs on mobile */
    .works-tabs {
        display: none;
    }
    
    /* Mobile Carousel */
    .mobile-carousel {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
        position: relative;
    }
    
    .carousel-content {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 30px;
        position: relative;
    }
    
    .carousel-tab {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.4rem;
        font-weight: normal;
        color: var(--color-white);
        white-space: nowrap;
        opacity: 0;
        transition: all 0.3s ease;
        cursor: pointer;
        text-align: center;
        margin: 0;
        padding: 0;
        line-height: 1.1rem;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    
    .carousel-tab.active {
        opacity: 1;
    }
    
    .carousel-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-105%);
        background: none;
        border: none;
        color: var(--color-white);
        font-size: 2rem;
        cursor: pointer;
        z-index: 10;
        padding: 0;
        margin: 0;
        transition: opacity 0.3s ease;
        line-height: 1.2rem;
    }
    
    .carousel-arrow:hover {
        opacity: 0.7;
    }
    
    .carousel-arrow-left {
        left: calc(50% - 130px);
    }
    
    .carousel-arrow-right {
        right: calc(50% - 130px);
    }
    
    .carousel-dots {
        display: flex;
        gap: 8px;
        margin-top: 10px;
    }
    
    .dot {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #666;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    
    .dot.active {
        background: #fff;
    }
    
    /* Project Grid Mobile - Single Column */
    .grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .works-section .grid-container .grid-item {
        aspect-ratio: auto; /* Override fixed aspect ratio */
        display: flex;
        flex-direction: column;
        margin: 0;
        height: auto; /* Allow natural height expansion */
    }
    
    .works-section .grid-container .grid-image {
        aspect-ratio: 1; /* Keep image square */
        width: 100%;
        height: auto; /* Override fixed height percentage */
        overflow: hidden;
    }
    
    .works-section .grid-container .grid-content {
        height: auto; /* Override fixed height percentage */
        padding: 16px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .grid-title {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    
    .grid-description {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 8px;
        /* Remove line clamp to allow full text display */
    }
    
    /* Mobile grid tags */
    .grid-tags .tag {
        font-size: 0.65rem;
        padding: 1px 6px;
    }
    
    /* Mobile project page tags */
    .project-tags .tag {
        font-size: 0.9rem;
        padding: 2px 8px;
    }
    
    /* Coding Drawings Mobile - 2 Column Grid */
    .coding-drawings-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-top: 30px;
        max-width: 100%;
    }
    
    /* Generative 3D Mobile - 2 Column Grid */
    .generative-3d-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin-top: 30px;
        max-width: 100%;
    }
    
    /* Experiment Container Mobile - Single Column */
    .experiment-container {
        column-count: 1;
        column-gap: 0;
        margin-top: 30px;
        max-width: 100%;
    }
    
    .experiment-grid-item {
        margin-bottom: 8px;
    }
    
    .experiment-caption {
        font-size: 0.8rem;
        margin-top: 8px;
    }
    
    /* Project Page Mobile */
    .project-header {
        padding: 15px 30px;
        position: relative;
    }
    
    .header-content {
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    
    .back-button {
        padding-top: 5px;
    }
    
    .header-nav {
        display: none !important;
    }
    
    .project-header .linkedin-icon {
        display: none !important;
    }
    
    /* Show project hamburger menu on mobile */
    .project-mobile-menu {
        display: block !important;
        position: absolute;
        top: 15px;
        right: 30px;
        z-index: 101;
    }
    
    .project-menu-toggle {
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 6px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 20px;
        height: 30px;
        outline: none;
        transition: all 0.3s ease;
    }
    
    .project-menu-toggle .hamburger-line {
        display: block;
        width: 20px;
        height: 2px;
        background-color: #ffffff;
        border-radius: 1px;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    
    .project-menu-toggle:hover .hamburger-line {
        background-color: #cccccc;
    }
    
    /* Project hamburger animation when active */
    .project-mobile-menu.active .project-menu-toggle .hamburger-line:first-child {
        transform: translateY(7px) rotate(45deg);
    }
    
    .project-mobile-menu.active .project-menu-toggle .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .project-mobile-menu.active .project-menu-toggle .hamburger-line:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .project-dropdown-content {
        position: absolute;
        right: 0;
        top: 100%;
        background: rgba(20, 20, 20, 0.95);
        backdrop-filter: blur(10px);
        min-width: 140px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
        border-radius: 8px;
        z-index: 1000;
        margin-top: 8px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .project-dropdown-content span {
        color: var(--color-white);
        padding: 14px 18px;
        text-decoration: none;
        display: block;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .project-dropdown-content span:last-child {
        border-bottom: none;
    }
    
    .project-dropdown-content span:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .project-mobile-menu.active .project-dropdown-content {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }
    
    .project-container {
        padding: 1px;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    /* Force viewport to prevent horizontal scroll */
    body {
        overflow-x: hidden;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .project-hero {
        grid-template-columns: 1fr;
        width: 100%;
        margin-bottom: 20px;
    }
    
    /* Apply same approach as home page grid that works */
    .detail-section,
    .movements-gifs-container,
    .text-gifs-container,
    .split-images-container,
    .gallery-2x2,
    .gallery-grid,
    .youtube-embed {
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    /* All images fit within their containers */
    .movements-gif-image img,
    .text-gif-item img,
    .split-image-container img,
    .gallery-2x2-image img,
    .gallery-item img {
        width: 100%;
        height: auto;
        box-sizing: border-box;
    }
    
    .project-info h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .project-description {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .project-year {
        font-size: 0.95rem;
    }
    
    .steam-logo {
        height: 48px;
    }
    
    .project-container .details-grid {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    
    /* Reorder sections: Overview → Video → Skills - MOBILE ONLY */
    .detail-section {
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* Move ONLY video between overview and skills */
    .details-grid .detail-section:nth-child(3).video-section {
        order: -1;
    }
    
    
    
    .detail-section {
        padding: 15px;
    }
    
    .detail-section.video-section {
        padding: 5px !important;
    }
    
    .detail-section h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .detail-section p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .detail-section ul, .detail-section ol {
        font-size: 0.9rem;
        columns: 1;
        column-gap: 0;
    }
    
    /* Gallery Mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-2x2,
    #project-gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .movements-gif-media,
    .text-gifs-media {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .movements-gif-title,
    .text-gifs-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .movements-gif-caption {
        font-size: 0.8rem;
        margin-top: 8px;
    }
    
    .movements-gif-description,
    .text-gifs-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .gallery-2x2-caption,
    .split-image-caption {
        font-size: 0.8rem;
        margin-top: 8px;
    }
    
    .project-gallery h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
}

/* Landing page animations */
@keyframes fadeInSite {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* No custom ordering for Abandoned Presence - uses natural modular order */

/* Modular Content Section Styles - inherit from detail-section */
.modular-section {
    grid-column: span 2;
}

.modular-images-grid {
    display: grid;
    gap: 20px;
}

.modular-images-grid.single {
    grid-template-columns: 1fr;
}

.modular-images-grid.double {
    grid-template-columns: repeat(2, 1fr);
}

.modular-images-grid.quad {
    grid-template-columns: repeat(2, 1fr);
}

.modular-image-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modular-image-container {
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    width: 100%;
}

.modular-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.modular-image-caption {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: #ccc;
    text-align: center;
    margin-top: 12px;
    line-height: 1.4;
}

/* Responsive styles for modular containers */
@media (max-width: 768px) {
    
    .modular-images-grid.quad {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .modular-images-grid.double {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
}

@media (min-width: 1900px) and (max-width: 1940px) {
    .modular-images-grid {
        gap: 25px;
    }
}

/* Default layout for off-grid-assemblies and other projects maintains current document order */

/* Project Page Styles */
.project-main.fade-in {
    animation: fadeInProjectPage 0.6s ease-out forwards;
}

@keyframes fadeInProjectPage {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-dark-overlay);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-header .linkedin-icon {
    top: 0;
    transform: none;
    position: static;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.back-button a {
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1rem;
    top: var(--spacing-xs);
    transition: opacity 0.3s ease;
}

.back-button a:hover {
    opacity: 0.7;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-family: var(--font-primary);
    font-size: 1rem;
}

.header-nav span {
    color: var(--color-white);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.header-nav span:hover {
    opacity: 0.7;
}

.project-main {
    padding-top: 80px;
    background: #141414;
    min-height: 100vh;
}

.project-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 60px;
}

.project-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
    align-items: center;
}

.project-media {
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info h1 {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.project-year {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 15px;
}

.project-steam-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.project-steam-link:hover {
    opacity: 0.7;
}

.steam-logo {
    height: 64px;
    width: auto;
    filter: brightness(0.8);
}

.project-description {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

.project-details {
    margin-bottom: 80px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.detail-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
}

.detail-section h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-white);
    margin-bottom: 20px;
}

.detail-section p {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.detail-section ul, .detail-section ol {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
    padding-left: 20px;
    columns: 2;
    column-gap: 30px;
}

.detail-section ul li, .detail-section ol li {
    margin-bottom: 8px;
}

.detail-section strong {
    color: var(--color-white);
}

.youtube-embed {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 8px;
    overflow: hidden;
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-section {
    grid-column: span 2;
}

.gallery-section {
    grid-column: span 2;
}

.split-images-section {
    grid-column: span 2;
}

.text-gifs-section {
    grid-column: span 2;
}

.movements-gifs-section {
    grid-column: span 2;
}

.movements-gifs-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.movements-gif-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-white);
    margin-bottom: 15px;
    text-align: left;
}

.movements-gif-description {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
    text-align: left;
}

.movements-gif-media {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.movements-gif-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.movements-gif-image {
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    width: 100%;
}

.movements-gif-image img {
    width: 100%;
    height: auto;
    display: block;
}

.movements-gif-caption {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: #ccc;
    text-align: center;
    margin-top: 12px;
    line-height: 1.4;
}

.text-gifs-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.text-gifs-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-white);
    margin-bottom: 15px;
    text-align: left;
}

.gallery-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-white);
    margin-bottom: 15px;
    text-align: left;
}

.gallery-media {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.text-gifs-description {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
    text-align: left;
}

.text-gifs-media {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.text-gif-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-gif-image {
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    width: 100%;
}

.text-gif-image img {
    width: 100%;
    height: auto;
    display: block;
}

.text-gif-caption {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: #ccc;
    text-align: center;
    margin-top: 12px;
    line-height: 1.4;
}

.split-images-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.split-images-text {
    display: flex;
    flex-direction: column;
}

.split-images-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-white);
    margin-bottom: 15px;
    text-align: left;
}

.split-images-description {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
}

.single-image-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.single-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.split-image-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.split-image-container {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.split-image-caption {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: #ccc;
    text-align: center;
    margin-top: 12px;
    line-height: 1.4;
}

.split-image-container img {
    width: 160%;
    height: 100%;
    object-fit: cover;
}

.split-image-item:nth-child(1) .split-image-container img {
    margin-left: 0;
}

.split-image-item:nth-child(2) .split-image-container img {
    margin-left: -60%;
}

.gallery-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-2x2-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-2x2-image {
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    width: 100%;
}

.gallery-2x2-image img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-2x2-caption {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: #ccc;
    text-align: center;
    margin-top: 12px;
    line-height: 1.4;
}

.project-gallery h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-white);
    margin-bottom: 30px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Project Page 1920x1080 Optimization */
@media screen and (min-width: 1900px) and (max-width: 1940px) {
    .project-header {
        padding: 25px 18px;
    }
    
    .project-header .header-content {
        max-width: 1520px;
    }
    
    .project-container {
        max-width: 1520px;
        padding: 50px 18px;
    }
    
    .project-hero {
        gap: 80px;
        margin-bottom: 60px;
    }
    
    .project-info h1 {
        font-size: 3.2rem;
        margin-bottom: 25px;
    }
    
    .project-description {
        font-size: 1.3rem;
        line-height: 1.7;
    }
    
    .project-year {
        font-size: 1.2rem;
    }
    
    .steam-logo {
        height: 70px;
    }
    
    .project-tags .tag {
        font-size: 0.85rem;
        padding: 3px 10px;
    }
    
    .details-grid {
        gap: 50px;
        margin-bottom: 100px;
    }
    
    .detail-section {
        padding: 35px;
    }
    
    .detail-section h3 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .detail-section p {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .detail-section ul, .detail-section ol {
        font-size: 1.1rem;
        line-height: 1.7;
        column-gap: 35px;
    }
    
    /* Gallery optimizations for 1920x1080 */
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 25px;
    }
    
    .gallery-2x2 {
        gap: 25px;
    }
    
    .movements-gif-media,
    .text-gifs-media {
        gap: 25px;
    }
    
    .movements-gif-title,
    .text-gifs-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .movements-gif-description,
    .text-gifs-description {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .project-gallery h3 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
    
    .back-button a {
        font-size: var(--font-1920-nav);
    }
    
    .header-nav span {
        font-size: var(--font-1920-nav);
    }
}

/* Responsive Design for Project Page */
@media (max-width: 1024px) {
    .project-hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .project-container {
        padding: 40px 40px;
    }
    
    .project-header {
        padding: 20px 40px;
    }
}

@media (max-width: 768px) {
    .project-info h1 {
        font-size: 2.5rem;
    }
    
    .project-container {
        padding: 30px 30px;
    }
    
    .project-header {
        padding: 15px 30px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .detail-section {
        padding: 20px;
    }
}

/* ABOUT PAGE STYLES */

/* About Header */
.about-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-dark-overlay);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-header .back-button a {
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1rem;
    top: var(--spacing-xs);
    transition: opacity 0.3s ease;
}

.about-header .back-button a:hover {
    color: var(--color-gray);
}

.about-header .header-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-family: var(--font-primary);
    font-size: 1rem;
}

.about-header .header-nav span {
    color: var(--color-white);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.about-header .header-nav span:hover {
    color: var(--color-gray);
}

.about-header .linkedin-icon {
    height: 32px;
    width: 32px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    filter: brightness(100) invert(1);
    top: 0;
    transform: none;
    position: static;
}

.about-header .linkedin-icon:hover {
    opacity: 0.7;
}

/* About Mobile Menu */
.about-mobile-menu {
    display: none;
    position: relative;
}

.about-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin: -8px -8px -8px 0;
    border-radius: 4px;
    width: 40px;
    height: 30px;
    outline: none;
    transition: all 0.3s ease;
}

.about-menu-toggle .hamburger-line {
    display: block;
    width: 20px;
    height: 2px;
    margin: 3px auto;
    background-color: #ffffff;
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.about-menu-toggle:hover .hamburger-line {
    background-color: #cccccc;
}

.about-dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 120px;
    background: var(--color-dark-overlay);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: var(--spacing-xs) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.about-mobile-menu.active .about-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.about-dropdown-content span {
    display: block;
    padding: var(--spacing-xs) var(--spacing-sm);
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-dropdown-content span:last-child {
    border-bottom: none;
}

.about-dropdown-content span:hover {
    color: var(--color-gray);
    background: rgba(255, 255, 255, 0.05);
}

/* About Main Content */
.about-main {
    padding-top: 80px;
    padding-bottom: var(--spacing-lg);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.about-main.fade-in {
    animation: fadeInProjectPage 0.6s ease-out forwards;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 60px;
}

.about-content {
    display: flex;
    gap: var(--spacing-xl);
    align-items: flex-start;
    margin-top: var(--spacing-md);
}

.profile-section {
    flex-shrink: 0;
}

.profile-image {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.description-section {
    flex: 1;
}

.text-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #141414;
    padding: var(--spacing-md);
    border-radius: 8px;
}

.about-description {
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
}

.contact-section {
    margin-top: var(--spacing-md);
}

.contact-heading {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-text);
    margin: 0 0 var(--spacing-xs) 0;
}

.contact-email {
    font-size: var(--font-size-md);
    color: var(--color-text);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.contact-email:hover {
    opacity: 0.7;
}

.about-description-extended {
    font-size: var(--font-size-md);
    line-height: 1.6;
    color: var(--color-text);
    margin: var(--spacing-md) 0 0 0;
}

.section-divider {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: var(--spacing-md) 0;
}

.skills-section {
    margin-top: 0;
}

.skills-description {
    font-size: var(--font-size-md);
    line-height: 1.6;
    color: var(--color-text);
    margin: var(--spacing-sm) 0;
}

/* About Content Responsive */
@media screen and (min-width: 1900px) and (max-width: 1940px) {
    .about-header {
        padding: 25px 18px;
    }
    
    .about-header .header-content {
        max-width: 1520px;
    }
    
    .about-header .back-button a {
        font-size: var(--font-1920-nav);
    }
    
    .about-header .header-nav span {
        font-size: var(--font-1920-nav);
    }
    
    .about-header .linkedin-icon {
        height: 42px;
        width: 42px;
    }
    
    .about-container {
        max-width: 1250px;
        padding: 50px 18px;
    }
}

@media (max-width: 1024px) {
    .about-header {
        padding: 20px 40px;
    }
    
    .about-header .linkedin-icon {
        height: 28px;
        width: 28px;
    }
    
    .about-container {
        padding: 40px 40px;
    }
    
    .about-content {
        gap: var(--spacing-lg);
    }
    
    .profile-image {
        width: 280px;
        height: 370px;
    }
    
    .text-container {
        padding: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .about-header {
        padding: 15px 30px;
    }
    
    .about-header .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }
    
    .about-container {
        padding: 30px 30px;
    }
    
    .about-content {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-md);
        text-align: left;
    }
    
    .profile-image {
        width: 100%;
        height: 300px;
    }
    
    .description-section {
        padding-top: 0;
        width: 100%;
    }
    
    .text-container {
        padding: var(--spacing-sm);
        width: 100%;
    }
    
    .about-description {
        font-size: 1.2rem;
    }
}

/* About Mobile Menu Responsive */
@media (max-width: 900px) {
    .about-header .header-nav {
        display: none;
    }
    
    .about-mobile-menu {
        display: block;
    }
}

/* BLOG PAGE STYLES */

/* Blog Header */
.blog-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-dark-overlay);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-header .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-header .back-button a {
    color: var(--color-white);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1rem;
    top: var(--spacing-xs);
    transition: opacity 0.3s ease;
}

.blog-header .back-button a:hover {
    opacity: 0.7;
}

.blog-header .header-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-family: var(--font-primary);
    font-size: 1rem;
}

.blog-header .header-nav span {
    color: var(--color-white);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.blog-header .header-nav span:hover {
    opacity: 0.7;
}

.blog-header .linkedin-icon {
    height: 32px;
    width: 32px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    filter: brightness(100) invert(1);
    top: 0;
    transform: none;
    position: static;
}

.blog-header .linkedin-icon:hover {
    opacity: 0.7;
}

/* Blog Main Content */
.blog-main {
    padding-top: 80px;
    background: #141414;
    min-height: 100vh;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.blog-main.fade-in {
    animation: fadeInProjectPage 0.6s ease-out forwards;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 60px;
}


.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-item {
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.blog-item:hover {
    transform: translateY(-5px);
}

.blog-thumbnail {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-item:hover .blog-thumbnail img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px 0;
}

.blog-post-title {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-white);
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.blog-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 15px 0;
}

.blog-date {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: #999;
    margin: 0;
}

/* Blog Mobile Menu */
.blog-mobile-menu {
    display: none;
    position: relative;
}

.blog-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.blog-dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--color-dark-overlay);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 15px;
    min-width: 120px;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.2s ease;
    pointer-events: none;
    margin-top: 10px;
}

.blog-mobile-menu.active .blog-dropdown-content {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.blog-dropdown-content span {
    display: block;
    color: var(--color-white);
    padding: 8px 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-radius: 4px;
    text-align: center;
}

.blog-dropdown-content span:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Blog Responsive */
@media screen and (min-width: 1900px) and (max-width: 1940px) {
    .blog-header {
        padding: 25px 18px;
    }
    
    .blog-header .header-content {
        max-width: 1520px;
    }
    
    .blog-header .back-button a {
        font-size: var(--font-1920-nav);
    }
    
    .blog-header .header-nav span {
        font-size: var(--font-1920-nav);
    }
    
    .blog-header .linkedin-icon {
        height: 42px;
        width: 42px;
    }
    
    .blog-container {
        max-width: 1520px;
        padding: 50px 18px;
    }
}

@media (max-width: 1024px) {
    .blog-header {
        padding: 20px 40px;
    }
    
    .blog-header .linkedin-icon {
        height: 28px;
        width: 28px;
    }
    
    .blog-container {
        padding: 40px 40px;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .blog-header {
        padding: 15px 30px;
    }
    
    .blog-header .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }
    
    .blog-container {
        padding: 30px 30px;
    }
    
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .blog-post-title {
        font-size: 1.1rem;
    }
}

/* Blog Mobile Menu Responsive */
@media (max-width: 900px) {
    .blog-header .header-nav {
        display: none;
    }
    
    .blog-mobile-menu {
        display: block;
    }
}

/* BLOG POST PAGE STYLES */

.blog-post {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 40px;
    text-align: left;
}

.post-header h1 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--color-white);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.post-meta {
    margin-top: 15px;
}

.post-date {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: #999;
    margin: 0;
}

.post-content {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--color-white);
}

.post-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.post-content h2 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--color-white);
    margin: 40px 0 20px 0;
}

.post-content h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    color: var(--color-white);
    margin: 30px 0 15px 0;
}

.post-content ul {
    margin: 20px 0;
    padding-left: 0;
}

.post-content ul li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    list-style: none;
    position: relative;
    padding-left: 20px;
}

.post-content ul li::before {
    content: '•';
    color: var(--color-white);
    position: absolute;
    left: 0;
    top: 0;
}

.post-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

/* Blog Post Responsive */
@media screen and (min-width: 1900px) and (max-width: 1940px) {
    .blog-post {
        max-width: 900px;
    }
}

@media (max-width: 1024px) {
    .blog-post {
        max-width: 700px;
    }
    
    .post-content ul li {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .blog-post {
        max-width: 100%;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .post-content p {
        font-size: 1rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.2rem;
    }
    
    .post-content ul li {
        font-size: 1rem;
    }
}


/* Make About Me links look like spans */
.about-me-nav {
    color: inherit;
    text-decoration: none;
}

.dropdown-content a {
    color: var(--color-white);
    text-decoration: none;
    display: block;
    padding: var(--spacing-xs) var(--spacing-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
    opacity: 0;
}

.dropdown-content a:hover {
    color: var(--color-gray);
    background: rgba(255, 255, 255, 0.05);
}

.project-dropdown-content a {
    color: var(--color-white);
    text-decoration: none;
    display: block;
    padding: var(--spacing-xs) var(--spacing-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-dropdown-content a:hover {
    color: var(--color-gray);
    background: rgba(255, 255, 255, 0.05);
}

