@font-face {
    font-family: 'Quicksand';
    src: url('fonts/Quicksand-VariableFont_wght.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Quicksand - Bold (700) */
@font-face {
    font-family: 'Quicksand';
    src: url('fonts/Quicksand-VariableFont_wght.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* OabinCute - Bold (700) */
@font-face {
    font-family: 'OabinCute';
    src: url('fonts/OabinCute.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.sticky-portfolio-nav {
    position: fixed;            /* Forces it to stay pinned relative to the screen browser frame */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5000;
    
    /* Frosted glass backdrop styling */
    background-color: rgba(234, 88, 12, 0.85); 
    backdrop-filter: blur(12px);                
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    
    /* HIDDEN BY DEFAULT STATES */
    opacity: 0;
    pointer-events: none;       /* Stops mouse interactions while hidden */
    transform: translateY(-15px); /* Keeps it tucked slightly upward */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* This class gets injected via JavaScript automatically once scrolling occurs */
.sticky-portfolio-nav.nav-visible {
    opacity: 1;
    pointer-events: auto;       /* Restores link clicking functionality */
    transform: translateY(0);   /* Drops smoothly down into position */
}

/* Inner Layout Frame */
.nav-container-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Branding Label Left */
.nav-brand-title {
    font-family: 'OabinCute', sans-serif;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    user-select: none;
}

/* Menu Tracks Right */
.nav-menu-links {
    display: flex;
    align-items: center;
    gap: 32px; 
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu-links a {
    font-family: 'Quicksand', sans-serif;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.nav-menu-links a:hover {
    color: #fce144; /* Highlights to theme yellow accent */
    transform: translateY(-1px);
}

/* Prevents target anchor headers from getting cut off behind the floating bar layout */
#projects-section, #about-section, #contact-section {
    scroll-margin-top: 85px; 
}

/* Mobile responsive parameters */
@media (max-width: 768px) {
    .nav-container-inner {
        flex-direction: column;
        gap: 10px;
        padding: 12px 16px;
    }
    .nav-menu-links {
        gap: 20px;
    }
    .nav-menu-links a {
        font-size: 1rem;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    color: #2c2c2c;
    overflow-x: hidden;
}
h1, h2, h3 {
    font-family: 'OabinCute', sans-serif;
    font-weight: 800;
}

/* --- Section 1: Hero --- */
#hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: linear-gradient(rgba(21, 40, 58, 0.3), rgba(44, 62, 80, 0.2));
    background-size: cover;
    background-position: center;
animation: smoothCrossfade 12s infinite ease-in-out; 
}

.hero-top {
    position: relative;
    background-image: url('PROJECTS/pleinairpril 1.jpg');
    background-size: cover;
    background-position: center;
}

@keyframes smoothCrossfade {
    /* 0% to 30% of the time: Show the House Background */
    0%, 10% {
        background-image: url('PROJECTS/pleinairpril 1.jpg');
    }
    11%, 30% {
        background-image: url('PROJECTS/pleinairpril 3.png');
    }
    31%, 60% {
        background-image: url('PROJECTS/BBQ.jpg');
    }
    61%, 90% {
        background-image: url('PROJECTS/POKEMON.jpg');
    }
    91%, 100% {
        background-image: url('PROJECTS/pleinairpril 1.jpg');
    }
    }
    
.hero-content {
    z-index: 2;
}
.hero-title {
    font-size: 4.5rem;
    color: #ffebd9;
    text-shadow: 4px 4px 0px #b2536b;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.hero-subtitle {
    font-size: 1.8rem;
    color: #ffebd9;
    margin-bottom: 40px;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
.cta-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    background-color: #c84361;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-about {
    display: block;
    margin: 19px auto 0 auto;  /* centers + adds top spacing */
    padding: 15px 35px;
    width: 150px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    background-color: #c84361;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn:hover {
    transform: translateY(-3px);
    background-color: #b03550;
}

/* --- Section 2: Intro --- */
#intro {
    background-color: #ffcbd1;
    min-height: 100vh;
    height: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 10%;
    box-sizing: border-box;
}
.intro-container {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    width: 100%;
}
.profile-illustration {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background-color: #ff8899;
    border: 12px solid #ffedf0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.profile-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.intro-text-box {
    flex-grow: 1;
}
.intro-greeting {
    color: #2b66ff;
    font-size: 3.5rem;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 25px;
}
.intro-desc {
    color: #1e4bd0;
    font-size: 1.5rem;
    line-height: 1.7;
    max-width: 650px;
}

/* --- Section 3: About --- */
#about {
    background-color: #f2ca52;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: stretch;
    box-sizing: border-box;
}
.about-left {
    flex: 1;
    padding: 80px 8% 80px 12%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-title {
    color: #2b66ff;
    font-size: 3.5rem;
    text-transform: uppercase;
    margin-bottom: 25px;
}
.about-desc {
    color: #4a3b00;
    font-size: 1.4rem;
    line-height: 1.7;
    max-width: 550px;
}
.about-right {
    flex: 1;
    background: url('AVATARS/REAL ME.png') no-repeat center center/cover;
    min-height: 450px;
}

/* --- Section 4: Tools I Use --- */
#tools {
    background-color: #ffcbd1;
    min-height: 100vh;
    width: 100%;
    padding: 100px 5%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}
.tools-title {
    color: #2b66ff;
    font-size: 3.5rem;
    text-transform: uppercase;
    margin-bottom: 60px;
}
.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}
.tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.3);
    padding: 25px;
    border-radius: 24px;
    transition: transform 0.2s;
}
.tool-card:hover {
    transform: scale(1.05);
}
.tool-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.8rem;
    color: white;
}

.icon-ps { background-image: url('ICONS/PHOTOSHOP.png'); background-repeat: no-repeat; background-position: center; background-size: contain; }
.icon-ai { background-image: url('ICONS/ILLUSTRATOR.png'); background-repeat: no-repeat; background-position: center; background-size: contain; }
.icon-an { background-image: url('ICONS/ANIMATE.png'); background-repeat: no-repeat; background-position: center; background-size: contain; }
.icon-ase { background-image: url('ICONS/ASEPRITE.png'); background-repeat: no-repeat; background-position: center; background-size: contain; }
.icon-blender { background-image: url('ICONS/BLENDER.png'); background-repeat: no-repeat; background-position: center; background-size: contain; }
.icon-csp { background-image: url('ICONS/CLIP STUDIO PAINT.png'); background-repeat: no-repeat; background-position: center; background-size: contain; }
.icon-bb { background-image: url('ICONS/BLOCKBENCH.png'); background-repeat: no-repeat; background-position: center; background-size: contain; }
.icon-canva { background-image: url('ICONS/CANVA.png'); background-repeat: no-repeat; background-position: center; background-size: contain; }

.tool-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #444;
}

/* --- Section 5: Projects Folder Layout --- */
#projects {
    background-color: #e64a19;
    min-height: 100vh;
    width: 100%;
    padding: 100px 0 0 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.projects-title {
    color: #ffe082;
    font-size: 3.5rem;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.navigation-view-container {
    width: 100%;
    min-height: 240px;
}
    
/* Base collapsed architecture layout rules */
.folder-grid {
    display: none;
    opacity: 0;
    transform: scale(0.96);
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 100px 5%;
    flex-wrap: wrap;
    transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

/* Active folder layers injected via script classes */
.folder-grid.view-active {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

.folder-wrapper {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 220px;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.folder-wrapper:hover {
    transform: translateY(-12px);
}
.folder-wrapper:hover .folder-icon,
.folder-wrapper:hover .sub-back-arrow-btn {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 20px rgba(0,0,0,0.3));
}
.folder-wrapper:hover .folder-name {
    color: #ffffff;
    text-decoration: underline;
}
.folder-icon {
    width: 150px;
    height: 140px; 
    background: url('ASSETS/FOLDER.png') no-repeat center center;
    background-size: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.2));
    transition: transform 0.2s, filter 0.2s;
}

/* Desktop Back to Menu icon square styling */
.sub-back-arrow-btn {
    width: 150px;
    height: 140px;
    margin-bottom: 15px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 4px dashed rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.1));
    transition: transform 0.2s, background-color 0.2s;
}
.back-folder-wrapper:hover .sub-back-arrow-btn {
    background-color: rgba(255, 255, 255, 0.25);
}

.folder-name {
    font-family: 'Quicksand', sans-serif;
    color: #ffe082;
    font-size: 1.3rem;
    font-weight: 700;
    transition: color 0.2s;
}

/* --- Artwork Showcase Blocks Layout rules --- */
.artwork-display-layer {
    width: 100%;
}

.project-gallery-block {
    display: block;
    padding: 80px 8%;
    border-top: 6px dashed rgba(255, 255, 255, 0.25);
    text-align: left;
}

.project-gallery-block.hidden-gallery {
    display: none
}

.block-orange { background-color: #e64a19; }
.block-blue { background-color: #1d62ff; }

.gallery-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.back-arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: white;
    color: #e64a19;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: transform 0.2s, background-color 0.2s;
}
.block-blue .back-arrow-btn { color: #1d62ff; }
.back-arrow-btn:hover {
    transform: scale(1.1);
    background-color: #fff3e0;
}
.gallery-section-title {
    color: #ffe082;
    font-size: 2.8rem;
    text-transform: uppercase;
}
.block-blue .gallery-section-title { color: white; }

.showcase-display {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.showcase-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    object-fit: contain;
}

.gallery-carousel-view {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.main-display-wrapper {
    width: 100%;
    max-width: 1100px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.main-display-wrapper .showcase-img {
    display: block;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
}
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 5rem;
    cursor: pointer;
    padding: 0 15px;
    z-index: 5;
    transition: color 0.2s;
}
.nav-arrow:hover { color: #ffe082; }
.left-arrow { left: -60px; }
.right-arrow { right: -60px; }

.character-grid-layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr; /* Asymmetric wide layout matching image proportions */
    gap: 30px;
    width: 100%;
    max-width: 1100px;
    background: transparent;
    box-shadow: none !important;
}

.character-grid-layout .grid-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}
/* --- Section 6: Thank You / Contact --- */
#contact {
    background-color: #1d62ff;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 10%;
    box-sizing: border-box;
}
.contact-container {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    width: 100%;
}
.contact-text-box {
    flex-grow: 1;
}
.thanks-title {
    color: #f7ff1a;
    font-size: 5rem;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 10px;
}
.pitch-text {
    color: #f7ff1a;
    font-family: 'OabinCute', sans-serif;
    font-size: 2.8rem;
    text-transform: uppercase;
    margin-bottom: 30px;
}
.contact-info a {
    display: block;
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    margin-bottom: 10px;
    transition: opacity 0.2s;
}
.contact-info a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

#projects {
    background-color: #e64a19;
    padding: 100px 0 0 0;
    text-align: center;
}
.projects-title {
    color: #ffe082;
    font-size: 3.5rem;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.navigation-view-container {
    width: 100%;
    min-height: 240px;
}

/* Base collapsed architecture layout rules */
.folder-grid {
    display: none;
    opacity: 0;
    transform: scale(0.96);
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 100px 5%;
    flex-wrap: wrap;
    transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

/* Active folder layers injected via script classes */
.folder-grid.view-active {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

.folder-wrapper {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 220px;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.folder-wrapper:hover {
    transform: translateY(-12px);
}
.folder-wrapper:hover .folder-icon,
.folder-wrapper:hover .sub-back-arrow-btn {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 20px rgba(0,0,0,0.3));
}
.folder-wrapper:hover .folder-name {
    color: #ffffff;
    text-decoration: underline;
}
.folder-icon {
    width: 150px;
    height: 140px; 
    background: url('ASSETS/FOLDER.png') no-repeat center center;
    background-size: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.2));
    transition: transform 0.2s, filter 0.2s;
}

.sub-back-arrow-btn {
    width: 150px;
    height: 140px;
    margin-bottom: 15px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 4px dashed rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.1));
    transition: transform 0.2s, background-color 0.2s;
}
.back-folder-wrapper:hover .sub-back-arrow-btn {
    background-color: rgba(255, 255, 255, 0.25);
}

.folder-name {
    font-family: 'Quicksand', sans-serif;
    color: #ffe082;
    font-size: 1.3rem;
    font-weight: 700;
    transition: color 0.2s;
}

/* --- Artwork Showcase Blocks Layout rules --- */
.artwork-display-layer {
    width: 100%;
}

.project-gallery-block {
    display: block;
    padding: 80px 8%;
    border-top: 6px dashed rgba(255, 255, 255, 0.25);
    text-align: left;
}

/* Artworks are locked completely until folder variables trigger them */
.project-gallery-block.hidden-gallery {
    display: none !important;
}

.block-orange { background-color: #e64a19; }
.block-blue { background-color: #1d62ff; }

.gallery-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.back-arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: white;
    color: #e64a19;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: transform 0.2s, background-color 0.2s;
}
.block-blue .back-arrow-btn { color: #1d62ff; }
.back-arrow-btn:hover {
    transform: scale(1.1);
    background-color: #fff3e0;
}

.centered-title {
    text-align: center;
    width: 100%;
    color: #fce144; /* Bright storybook yellow title color matching image */
    font-size: 4rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-family: 'Fredoka', sans-serif;
    text-shadow: none;
}
.gallery-section-title {
    font-family: 'OabinCute', sans-serif;
    color: #ffe082;
    font-size: 2.8rem;
    text-transform: uppercase;
}
.block-blue .gallery-section-title { color: white; }

.showcase-display {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.showcase-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    object-fit: contain;
}

.gallery-carousel-view {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 70px;
}
.collage-grid-layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
    gap: 12px; /* Clean whitespace separating illustration tiles */
    width: 100%;
    aspect-ratio: 16 / 9; /* Lock layout ratio exact to image bounds */
    background: transparent;
    box-shadow: none !important; /* Flat uniform style match */
    border-radius: 0 !important;
}

/* Force image tags to stretch flush into grid cell limits cleanly */
.collage-grid-layout .grid-item {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.collage-grid-layout .grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures cropping bounds map identically to layout cells */
    display: block;
}   
.item-featured {
    grid-column: 1 / 6;
    grid-row: 1 / 8;
}

.item-mini-top {
    grid-column: 6 / 8;
    grid-row: 1 / 3;
}

.item-mini-bottom {
    grid-column: 6 / 8;
    grid-row: 3 / 8;
}

.item-right-top {
    grid-column: 8 / 11;
    grid-row: 1 / 5;
}

.item-accent-top {
    grid-column: 11 / 13;
    grid-row: 1 / 3;
}

.item-accent-mid {
    grid-column: 11 / 13;
    grid-row: 3 / 5;
}

.item-banner-right {
    grid-column: 8 / 13;
    grid-row: 5 / 13;
}

.item-row3-1 {
    grid-column: 1 / 4;
    grid-row: 8 / 13;
}

.item-row3-2 {
    grid-column: 4 / 6;
    grid-row: 8 / 13;
}

.item-row3-3 {
    grid-column: 6 / 8;
    grid-row: 8 / 13;
}
.main-display-wrapper {
    width: 100%;
    max-width: 1100px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.main-display-wrapper .showcase-img {
    display: block;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
}
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 5rem;
    cursor: pointer;
    padding: 0 15px;
    z-index: 5;
    transition: color 0.2s;
}
.nav-arrow:hover { color: #ffe082; }
.left-arrow { left: -60px; }
.right-arrow { right: -60px; }

.graphics-row-layout {
    display: flex;
    justify-content: center;
    gap: 25px;
    width: 100%;
    max-width: 1100px;
    background: transparent;
    box-shadow: none !important;
}

.graphics-row-layout .poster-item {
    flex: 1;
    max-width: 32%; /* Keeps all 3 poster options exactly the same size */
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-radius: 4px;
    overflow: hidden;
}

.graphics-row-layout .poster-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* --- Responsive Layout Adjustments --- */
@media (max-width: 968px) {
    #intro, #contact {
        padding: 60px 5%;
    }
    .intro-container, .contact-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    #about {
        flex-direction: column;
    }
    .about-left {
        padding: 60px 8%;
        text-align: center;
    }
    .about-desc {
        margin: 0 auto;
    }
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1.4rem; }
    .thanks-title { font-size: 3.5rem; }
    .pitch-text { font-size: 2rem; }
}

.mockups-canvas-layout {
    width: 100%;
    max-width: 950px;
    cursor: pointer;
    background: transparent;
    box-shadow: none !important;
}

.mockups-canvas-layout img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
@media (max-width: 900px) {
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .tools-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
    .gallery-carousel-view {
        padding: 0 40px;
    }
    .collage-grid-layout {
        gap: 6px;
    }
    .nav-arrow {
        font-size: 4rem;
    }
    .centered-title {
        font-size: 2.5rem;
    }
}
.logos-split-layout {
    display: flex;
    flex-direction: column; 
    gap: 60px;                        
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 40px 20px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}


.brand-showcase-row {
    display: flex;
    flex-direction: row;   
    align-items: center;
    justify-content: flex-start;
    gap: 50px;                        
    width: 100%;
    margin-left: 90px;
    
}
.brand-logo-default{
    filter: drop-shadow(0 8px 20px rgba(68, 13, 13, 0.629));
}

.brand-logo-holder {
    width: 260px;                      
    flex-shrink: 0;
    display: flex;
    justify-content: flex-start;
}

.brand-logo-holder img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}


.brand-icons-holder {
    display: flex;
    flex-direction: row;
    gap: 16px;                        
    align-items: center;
    flex-wrap: nowrap;
    margin-left: 100px;
}

.icon-square {
    width: 85px;  
    height: 85px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.icon-square:hover {
    transform: scale(1.08);
}

.icon-square img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: block;
}

.ice-cream-bg {
    background: transparent;
    box-shadow: none;
}
.ice-cream-bg {
    background: transparent; 
    box-shadow: none;
}
.collage-grid-layout .grid-item {
    cursor: pointer;
    transition: filter 0.2s ease;
}
.collage-grid-layout .grid-item:hover {
    filter: brightness(0.9) contrast(1.05);
}

.lightbox-overlay {
    display: flex;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Activated modal view rule */
.lightbox-overlay.lightbox-active {
    opacity: 1;
    pointer-events: auto;
}

/* The actual popped-up viewport image scale constraints */
.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.lightbox-overlay.lightbox-active .lightbox-content {
    transform: scale(1);
}

/* Tiny floating closing icon top-right corner wrapper */
.lightbox-close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 300;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s, transform 0.2s;
}
.lightbox-close-btn:hover {
    color: #ffcbd1;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .lightbox-close-btn {
        top: 15px;
        right: 25px;
        font-size: 2.8rem;
    }
}
@media (max-width: 820px) {
    .character-grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
    .graphics-row-layout {
        flex-direction: row;
        align-items: center;
        gap: 30px;
    }
    .graphics-row-layout .poster-item {
        max-width: 80%;
    }
    .logos-split-layout {
        flex-direction: column;
        gap: 45px;
    }
    .logos-brand-column {
        gap: 30px;
    }
@media (max-width: 968px) {
    .logos-split-layout {
        flex-direction: column;
        gap: 10px;
    }
    .logos-brand-column, .icons-container-column {
        width: 100%; /* Spans full screen width on mobile */
    }
    .icons-grid-row {
        justify-content: center; 
        flex-wrap: wrap;       
    }
    .icon-square {
        width: 120px;
        height: 120px;
        border-radius: 12px;
    }
}

.p-contact {
    color: #ffffff;
    font-family: 'Quicksand', sans-serif;
    font-size: 20px;

}
.contact-icons {
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;

    width: 50%;
    display: flex;
    gap: 3px;

    justify-content: center;
}
@media (max-width: 500px) {
    .contact-icons .icon-square {
        width: 30px;
        height: 30px;
    }

    .contact-icons .icon-square img {
        width: 30%;
        height: 30%;
        object-fit: contain;
    }
}

.clickable-copy-email {
    font-family: 'Quicksand', sans-serif;
    color: #ffffff;
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 500;
    cursor: copy; /* Subtle hint change: changes cursor to a little copy plus sign icon */
    transition: color 0.15s ease, opacity 0.15s ease;
    user-select: all; /* Allows quick manual highlighting if needed */
}

/* Subtle underline effect on hover to indicate it acts like a link */
.clickable-copy-email:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.clickable-copy-email.copied-active {
    color: #fce144;
    font-weight: 700;
    text-decoration: none;
}
.follow{
    margin-top: 10px;
    font-family: 'Quicksand', sans-serif;
    color: #ffffff;
    font-size: 1.1rem;
}

/* =========================================================
   FINAL MOBILE RESPONSIVENESS SYSTEM (CENTER FIX PATCHED)
   ========================================================= */

/* ================= TABLET + MOBILE ================= */
@media (max-width: 768px) {

    html, body {
        overflow-x: hidden;
    }

    /* ================= TYPOGRAPHY ================= */
    .hero-title {
        font-size: 2.6rem;
        line-height: 1.15;
    }

    .intro-greeting,
    .about-title,
    .tools-title,
    .projects-title,
    .thanks-title {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .gallery-section-title,
    .pitch-text {
        font-size: 1.6rem;
    }

    .intro-desc,
    .about-desc,
    .p-contact,
    .contact-info a {
        font-size: 1rem;
    }

    /* ================= HERO BUTTONS ================= */
    .cta-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 10px;
    }

    .btn,
    .btn-about {
        width: 70%;
        max-width: 220px;
        font-size: 0.9rem;
        padding: 9px 16px;

        /* FIX: CENTER RESUME / CTA BUTTON */
        display: block;
        margin: 14px auto 0 auto;
        text-align: center;
    }

    /* ================= INTRO ================= */
    .intro-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .profile-illustration {
        width: 220px;
        height: 220px;
    }

    /* ================= ABOUT ================= */
    #about {
        flex-direction: column;
    }

    .about-left {
        padding: 50px 20px;
        text-align: center;
    }

    .about-right {
        min-height: 300px;
    }

    /* ================= TOOLS ================= */
    .tools-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        gap: 14px;
        max-width: 460px;
        margin: 0 auto;
    }

    .tool-card {
        padding: 16px 12px;
    }

    .tool-icon {
        width: 62px;
        height: 62px;
    }

    .tool-name {
        font-size: 0.9rem;
    }

    /* ================= PROJECTS ================= */
    .folder-grid.view-active {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .folder-wrapper {
        width: 180px;
        text-align: center;
    }

    .folder-icon,
    .sub-back-arrow-btn {
        width: 120px;
        height: 110px;
    }

    /* ================= GALLERY ================= */
    .project-gallery-block {
        padding: 60px 10px;
    }

    .gallery-carousel-view {
        padding: 0 8px;
        max-width: 100%;
    }

    .main-display-wrapper {
        width: 95vw;
        max-width: 95vw;
    }

    .showcase-img {
        width: 100%;
        max-height: 75vh;
        object-fit: contain;
    }

    .collage-grid-layout,
    .graphics-row-layout,
    .character-grid-layout {
        width: 95vw;
        margin: 0 auto;
    }

    /* ================= NAV ARROWS ================= */
    .nav-arrow {
        font-size: 3.2rem;
    }

    .left-arrow { left: -10px; }
    .right-arrow { right: -10px; }

    .follow {
        text-align: center;
        margin-top: 15px;
    }
}

/* ================= SMALL PHONES ================= */
@media (max-width: 380px) {

    .hero-title {
        font-size: 2.2rem;
    }

    .intro-greeting,
    .about-title,
    .tools-title,
    .projects-title,
    .thanks-title {
        font-size: 1.8rem;
    }

    .btn,
    .btn-about {
        width: 80%;
        font-size: 0.85rem;
    }

    .tools-grid {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        gap: 10px;
    }

    .tool-icon {
        width: 52px;
        height: 52px;
    }

    .folder-wrapper {
        width: 150px;
    }

    .main-display-wrapper {
        width: 96vw;
    }
}

@media (max-width: 768px) {

    .brand-showcase-row {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-left: 0;
    }

    .brand-logo-holder {
        width: 180px;
        justify-content: center;
    }

    .brand-icons-holder {
        margin-left: 0;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .icon-square {
        width: 55px;
        height: 55px;
    }

    .logos-split-layout {
        padding: 20px 10px;
        gap: 30px;
    }
}