/* ==========================================================================
   1. RESET & MAIN BACKGROUND CANVAS SETUP
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #E6E1FA;
    /* Premium Signature Studio Lavender Wallpaper */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #000000;
    padding: 40px;
    min-height: 100vh;
}

.landing-page {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ==========================================================================
   2. STYLISH HERO DESIGN HEADER
   ========================================================================== */
.hero-section {
    background-color: #FFFFFF;
    border: 4px solid #000000;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 8px 8px 0px #000000;
}

.studio-logo {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: #000000;
}

.hero-headline {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-subtext {
    font-size: 16px;
    font-weight: 500;
    color: #555555;
    margin-bottom: 24px;
}

.cta-button-group {
    display: flex;
    gap: 16px;
}

.cta-btn {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    border: 3px solid #000000;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 4px 4px 0px #000000;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-yellow {
    background-color: #FFCC00;
}

.btn-white {
    background-color: #FFFFFF;
}

.cta-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000000;
}

/* ==========================================================================
   3. 3D INTERACTIVE PROJECT FOLDER TRACK MATRIX
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.artist-folder-card {
    width: 100%;
    height: 140px;
    background-color: #FFFFFF;
    border: 4px solid #000000;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 6px 6px 0px #000000;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.artist-folder-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 12px 12px 0px #000000;
}

.asset-icon {
    width: 48px;
    height: 48px;
    background-color: #FFCC00;
    border: 3px solid #000000;
    border-radius: 6px;
    flex-shrink: 0;
}

.project-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   4. PROFILE BIOGRAPHY & INTERACTIVE CONTACT FIELD
   ========================================================================== */
.about-skills-container {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 32px;
    align-items: start;
}

.left-column-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 420px;
}

.about-card {
    width: 100%;
    background-color: #FFFFFF;
    border: 4px solid #000000;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 8px 8px 0px #000000;
}

.profile-image-frame {
    width: 140px;
    height: 140px;
    background-color: #EEEEEE;
    border: 3px solid #000000;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

.about-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 12px;
}

.about-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333333;
    font-weight: 500;
}

.contact-card {
    background-color: #FFFFFF;
    border: 4px solid #000000;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 8px 8px 0px #000000;
}

.contact-title {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    border: 3px solid #000000;
    border-radius: 6px;
    background-color: #FAFAFA;
    font-family: inherit;
}

.contact-textarea {
    height: 100px;
    resize: none;
}

.contact-input:focus,
.contact-textarea:focus {
    outline: none;
    background-color: #FFFFFF;
}

.contact-submit-btn {
    background-color: #FFCC00;
    color: #000000;
    font-size: 15px;
    font-weight: 900;
    padding: 12px;
    border: 3px solid #000000;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 4px 4px 0px #000000;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.contact-submit-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000000;
}

/* ==========================================================================
   5. SOFTWARE EXPERTISE DASHBOARD GRID (8 CARDS TOTAL)
   ========================================================================== */
.skills-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skills-heading {
    font-size: 24px;
    font-weight: 900;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.skill-mini-card {
    background-color: #FFFFFF;
    border: 3px solid #000000;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 4px 4px 0px #000000;
}

.skill-dot {
    width: 12px;
    height: 12px;
    background-color: #000000;
    border-radius: 50%;
    flex-shrink: 0;
}

.skills-grid .skill-mini-card h4 {
    font-size: 15px;
    font-weight: 900;
    margin-bottom: 2px;
}

.skills-grid .skill-mini-card p {
    font-size: 13px;
    color: #666666;
    font-weight: 500;
}

/* Makes Illustrator anchor the 8-badge layout beautifully */
.skills-grid .skill-mini-card:nth-child(8) {
    grid-column: span 2;
}

/* ==========================================================================
   6. CINEMATIC OVERLAY REEL MODAL LAYER
   ========================================================================== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(230, 225, 250, 0.85);
    /* Lavender translucent tint */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.video-modal.show-video {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background-color: #FFFFFF;
    border: 4px solid #000000;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    padding: 24px;
    position: relative;
    box-shadow: 10px 10px 0px #000000;
}

.close-modal-btn {
    position: absolute;
    top: -20px;
    right: -20px;
    background-color: #FFCC00;
    border: 3px solid #000000;
    border-radius: 6px;
    width: 40px;
    height: 40px;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 3px 3px 0px #000000;
    z-index: 1010;
}

.video-frame-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000000;
    border: 3px solid #000000;
    border-radius: 6px;
    overflow: hidden;
}

.video-frame-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   7. 2x2 ENVIRONMENT ARTWORK PRESENTATION SLIDESHOW
   ========================================================================== */
.gallery-modal-box {
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 32px 24px;
}

.modal-gallery-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 1px;
}

.modal-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.gallery-image-frame {
    border: 3px solid #000000;
    border-radius: 6px;
    height: 240px;
    overflow: hidden;
    background-color: #EEEEEE;
}

.gallery-img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   8. PROP MODELING STOREFRONT & ASSET CHECKOUT
   ========================================================================== */
.store-modal-box {
    max-width: 850px;
    padding: 36px 24px;
}

.store-subtitle {
    text-align: center;
    font-size: 15px;
    color: #555555;
    margin-bottom: 28px;
    font-weight: 500;
}

.store-main-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.store-item-card {
    background-color: #FFFFFF;
    border: 3px solid #000000;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 4px 4px 0px #000000;
}

.store-img-preview {
    height: 160px;
    background-color: #EEEEEE;
    border: 2px solid #000000;
    border-radius: 6px;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.placeholder-mesh-icon {
    width: 50px;
    height: 50px;
    background-color: #D6C4FF;
    border: 2px solid #000000;
    border-radius: 4px;
}

.donation-card {
    background-color: #F8F5FF;
    text-align: center;
}

.donation-heart-badge {
    font-size: 48px;
    margin-bottom: 12px;
}

.store-item-details h3 {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 8px;
}

.store-item-details p {
    font-size: 14px;
    color: #444444;
    line-height: 1.5;
}

.store-action-btn {
    display: block;
    text-align: center;
}

/* Custom formatting to fit official software graphics inside your skill badges */
.skill-mini-card {
    position: relative;
    overflow: hidden;
}

/* Upgraded icon slot to house crisp background image graphics smoothly */
.skill-icon-graphic {
    width: 32px;
    height: 32px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* Specific background image route for your upcoming Unreal Engine 5 logo token */
.ue5-logo-accent {
    background-image: url('images/ue5-logo.png');
}

/* Custom background image routes for the rest of your software tokens */
.maya-logo-accent {
    background-image: url('images/maya-logo.png');
}

.arnold-logo-accent {
    background-image: url('images/arnold-logo.png');
}

.photoshop-logo-accent {
    background-image: url('images/photoshop-logo.png');
}

.substance-logo-accent {
    background-image: url('images/substance-logo.png');
}

.ae-logo-accent {
    background-image: url('images/ae-logo.png');
}

.premiere-logo-accent {
    background-image: url('images/premiere-logo.png');
}

.illustrator-logo-accent {
    background-image: url('images/illustrator-logo.png');
}

/* Interactive Neo-Brutalist Hover Glow for Studio Logo */
.logo-glow:hover {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0px 0px 8px #FFCC00) brightness(1.1);
    cursor: pointer;
}

/* Forces the logo to render as solid high-contrast black */
.logo-glow {
    filter: brightness(0);
}

/* Keeps your interactive scaling physics intact on mouse hover */
.logo-glow:hover {
    transform: scale(1.15) rotate(5deg);
    filter: brightness(0) drop-shadow(0px 0px 8px #000000);
    cursor: pointer;
}

/* Core Styling Rules for the Popup Windows */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

/* Final modal visibility override */
.video-modal {
    opacity: 1;
    pointer-events: auto;
}

/* =========================
   MOBILE RESPONSIVE LAYOUT
   ========================= */

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    header,
    section,
    .projects-grid,
    .about-skills-grid,
    .contact-grid {
        width: 100%;
        max-width: 100%;
    }

    header {
        padding: 16px;
    }

    header>div {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .projects-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 16px !important;
    }

    .artist-folder-card {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    .about-skills-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 16px !important;
    }

    .about-card,
    .skills-card,
    .contact-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        padding: 22px !important;
    }

    .skills-grid {
        grid-template-columns: 1fr !important;
    }

    .profile-image-frame {
        width: 130px;
        height: 130px;
    }

    .about-title,
    .skills-heading,
    .contact-title {
        font-size: 26px !important;
    }

    .about-text {
        font-size: 16px;
        line-height: 1.65;
    }

    h1 {
        font-size: 34px !important;
        line-height: 1.1;
        overflow-wrap: anywhere;
    }

    .project-title {
        font-size: 18px !important;
        overflow-wrap: anywhere;
    }

    img,
    video {
        max-width: 100%;
        height: auto;
    }
}

.hero-section {
    width: 100%;
}

.hero-card {
    width: 100%;
}

@media (max-width:768px) {

    .hero-section {
        padding: 0 16px !important;
    }

    .hero-card {
        width: 100% !important;
        box-sizing: border-box;
    }

}

/* =====================================
   FINAL MOBILE OVERRIDES
   ===================================== */

@media (max-width: 768px) {

    * {
        box-sizing: border-box;
    }

    body {
        margin: 0;
        overflow-x: hidden;
    }

    /* HEADER */
    header {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px !important;
    }

    /* HERO SECTION */
    .hero-section {
        width: 100% !important;
        max-width: 100% !important;
        margin: 8px auto 16px auto !important;
        padding: 0 16px !important;
    }

    .hero-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 24px !important;
    }

    .hero-card h1 {
        font-size: 30px !important;
        line-height: 1.15 !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    /* PROJECT CARDS */
    .projects-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px !important;
        gap: 20px !important;
    }

    .artist-folder-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .project-title {
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: anywhere !important;
    }

    /* ABOUT + CONTACT + SOFTWARE MAIN GRID */
    .landing-page {
        display: grid !important;
        grid-template-columns: 1fr !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px !important;
        gap: 24px !important;
        margin: 0 auto !important;
    }

    /* LEFT COLUMN: ABOUT AND CONTACT */
    .landing-page>div:first-child {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 24px !important;
    }

    /* ABOUT AND CONTACT CARDS */
    .landing-page>div:first-child>div {
        width: 100% !important;
        max-width: 100% !important;
        padding: 24px !important;
    }

    /* SOFTWARE EXPERTISE CARD */
    .landing-page>div:nth-child(2) {
        width: 100% !important;
        max-width: 100% !important;
        padding: 24px !important;
    }

    /* SOFTWARE INNER GRID */
    .landing-page>div:nth-child(2)>div {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        gap: 12px !important;
    }

    /* CONTACT FORM */
    .landing-page form,
    .landing-page input,
    .landing-page textarea,
    .landing-page button {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* TEXT */
    .landing-page h2 {
        font-size: 26px !important;
        word-break: normal !important;
    }

    .landing-page p {
        font-size: 16px !important;
        line-height: 1.6 !important;
        word-break: normal !important;
    }
}

@media screen and (max-width: 768px) {
    .skills-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .skills-grid>.skill-mini-card {
        grid-column: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 14px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        overflow: visible !important;
    }

    .skills-grid>.skill-mini-card:nth-child(8) {
        grid-column: auto !important;
    }

    .skill-mini-card img {
        width: 32px !important;
        height: 32px !important;
        flex-shrink: 0 !important;
    }

    .skill-mini-card>div {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .skill-mini-card b,
    .skill-mini-card span {
        display: block !important;
        white-space: normal !important;
        overflow: visible !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }
}

@media screen and (max-width: 768px) {
    .skills-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .skills-grid>.skill-mini-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 14px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        overflow: hidden !important;
    }

    .skill-mini-card img {
        width: 32px !important;
        height: 32px !important;
        flex: 0 0 32px !important;
    }

    .skill-mini-card>div {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .skill-mini-card b,
    .skill-mini-card span {
        display: block !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }
}