/* ======================================================
   FONTS
====================================================== */

@font-face {
    font-family: "General Sans";
    src: url("./fonts/GeneralSans-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "General Sans";
    src: url("./fonts/GeneralSans-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


/* ======================================================
   GLOBAL RESET
====================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "General Sans";
}

html,
body {
    width: auto;
    height: auto;
}


/* ======================================================
   GLOBAL LINKS
====================================================== */

#nav a,
#herofooter a,
#textabout a,
#githubprofile a {
    position: relative;
    text-decoration: none;
    color: #fff;
    padding-bottom: 4px;
}

#nav a::after,
#herofooter a::after,
#textabout a::after,
#githubprofile a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background-color: #fff;

    transform: scaleX(0);
    transform-origin: right;

    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

#nav a:hover::after,
#herofooter a:hover::after,
#textabout a:hover::after,
#githubprofile a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

#footerleft a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* ======================================================
   LOADER
====================================================== */

#loader {
    position: fixed;
    top: 0;

    width: 100%;
    height: 100vh;

    z-index: 999999;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: #fff;
    background-color: #111;
}

#loader-top {
    position: absolute;
    top: 5%;

    width: 100%;
    padding: 0 50px;

    display: flex;
    justify-content: space-between;

    text-transform: uppercase;
    font-size: 12px;
    opacity: 0.6;
}

.loader-text-wrap {
    overflow: hidden;
    height: fit-content;
}

#loader-center h1 {
    font-size: 6vw;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
}


/* ======================================================
   MAIN WRAPPER
====================================================== */

#main {
    width: 100%;
    background-color: black;
}


/* ======================================================
   MINI CURSOR
====================================================== */

#minicircle {
    position: fixed;
    top: 0;
    left: 0;

    width: 12px;
    height: 12px;

    z-index: 50;

    margin-top: -6px;
    margin-left: -6px;

    border-radius: 50%;
    background-color: #fff;

    pointer-events: none;
    will-change: transform;

    transition: none !important;
   
    /* ... your existing cursor styling rules ... */
    
    /* CRITICAL: Prevents the custom cursor from blocking mouse hover detections underneath it */
    pointer-events: none !important;
    mix-blend-mode: difference; /* Optional: makes it look extremely premium against text overlays */

}


/* ======================================================
   HERO SECTION
====================================================== */

#hero {
    position: relative;

    width: 100%;
    height: 100vh;

    color: #fff;
    background-color: black;
}


/* ======================================================
   NAVBAR
====================================================== */
#nav {
    width: 100%;
    padding: 20px 40px;
    word-spacing: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #fff;
}

#nav a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
}

.nav-links a {
    display: flex;
    gap: 20px;
    align-items: center;
}
/* Forces the links into a clean horizontal horizon, using both class and ID selectors */
.nav-links, 
#nav-links {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 30px !important; /* Adjust spacing interval between words */
}
/* ======================================================
   HERO HEADING
====================================================== */

#heading {
    margin-top: 90px;
}

#heading h1 {
    margin-left: 30px;

    font-size: 10vw;
    font-weight: 900;
    line-height: 1;

    opacity: 0.6;
    text-transform: uppercase;
}

#heading #secondh1 {
    margin-left: 230px;
}

.blocktext {
    width: fit-content;

    display: flex;
    flex-direction: column;
    align-items: end;
}

.blocktext h5 {
    font-size: 15px;
    text-align: right !important;
    text-transform: uppercase;
}


/* ======================================================
   SMALL HEADING
====================================================== */

#chotiheading {
    margin-top: 100px;
    padding-right: 50px;

    display: flex;
    flex-direction: column;
    align-items: end;
}

#chotiheading h5 {
    margin-top: 0.5vw;

    font-size: 1vw;
    text-align: right;
    text-transform: uppercase;
}


/* ======================================================
   HERO FOOTER
====================================================== */

#herofooter {
    position: relative;

    width: 100%;
    padding: 20px 40px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    z-index: 100;

    opacity: 1 !important;
    transform: none !important;
}

#herofooter a {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    position: relative;

    color: #fff;
    text-transform: uppercase;
    text-decoration: none;

    z-index: 100;
    pointer-events: auto;
}

#herofooter a::after {
    width: 100px;
}

#herofooter #iconset {
    display: flex;
    gap: 5px;
}

#herofooter .circle {
    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background-color: #888;
}


/* ======================================================
   BOUNDING ANIMATION
====================================================== */

.bounding {
    width: fit-content;
    overflow: hidden;
}

.bounding .boundingelem {
    transform: translateY(100%);
}


/* ======================================================
   SECOND SECTION
====================================================== */

#second {
    width: 100%;
    min-height: 100vh;

    padding-top: 200px;
    padding-right: 10vw;
    padding-bottom: 120px;

    color: #fff;
    background-color: black;
}


/* ======================================================
   ELEMENTS
====================================================== */

.elem {
    position: relative;

    width: 100%;
    padding: 3.5vw 3vw;
    padding-right: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid #888;

    cursor: none;
}

.elem h1 {
    font-size: clamp(48px, 7vw, 120px);
    text-transform: uppercase;
    opacity: 0.7;
}

.elemlast {
    border-bottom: 1px solid #888;
}

.elem img {
    position: absolute;

    height: 140%;

    opacity: 0;
    z-index: 999;

    pointer-events: none;

    transform: translate(-50%, -50%);
}

.elem-link {
    width: 100%;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: inherit;
    text-decoration: none;
}


/* ======================================================
   ABOUT SECTION
====================================================== */

#about {
    width: 100%;
    padding: 10vw 10vw;
    padding-left: 40vw;

    display: flex;
    align-items: center;
    gap: 100px;

    color: #fff;
    background-color: black;
}

#about img {
    width: 200px;
}

#textabout {
    width: 25rem;
}

#textabout h5 {
    margin-bottom: 10px;

    opacity: 0.6;
    text-transform: uppercase;
}

#textabout p {
    margin-bottom: 30px;
    line-height: 1.7;
}

#textabout a {
    padding: 12px 22px;

    border: 1px solid #fff;
    border-radius: 100px;

    font-size: 12px;

    color: #fff;
    text-decoration: none;
}


/* ======================================================
   GITHUB SECTION
====================================================== */

#githubprofile {
    padding: 20px 30px;
    padding-bottom: 7vw;

    color: #fff;
    background-color: black;
}

#githubprofile h5 {
    opacity: 0.6;
    text-transform: uppercase;
}

#githubprofile h3 {
    margin-top: 10px;

    font-size: 14px;
    text-transform: uppercase;
}

#githubprofile a {
    padding: 10px 20px;

    font-size: 16px;
    text-transform: uppercase;

    color: #fff;
    text-decoration: none;
}


/* ======================================================
   FOOTER
====================================================== */

#footer {
    width: 100%;
    min-height: 20vh;
    padding: 40px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    z-index: 10;

    color: #fff;
    background-color: black;
}

#footerleft {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#footerright {
    display: flex;
    gap: 30px;
}

#footer a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    padding: 4px;
    color: #fff;
    text-decoration: none;
}

#footer a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background-color: #fff;

    transform: scaleX(0);
    transform-origin: right;

    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);

}

/* ======================================================
   REPAIRED PAPER DETAILS STRUCTURAL SECTION
====================================================== */
.paper-detailed-workspace {
    width: 100%;
    min-height: 100vh;
    background-color: #111;
    color: #fff;
    padding: 140px 10vw 80px 10vw;
    display: flex;
    flex-direction: column;
}

.paper-header-container {
    width: 100%;
    max-width: 1300px;
    margin-bottom: 50px;
}

.paper-main-title {
    font-size: clamp(2.5rem, 6vw, 6rem);
    font-weight: 500;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.header-divider {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    width: 100%;
}

.paper-image-wrapper {
    width: 100%;
    max-width: 1300px;
    position: relative;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 60px;
    background-color: #1a1a1a;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

/* FIXED: Target actual Hero image ID correctly for scale properties */
#paper-main-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.92;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.paper-image-wrapper:hover #paper-main-hero-img {
    transform: scale(1.02);
    opacity: 1;
}

.paper-meta-row {
    width: 100%;
    max-width: 1300px;
    margin-bottom: 45px;
}

.meta-lable {
    font-size: 11px;
    font-weight: 700;
    color: #737272;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.meta-content {
    font-size: 1.25rem;
    color: #e0e0e0;
    line-height: 1.6;
}

.section-dash-line {
    border: none;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    width: 100%;
    margin: 30px 0;
}

.abstract-text {
    font-size: clamp(1.1rem, 1.3vw, 1.5rem);
    text-align: justify;
    color: #cccccc;
    max-width: 1100px;
    column-count: 2;
    column-gap: 60px;
    line-height: 1.6;
}

.status-badge-container {
    margin-top: 10px;
}

.status-text-value {
    font-family: monospace;
    font-size: 1.1rem;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* FIXED: Unified container target tag rule classes */
.paper-tags {
    width: 100%;
    max-width: 1300px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.paper-tag {
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #d8d8d8;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.paper-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.production-notice, .container-notice {
    margin-top: 20px;
    color: #444;
}

/* ======================================================
   REPAIRED YOUTUBE STYLE GRID FRAMEWORK
====================================================== */
.projects-deck-container {
    width: 100%;
    min-height: 100vh;
    background-color: #111;
    color: #fff;
    padding: 140px 10vw 80px 10vw;
    display: flex;
    flex-direction: column;
}

.deck-header {
    width: 100%;
    max-width: 1300px;
    margin-bottom: 40px;
}

.deck-subtitle {
    font-size: 1.1rem;
    color: #777;
    margin-top: 15px;
    max-width: 600px;
    line-height: 1.6;
}

.youtube-style-grid {
    width: 100%;
    max-width: 1300px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px 24px;
    margin-top: 20px;
}

.yt-project-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.thumbnail-wrapper {
    width: 100%;
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.thumbnail-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 3px 6px;
    font-family: monospace;
    font-size: 11px;
    font-weight: 500;
    border-radius: 4px;
}

.card-details-row {
    display: flex;
    gap: 12px;
    width: 100%;
    position: relative;
}

.meta-text-block {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.yt-project-title {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.4;
    color: #f1f1f1;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.channel-name {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 4px;
}

.video-stats {
    font-size: 0.85rem;
    color: #717171;
}

.card-action-menu {
    color: #717171;
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* CARD SYSTEM HOVER HOOKS */
.yt-project-card:hover {
    transform: translateY(-4px);
}

.yt-project-card:hover .project-thumbnail {
    transform: scale(1.03);
}

.yt-project-card:hover .card-action-menu {
    opacity: 1;
}

.yt-project-card:hover .yt-project-title {
    color: #fff;
}

/* ======================================================
   RESPONSIVE LAYOUT MATRIX MEDIA QUERIES
====================================================== */
@media (max-width: 992px) {
    .paper-detailed-workspace, .projects-deck-container {
        padding: 100px 6vw 60px 6vw;
    }
    .abstract-text {
        column-count: 1;
        column-gap: 0;
    }
}

@media (max-width: 576px) {
    #nav {
        padding: 20px 6vw;
    }
    .youtube-style-grid {
        grid-template-columns: 1fr;
    }
    .paper-main-title {
        font-size: 3.5rem;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/* --- THE PERFORMANCE HOVER VECTOR PHASES --- */

.yt-project-card:hover .project-thumbnail {
    transform: scale(1.02); /* Clean, premium platform lift */
}

.yt-project-card:hover .card-action-menu {
    opacity: 1; /* Reveals platform triple-dot menu anchor cleanly */
}

.yt-project-card:hover .yt-project-title {
    color: #ffffff;
}

/* =========================================
   LET'S TALK BUTTON
========================================= */

.magnetic-button {
    display: inline-block;
    padding: 14px 28px;
    border: 1px solid #fff;
    border-radius: 100px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    position: relative;
    background: transparent;
    cursor: pointer;
    /* Prevent raw CSS transitions from fighting GSAP's physics engine */
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.magnetic-button:hover {
    background-color: #fff;
    color: #000;
}

.magnetic-text {
    display: inline-block;
    will-change: transform;
}
/* Increase specificity to override the global white link rules */
.magnetic-button:hover,
#main .magnetic-button:hover,
#main .magnetic-button:hover .magnetic-text {
    background-color: #fff !important;
    color: #000000 !important;
}

/* =========================================
   LET'S TALK PAGE
========================================= */

/* --- Let's Talk Workspace Frame Layout --- */
.contact-workspace {
    width: 100%;
    min-height: 100vh;
    background-color: #000;
    color: #fff;
    padding: 140px 10vw 80px 10vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-header {
    width: 100%;
    max-width: 800px;
    text-align: center;
    margin-bottom: 60px;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: #777;
    margin-top: 15px;
}

/* --- THE INPUT GROUP GRID HORIZON --- */
#portfolio-form {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 40px; /* Uniform structural gaps to completely eliminate text collision */
}

.input-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
}

/* Label Typography Formatting Rule */
.input-group label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #737272;
    letter-spacing: 2px;
    margin-bottom: 12px; /* Pulls label completely clear of the input boundary line */
}

.required-star {
    color: #ff3333;
    margin-left: 2px;
}

/* Minimal Line Inputs matching Cynthia Ugwu Style */
.input-group input,
.input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* Clean bottom line boundary */
    padding: 12px 4px;
    font-size: 1.1rem;
    color: #fff;
    font-family: inherit;
    outline: none;
    transition: border-color 0.4s ease;
}

/* Textarea Box Optimization */
.input-group textarea {
    resize: none; /* Prevents user from pulling your UI grid layout out of proportion */
}

/* Input Focus Glow Accent State */
.input-group input:focus,
.input-group textarea:focus {
    border-bottom-color: #ffffff; /* Illuminates the wire line to pure white when active */
}

/* Placeholder Styling */
.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #333333; /* Subdued placeholder tone */
    font-size: 1rem;
}

/* Center position container block for form submit */
.form-submit-row {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.contact-footer-row{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 30px;
    gap: 30px;
    z-index: 10;
    color: #fff;
    background-color: black;
}
.social-links-horizon {
    display: flex;
    gap: 30px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
}
.social-anchor {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    padding: 4px;
    color: #fff;
    text-decoration: none;
}
.social-anchor::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.social-anchor:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
/* Add this inside your style.css */

/* Desktop view defaults */
@media (min-width: 769px) {
    /* Hide the mobile MENU + button on desktop viewports completely */
    .menu-toggle, 
    #nav .menu-btn,
    #main nav a[href*="menu"] { 
        display: none !important; 
    }
}

/* Mobile view styling */
@media (max-width: 768px) {
    /* Hide the main horizontal inline links on mobile devices */
    .nav-links, 
    #nav-links {
        display: none !important;
    }
}