/* =========================
   ÖZEL ETKİNLİKLER PAGE
   ozel-etkinlikler.css
   layout.css ortak header/footer yapısını yönetir
========================= */

/* =========================
   RESET + TOKENS
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --se-primary: #4957a6;
  --se-primary-dark: #38458b;
  --se-primary-light: #6c78c8;
  --se-primary-soft: #edf0fb;

  --se-pink: #c01d79;
  --se-pink-dark: #9f155f;
  --se-pink-light: #df4a9c;
  --se-pink-soft: #fde8f3;

  --se-orange: #f15a25;
  --se-orange-dark: #d94d1b;
  --se-orange-soft: #fff1ea;

  --se-yellow: #fdb818;
  --se-yellow-soft: #fff7df;

  --se-bg: #ffffff;
  --se-bg-soft: #fbf8ff;
  --se-bg-pink: #fff8fc;
  --se-card: #fdfbff;

  --se-text: #1f2430;
  --se-text-muted: #5f6875;
  --se-border: #eee1d6;

  --se-shadow-card: 0 16px 38px rgba(73, 87, 166, 0.12);
  --se-shadow-soft: 0 18px 46px rgba(192, 29, 121, 0.08);
  --se-shadow-fun: 0 18px 42px rgba(73, 87, 166, 0.16);
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Rubik", sans-serif;
  line-height: 1;
  color: var(--se-text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 14%, rgba(73, 87, 166, 0.08), transparent 20%),
    radial-gradient(
      circle at 92% 18%,
      rgba(192, 29, 121, 0.08),
      transparent 18%
    ),
    linear-gradient(180deg, #ffffff 0%, var(--se-bg-soft) 100%);
}

img,
picture,
video,
svg {
  max-width: 100%;
  display: block;
}

/* =========================
   ACTIVE NAV
========================= */
.layout-nav__link[href="ozel-etkinlikler.html"],
.layout-nav__link[aria-current="page"] {
  color: var(--se-primary);
}

.layout-nav__link[href="ozel-etkinlikler.html"]::after {
  background: linear-gradient(90deg, var(--se-primary), var(--se-pink));
}

/* =========================
   CONTAINER + WAVE
========================= */
.se-container {
  max-width: var(--container, 120rem);
  margin: 0 auto;
  padding: 0 var(--gutter, 3.2rem);
}

.se-wave {
  width: 100%;
  height: 16rem;
  line-height: 0;
  pointer-events: none;
}

.se-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* =========================
   TYPOGRAPHY
========================= */
.se-h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(3.2rem, 3.6vw, 4.8rem);
  line-height: 1.1;
  letter-spacing: -0.4px;
  color: var(--se-text);
}

.se-lead {
  margin: 0;
  max-width: 75ch;
  font-size: 1.8rem;
  line-height: 1.74;
  color: var(--se-text-muted);
}

/* =========================
   BUTTONS
========================= */
.se-btn:link,
.se-btn:visited,
.se-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.35rem 2.5rem;
  border-radius: 999px;
  font-size: 1.7rem;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.se-btn--primary:link,
.se-btn--primary:visited {
  background: linear-gradient(135deg, var(--se-primary), var(--se-pink-light));
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(73, 87, 166, 0.24);
}

.se-btn--primary:hover,
.se-btn--primary:active {
  background: linear-gradient(135deg, var(--se-primary-dark), var(--se-pink));
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(192, 29, 121, 0.24);
}

/* =========================
   HERO VIDEO ONLY
========================= */
.se-hero {
  position: relative;
  overflow: hidden;
  background: #111111;
}

.se-hero--video-only {
  min-height: calc(100vh - var(--header-h, 8.8rem));
  isolation: isolate;
}

.se-hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.se-hero__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.se-hero--video-only .se-wave--bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  height: 11rem;
}

.se-hero--video-only .se-wave--bottom svg {
  width: 100%;
  height: 100%;
  display: block;
}

.se-hero--video-only .se-wave--bottom path {
  fill: #ffffff;
}

/* Eski hero varyasyonları HTML'de kalırsa görünmesin */
.se-hero--video-only .se-hero__content,
.se-hero--video-only .se-hero__paint,
.se-hero--video-only .se-hero__overlay {
  display: none !important;
}

/* =========================
   PLAN
========================= */
.se-plan {
  padding: 7.2rem 0 5.6rem;
  background:
    radial-gradient(
      circle at 10% 14%,
      rgba(73, 87, 166, 0.06),
      transparent 18%
    ),
    radial-gradient(
      circle at 90% 18%,
      rgba(192, 29, 121, 0.06),
      transparent 18%
    ),
    linear-gradient(180deg, #ffffff 0%, var(--se-bg-soft) 100%);
}

.se-plan__head {
  text-align: center;
}

.se-plan__head .se-lead {
  margin-left: auto;
  margin-right: auto;
}

/* =========================
   PACKAGES / EVENT CARDS
========================= */
.se-pack {
  position: relative;
  overflow: hidden;
}

.se-pack--always-open {
  padding: 8rem 0 10rem;
  background:
    radial-gradient(
      circle at 88% 14%,
      rgba(192, 29, 121, 0.09),
      transparent 18%
    ),
    radial-gradient(
      circle at 12% 78%,
      rgba(73, 87, 166, 0.07),
      transparent 18%
    ),
    linear-gradient(180deg, #fff8fd 0%, #fffaf6 100%);
}

.se-pack__timeline {
  display: grid;
  gap: 4.8rem;
}

.se-event-card {
  width: min(100%, 104rem);
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  align-items: stretch;
  gap: 2.4rem;
}

.se-event-card--right {
  justify-self: end;
}

.se-event-card--left {
  justify-self: start;
  grid-template-columns: 1fr 0.82fr;
}

.se-event-card__content {
  position: relative;
  min-height: 30rem;
  padding: 4.4rem 4.6rem;
  border-radius: 3rem;
  border: 1px solid rgba(192, 29, 121, 0.13);
  background:
    radial-gradient(
      circle at 90% 14%,
      rgba(192, 29, 121, 0.08),
      transparent 26%
    ),
    linear-gradient(180deg, #ffffff 0%, #fffafd 100%);
  box-shadow: 0 22px 52px rgba(73, 87, 166, 0.11);
}

.se-event-card--left .se-event-card__content {
  background:
    radial-gradient(circle at 0% 0%, rgba(73, 87, 166, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
  border-color: rgba(73, 87, 166, 0.12);
}

.se-event-card__number {
  width: 5.6rem;
  height: 5.6rem;
  display: grid;
  place-items: center;
  margin-bottom: 2.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--se-primary), var(--se-pink));
  color: #ffffff;
  font-size: 1.7rem;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(192, 29, 121, 0.22);
}

.se-event-card__title {
  margin: 0 0 2rem;
  font-size: clamp(2.8rem, 3vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.04rem;
  color: var(--se-text);
}

.se-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.35rem;
}

.se-list li {
  position: relative;
  padding-left: 3.2rem;
  font-size: 1.7rem;
  line-height: 1.75;
  color: var(--se-text-muted);
}

.se-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--se-pink);
}

.se-event-card__media {
  margin: 0;
  min-height: 30rem;
  border-radius: 3rem;
  overflow: hidden;
  border: 0.7rem solid rgba(255, 255, 255, 0.92);
  background: #ffffff;
  box-shadow: 0 22px 52px rgba(3, 4, 4, 0.09);
}

.se-event-card__media img {
  width: 100%;
  height: 100%;
  min-height: 30rem;
  object-fit: cover;
  display: block;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.se-event-card:hover .se-event-card__media img {
  transform: scale(1.04);
  filter: saturate(1.06);
}

/* =========================
   FINAL CTA
========================= */
.se-final {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 8rem 0 13rem;
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(73, 87, 166, 0.08),
      transparent 18%
    ),
    radial-gradient(
      circle at 86% 18%,
      rgba(192, 29, 121, 0.08),
      transparent 18%
    ),
    linear-gradient(180deg, #ffffff 0%, var(--se-bg-soft) 100%);
}

.se-final > *:not(.se-wave) {
  position: relative;
  z-index: 2;
}

.se-final__inner {
  max-width: 96rem;
  margin: 0 auto;
  padding: 5.2rem 4.8rem;
  border-radius: 3.2rem;
  text-align: left;
  background:
    radial-gradient(
      700px 220px at 32% 40%,
      rgba(73, 87, 166, 0.16),
      transparent 62%
    ),
    radial-gradient(
      760px 240px at 72% 46%,
      rgba(192, 29, 121, 0.16),
      transparent 62%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.92),
      rgba(255, 255, 255, 0.78)
    );
  border: 1px solid rgba(73, 87, 166, 0.1);
  box-shadow: 0 18px 54px rgba(73, 87, 166, 0.1);
  backdrop-filter: blur(10px);
}

.se-final__title {
  margin: 0 0 1.4rem;
  max-width: 24ch;
  font-size: clamp(3.2rem, 3.4vw, 4.6rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--se-text);
}

.se-final__text {
  margin: 0 0 2.6rem;
  max-width: 68ch;
  font-size: 1.7rem;
  line-height: 1.75;
  color: var(--se-text-muted);
}

.se-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1.2rem;
}

.se-final__actions .se-btn {
  min-width: 23rem;
  justify-content: center;
}

.se-wave--final-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 10rem;
  z-index: 1;
  pointer-events: none;
}

.se-wave--final-bottom svg {
  width: 100%;
  height: 100%;
  display: block;
}

.se-wave--final-bottom path {
  fill: #ffffff;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  html {
    font-size: 56.25%;
  }

  .se-hero--video-only {
    min-height: calc(100svh - var(--header-h, 8.8rem));
  }

  .se-plan {
    padding: 6.4rem 0 5.2rem;
  }

  .se-pack--always-open {
    padding: 7rem 0 8rem;
  }

  .se-event-card,
  .se-event-card--left {
    width: 100%;
    grid-template-columns: 1fr;
    justify-self: stretch;
  }

  .se-event-card--left .se-event-card__content {
    order: 2;
  }

  .se-event-card--left .se-event-card__media {
    order: 1;
  }

  .se-event-card__content {
    min-height: auto;
    padding: 3.6rem 3rem;
  }

  .se-event-card__media,
  .se-event-card__media img {
    min-height: 28rem;
  }

  .se-final {
    padding: 6.4rem 0 11rem;
  }

  .se-final__inner {
    padding: 4.2rem 3.2rem;
    border-radius: 2.8rem;
  }
}

@media (max-width: 700px) {
  .se-pack--always-open {
    padding: 5.6rem 0 7.2rem;
  }

  .se-pack__timeline {
    gap: 3.6rem;
  }

  .se-event-card,
  .se-event-card--left,
  .se-event-card--right {
    width: 100%;
    grid-template-columns: 1fr !important;
    justify-self: center;
    gap: 1.8rem;
  }

  /* Mobilde tüm kartlarda önce metin, sonra görsel */
  .se-event-card__content {
    order: 1 !important;
    min-height: auto;
    padding: 3.2rem 2.8rem;
    border-radius: 2.6rem;
  }

  .se-event-card__media {
    order: 2 !important;
    min-height: auto;
    border-radius: 2.4rem;
    border-width: 0.55rem;
  }

  .se-event-card__media img {
    min-height: auto;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .se-event-card__number {
    width: 5rem;
    height: 5rem;
    margin-bottom: 1.8rem;
    font-size: 1.6rem;
  }

  .se-event-card__title {
    margin-bottom: 1.8rem;
    font-size: clamp(2.8rem, 8vw, 3.6rem);
  }

  .se-list {
    gap: 1.15rem;
  }

  .se-list li {
    padding-left: 2.8rem;
    font-size: 1.55rem;
    line-height: 1.7;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 50%;
  }

  .se-wave {
    height: 12rem;
  }

  .se-hero--video-only {
    min-height: calc(100svh - var(--header-h, 8.8rem));
  }

  .se-hero--video-only .se-wave--bottom {
    height: 8rem;
  }

  .se-hero__video {
    object-position: center center;
  }

  .se-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .se-plan {
    padding: 5.6rem 0 4.8rem;
  }

  .se-pack--always-open {
    padding: 6.4rem 0 8rem;
  }

  .se-pack__timeline {
    gap: 3.2rem;
  }

  .se-event-card__content {
    padding: 3.2rem 2.4rem;
    border-radius: 2.6rem;
  }

  .se-event-card__media {
    border-radius: 2.6rem;
  }

  .se-event-card__title {
    font-size: 3rem;
  }

  .se-list li {
    font-size: 1.6rem;
  }

  .se-final {
    padding: 5.6rem 0 10rem;
  }

  .se-final__inner {
    padding: 3.6rem 2.4rem;
    border-radius: 2.4rem;
  }

  .se-final__title {
    font-size: 3.4rem;
  }

  .se-final__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .se-final__actions .se-btn {
    width: 100%;
    min-width: 0;
  }
}