/*
Events Page
- Hero2
- Etkinlik Özet
- Etkinlik İçerik
- Türk Rivierası
*/

/* Hero2 */
.ko-hero2 {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-height: 625px;

  @media (width >= 992px) {
    aspect-ratio: 5 / 2;
    padding-top: 50px;
  }
}

.ko-hero2__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.ko-hero2__img,
.ko-hero2__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ko-hero2__bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Subtle overlay for text legibility */
  z-index: 2;
}

.ko-hero2__container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.ko-hero2__content {
  color: var(--ko-white);
  max-width: 1000px;
  margin-inline: auto;
  font-size: clamp(16px, 1.375vw, 22px);
  font-weight: 200;
}

.ko-hero2__title {
  font-family: var(--ko-font-heading);
  font-size: clamp(2.3rem, 6.25vw, 5.75rem);
  font-weight: inherit;
  line-height: 1.2;
  text-wrap: balance; /* Modern CSS for balanced wrap */
}

/* Etkinlik Özet */
.ko-etkinlik-ozet {
  display: flex;
  flex-wrap: wrap-reverse;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  font-size: clamp(22px, 2.91vw, 32px);
  font-family: var(--ko-font-heading);
  color: var(--ko-blue);
  font-weight: 300;
  padding: 50px 15px;
  max-width: 1280px;
  margin-inline: auto;

  @media (width >= 768px) {
    flex-wrap: nowrap;
    gap: 40px;
    padding: 100px 50px;
  }
}

.ko-etkinlik-ozet__illustrasyon {
  margin-inline: auto;
}

/* Etkinlik İçerik */
/* ==========================================================================
   Etkinlik İçerik (Activity Content Block)
   Image + Text side-by-side layout with alternating variants.
   ========================================================================== */

.ko-etkinlik-icerik {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 50px 15px;
  color: var(--ko-blue);
  max-width: 1280px;
  margin-inline: auto;

  @media (width >= 768px) {
    padding: 60px 50px;
    gap: 40px;
  }

  @media (width >= 1024px) {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
    padding: 80px 50px;
  }
}

/* --- Image Column --- */
.ko-etkinlik-icerik__media {
  @media (width >= 1024px) {
    flex: 0 0 45%;
    max-width: 530px;
  }
}

.ko-etkinlik-icerik__image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 530 / 545;
  object-fit: cover;
}

/* --- Text Column --- */
.ko-etkinlik-icerik__body {
  display: flex;
  flex-direction: column;
  gap: 20px;

  @media (width >= 1024px) {
    flex: 1;
    gap: 24px;
  }
}

/* Title: Ivy Mode, 50px, thin/light */
.ko-etkinlik-icerik__title {
  font-family: var(--ko-font-heading);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 100;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Subtitle / Featured paragraph: Ivy Mode, 20-30px, light */
.ko-etkinlik-icerik__subtitle {
  font-family: var(--ko-font-heading);
  font-size: clamp(18px, 2.5vw, 30px);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: 0.05em;
  font-style: italic;
}

/* Featured intro paragraph: Ivy Mode, ~20px, light */
.ko-etkinlik-icerik__lead {
  font-family: var(--ko-font-heading);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

/* Normal paragraph: Manrope, 18px, extra-light */
.ko-etkinlik-icerik__text {
  font-family: var(--ko-font-main);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 200;
  line-height: 1.45;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Variant: Image on the right (image stays first in HTML, reordered via CSS)
   ========================================================================== */
@media (width >= 1024px) {
  .ko-etkinlik-icerik--image-right .ko-etkinlik-icerik__media {
    order: 2;
  }
}

/* Türk Rivierası */
.ko-turk-rivierasi {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: var(--ko-white);
  min-height: 600px;

  @media (width >= 1024px) {
    height: 945px;
  }
}

.ko-turk-rivierasi__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.ko-turk-rivierasi__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.ko-turk-rivierasi__content {
  position: relative;
  height: 100%;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  padding: 60px 20px;
  @media (width >= 1024px) {
    padding: 115px 0 80px 0;
  }
}

.ko-turk-rivierasi__top-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;

  @media (width >= 1024px) {
    align-self: flex-end;
    max-width: 500px;
    text-align: left;
    margin-right: 60px; /* Alignment with inner content if needed */
  }
}

.ko-turk-rivierasi__quote {
  font-family: var(--ko-font-heading);
  font-weight: 300; /* IvyMode Light/Thin */
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);

  @media (width >= 1024px) {
      font-size: 30px;
      line-height: 1.2;
      letter-spacing: 1.5px;
      margin-bottom: 24px;
  }
}


.ko-turk-rivierasi__desc {
  font-family: var(--ko-font-main);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);

  @media (width >= 1024px) {
    font-size: 16px;
    line-height: 1.56;
    letter-spacing: 0.8px;
  }
}


.ko-turk-rivierasi__main-title-wrapper {
  position: relative;
  margin-top: auto;
  margin-bottom: auto;
  text-align: center;

  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;

  @media (width >= 1024px) {
    flex-grow: 0;
    top: -90px;
  }
}

.ko-turk-rivierasi__main-title {
  font-family: var(--ko-font-heading);
  font-weight: 100;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);

  @media (width >= 1024px) {
    font-size: 70px;
    line-height: 1.07;
    letter-spacing: 3.5px;
  }
}
