/* ============================================
   ABOUT SECTION
   Asymmetric layout with image effects
   ============================================ */

/* ---------- ABOUT SECTION ---------- */
#about {
  position: relative;
  background-color: var(--color-black);
  overflow: hidden;
}

/* ---------- ABOUT WRAPPER ---------- */
.about-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-12);

  max-width: 1600px;
  margin: 0 auto;
  padding: var(--space-section) var(--space-8);

  background-color: var(--color-black);
}

/* ---------- ABOUT TEXT ---------- */
.about-text {
  flex: 1;
  max-width: 700px;
  z-index: 2;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  font-weight: var(--weight-black);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-white);
  margin-bottom: var(--space-8);
}

.about-text p {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-normal);
  line-height: var(--leading-relaxed);
  color: var(--color-gray-200);
  margin: 0;
}

/* Style br tags as spacing */
.about-text p br {
  display: block;
  content: '';
  margin-top: var(--space-4);
}

/* ---------- ABOUT IMAGE ---------- */
.about-img-wrapper {
  position: relative;
  flex: 1;
  max-width: 50%;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.about-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: var(--transition-slow);

  /* Slight desaturation */
  filter: grayscale(10%);
}

.about-img-wrapper:hover .about-img {
  transform: scale(1.03);
  filter: grayscale(0%);
}

/* Gradient overlay on left edge */
.about-img-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(
    to right,
    var(--color-black) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}


/* ---------- RESPONSIVE ---------- */

/* Large desktop */
@media (min-width: 1440px) {
  .about-wrapper {
    gap: var(--space-16);
  }

  .about-text {
    max-width: 800px;
  }
}

/* Desktop */
@media (max-width: 1200px) {
  .about-img-wrapper {
    max-width: 45%;
  }

  .about-text {
    max-width: 600px;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .about-wrapper {
    flex-direction: column;
    text-align: center;
    padding: var(--space-section-sm) var(--space-6);
    gap: var(--space-10);
  }

  .about-img-wrapper {
    display: none; /* Hide image on tablet/mobile */
  }

  .about-text {
    max-width: 700px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .about-wrapper {
    padding: var(--space-16) var(--space-4);
    gap: var(--space-8);
  }

  .about-text h2 {
    margin-bottom: var(--space-6);
  }
}

/* Small mobile */
@media (max-width: 400px) {
  .about-wrapper {
    padding: var(--space-12) var(--space-4);
  }
}
