/*
 * Tuğra Workwear - Scrollytelling & GSAP specific styles
 */

/* Default block flow for mobile with padding */
.brand-layer {
  padding: 3rem 0;
}

/* For desktop: layers stack on top of each other in the pinned container */
@media (min-width: 769px) {
  .brand-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-bottom: none;
  }
  
  .brand-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0;
    visibility: hidden;
    opacity: 0;
  }
  
  /* GSAP handles the active visibility, but initial state for layer 1 can be visible */
  .brand-layer.layer-1 {
    visibility: visible;
    opacity: 1;
  }
}

/* ==========================================================================
   Split Screen Layout for Brands (Image Right, Text Left)
   ========================================================================== */
.brand-section__visual {
  position: relative;
  width: 100%;
  height: 300px;
  z-index: 0;
}

.brand-section__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-md);
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.08));
}

.img-blend-multiply {
  mix-blend-mode: multiply;
  filter: none !important; /* Shadows look weird with multiply */
}

.brand-section__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

@media (min-width: 769px) {
  .brand-section__visual {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 45%;
    height: 80%;
  }

  .brand-section__content {
    max-width: 50%;
    padding-right: var(--space-xl);
  }

  /* RTL Support for Split Screen */
  html[dir="rtl"] .brand-section__visual {
    right: auto;
    left: 5%;
  }

  html[dir="rtl"] .brand-section__content {
    padding-right: 0;
    padding-left: var(--space-xl);
  }
}
