/* =========================================================
   /assets/css/pages/index.css  —  SADECE HOME'A ÖZEL STİLLER
   Global tokenlar (bg-page, surface, text, vb.) token.css/dark.css'tedir.
   ========================================================= */

/* === Home’a özel değişkenler (global tokenlardan beslenir) === */
body {
  /* Kart cam zeminleri + dalga renkleri (LIGHT) */
  --card-bg: #ffffff;
  --color-card1-start: #ffca7acb;
  --color-card1-end: #ffc982cf;
  --color-card2-start: #ff8c8cc8;
  --color-card2-end: #ff8787ca;
  --color-card3-start: #ca96fec1;
  --color-card3-end: #d59bffbe;
  --wave-1: #d4eaf7;
  --wave-2: #ffffff;
  --wave-3: #bcd9eb;
}

/* DARK için bu sayfa özel değişkenler */
body.dark {
  --card-bg: rgba(218, 218, 218, 0.06);

  --color-card1-start: #e0952c7d;
  --color-card1-end: #ffa63179;
  --color-card2-start: #ff6b6b79;
  --color-card2-end: #ff8a8a6d;
  --color-card3-start: #b472e372;
  --color-card3-end: #d0a9f573;
  --wave-1: #1a1a1a;
  --wave-2: #242424;
  --wave-3: #101010;
}

/* ===== HERO / CAROUSEL ===== */
.carousel-container {
  position: relative;
  width: 100%;
  min-height: 76vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-page);
}
.carousel-track {
  display: flex;
  align-items: center;
  height: 100%;
  transition: transform 0.8s ease-in-out;
  will-change: transform;
  padding: 0 24px;
}

.carousel-slide {
  margin: 0 15px;
  background: radial-gradient(
      1200px 700px at 10% 85%,
      #fde6c3 0%,
      rgba(253, 230, 195, 0.7) 40%,
      rgba(253, 230, 195, 0) 65%
    ),
    radial-gradient(
      900px 600px at 33% 42%,
      #f4a48a 0%,
      rgba(244, 164, 138, 0.6) 36%,
      rgba(244, 164, 138, 0) 64%
    ),
    radial-gradient(
      900px 600px at 50% 46%,
      #f4a68c 0%,
      rgba(244, 166, 140, 0.55) 38%,
      rgba(244, 166, 140, 0) 66%
    ),
    radial-gradient(
      900px 600px at 72% 44%,
      #d7a3e1 0%,
      rgba(215, 163, 225, 0.5) 40%,
      rgba(215, 163, 225, 0) 68%
    ),
    radial-gradient(
      1100px 700px at 86% 38%,
      #aee6fd 0%,
      rgba(174, 230, 253, 0.75) 45%,
      rgba(174, 230, 253, 0) 70%
    ),
    linear-gradient(
      80deg,
      #fbf2e3 0%,
      #fde6c3 22%,
      #f4a48a 30%,
      #d7a3e1 55%,
      #aee6fd 100%
    );
  border-radius: 30px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 56px 60px;
  height: 542px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}
body.dark .carousel-slide {
  background: radial-gradient(
      1200px 700px at 10% 85%,
      #3b2a1d 0%,
      rgba(59, 42, 29, 0.7) 40%,
      rgba(59, 42, 29, 0) 65%
    ),
    radial-gradient(
      900px 600px at 33% 42%,
      #5a3a34 0%,
      rgba(90, 58, 52, 0.58) 36%,
      rgba(90, 58, 52, 0) 64%
    ),
    radial-gradient(
      900px 600px at 50% 46%,
      #57423a 0%,
      rgba(87, 66, 58, 0.55) 38%,
      rgba(87, 66, 58, 0) 66%
    ),
    radial-gradient(
      900px 600px at 72% 44%,
      #4c3a58 0%,
      rgba(76, 58, 88, 0.5) 40%,
      rgba(76, 58, 88, 0) 68%
    ),
    radial-gradient(
      1100px 700px at 86% 38%,
      #2b4e5c 0%,
      rgba(43, 78, 92, 0.72) 45%,
      rgba(43, 78, 92, 0) 70%
    ),
    linear-gradient(
      80deg,
      #1a1e25 0%,
      #2a2521 22%,
      #3e2f2a 30%,
      #3a2f49 55%,
      #1f3541 100%
    );
}
.carousel-slide > .text-content {
  width: 52%;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  position: relative;
}
.carousel-slide h1 {
  font-size: clamp(2.2rem, 2vw + 1.8rem, 3.2rem);
  font-weight: 750;
  margin-bottom: 1.1rem;
  color: var(--text);
  line-height: 1.15;
}
.carousel-slide p {
  font-size: clamp(1rem, 0.4vw + 0.9rem, 1.15rem);
  margin-bottom: 1.6rem;
  color: var(--muted);
}
.mockup {
  position: absolute;
  right: -25px;
  bottom: 0;
  height: 700px;
  width: auto;
  object-fit: contain;
  z-index: 1;
  filter: drop-shadow(0px 18px 28px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}
.download-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}
.download-btn-svg {
  height: 60px;
  width: auto;
}
.carousel-dots {
  position: absolute;
  bottom: 70px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--dot);
  cursor: pointer;
  transition: all 0.25s ease;
}
.carousel-dot.active {
  background: var(--dot-active);
  transform: scale(1.18);
}

/* Mobil */
@media (max-width: 768px) {
  .carousel-track {
    padding: 0;
  }
  .carousel-slide {
    height: 276px;
    min-height: 276px;
    padding: 22px;
    border-radius: 22px;
    display: block;
    text-align: left;
    box-shadow: none;
    background: linear-gradient(
      80deg,
      #fbf2e3a6 0%,
      #fde6c38b 20%,
      #f4a58a7e 30%,
      #d7a3e176 55%,
      #aee7fd73 100%
    );
  }
  body.dark .carousel-slide {
    background: linear-gradient(
      70deg,
      #d7a3e1b1 0%,
      #f4a68cbd 20%,
      #fd9977c3 40%,
      #f8cebec7 60%,
      #fde6c3b5 100%
    );
    background-color: #1f1f1f;
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
  }
  .carousel-slide > .text-content {
    width: 100%;
    max-width: 300px;
  }
  .download-btn-svg {
    height: 32px;
  }
  .carousel-dots {
    position: static;
    margin: 10px auto 4px;
  }
}
@media (max-width: 420px) {
  .carousel-slide {
    height: 270px;
    min-height: 270px;
  }
}

@media (max-width: 768px) {
  .carousel-container {
    /* min-height: auto; Konteynerin yüksekliğini içeriğe göre ayarlar */
    padding: 10px 0; /* Üstten ve alttan biraz boşluk verir */
  }
  .carousel-container .carousel-slide .mockup {
    display: none !important;
  }
  /* Yazılar ortalansın */
  .carousel-container .carousel-slide .text-content {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
  }
}

/* ===== FEATURE (Wavy background + cards) ===== */
.unified-feature-section {
  position: relative;
  z-index: 0;
  isolation: isolate;
  padding: 40px 0 90px;
  background: var(--bg-page);
}
.unified-feature-section .container {
  max-width: 1066px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 0;
}
/* Dalga katmanı (container arkasında) */
.unified-feature-section .container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
      120% 90% at 12% 25%,
      var(--wave-1) 0%,
      transparent 60%
    ),
    radial-gradient(110% 85% at 88% 40%, var(--wave-3) 0%, transparent 62%),
    radial-gradient(120% 95% at 35% 78%, var(--wave-2) 0%, transparent 60%),
    linear-gradient(
      180deg,
      var(--wave-2) 0%,
      var(--wave-1) 60%,
      var(--wave-3) 100%
    );
  filter: blur(28px);
  opacity: 0.9;
}
.unified-feature-section .container::after {
  content: "";
  position: absolute;
  inset: -10% -5% -15% -5%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
      65% 55% at 20% 30%,
      var(--wave-2) 0%,
      transparent 70%
    ),
    radial-gradient(60% 60% at 80% 70%, var(--wave-1) 0%, transparent 72%);
  opacity: 0.28;
  filter: blur(36px);
  animation: bgFloat 22s ease-in-out infinite;
}
@keyframes bgFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1.02);
  }
  50% {
    transform: translate3d(1.5%, 1.2%, 0) scale(1.05);
  }
}
@media (prefers-reduced-motion: reduce) {
  .unified-feature-section .container::after {
    animation: none;
  }
}
@media (max-width: 768px) {
  .unified-feature-section .container::before {
    filter: blur(20px);
    opacity: 0.95;
  }
  body.dark .unified-feature-section .container::before {
    filter: blur(14px);
    opacity: 0.8;
  }
  .unified-feature-section .container::after {
    filter: blur(26px);
    opacity: 0.22;
  }
}

/* Kartlar */
.unified-feature-card {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 28px;
  align-items: center;
  background: var(--card-bg);
  border-radius: 24px;
  padding: 17px 25px;
  margin-bottom: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: visible;
  --under-offset: 6px;
  --under-spread: 0px;
  --under-color: var(--color-card-end);
}
body:not(.dark) .unified-feature-card {
  box-shadow: 0 var(--under-offset) 0 var(--under-spread) var(--under-color),
    0 8px 24px rgba(174, 203, 224, 0.25);
  border: 0.05px solid var(--color-card-end);
}
body:not(.dark) .unified-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(174, 203, 224, 0.4);
}
body.dark .unified-feature-card {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(152, 152, 152, 0.1);
  box-shadow: 0 var(--under-offset) 0 var(--under-spread) var(--under-color),
    0 12px 30px rgba(0, 0, 0, 0.4);
}
body.dark .unified-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.5);
}

/* Renk setleri sıra ile */
.unified-feature-card:nth-child(1) {
  --color-card-start: var(--color-card1-start);
  --color-card-end: var(--color-card1-end);
}
.unified-feature-card:nth-child(2) {
  --color-card-start: var(--color-card2-start);
  --color-card-end: var(--color-card2-end);
}
.unified-feature-card:nth-child(3) {
  --color-card-start: var(--color-card3-start);
  --color-card-end: var(--color-card3-end);
}

.ufc-avatar {
  --avatar: 108px;
  --ring-w: 13px;
  --ring-gap: 60deg;
  --ring-rotate: 160deg;
  --feather: 2px;
  width: var(--avatar);
  height: var(--avatar);
  min-width: var(--avatar);
  position: relative;
  display: grid;
  place-items: center;
}
.ufc-avatar .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 0;
  background: conic-gradient(
    from var(--ring-rotate),
    var(--color-card-start) 0,
    var(--color-card-end) calc(360deg - var(--ring-gap)),
    transparent 0 360deg
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - (var(--ring-w) + var(--feather))),
    #000 calc(100% - var(--ring-w) - var(--feather) / 2),
    #000
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - (var(--ring-w) + var(--feather))),
    #000 calc(100% - var(--ring-w) - var(--feather) / 2),
    #000
  );
  filter: blur(var(--feather));
}
.ufc-avatar img {
  position: relative;
  z-index: 1;
  width: calc(100% - (var(--ring-w) * 2 + var(--feather)));
  height: calc(100% - (var(--ring-w) * 2 + var(--feather)));
  border-radius: 50%;
  object-fit: cover;
  border: 0;
}
.ufc-dot {
  position: absolute;
  z-index: 2;
  right: calc(var(--avatar) * -0.06);
  bottom: calc(var(--avatar) * 0.06);
  width: calc(var(--avatar) * 0.22);
  height: calc(var(--avatar) * 0.22);
  border-radius: 50%;
  background: var(--color-card-end);
  border: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.card-content {
  flex: 1;
  min-width: 0;
}
.card-title {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: clamp(1.3rem, 0.7vw + 1rem, 1.6rem);
  color: var(--text);
}
.card-title strong {
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  background-image: linear-gradient(
    90deg,
    var(--color-card-start),
    var(--color-card-end)
  );
}
.card-text {
  color: var(--muted);
  line-height: 1.7;
  font-size: clamp(0.95rem, 0.25vw + 0.9rem, 1.05rem);
}

/* Mobil feature kart */
@media (max-width: 768px) {
  .unified-feature-section {
    padding: 15px 0 60px;
  }
  .unified-feature-card {
    gap: 16px;
    padding: 18px;
    border-radius: 18px;
    margin-bottom: 20px;
  }
  .ufc-avatar {
    --avatar: 68px;
    --ring-w: 8px;
    --ring-gap: 70deg;
    --feather: 1.5px;
  }
  .ufc-dot {
    width: calc(var(--avatar) * 0.22);
    height: calc(var(--avatar) * 0.22);
    right: calc(var(--avatar) * -0.05);
    bottom: calc(var(--avatar) * 0.045);
  }
  .card-title {
    font-size: 1.2rem;
    margin-bottom: 4px;
  }
  .card-text {
    font-size: 0.94rem;
    line-height: 1.6;
  }
}

/* ===== WHAT SECTION ===== */
.what-section {
  position: relative;
  z-index: 0;
  isolation: isolate;
  padding: 60px 0 100px;
  background: var(--bg-page);
}
.what-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
}
.what-title {
  position: absolute;
  right: 12px;
  top: -20px;
  text-align: right;
  margin: 0;
  line-height: 1.05;
}
.what-title span {
  display: block;
  font-size: clamp(28px, 2.6vw + 8px, 54px);
  font-weight: 800;
  color: var(--text);
}
.what-title strong {
  display: block;
  font-size: clamp(28px, 2.6vw + 8px, 54px);
  font-weight: 800;
  background: linear-gradient(90deg, #ffa631, #d59bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.what-cards {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding-top: 80px;
}
.what-card {
  --card-radius: 18px;
  --label-h: 20%;
  --label-fs: clamp(14px, 1.6vw, 20px);
  --base-offset: 0px;
  width: 308px;
  height: 428px;
  border-radius: var(--card-radius);
  position: relative;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  isolation: isolate;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform, box-shadow;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  transform: translateY(var(--base-offset));
}
.what-card + .what-card {
  margin-left: -22px;
}
.what-card {
  z-index: 1;
}
.what-card:nth-child(2) {
  z-index: 2;
}
.what-card:nth-child(3) {
  z-index: 3;
}
.what-card:nth-child(4) {
  z-index: 4;
}
.what-card:nth-child(1) {
  --base-offset: 0px;
}
.what-card:nth-child(2) {
  --base-offset: 16px;
}
.what-card:nth-child(3) {
  --base-offset: 32px;
}
.what-card:nth-child(4) {
  --base-offset: 48px;
}
.what-card:hover {
  transform: translateY(calc(var(--base-offset) - 8px));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}
.what-img,
.what-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.what-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0) 55%
  );
  clip-path: inset(0 0 var(--label-h) 0);
  pointer-events: none;
}
.what-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--label-h);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: var(--label-fs);
  letter-spacing: 0.2px;
  border-bottom-left-radius: var(--card-radius);
  border-bottom-right-radius: var(--card-radius);
}
.what-label::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

/* Light sabit panel renkleri */
body:not(.dark) .what-card:nth-child(1) .what-label {
  background: #ffcd89;
}
body:not(.dark) .what-card:nth-child(2) .what-label {
  background: #fcb18c;
}
body:not(.dark) .what-card:nth-child(3) .what-label {
  background: #f89992;
}
body:not(.dark) .what-card:nth-child(4) .what-label {
  background: #e899d9;
}

/* Dark — renksiz opak panel */
body.dark .what-card {
  background: #151515;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
body.dark .what-img::after {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.62),
    rgba(0, 0, 0, 0) 55%
  ) !important;
}
body.dark .what-card .what-label {
  background: linear-gradient(180deg, #1f1f1f8a 0%, #1f1f1f8a 100%) !important;
  color: #f5f6f8;
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.06) inset,
    0 10px 22px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
body.dark .what-title span {
  color: #fff;
}
body.dark .what-title strong {
  background: linear-gradient(
    90deg,
    #ffc978 0%,
    #fcb18c 33%,
    #f89992 66%,
    #e899d9 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 18px rgba(236, 173, 255, 0.15);
}

/* Mobil What */
@media (max-width: 760px) {
  .what-title {
    position: static;
    text-align: right;
    margin-bottom: 12px;
  }
  .what-cards {
    padding-top: 16px;
    overflow: visible;
  }
  :root {
    --mob-overlap: 10px;
  }
  .what-card {
    --card-radius: 14px;
    --label-h: 22%;
    --label-fs: clamp(12px, 3.3vw, 16px);
    width: calc((100% + var(--mob-overlap) * 3) / 4);
    aspect-ratio: 308/428;
    height: auto;
    border-radius: var(--card-radius);
  }
  .what-card + .what-card {
    margin-left: calc(var(--mob-overlap) * -1);
  }
  .what-card:nth-child(1) {
    --base-offset: 0px;
  }
  .what-card:nth-child(2) {
    --base-offset: 8px;
  }
  .what-card:nth-child(3) {
    --base-offset: 16px;
  }
  .what-card:nth-child(4) {
    --base-offset: 24px;
  }
  .what-card:hover {
    transform: translateY(calc(var(--base-offset) - 4px));
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26);
  }
}

/* ===== EVENTS ===== */
.events-section {
  position: relative;
  padding: 70px 0 110px;
  background: linear-gradient(180deg, #f5f5f5 0%, #ffffff 42%);
  overflow: hidden;
}
body.dark .events-section {
  background: linear-gradient(180deg, #1f1f1f 0%, #181818ff 42%);
}
.events-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 120px;
  transform: translateX(-50%);
  width: min(1160px, 92vw);
  height: 520px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    #ffffff 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(207, 239, 254, 0.06) 60%,
    rgba(207, 239, 254, 0) 75%
  );
  filter: blur(2px);
}
body.dark .events-section::before {
  background: radial-gradient(
    ellipse at center,
    #2626260c 0%,
    #242424 32%,
    #23232308 58%,
    #23232309 76%
  );
  filter: blur(6px);
  opacity: 0.95;
}
.events-section::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -15%;
  height: 46%;
  border-top-left-radius: 50% 100%;
  border-top-right-radius: 50% 100%;
  background: #fff;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.01) inset;
  z-index: 0;
}
body.dark .events-section::after {
  background: #1b1b1b;
  box-shadow: 0 -10px 40px rgba(255, 255, 255, 0) inset;
}

.events-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.events-title {
  text-align: center;
  line-height: 1;
  margin: 0 0 48px;
}
.events-title span {
  display: block;
  font-size: clamp(24px, 3.2vw + 10px, 54px);
  font-weight: 800;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-image: linear-gradient(90deg, #ffb769, #ff8892, #e899d9, #9dc4ff);
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.6));
}
body.dark .events-title span {
  background-image: linear-gradient(90deg, #ffc978, #f89992, #e899d9, #c1d5ff);
  filter: none;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 28px;
}
.event-card {
  background: transparent;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(16, 24, 40, 0.12);
}
body.dark .event-card {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}
.event-media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #d9d9d9;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  overflow: hidden;
}
.event-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02);
}
body.dark .event-media {
  background: #2a2a2a;
}
.event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
body.dark .event-footer {
  background: rgba(31, 31, 31, 0.07);
  border: 0.5px solid rgba(255, 255, 255, 0.06);
}

.event-text {
  min-width: 0;
}
.event-title {
  margin: 0 0 6px;
  font-size: clamp(16px, 0.25vw + 15px, 18px);
  font-weight: 800;
  line-height: 1.2;
}
.event-title a {
  color: #8fb3d9;
  text-decoration: none;
}
.event-title a:hover {
  text-decoration: underline;
}
body.dark .event-title a {
  color: #fff;
}
.event-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  opacity: 0.9;
  color: #8fb3d9;
}
.event-meta .dot {
  opacity: 0.6;
}
body.dark .event-meta {
  color: #fff;
  opacity: 0.8;
}

.event-cta {
  flex-shrink: 0;
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  background: #ffa631;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(255, 166, 49, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.event-cta:hover {
  background: #e0942c;
  transform: translateY(-1px);
}
.event-cta.disabled {
  pointer-events: none;
  opacity: 0.5;
  box-shadow: none;
}

/* Skeleton */
.event-card.is-skeleton .event-media {
  background: #d9d9d9;
}
.event-card.is-skeleton .skl {
  display: inline-block;
  height: 12px;
  width: 160px;
  background: #e9e9e9;
  border-radius: 6px;
}
.event-card.is-skeleton .skl.sm {
  width: 90px;
}
body.dark .event-card.is-skeleton .event-media {
  background: #2d2d2d;
}
body.dark .event-card.is-skeleton .skl {
  background: #3a3a3a;
}

@media (max-width: 980px) {
  .events-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .events-section::after {
    height: 38%;
  }
}
@media (max-width: 520px) {
  .event-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .event-cta {
    align-self: flex-end;
  }
}
/* ====== BİZE ULAŞ + METRİKLER ====== */
/* ====== Bize Ulaş alanı (TÜM GÜNCELLEMELER DAHİL) ====== */
.contact-hero {
  --bg1: #ffffff;
  --bg2: #eaf4ff;
  padding: 60px 0 40px;
  background: linear-gradient(180deg, var(--bg1) 0%, var(--bg2) 100%);
}
body.dark .contact-hero {
  --bg1: #1b1b1b;
  --bg2: #0f1216;
}

.ch-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Başlık (mobil varsayılan) */
.ch-title {
  text-align: center;
  margin: 0 0 18px;
  font-weight: 800;
  font-size: clamp(28px, 2.6vw + 10px, 44px);
  color: var(--text);
}

/* Grid (mobil varsayılan) */
.ch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

/* Metrikler */
.ch-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px 26px;
}
.ch-stat {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ch-ico {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #ffa631;
} /* SVG’ler currentColor ile boyanıyor */
.ch-stat-text {
  line-height: 1;
}
.ch-num {
  font-weight: 800;
  font-size: clamp(18px, 1.2vw + 14px, 26px);
  color: #0f3b56;
}
body.dark .ch-num {
  color: #e8edf5;
}
.ch-label {
  font-size: 14px;
  color: #ffa631;
  font-weight: 700;
}

/* Form kartı */
.ch-form-card {
  background: #fff;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.1);
}
body.dark .ch-form-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}
.ch-form {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 24, 40, 0.06);
  border-radius: 14px;
  padding: 14px;
}
body.dark .ch-form {
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.06);
}

.ch-input,
.ch-textarea {
  width: 100%;
  border: 1.6px solid rgba(16, 24, 40, 0.15);
  border-radius: 10px;
  padding: 12px 12px;
  margin-bottom: 10px;
  background: #fff;
  color: #0f172a;
  outline: 0;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
  font-size: 1rem;
}
.ch-textarea {
  min-height: 110px;
  resize: vertical;
}
.ch-input:focus,
.ch-textarea:focus {
  border-color: #ffa631;
  box-shadow: 0 0 0 3px rgba(255, 166, 49, 0.18);
}
body.dark .ch-input,
body.dark .ch-textarea {
  background: #0f0f0f;
  color: #e8edf5;
  border-color: rgba(255, 255, 255, 0.14);
}

.ch-submit {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 800;
  font-size: 1rem;
  background: #ffa631;
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 166, 49, 0.35);
  transition: transform 0.12s, background 0.12s;
  cursor: pointer;
}
.ch-submit:hover {
  background: #e0942c;
  transform: translateY(-1px);
}

/* ====== Responsive ====== */
/* Masaüstü */
@media (min-width: 981px) {
  .ch-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .ch-title {
    text-align: left;
    margin: 0 0 16px;
  }
  body:not(.dark) .ch-title {
    color: #3e627a;
  } /* sadece masaüstü + light */
}
/* Tablet/mobil */
@media (max-width: 980px) {
  .ch-form-wrapper {
    display: flex;
    flex-direction: column;
  }
  .ch-title {
    order: -1;
  } /* başlık formun üstünde */
}
/* Küçük mobil */
@media (max-width: 560px) {
  .ch-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* --- MOCKUP KİLİDİ: Mobilde %100 gizle --- */
@media (max-width: 768px) {
  .carousel-container .carousel-slide .mockup,
  img.mockup {
    display: none !important;
    visibility: hidden !important;
  }
}

/* --- FTS Banner: Görsel Slide Ayarları (DÜZELTİLMİŞ) --- */
.carousel-slide.banner-fts {
  padding: 0 !important;
  background: transparent;
  box-shadow: var(--shadow);
  display: flex; /* İçeriği ortalamak için */
  align-items: center;
  justify-content: center;

  /* KÖŞELER İÇİN KRİTİK KISIMLAR */
  border-radius: 30px; /* Kartın ovalliği */
  overflow: hidden; /* Resmin taşan kısımlarını (sivri köşeleri) tıraşla */
  isolation: isolate; /* Bazı tarayıcılarda radius taşmasını engeller */
}

.carousel-slide.banner-fts a {
  display: block;
  width: 100%;
  height: 100%;
}

.carousel-slide.banner-fts picture,
.carousel-slide.banner-fts img {
  display: block;
  width: 100%;
  height: 100%;

  /* 
     ÖNEMLİ DEĞİŞİKLİK: 'fill'
     Resmi kutunun boyutuna zorla sığdırır. 
     Böylece resim kutudan taşmaz ve her yeri görünür.
     (Eğer resim oranları çok farklıysa hafif basık görünebilir ama her şey sığar)
  */
  object-fit: fill;

  border-radius: inherit; /* Üstteki radius'u miras al */
}

/* --- MOBİL AYARLAR --- */
@media (max-width: 768px) {
  .carousel-slide.banner-fts {
    height: 276px;
    min-height: 276px;
    border-radius: 22px; /* Mobildeki ovallik */
  }

  /* Mobilde de resim kutunun şeklini alsın */
  .carousel-slide.banner-fts picture,
  .carousel-slide.banner-fts img {
    border-radius: 22px;
  }
}

/* --- KIKO Banner: Masaüstü Ayarları --- */
.carousel-slide.banner-kiko {
  padding: 0 !important;
  background: transparent;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;

  /* DİĞER SLIDE'LARLA AYNI YÜKSEKLİK */
  height: 542px;

  /* Genişlik JS tarafından hesaplanıyor, o yüzden width: 100% dememize gerek yok, 
     ama içerik taşmasın diye max-width sınırlandırabiliriz */
  max-width: 100%;

  border-radius: 30px;
  overflow: hidden;
  isolation: isolate;
}

/* Link kapsayıcısı */
.carousel-slide.banner-kiko a {
  display: block;
  width: 100%;
  height: 100%;
}

/* Görsel Ayarı */
.carousel-slide.banner-kiko picture,
.carousel-slide.banner-kiko img {
  display: block;
  width: 100%;
  height: 100%;

  /* 'fill' ile kutuyu tam doldurur, boşluk kalmaz */
  object-fit: fill;

  border-radius: inherit;
}

/* --- MOBİL AYARLAR (Değişmedi) --- */
@media (max-width: 768px) {
  .carousel-slide.banner-kiko {
    height: 276px; /* Mobildeki standart yükseklik */
    min-height: 276px;
    border-radius: 22px;
  }

  .carousel-slide.banner-kiko picture,
  .carousel-slide.banner-kiko img {
    border-radius: 22px;
    object-fit: fill;
  }
}
