/*
Theme Name: AFETS Studio
Theme URI: https://afets.com
Author: AFETS
Description: Cinematic Graffiti & Subculture Film Studio Theme
Version: 1.0
Text Domain: afets
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0a0a0a !important;
    color: #f3f3f3 !important;
    font-family: 'Inter', sans-serif !important;
    overflow-x: hidden;
}

/* ==========================================
   NAVIGATION & MENÜ
   ========================================== */

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 50px;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(10,10,10,0.9), transparent);
}

.logo {
    font-family: 'Space Mono', monospace;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: #fff !important;
    text-transform: uppercase;
    text-decoration: none !important;
    z-index: 1002;
}

/* --- Desktop Links Container & WordPress UL --- */
.nav-links {
    display: flex;
    align-items: center;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links a {
    color: #aaa !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fff !important;
}

/* --- Hamburger Button --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- Fullscreen Mobile Menu Overlay --- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #0d0d0d;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.menu-close-btn {
    position: absolute;
    top: 25px;
    right: 50px;
    background: transparent;
    border: none;
    color: #aaa;
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1003;
}

.menu-close-btn:hover {
    color: #fff;
}

/* --- Mobile WordPress UL & Links --- */
.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.mobile-menu a {
    font-size: 2rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    text-decoration: none !important;
    color: #fff !important;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: #666 !important;
}

/* Media Query für mobile Endgeräte */
@media (max-width: 768px) {
    nav {
        padding: 20px;
    }
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .menu-close-btn {
        right: 20px;
    }
}

/* Hero / Startbereich */
/* ==========================================
   STARTSEITE HERO MIT HINTERGRUNDBILD
   ========================================== */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background-color: #0a0a0a; /* Fallback, falls kein Bild gewählt */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Das dunkle Overlay (macht das Bild abgedunkelt & cinematic) */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.5), rgba(10,10,10,0.85));
    z-index: 1;
}

/* Wichtig: Inhalt muss über dem Overlay liegen */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    letter-spacing: -2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    line-height: 0.9;
    color: #fff;
}

.hero p {
    font-family: 'Space Mono', monospace;
    color: #777;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

.cta-btn {
    display: inline-block;
    padding: 15px 35px;
    background: #fff;
    color: #0a0a0a !important;
    text-decoration: none !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    border-radius: 2px;
    transition: background 0.3s, transform 0.2s;
}

.cta-btn:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* Sektion: Arbeiten / Projekte (Grid) */
.projects {
    padding: 100px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    border-bottom: 1px solid #222;
    padding-bottom: 15px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: #141414;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #222;
    transition: transform 0.3s, border-color 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #444;
}

/* Styling für dynamische Beitragsbilder im Grid */
.project-thumbnail-link {
    display: block;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #1f1f1f;
    position: relative;
}

/* Wir legen ein echtes dunkles Overlay per Pseudo-Element drüber, das greift garantiert immer */
.project-thumbnail-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35); /* Verdunkelt das Bild um 35% */
    pointer-events: none;
    transition: background 0.3s ease;
}

/* Beim Hover wird das Overlay etwas schwächer, damit man das Bild besser sieht */
.project-card:hover .project-thumbnail-link::after {
    background: rgba(0, 0, 0, 0.1);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.04);
}

.video-placeholder {
    width: 100%;
    height: 240px;
    background: #1f1f1f;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    position: relative;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.project-info p {
    color: #888;
    font-size: 0.9rem;
}

/* TEXT-SEKTION (Für Startseite / Unterseiten) */
.content-section {
    padding: 60px 50px;
    max-width: 1400px; 
    margin: 0 auto;
}

.content-section h2 {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: #fff;
}

.content-section p {
    color: #aaa;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 900px;
}

/* Links in reinen Text-Sektionen */
.content-section a {
    color: #fff !important;
    text-decoration: none !important;
    border-bottom: 1px dashed #666;
    padding-bottom: 1px;
    transition: all 0.3s ease;
}

.content-section a:hover {
    color: #fff !important;
    border-bottom: 1px solid #fff;
    background-color: rgba(255, 255, 255, 0.05);
}

/* WordPress Standard Editor Content Styles (für Impressum, Richtlinien etc.) */
.page-content-wrapper {
    padding: 120px 50px 80px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.page-content-wrapper h1, 
.page-content-wrapper h2 {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: #fff;
}

.page-content-wrapper p {
    color: #aaa;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Links im WordPress Editor Wrapper */
.page-content-wrapper a {
    color: #fff !important;
    text-decoration: none !important;
    border-bottom: 1px dashed #666;
    padding-bottom: 1px;
    transition: all 0.3s ease;
}

.page-content-wrapper a:hover {
    color: #fff !important;
    border-bottom: 1px solid #fff;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Media Query für Mobilgeräte */
@media (max-width: 768px) {
    nav {
        padding: 20px;
    }
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .menu-close-btn {
        right: 20px;
    }
    .projects, .content-section, .page-content-wrapper {
        padding: 60px 20px;
    }
}

/* ==========================================
   FILM LANDINGPAGE STYLES
   ========================================== */

/* 1. Hero / Teaser */
.film-hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: linear-gradient(to bottom, rgba(10,10,10,0.5), #0a0a0a), 
                radial-gradient(circle at center, #222 0%, #0a0a0a 100%);
    position: relative;
}

.film-subtitle {
    font-family: 'Space Mono', monospace;
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
}

.film-title {
    font-size: clamp(3rem, 9vw, 7.5rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 0.95;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 20px;
}

.film-tagline {
    color: #999;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-bottom: 40px;
    font-family: 'Space Mono', monospace;
    letter-spacing: 1px;
}

/* ==========================================
   KÜNSTLER-TICKER (Zentriert auf Desktop, Liste auf Mobile)
   ========================================== */

.film-creators-ticker {
    background-color: #0f0f0f;
    color: #fff;
    padding: 15px 20px;
    overflow: hidden;
    white-space: nowrap;
    text-align: center; /* Zentriert den Inhalt auf dem Desktop */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-wrapper {
    display: inline-block;
    text-align: center;
}

.ticker-wrapper span {
    margin-right: 10px;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ticker-wrapper .dot {
    color: #888;
    margin-right: 10px;
}

/* --- MOBILE ANSICHT: ALS VERTIKALE LISTE --- */
@media screen and (max-width: 768px) {
    .film-creators-ticker {
        white-space: normal; /* Erlaubt Zeilenumbrüche */
        padding: 25px 20px;
    }

    .ticker-wrapper {
        display: flex;
        flex-direction: column; /* Alles untereinander auf dem Smartphone */
        gap: 8px;
        align-items: center;
        width: 100%;
    }

    /* Das "Mitwirkende Künstler:" Intro */
    .ticker-wrapper span:first-child {
        font-weight: bold;
        color: #aaa;
        margin-bottom: 5px;
        font-size: 0.85rem;
    }

    /* Die Punkte auf dem Handy ausblenden */
    .ticker-wrapper .dot {
        display: none;
    }

    /* Künstlernamen */
    .ticker-wrapper span {
        margin-right: 0;
        font-size: 1.05rem;
    }
}

/* 3. Showcase (Zickzack-Grid) */
.film-showcase {
    padding: 120px 50px;
    max-width: 1300px;
    margin: 0 auto;
}

.showcase-container {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Zickzack-Effekt: Jedes zweite Element umdrehen */
.showcase-row.reverse {
    direction: rtl;
}

.showcase-row.reverse .showcase-text {
    direction: ltr; /* Textrichtung normalisieren */
}

.showcase-img {
    width: 100%;
    height: 400px;
    background: #141414;
    border: 1px solid #222;
    border-radius: 4px;
    overflow: hidden;
}

/* Platzhalter für echte Bilder (später durch <img> ersetzen) */
.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Space Mono', monospace;
    color: #444;
    font-size: 0.9rem;
}

.showcase-text .actor-role {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.showcase-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.showcase-text p {
    color: #999;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Styling für die echten Showcase-Bilder */
.showcase-real-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(120%) brightness(85%); /* Gibt den perfekten dunklen Look */
    transition: transform 0.5s ease;
}

.showcase-row:hover .showcase-real-img {
    transform: scale(1.04);
}

/* 4. Call-to-Action / Release Box */
.film-cta-section {
    padding: 80px 50px 140px 50px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.film-cta-box {
    background: #121212;
    border: 1px solid #222;
    border-radius: 6px;
    padding: 60px 40px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.release-status {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 15px;
}

.film-cta-box h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff;
    margin-bottom: 20px;
}

.film-cta-box p {
    color: #888;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

/* Mobile Responsiveness für das Showcase */
@media (max-width: 900px) {
    .showcase-row, 
    .showcase-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 30px;
    }
    .showcase-img {
        height: 280px;
    }
    .film-showcase, .film-cta-section {
        padding: 60px 20px;
    }
}

/* ==========================================
   HERO VIDEO HINTERGRUND
   ========================================== */

.film-hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Sorgt dafür, dass das Video den Bildschirm ohne Verzerrung ausfüllt */
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Verdunkelt das Video leicht, damit die weiße Schrift perfekt lesbar ist */
    background: linear-gradient(to bottom, rgba(10,10,10,0.5), rgba(10,10,10,0.85));
    z-index: 2;
}

/* Wichtig: Der Text muss über dem Video und dem Overlay liegen */
.film-hero-content {
    position: relative;
    z-index: 3;
}

/* ==========================================
   HEFT / MAGAZIN LANDINGPAGE STYLES
   ========================================== */

.heft-specs-bar {
    background-color: #111;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: 20px 0;
    text-align: center;
}

.specs-container {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.specs-container .dot {
    margin: 0 15px;
    color: #444;
}

.heft-showcase {
    padding: 120px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.heft-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.heft-mockup-side {
    width: 100%;
    height: 500px;
    background: #141414;
    border: 1px solid #222;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.heft-real-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(115%) brightness(90%);
}

.heft-text-side h2 {
    font-size: 2.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    margin: 15px 0 20px 0;
    letter-spacing: -1px;
}

.heft-text-side p {
    color: #999;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.heft-features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-top: 1px solid #222;
    padding-top: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-item .f-num {
    font-family: 'Space Mono', monospace;
    color: #555;
    font-size: 0.85rem;
    font-weight: bold;
}

.feature-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #aaa;
}

.heft-quote-box { border-left: 2px solid #fff; padding-left: 20px; margin-bottom: 30px; font-style: italic; color: #ccc; }

/* Responsiveness für das Magazin Layout */
@media (max-width: 900px) {
    .heft-showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .heft-mockup-side {
        height: 350px;
    }
    .heft-showcase {
        padding: 60px 20px;
    }
}