/**
 * DRAK About Drakula
 * Tytuł nachodzi na poprzednią sekcję
 */

.drak-about-section {
  position: relative;
  z-index: 10;
  padding: 0;
  margin-top: 0;
}

.drak-about-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #0a0a0a;
  background-size: cover;
  background-position: 50% 35%;
  background-repeat: no-repeat;
  z-index: 0;
}

.drak-about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.75) 35%, rgba(0, 0, 0, 0.3) 60%, transparent 75%),
    radial-gradient(ellipse at 20% 50%, rgba(220, 38, 38, 0.06) 0%, transparent 50%);
  z-index: 1;
}

.drak-content-container {
  display: grid;
  grid-template-columns: 50% 50%;
  max-width: 100%;
  width: 100%;
  min-height: 80vh;
  position: relative;
  z-index: 2;
}

.drak-text-content {
  background: transparent;
  padding: 80px 100px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

.drak-about-title {
  font-family: 'Russo One', 'Oswald', sans-serif;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 4px;
  margin-bottom: 50px;
  color: #ffffff;
  margin-top: -140px;
  position: relative;
  z-index: 15;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

/* Pojedyncza litera w animacji */
.drak-about-title .letter {
  display: inline-block;
  opacity: 0;
  transform: translateX(-20px);
  filter: blur(4px);
  text-shadow: 0 0 0 transparent;
  transition: opacity 0.3s ease-out, transform 0.4s ease-out, filter 0.4s ease-out, text-shadow 0.5s ease-out;
}

/* Animowana litera - efekt lasera */
.drak-about-title .letter.visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
  text-shadow:
    0 0 10px rgba(220, 38, 38, 0.8),
    0 0 20px rgba(220, 38, 38, 0.5),
    0 0 30px rgba(220, 38, 38, 0.3),
    2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Po zakończeniu animacji - normalne cienie */
.drak-about-title .letter.complete {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transition: text-shadow 0.5s ease-out;
}

.drak-about-description {
  font-family: 'Exo 2', sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #ffffff;
  margin-bottom: 25px;
  font-weight: 400;
  max-width: 600px;
  text-align: center;
  letter-spacing: 0.5px;
}

/* Pojedyncza litera w akapitach */
.drak-about-description .letter {
  display: inline;
  opacity: 0;
  filter: blur(3px);
  transition: opacity 0.2s ease-out, filter 0.2s ease-out, text-shadow 0.3s ease-out;
}

/* Animowana litera - efekt lasera */
.drak-about-description .letter.visible {
  opacity: 1;
  filter: blur(0);
  text-shadow:
    0 0 8px rgba(220, 38, 38, 0.7),
    0 0 15px rgba(220, 38, 38, 0.4);
}

/* Po zakończeniu animacji - normalny tekst */
.drak-about-description .letter.complete {
  text-shadow: none;
  transition: text-shadow 0.4s ease-out;
}

.drak-highlight {
  color: #ffffff;
  font-weight: 700;
}

.drak-image-gallery {
  position: relative;
  overflow: hidden;
  background: transparent;
}

/* Tablet */
/* DESKTOP: zdjęcie nie-lustrzane = dziewczyna center-lewo, więc tekst na PRAWO (ciemny parking) */
@media (min-width: 1025px) {
  .drak-text-content {
    order: 2; /* tekst do prawej kolumny */
  }
  .drak-about-overlay {
    background:
      linear-gradient(to left, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.75) 35%, rgba(0, 0, 0, 0.3) 60%, transparent 75%),
      radial-gradient(ellipse at 80% 50%, rgba(220, 38, 38, 0.06) 0%, transparent 50%);
  }
}

@media (max-width: 1024px) {
  .drak-content-container {
    grid-template-columns: 1fr;
    min-height: 100vh; /* więcej obrazu nad tekstem - twarz dziewczyny bardziej widoczna */
  }

  /* Tekst dosunięty do DOŁU obrazka (żeby nie zasłaniał twarzy) */
  .drak-text-content {
    padding: 60px 40px 60px;
    justify-content: flex-end;
  }

  /* Focal point trochę wyżej, żeby sylwetka/twarz nie chowała się za tekstem */
  .drak-about-bg {
    background-position: 25% 25%;
  }

  .drak-about-title {
    font-size: clamp(36px, 6vw, 60px);
    margin-top: 0;
    white-space: nowrap;
  }

  .drak-about-description {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .drak-content-container {
    min-height: 70vh;
  }

  .drak-about-bg {
    background-position: 30% 20%;
  }

  .drak-about-title {
    font-size: clamp(28px, 8vw, 42px);
    margin-top: 0;
    transform: none;
    margin-bottom: 10px;
    white-space: nowrap;
    letter-spacing: 3px;
  }

  /* Tekst startuje w DOLNEJ połowie (duży padding-top) - twarz dziewczyny u góry odsłonięta.
     flex-start, bo flex-end nie działa gdy tekst jest wyższy niż kontener. */
  .drak-text-content {
    justify-content: flex-start;
    padding: 48vh 20px 40px 20px;
  }

  .drak-about-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
  }
}
