/*
Theme Name: Fastlife Premium White
Template: twentytwentyfour
Description: High-End B2B Custom Theme für Fastlife Studios
Author: Fastlife Studios
Version: 1.0.2
*/

/* --- FASTLIFE PREMIUM WHITE AESTHETIC --- */

body {
    background-color: var(--wp--preset--color--base) !important;
    color: var(--wp--preset--color--contrast) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Optimale Lesbarkeit für normale Text-Blöcke */
p, .wp-block-paragraph {
    max-width: 75ch;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem;
    color: #4a4a4a;
}

/* Headlines (Wuchtige Typografie) */
h1, h2, h3, h4, h5, h6 {
    color: #111111;
    letter-spacing: -0.04em; /* Engeres Tracking für Premium-Look */
    font-weight: 800 !important;
}

h1 {
    font-size: clamp(3rem, 7vw, 5.5rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.05em !important;
    margin-bottom: 0.5em;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
    line-height: 1.1 !important;
    margin-bottom: 0.75em;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem) !important;
    margin-bottom: 0.5em;
}

/* Header & Navigation Fixes */
.wp-block-navigation a {
    font-weight: 600 !important;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Buttons (Premium Feel) */
.wp-block-button__link {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease !important;
    text-decoration: none !important;
    border-radius: 999px !important; /* Runde Pillen-Form für Premium UX */
    padding: 16px 32px !important;
    font-size: 1.05rem !important;
}

.wp-block-button__link:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(26, 26, 26, 0.2) !important;
    background-color: #333333 !important;
}

/* Formular Styling Fixes */
.fastlife-contact-form-container {
    max-width: 650px !important;
    margin: 0 auto !important;
    background: #ffffff !important;
    padding: 3rem !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05) !important;
    border: 1px solid #eaeaea !important;
}

/* Spacing Helpers & Whitespace */
.alignwide {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.fls-whitespace-section {
    padding-top: clamp(80px, 15vw, 160px) !important;
    padding-bottom: clamp(80px, 15vw, 160px) !important;
    background-color: #ffffff !important; /* Erzwingt durchgehendes Weiß */
}

/* Hero Cover Customizations */
.fls-hero-cover {
    min-height: 90vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fls-hero-cover h1 {
    color: #ffffff !important;
}
.fls-hero-cover p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1.25rem;
}

/* Premium Client Logos */
.fls-client-logo img {
    filter: grayscale(100%) opacity(60%);
    transition: filter 0.4s ease, transform 0.4s ease;
    mix-blend-mode: multiply; /* Works well on white background */
}
.fls-client-logo img:hover {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.05);
}

/* Split Hero Media Hover Effect */
.fls-media-placeholder {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.fls-media-placeholder:hover {
    transform: scale(1.02) translateY(-10px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.6) !important;
}

@media(max-width: 900px) {
    .fls-hero-split .wp-block-columns {
        flex-direction: column !important;
    }
    .fls-hero-split .wp-block-column {
        width: 100% !important;
        flex-basis: 100% !important;
        margin-bottom: 40px;
    }
    .fls-hero-split h1 {
        text-align: center;
    }
    .fls-hero-split p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .fls-hero-split .wp-block-buttons {
        justify-content: center !important;
    }
    .fls-media-placeholder {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ====== PHASE 3: PERFEKTION (UX / Typography / Mobile / Trust) ====== */

/* 1. Mobile Typography Fix: Ensure text padding isn't completely flush to edges on small screens */
@media(max-width: 600px) {
    p, .wp-block-paragraph {
        font-size: 1.05rem !important; /* Slightly smaller base font for mobile */
        padding-left: 16px;
        padding-right: 16px;
    }
    h2 {
        font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
        padding-left: 16px;
        padding-right: 16px;
    }
    h3 {
        padding-left: 16px;
        padding-right: 16px;
    }
    /* The hero split section needs its own padding reset */
    .fls-hero-split {
        padding-top: 80px !important;
        padding-bottom: 60px !important;
    }
    .fls-hero-split h1 {
        font-size: clamp(2.2rem, 10vw, 3rem) !important;
        padding-left: 16px;
        padding-right: 16px;
        text-align: left !important; /* Center on mobile feels cheap, left-aligned is editorial */
    }
    .fls-hero-split p {
        text-align: left !important;
        margin-left: 0 !important;
    }
    .fls-hero-split .wp-block-buttons {
        justify-content: flex-start !important;
        padding-left: 16px;
    }
    .fls-media-placeholder {
        margin: 0 16px !important; /* Gives the image box breathing room on mobile */
    }
}

/* 2. Micro-Interactions: Smooth fade-in for sections as you scroll down */
@media (prefers-reduced-motion: no-preference) {
    .fls-whitespace-section {
        opacity: 0;
        animation: flsFadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
        animation-play-state: paused;
    }
    .fls-whitespace-section:nth-child(n) {
        animation-play-state: running; /* Normally triggered by JS IntersectionObserver, forcing running for now as fallback */
    }
    
    @keyframes flsFadeInUp {
        0% { opacity: 0; transform: translateY(30px); }
        100% { opacity: 1; transform: translateY(0); }
    }
}

/* 3. Footer Links Cleanup */
.wp-block-navigation .wp-block-navigation-item a {
    color: #4a4a4a !important;
    transition: color 0.2s ease;
}
.wp-block-navigation .wp-block-navigation-item a:hover {
    color: #111111 !important;
}

/* 4. Elegant List Styling (Checkmarks instead of bullets for services) */
.fls-whitespace-section ul {
    list-style: none;
    padding-left: 0;
}
.fls-whitespace-section ul li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    font-size: 1.125rem;
    color: #4a4a4a;
}
.fls-whitespace-section ul li::before {
    content: ✓;
    position: absolute;
    left: 0;
    color: #111111;
    font-weight: 800;
}
