/* ========================= 
   RESET & BASE 
   ========================= */ 
*, *::before, *::after { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
} 

:root { 
    --bg: #000000; 
    --text: #2d2d2d; 
    --primary: #111111; 
    --accent: #666666; 
    --font-heading: 'Outfit', sans-serif; 
    --font-body: 'Inter', sans-serif; 
} 

body { 
    font-family: var(--font-body); 
    background-color: var(--bg); 
    color: var(--text); 
    line-height: 1.8; 
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased;
    max-width: 100%;
} 
/* ========================= 
   FONTS
   ========================= */ 
/* inter-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('./fonts/inter-v20-latin/inter-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/inter-v20-latin/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* outfit-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  src: url('./fonts/outfit-v15-latin/outfit-v15-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/outfit-v15-latin/outfit-v15-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  src: url('./fonts/outfit-v15-latin/outfit-v15-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  src: url('./fonts/outfit-v15-latin/outfit-v15-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 900;
  src: url('./fonts/outfit-v15-latin/outfit-v15-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* ========================= 
   SITE HEADER (Fixed & Always Visible)
   ========================= */ 
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
    display: flex;
    align-items: center;
    
    /* Active by default */
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

/* Desktop Header Layout */
.header-desktop { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 5%; 
    width: 100%;
    height: 100%;
}

.header-desktop .nav-left, 
.header-desktop .nav-right, 
.header-desktop .header-logo-container { flex: 1; }

.header-desktop .header-logo-container { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}

/* --- LOGO: Force Visibility --- */
.header-logo-container img { 
    height: 35px; 
    width: auto; 
    display: block !important;
    opacity: 1 !important; /* Overrides any previous 0 opacity */
}

.header-desktop .nav-left { display: flex; justify-content: flex-start; gap: 1.5rem; }
.header-desktop .nav-right { display: flex; justify-content: flex-end; gap: 1.5rem; }

.header-desktop a { 
    color: rgba(255, 255, 255, 0.75); 
    text-decoration: none; 
    font-weight: 900; 
    font-size: 1rem; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    transition: 0.3s; 
}
.header-desktop a:hover { color: #fff; }

.nav-left a img {
    height: 18px; /* Matches the text scale */
    width: auto;
    display: inline-block;
    vertical-align: middle; /* Aligns with text like "Presse" */
    filter: brightness(0) invert(1); /* Makes black PNGs white */
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Mobile Header Layout */
.header-mobile { display: none; width: 100%; }

@media (max-width: 1024px) {
    .header-desktop { display: none; }
    .header-mobile { display: block; padding: 0 5%; }
    .mobile-top-bar { 
        display: flex; 
        justify-content: center; 
        align-items: center; 
        height: 70px; 
        position: relative; 
    }
    /* Mobile Logo Visibility */
    .header-mobile .header-logo-container img { 
        height: 25px !important;
        opacity: 1 !important; 
        display: block !important;
    }
    .burger-menu { 
        position: absolute; 
        right: 0; 
        display: flex; 
        flex-direction: column; 
        gap: 5px; 
        cursor: pointer;
    }
    .burger-menu span { width: 22px; height: 2px; background: white; transition: 0.3s; }
    .mobile-dropdown { 
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        display: none; 
        flex-direction: column; 
        padding: 2rem 0; 
        gap: 1.5rem; 
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .site-header.menu-open .mobile-dropdown { display: flex; }
    .mobile-dropdown a { color: #fff; text-decoration: none; text-transform: uppercase; font-weight: 900; }

    /* Burger Animation */
    .site-header.menu-open .burger-menu span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .site-header.menu-open .burger-menu span:nth-child(2) { opacity: 0; }
    .site-header.menu-open .burger-menu span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ========================= 
   KONTAKT OVERLAY (3D Flip)
   ========================= */ 
#contact-overlay { position: fixed; inset: 0; background-color: rgba(0, 0, 0, 0.8); opacity: 0; visibility: hidden; transition: opacity 0.5s ease; z-index: 2000; }
#contact-overlay.active { opacity: 1; visibility: visible; }

#contact-box-wrapper { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    width: 500px; 
    aspect-ratio: 1.75 / 1; /* Standard business card ratio */
    transform-style: preserve-3d; 
    perspective: 1000px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}
#contact-box, #contact-box-back { 
    position: absolute; 
    width: 100%; 
    height: 100%; /* Force height to match the wrapper's aspect ratio */
    backface-visibility: hidden; 
    box-shadow: 0 15px 50px rgba(0,0,0,0.5); 
    border-radius: 4px; /* Slight rounding looks more premium */
}#contact-box { background-color: #111; color: white; }
#contact-box-back { 
    background-color: white; 
    color: black; 
    transform: rotateY(180deg); 
    padding: 2.5rem; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; /* Vertically centers the text block */
    align-items: flex-start; /* Keeps text left-aligned as per your design */
    gap: 0.5rem; /* Tighter gap between contact lines for a cleaner look */
}
#contact-box-wrapper.fly-in { animation: flyInBoxWrapper 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards; }
@keyframes flyInBoxWrapper {
    0% { transform: translate(-150%, 150%) rotate(-25deg) rotateY(0deg); }
    100% { transform: translate(-50%, -50%) rotate(0deg) rotateY(0deg); }
}

#contact-box-wrapper.flip { animation: flipCard 0.8s ease forwards; }
@keyframes flipCard {
    0% { transform: translate(-50%, -50%) rotateY(0deg); }
    100% { transform: translate(-50%, -50%) rotateY(180deg); }
}
/* Restrict the logo size on the front of the contact card */
.contact-logo {
    max-width: 60%;  /* Adjust this percentage to your liking */
    height: auto;
    display: block;
    object-fit: contain;
}

/* Ensure the black box container is centering the logo correctly */
#contact-box {
    background-color: #111;
    color: white;
    padding: 2rem; /* Adds a safety margin so the logo can't touch the edges */
    display: flex;
    justify-content: center;
    align-items: center;
}



/* ========================= 
   FOOTER 
   ========================= */ 
.site-footer { background: #000000; border-top: 1px solid #ccc; }
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}.footer-image img { height: 300px; object-fit: cover; display: block; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; padding-right: 5%; gap: 1rem; }
.footer-socials { display: flex; gap: 1.5rem; }
.footer-socials a { text-decoration: none; color: white; font-weight: 700; text-transform: uppercase; font-size: 0.85rem; }
.footer-copyright p { font-size: 0.8rem; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; color: white; }




/* ========================= 
   MOBILE (Up to 1024px) 
   ========================= */ 
@media (max-width: 1024px) { 

#contact-box-wrapper { 
        width: 90%; 
        max-width: 400px;
        aspect-ratio: 1.6 / 1; /* Slightly taller for mobile readability */
        margin: 0 auto; 
    }
    #contact-box-back {
        padding: 1.5rem;
    }
    .footer-content { flex-direction: column; }
    .footer-image img { height: auto; width: 100%; }
    .footer-right { align-items: center; padding: 2rem 0; }
}































/* =========================
   SOCIAL HERO - TIGHT TYPOGRAPHY
   ========================= */

.social-hero {
    /* Ensure the container itself doesn't have horizontal padding that shifts content */
    padding: clamp(6rem, 15vh, 12rem) 8% 4rem;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: #000;
}

.hero-content-wrapper {
    /* Reset everything to absolute zero */
    margin-left: 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.social-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(4rem, min(22vw, 35vh), 17rem); 
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.85; 
    letter-spacing: -0.02em; 
    margin: 0 0 1.5rem 0;
    text-align: left;
    color: white;

    /* THE FIX: Optical adjustment */
    /* This pulls the big 'B' to the left to cancel out the font's internal padding */
    margin-left: -0.04em; 
    padding-left: 0;
}

.flashing-text {
    text-align: left;
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-left: 0.5em; 
    padding: 0;
    color: #fff;
    opacity: 0.8;
}

.flashing {
    display: inline-block;
    will-change: transform;
    transition: color 0.1s ease;
    margin-left: -0.02em;
}

/* =========================
   SOCIAL CONTENT - STACKED LAYOUT
   ========================= */

.social-stacked-row {
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    width: 100%;
    background: #000000;
    margin-bottom: 8rem; /* Space between sections */
}

.social-large-image {
    width: 100%;
    height: 85vh; /* Very large image height */
    overflow: hidden;
    margin-bottom: 3rem;
}

.social-large-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Optional: subtle zoom effect on load */
    transition: transform 2s ease;
}

.social-stacked-text {
    width: 100%;
    max-width: 900px; /* Constrains text width for readability */
    padding: 0 8%;
    text-align: left;
}

.social-stacked-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-stacked-text p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 2rem;
}

/* =========================
   MOBILE ADJUSTMENTS
   ========================= */

@media (max-width: 768px) {
    .social-large-image {
        height: 50vh; /* Scaled down for mobile */
        margin-bottom: 2rem;
    }
    
    .social-stacked-text {
        padding: 0 10%;
    }

    .social-stacked-text h2 {
        font-size: 2rem;
    }

    .social-stacked-text p {
        font-size: 1.1rem;
    }
    
    .social-stacked-row {
        margin-bottom: 5rem;
    }
}

/* =========================
   MOBILE ADJUSTMENTS (Social)
   ========================= */

@media (max-width: 768px) {
    .social-hero {
        padding: 8rem 5% 4rem;
    }
    .social-hero h1 {
        font-size: clamp(4.5rem, 20vw, 8rem);
        line-height: 0.8;
    }
    .flashing-text {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    .social-row, .social-row.reverse {
        flex-direction: column;
    }
    .social-image {
        width: 100%;
        height: 40vh;
    }
    .social-text {
        padding: 4rem 10%;
        text-align: center;
    }
}

/* =========================
   BLM IMAGE GALLERY STYLING
   ========================= */

.social-image-only {
    width: 100%;
    height: 90vh; /* Takes up most of the screen */
    background: #000;
    overflow: hidden;
    margin-bottom: 2rem; /* Small gap between images */
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-image-only img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    
    /* Reveal Animation Start State */
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: 
        opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
        transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* State when the image is visible */
.social-image-only img.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (max-width: 768px) {
    .social-image-only {
        height: 60vh; /* Shorter for mobile screens */
    }
}

/*--- SCRIPTS ---*/
.flashing {
    display: inline-block;
    will-change: transform, color; /* Tells the browser to optimize for this movement */
    
    /* Transition ONLY for color. NO transition for transform/opacity 
       to keep it perfectly in sync with the scroll wheel. */
    transition: color 0.1s ease; 
}
/* =========================
   LARGE FIST LAYOUT (CLEANED)
   ========================= */

.social-stacked-text {
    width: 100%;
    max-width: 1300px; 
    margin: 0 auto;
    padding: 4% 5%;
    display: flex;
    flex-direction: row;      /* Side-by-side on desktop */
    align-items: center;
    justify-content: space-between;
    gap: 5%;
}

.social-text-content {
    flex: 1;
    max-width: 600px;
    text-align: left;        /* Explicit left align */
}

.social-text-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    /* Ensure no weird margins shift the heading */
    margin-left: 0; 
    padding-left: 0;
}

.social-text-content p {
    font-family: var(--font-body);
    line-height: 1.6;
    color: white;
    /* Remove the auto margins that cause desktop centering issues */
    margin: 0 0 2rem 0; 
    text-align: left;
    max-width: 100%;
}

/* --- FIST CONTAINER --- */
.fist-container {
    position: relative;
    flex: 0 0 400px;
    height: 400px;
    opacity: 0;
    transition: opacity 1.2s ease, transform 1.2s ease;
    transition-delay: 0.35s;
}

.fist-container.is-visible {
    opacity: 1;
    transform: translateY(0);
}

#fist-icon { width: 100%; height: 100%; object-fit: contain; }

#fist-overlay {
    position: absolute;
    inset: 0;
    -webkit-mask-image: url('assets/BLM/fist.png');
    mask-image: url('assets/BLM/fist.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: #ffff00;
    mix-blend-mode: screen; 
    transition: background-color 0.05s ease;
    z-index: 2;
}

/* =========================
   MOBILE ADJUSTMENTS (STRICT)
   ========================= */
@media (max-width: 1024px) {
    .social-stacked-text {
        flex-direction: column-reverse; /* Text on top, fist below */
        text-align: center;
        padding: 4rem 4%;
    }

    .social-text-content {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center; /* Centers the block itself */
    }

    .social-text-content h2 {
        text-align: center;
        margin-bottom: 1rem;
    }

    .social-text-content p {
        text-align: center;
        margin: 0 auto 2rem auto; /* Centers the text lines */
        max-width: 90%;
    }

    .fist-container {
        flex: 0 0 280px;
        height: 280px;
        margin-bottom: 2rem; /* Spacing between fist and text */
    }
}