  /**
  * Erguvan paleti — Tailwind ile birlikte CSS değişkenleri
  */
  :root {
    --erguvan-50: #fdf2f8;
    --erguvan-100: #fce7f3;
    --erguvan-200: #f9a8d4;
    --erguvan-400: #e879a8;
    --erguvan-600: #be185d;
    --erguvan-700: #9d174d;
    --erguvan-800: #831843;
    --erguvan-900: #500724;
    --gold: #c9a84c;
    --cream: #fdf8f0;
    --charcoal: #1a1a2e;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  img,
  video,
  iframe,
  svg,
  canvas {
    max-width: 100%;
  }

  img,
  video,
  iframe {
    height: auto;
  }

  main,
  header,
  footer,
  section {
    max-width: 100%;
  }

  main,
  section,
  footer {
    overflow-x: clip;
  }

  .cms-content,
  .prose {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .cms-content table,
  .prose table {
    display: block;
    width: 100%;
    overflow-x: auto;
  }

  .cms-content img,
  .cms-content video,
  .cms-content iframe,
  .prose img,
  .prose video,
  .prose iframe {
    max-width: 100%;
  }

  table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  html[dir="rtl"] body {
    text-align: right;
  }

  /* Üst menü dil listesi: tıklama ile aç (tablet / hover olmayan masaüstü) */
  .lang-dropdown-wrap.lang-dropdown-open > .lang-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Yatay slayt: öğeler tek satır, kopya içerikle sonsuz döngü (-50%) */
  .marquee-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    width: -webkit-max-content;
    width: max-content;
    min-width: -webkit-max-content;
    min-width: max-content;
    white-space: nowrap;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    animation: marquee-scroll 45s linear infinite;
  }

  .marquee-track:hover {
    animation-play-state: paused;
  }

  .marquee-shell {
    position: relative;
    overflow: hidden;
  }

  /* Ters yön: sağdan sola doğru akan slayt */
  .marquee-track--reverse {
    animation-direction: reverse;
  }

  .sponsor-marquee-section .marquee-track {
    animation-duration: 38s;
  }

  /* Kenarlarda hafif solma — şerit içeriği okunaklı kalır */
  .sponsor-marquee-section .sponsor-marquee {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  }

  @media (prefers-reduced-motion: reduce) {
    .marquee-track {
      animation: none !important;
      flex-wrap: wrap;
      justify-content: center;
      width: 100%;
      min-width: 0;
    }
  }

  @keyframes marquee-scroll {
    0% {
      transform: translate3d(0, 0, 0);
    }
    100% {
      transform: translate3d(-50%, 0, 0);
    }
  }

  .glass-nav {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    background: color-mix(in srgb, var(--erguvan-900) 78%, transparent);
  }

  .hero-overlay {
    background: linear-gradient(
      105deg,
      color-mix(in srgb, var(--charcoal) 88%, transparent) 0%,
      color-mix(in srgb, var(--erguvan-900) 45%, transparent) 55%,
      color-mix(in srgb, var(--charcoal) 55%, transparent) 100%
    );
  }

.hero-location-frame iframe,
.hero-location-frame embed,
.hero-location-frame object {
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block;
}

/* Hero section base styles - always visible */
.home-hero-media {
  position: relative;
  min-height: 320px;
  height: auto;
}

.home-hero-media > div {
  position: absolute;
  inset: 0;
}

.home-hero-media video,
.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 767px) {
  /* Mobile hero responsive adjustments */
  body[data-page-hero="1"] main {
    padding-top: 0;
  }

  .home-hero-media {
    min-height: 320px;
    display: block !important;
  }

  body[data-page-hero="1"] .home-hero-content {
    border-top: 0;
  }

  body[data-page-hero="1"] .home-hero-content .max-w-7xl {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  /* Location/map section adjustments on mobile */
  .home-hero-content > .grid > div:last-child {
    margin-top: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  /* Tablet adjustments */
  .home-hero-media {
    min-height: 384px;
  }

  body[data-page-hero="1"] .home-hero-content .max-w-7xl {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

@media (min-width: 1024px) {
  /* Desktop */
  .home-hero-media {
    min-height: 100vh;
  }
}

#flame-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate3d(-999px, -999px, 0);
  transition: opacity .15s ease;
}

/* Flame cursor styles removed - using standard system cursor */

#flame-cursor.active {
  opacity: 1;
}

#flame-cursor .flame-core,
#flame-cursor .flame-glow,
#flame-cursor .flame-pointer {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-4px, -2px);
  transform-origin: 0 0;
}

#flame-cursor .flame-core,
#flame-cursor .flame-glow {
  border-radius: 999px;
}

#flame-cursor .flame-pointer {
  width: 22px;
  height: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.98) 0%, rgba(255,245,235,.95) 38%, rgba(255,224,177,.92) 100%);
  clip-path: polygon(0 0, 0 92%, 28% 72%, 44% 100%, 54% 95%, 38% 66%, 100% 66%);
  box-shadow: 0 0 6px rgba(255,188,102,.65), 0 0 14px rgba(255,120,35,.38);
  filter: saturate(1.05);
  opacity: .95;
}

#flame-cursor .flame-core {
  width: 14px;
  height: 20px;
  background:
    radial-gradient(45% 42% at 50% 78%, rgba(255,255,220,.95) 0%, rgba(255,235,120,.85) 56%, rgba(255,158,66,.52) 78%, rgba(255,120,20,0) 100%);
  filter: blur(.2px);
  left: 16px;
  top: -2px;
  animation: flame-core-flicker .13s infinite alternate ease-in-out;
}

#flame-cursor .flame-glow {
  width: 42px;
  height: 50px;
  background:
    radial-gradient(42% 46% at 50% 76%, rgba(255,220,90,.55) 0%, rgba(255,149,40,.32) 58%, rgba(255,92,20,.14) 76%, rgba(255,92,20,0) 100%);
  filter: blur(5px);
  left: 18px;
  top: 2px;
  mix-blend-mode: screen;
  animation: flame-glow-flicker .26s infinite alternate ease-in-out;
}

#flame-cursor.hot .flame-core {
  width: 16px;
  height: 24px;
}

#flame-cursor.hot .flame-glow {
  width: 52px;
  height: 62px;
}

#flame-cursor.hot .flame-pointer {
  filter: saturate(1.18) brightness(1.02);
  box-shadow: 0 0 8px rgba(255,188,102,.9), 0 0 20px rgba(255,96,22,.48);
}

@keyframes flame-core-flicker {
  0% { transform: translate(-50%, -50%) scale(.94, 1.03) rotate(-2deg); opacity: .9; }
  100% { transform: translate(-50%, -50%) scale(1.02, .97) rotate(2deg); opacity: 1; }
}

@keyframes flame-glow-flicker {
  0% { transform: translate(-50%, -50%) scale(.93) rotate(-1.2deg); opacity: .78; }
  100% { transform: translate(-50%, -50%) scale(1.05) rotate(1.5deg); opacity: 1; }
}
