/* ==========================================================================
   STYLING FOR MARIO WINTER PORTFOLIO (2026)
   ========================================================================== */

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

body {
    background-color: #1A1A1B;
    font-family: 'articulat-cf', sans-serif;
    color: white;
    overflow-x: hidden;
    position: relative;
}

/* --- 1. NAVIGATION --- */
.navbar {
    width: 100%;
    padding: 30px 60px;
    position: fixed;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo-area {
    position: absolute;
    left: 60px;
}

.nav-logo {
    height: 50px;
    width: auto;
    filter: invert(1) brightness(2);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
    will-change: transform;
}

.nav-logo:hover {
    transform: scale(1.05) translateZ(0);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    opacity: 0.5;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-links a.active {
    opacity: 1;
    color: #FFFFFF;
}

.nav-links a:hover {
    opacity: 1;
    color: #99FF00;
    text-shadow: 0 0 10px rgba(153, 255, 0, 0.5);
}

.divider {
    color: white;
    font-weight: 300;
    opacity: 0.2;
    cursor: default;
    user-select: none;
}

/* --- 2. HERO SEKTION --- */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
}

.hero-bg-logo {
    position: absolute;
    width: 75%;
    opacity: 0.05;
    z-index: 1;
    filter: blur(4px) invert(1);
    pointer-events: none;
}

.hero-bg-logo img {
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.mario-outline-flicker {
    width: 70%;
    max-width: 900px;
    height: auto;
    animation: neon-flicker-mario 4s infinite linear;
}

@keyframes neon-flicker-mario {

    0%,
    18%,
    22%,
    25%,
    53%,
    57%,
    100% {
        opacity: 1;
        filter: drop-shadow(0 0 12px rgba(153, 255, 0, 0.8)) drop-shadow(0 0 25px rgba(153, 255, 0, 0.4));
    }

    20%,
    24%,
    55% {
        opacity: 0.2;
        filter: drop-shadow(0 0 0px rgba(153, 255, 0, 0));
    }
}

.hero-subtitle {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 25px;
    margin-top: 40px;
    margin-bottom: 50px;
    padding-left: 25px;
    opacity: 0.9;
}

/* --- 3. BUTTONS --- */
.btn {
    padding: 14px 34px;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    display: inline-block;
    cursor: pointer;
}

.btn-filled {
    background-color: #99FF00;
    color: #1A1A1B;
    border: 2px solid #99FF00;
}

.btn-filled:hover {
    background-color: #a8ff33;
    border-color: #a8ff33;
    box-shadow: 0 0 25px rgba(153, 255, 0, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    color: #FFFFFF;
    border-color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

/* --- 4. LAYOUT / BASE UNITS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    letter-spacing: 1px;
    margin-bottom: 50px;
    color: white;
    text-transform: uppercase;
}

/* --- 5. GRID SEKTIONEN (SELECTED WORKS & HONORABLE MENTIONS) --- */
.preview-section {
    padding: 100px 60px;
    background-color: transparent;
    position: relative;
    z-index: 5;
}

.honorable-mentions-section {
    padding: 0 60px 100px 60px;
    background-color: transparent;
}

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

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

a.mention-link {
    text-decoration: none !important;
    color: white !important;
    display: block;
}

.preview-card,
.mention-item {
    background-color: #252526;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.preview-card:hover,
a.mention-link:hover .mention-item {
    border-color: #99FF00;
    box-shadow: 0 0 15px rgba(153, 255, 0, 0.15);
    transform: translateY(-2px);
}

.card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    background-color: #1A1A1B;
    overflow: hidden;
}

.card-image img,
.card-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.preview-card:hover .card-image img,
.preview-card:hover .card-image video {
    transform: scale(1.05);
}

.card-info {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.card-info .mention-meta,
.card-info p {
    order: 1;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #99FF00 !important;
    font-weight: 700;
    margin-bottom: 10px;
    opacity: 1 !important;
}

.card-info h3 {
    order: 2;
    font-size: 1.3rem;
    margin-bottom: 0;
    font-weight: 700;
    color: white;
}

.mention-item {
    display: flex;
    flex-direction: column;
}

.mention-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #99FF00 !important;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    opacity: 1 !important;
}

.mention-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: white;
}

.mention-item p {
    font-size: 0.9rem;
    opacity: 0.6;
    line-height: 1.5;
    color: white;
}

.preview-footer {
    margin-top: 60px;
    text-align: center;
}

/* --- 6. PORTFOLIO FEED (BIG ENTRIES) --- */
.project-entry {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

.project-entry:nth-child(even) {
    flex-direction: row-reverse;
}

.project-media {
    border: 2px solid;
    border-image-source: linear-gradient(225deg, #99FF00, transparent);
    border-left: none;
    border-image-slice: 1;
    box-shadow: 0 0 20px 5px rgba(153, 255, 0, 0.6);
    width: 60%;
    aspect-ratio: 16 / 9;
    background-color: #333;
    z-index: 2;
    line-height: 0;
}

.project-media>* {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-info {
    width: 45%;
    height: 33.75vw;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    z-index: 3;
    left: 60px;
    padding-bottom: 10px;
}

.project-number {
    position: absolute;
    top: 0px;
    font-size: 25rem;
    font-weight: 900;
    opacity: 0.05;
    line-height: 0.8;
    pointer-events: none;
    z-index: 1;
}

.project-entry:nth-child(odd) .project-number {
    right: 60px;
    left: auto;
}

.project-entry:nth-child(even) .project-number {
    left: -60px;
    right: auto;
}

.project-entry:nth-child(even) .project-info {
    padding-right: 120px;
    align-items: flex-end;
    text-align: right;
}

.project-entry:nth-child(even) .project-media {
    margin-left: 0;
    margin-right: -60px;
    border-left: 3px solid;
    border-right: none;
    border-image-source: linear-gradient(to left, transparent, #99FF00);
}

.project-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    line-height: 0.9;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    margin-bottom: 25px;
    width: 100%;
}

.project-entry .project-title {
    margin-top: 40px;
}

.project-entry:nth-child(odd) .project-title {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.project-entry:nth-child(even) .project-title {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

.project-category {
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.project-info .btn-filled {
    margin-bottom: 0;
    vertical-align: bottom;
    display: inline-flex;
    align-items: center;
}

/* --- 7. PROJECT DETAILS --- */
.project-detail {
    width: 100%;
    margin: 0 auto;
    padding: 150px 0 100px 0;
}

/* Holt die 1000px Box-Begrenzung gezielt für die Inhalts-Blöcke zurück */
.project-header,
.project-step.text-block,
.project-step.media-block:not(.full-width),
.project-detail>section:last-of-type {
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 5%;
    padding-right: 5%;
    margin-bottom: 5%;
}


.projectpage .project-title {
    font-size: 5rem;
    text-align: center;
    width: 100%;
    display: block;
}

.project-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-top: 25px;
    margin-bottom: 25px;
    opacity: 0.5;
    justify-content: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.meta-item:not(:last-child)::after {
    content: "•";
    font-weight: 900;
}

.project-step {
    margin-bottom: 100px;
}

.text-block h2 {
    font-family: 'Bebas Neue', sans-serif;
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
}

.caption {
    font-size: 0.75rem;
    opacity: 0.4;
    margin-top: 15px;
    text-align: right;
}

/* --- 8. PROJECT CAROUSEL --- */
.carousel-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 10%;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    flex: 0 0 600px;
    scroll-snap-align: center;
}

.carousel-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-label {
    margin-top: 15px;
    font-family: 'articulat-cf', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
}

.card-label span {
    color: #99FF00;
    font-weight: 900;
    margin-right: 10px;
}

/* --- 9. ABOUT SEKTION --- */
.about-wrapper {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 160px 8% 120px 8%;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

.about-visual {
    height: 100%;
    overflow: hidden;
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.about-text p {
    font-family: 'articulat-cf', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
    margin: 0 0 20px 0;
}

.about-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    line-height: 0.9;
    margin-bottom: 25px;
    letter-spacing: 5px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Das Grid, das deine 4 Skill-Karten anordnet */
.skills-upgrade {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

/* Jede Skill-Kategorie wird zu einer Card – exakt wie deine mention-items */
.skill-category {
    background-color: #252526;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}


/* Styling für die Überschriften in den Karten */
.skill-category h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 1px;
    color: #99FF00;
    margin-bottom: 15px;
}

/* Styling für die Tool-Liste innerhalb der Card */
.skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    /* Schickes Text-Spacing: Zeilenabstand 6px, Wortabstand 12px */
}

.skill-list li {
    font-size: 14px;
    color: #a0a0a0;
    line-height: 1.5;
    position: relative;
}

/* --- 10. CONTACT SEKTION --- */
.contact-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.contact-headline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 15px;
    text-transform: uppercase;
    margin-bottom: 50px;
    color: #99FF00;
    filter: drop-shadow(0 0 12px rgba(153, 255, 0, 0.8));
    text-align: center;
}

.social-icon-grid {
    display: flex;
    gap: 60px;
    justify-content: center;
}

.icon-link {
    color: white;
    font-size: 4rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s ease;
}

.icon-link:hover {
    transform: scale(1.1);

}

/* --- 11. FOOTER --- */
footer {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    z-index: 100;
    pointer-events: none;
    text-align: center;
}

.projectpage footer,
body:not(.projectpage) .about-wrapper~footer {
    position: relative;
    margin-top: 60px;
    bottom: 0;
    padding-bottom: 30px;
}

.footer-line {
    font-family: 'articulat-cf', sans-serif;
    font-size: 12px;
    color: white;
    opacity: 0.3;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- 12. MEDIA BLOCK LAYOUTS (PROJEKT 1-3 STRECKEN vs. PROJEKT 4-6 BOXEN) --- */

/* --- SPEZIAL-LOOK FÜR PROJEKT 1, 2, 3: Kinoleinwand Edge-to-Edge --- */
.project-step.media-block.full-width {
    width: 100vw;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    overflow: hidden;
    display: block;
}

.project-step.media-block.full-width img,
.project-step.media-block.full-width video {
    width: 100% !important;
    height: auto !important;
    max-height: 85vh;
    object-fit: cover;
    display: block;
}

.project-step.media-block.full-width .caption {
    max-width: 1000px;
    margin: 15px auto 0 auto;
    padding: 0 5%;
    text-align: right;
}

/* --- STANDARD-LOOK FÜR PROJEKT 4, 5, 6: Zentriert und Kompakt --- */
.project-step.media-block:not(.full-width) {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Regelt normale Bilder und nackte MP4-Videos (wie bei Projekt 5 & 6) */
.project-step.media-block:not(.full-width) img,
.project-step.media-block:not(.full-width) video {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
}

/* Regelt den Container für YouTube-Iframes (wie bei Projekt 4) */
.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    padding-bottom: 56.25%;
    /* 16:9 Verhältnis */
    height: 0;
    background-color: #1a1a1a;
}

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

.project-step.media-block:not(.full-width) .caption {
    width: 100%;
    max-width: 800px;
    text-align: right;
    margin-top: 15px;
}

/* --- 13. RESPONSIVE & MEDIA QUERIES --- */
@media (min-width: 901px) {
    .carousel-track {
        scrollbar-width: thin;
        scrollbar-color: rgba(153, 255, 0, 0.4) rgba(255, 255, 255, 0.05);
    }
}

@media (max-width: 900px) {
    .navbar {
        padding: 20px 30px;
    }

    .logo-area {
        position: static;
        margin-bottom: 10px;
    }

    .nav-container {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .nav-right-spacer {
        display: none;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 12px;
        padding-left: 12px;
        margin-top: 25px;
        margin-bottom: 35px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn {
        width: 80%;
        max-width: 300px;
        text-align: center;
    }

    .preview-section {
        padding: 60px 30px;
    }

    .preview-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-entry,
    .project-entry:nth-child(even) {
        flex-direction: column !important;
        min-height: auto;
        padding: 60px 30px;
    }

    .project-media {
        width: 100% !important;
        margin: 0 0 30px 0 !important;
        border: 2px solid #99FF00 !important;
    }

    .project-info {
        width: 100% !important;
        left: 0 !important;
        padding: 0 !important;
        text-align: left !important;
        align-items: flex-start !important;
        height: auto;
    }

    .project-number {
        display: none;
    }

    .project-title,
    .project-entry:nth-child(even) .project-title {
        font-size: 3rem;
        line-height: 1.0;
        text-align: left !important;
        margin: 20px 0 15px 0 !important;
        width: 100%;
    }

    .project-detail {
        padding: 120px 24px 60px 24px;
    }

    .projectpage .project-title {
        font-size: 3rem !important;
    }

    .project-meta {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .meta-item:not(:last-child)::after {
        display: none;
    }

    .project-step {
        margin-bottom: 60px;
    }

    .carousel-card {
        flex: 0 0 85vw;
    }

    .about-wrapper {
        height: auto;
        padding: 120px 24px 60px 24px;
        overflow: visible;
    }

    .about-content {
        grid-template-columns: 1fr;
        height: auto;
        gap: 40px;
    }

    .about-visual {
        height: 350px;
    }

    .about-text {
        gap: 20px;
    }

    .contact-wrapper {
        padding: 0 24px;
    }

    .contact-headline {
        font-size: 1.8rem;
        letter-spacing: 8px;
        text-align: center;
    }

    .social-icon-grid {
        gap: 40px;
    }

    .icon-link {
        font-size: 3rem;
    }

    .mentions-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
    }

    .skills-upgrade {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .honorable-mentions-section {
        padding: 0 30px 60px 30px;
    }
}

/* Subtiler Scroll-Indikator unten rechts */
.scroll-indicator {
    position: absolute;
    bottom: -200px;
    right: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: #99FF00;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.6s infinite ease-in-out;
}

@keyframes scroll-wheel {
    0% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 18px;
        opacity: 0.3;
    }

    100% {
        top: 8px;
        opacity: 1;
    }
}
.meme{
    display: flex;
    justify-content: end;
}
.meme img {
    width: 15%;
    height: auto;
    margin-right: 15%;
}