/* ═══════════════════════════════════════════════════════════════
   Hero Section — full-bleed parallax with image/video media
   ═══════════════════════════════════════════════════════════════ */

.cc_zhXV4DRUR3_hero .hero {
  position: relative;
  width: 100%;
  min-height: var(--hero-section-height, 100vh);
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
  display: flex;
}

.cc_zhXV4DRUR3_hero .hero--height-auto { min-height: auto; }
.cc_zhXV4DRUR3_hero .hero--height-80vh { min-height: 80vh; }
.cc_zhXV4DRUR3_hero .hero--height-100vh { min-height: 100vh; }

.cc_zhXV4DRUR3_hero .hero--tuck-under {
  margin-top: calc(-1 * var(--header-height, 0px));
}

/* ─── Background media layer ─────────────────────────────── */

.cc_zhXV4DRUR3_hero .hero-bg {
  /* Parallax translate moves this layer up/down by up to ±var(--hero-parallax-buffer).
     It must be oversized by that same amount on top/bottom (not just inset:0) so the
     translated image always still fully covers the section — otherwise a gap
     (revealing whatever is behind, i.e. black) appears at the trailing edge while
     scrolling. Keep this buffer value in sync with PARALLAX_BUFFER in index.tsx. */
  --hero-parallax-buffer: 80px;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * var(--hero-parallax-buffer));
  bottom: calc(-1 * var(--hero-parallax-buffer));
  z-index: 0;
  will-change: transform;
}

.cc_zhXV4DRUR3_hero .hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cc_zhXV4DRUR3_hero .hero-media--video {
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .cc_zhXV4DRUR3_hero .hero-bg { transform: none !important; }
}

/* ─── Overlay layer ──────────────────────────────────────── */

.cc_zhXV4DRUR3_hero .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.cc_zhXV4DRUR3_hero .hero-overlay--bottom-up {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, var(--hero-overlay-opacity, 0.30)) 0%,
    rgba(0, 0, 0, calc(var(--hero-overlay-opacity, 0.30) * 0.6)) 45%,
    rgba(0, 0, 0, calc(var(--hero-overlay-opacity, 0.30) * 0.25)) 100%
  );
}

.cc_zhXV4DRUR3_hero .hero-overlay--center {
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, calc(var(--hero-overlay-opacity, 0.30) * 0.2)) 0%,
    rgba(0, 0, 0, var(--hero-overlay-opacity, 0.30)) 75%,
    rgba(0, 0, 0, calc(var(--hero-overlay-opacity, 0.30) * 1.1)) 100%
  );
}

/* ─── Content container ──────────────────────────────────── */

.cc_zhXV4DRUR3_hero .hero-content-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-xl, 64px) clamp(16px, 5vw, 80px);
  display: flex;
  flex-direction: column;
}

.cc_zhXV4DRUR3_hero .hero--position-top    .hero-content-wrap { justify-content: flex-start; padding-top: clamp(96px, 14vh, 180px); }
.cc_zhXV4DRUR3_hero .hero--position-center .hero-content-wrap { justify-content: center; }
.cc_zhXV4DRUR3_hero .hero--position-bottom .hero-content-wrap { justify-content: flex-end; padding-bottom: clamp(96px, 14vh, 180px); }

.cc_zhXV4DRUR3_hero .hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md, 24px);
  width: 100%;
}

.cc_zhXV4DRUR3_hero .hero--content-x-left .hero-content { margin-right: auto; margin-left: 0; }
.cc_zhXV4DRUR3_hero .hero--content-x-center .hero-content { margin-left: auto; margin-right: auto; }
.cc_zhXV4DRUR3_hero .hero--content-x-right .hero-content { margin-left: auto; margin-right: 0; }

.cc_zhXV4DRUR3_hero .hero--align-left   .hero-content { align-items: flex-start; text-align: left; }
.cc_zhXV4DRUR3_hero .hero--align-center .hero-content { align-items: center;    text-align: center; }
.cc_zhXV4DRUR3_hero .hero--align-right  .hero-content { align-items: flex-end;  text-align: right; }

/* ─── Typography ─────────────────────────────────────────── */

.cc_zhXV4DRUR3_hero .hero-eyebrow {
  font-family: var(--font-label);
  font-size: var(--hero-eyebrow-size, var(--text-label));
  font-weight: var(--hero-eyebrow-weight, 500);
  color: var(--color-accent-light, #ead9c6);
  margin: 0;
}

.cc_zhXV4DRUR3_hero .hero-heading {
  font-family: var(--font-display);
  font-weight: var(--hero-heading-weight, 300);
  font-size: var(--hero-heading-size, var(--text-h2));
  line-height: 1.05;
  color: #ffffff;
  margin: 0;
  text-wrap: balance;
}

.cc_zhXV4DRUR3_hero .hero-subtext {
  font-family: var(--font-body);
  font-size: var(--hero-subtext-size, var(--text-body));
  font-weight: var(--hero-subtext-weight, 400);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 760px;
}

/* RICH_TEXT alanından gelen HTML (RichText bölümüyle aynı içerik buraya da
   yapıştırılabilir) — kaynak stilleri ne olursa olsun hero'nun kendi
   tipografisi ve koyu görsel üzerinde okunaklı açık renkler zorlanır. */
.cc_zhXV4DRUR3_hero .hero-subtext * {
  font-family: inherit !important;
  color: inherit;
}

.cc_zhXV4DRUR3_hero .hero-subtext p {
  margin: 0 0 1em;
}

.cc_zhXV4DRUR3_hero .hero-subtext p:last-child {
  margin-bottom: 0;
}

.cc_zhXV4DRUR3_hero .hero-subtext strong, .cc_zhXV4DRUR3_hero .hero-subtext b {
  font-weight: 700;
  color: #ffffff;
}

.cc_zhXV4DRUR3_hero .hero-subtext a {
  color: var(--color-accent-light, #ead9c6);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cc_zhXV4DRUR3_hero .hero-subtext a:hover {
  color: #ffffff;
}

.cc_zhXV4DRUR3_hero .hero-subtext ul, .cc_zhXV4DRUR3_hero .hero-subtext ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.cc_zhXV4DRUR3_hero .hero-subtext li {
  margin-bottom: 0.4em;
}

.cc_zhXV4DRUR3_hero .hero--align-left  .hero-subtext { margin-right: auto; margin-left: 0; }
.cc_zhXV4DRUR3_hero .hero--align-right .hero-subtext { margin-left: auto;  margin-right: 0; }

/* ─── Action buttons ─────────────────────────────────────── */

.cc_zhXV4DRUR3_hero .hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm, 16px);
  margin-top: var(--space-xs, 8px);
  width: 100%;
}

.cc_zhXV4DRUR3_hero .hero--align-center .hero-actions { align-items: center;    justify-content: center; }
.cc_zhXV4DRUR3_hero .hero--align-left   .hero-actions { align-items: flex-start; justify-content: flex-start; }
.cc_zhXV4DRUR3_hero .hero--align-right  .hero-actions { align-items: flex-end;   justify-content: flex-end; }

.cc_zhXV4DRUR3_hero .hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-label);
  font-size: var(--text-small);
  font-weight: 500;
  padding: 10px 24px;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms ease;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .cc_zhXV4DRUR3_hero .hero-btn {
    padding: 12px 28px;
  }
}

.cc_zhXV4DRUR3_hero .hero-btn:focus-visible {
  outline: 2px solid var(--color-accent-light, #ead9c6);
  outline-offset: 3px;
}

.cc_zhXV4DRUR3_hero .hero-btn--primary {
  background-color: var(--color-accent, #c9a882);
  color: #ffffff;
  border: 1px solid var(--color-accent, #c9a882);
}

.cc_zhXV4DRUR3_hero .hero-btn--primary:hover {
  background-color: var(--color-accent-dark, #9c7b5a);
  border-color: var(--color-accent-dark, #9c7b5a);
}

.cc_zhXV4DRUR3_hero .hero-btn--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.cc_zhXV4DRUR3_hero .hero-btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .cc_zhXV4DRUR3_hero .hero-btn { transition: none; }
}

/* ─── Scroll indicator ───────────────────────────────────── */

.cc_zhXV4DRUR3_hero .scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: var(--space-lg, 40px);
  transform: translateX(-50%);
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #ffffff;
  z-index: 3;
}

.cc_zhXV4DRUR3_hero .scroll-indicator:focus-visible {
  outline: 2px solid var(--color-accent-light, #ead9c6);
  outline-offset: 4px;
  border-radius: 999px;
}

.cc_zhXV4DRUR3_hero .scroll-indicator-track {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: border-color 200ms ease, background-color 200ms ease;
  animation: cc_zhXV4DRUR3_hero_hero-scroll-bounce 1800ms cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.cc_zhXV4DRUR3_hero .scroll-indicator:hover .scroll-indicator-track {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

.cc_zhXV4DRUR3_hero .scroll-indicator-icon { display: block; }

@keyframes cc_zhXV4DRUR3_hero_hero-scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50%      { transform: translateY(6px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .cc_zhXV4DRUR3_hero .scroll-indicator-track { animation: none; }
}

/* ─── Responsive breakpoints ─────────────────────────────── */

/* Tablet (≥768px): bigger heading, row buttons */
@media (min-width: 768px) {
  .cc_zhXV4DRUR3_hero .hero-heading { font-size: var(--text-h1); }
  .cc_zhXV4DRUR3_hero .hero-subtext { font-size: var(--text-body-lg); }

  .cc_zhXV4DRUR3_hero .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* Tablet only (768–1023px): force center alignment */
@media (min-width: 768px) and (max-width: 1023px) {
  .cc_zhXV4DRUR3_hero .hero--align-left   .hero-content, .cc_zhXV4DRUR3_hero .hero--align-right  .hero-content {
    align-items: center;
    text-align: center;
  }

  .cc_zhXV4DRUR3_hero .hero--align-left  .hero-subtext, .cc_zhXV4DRUR3_hero .hero--align-right .hero-subtext {
    margin-left: auto;
    margin-right: auto;
  }

  .cc_zhXV4DRUR3_hero .hero--align-left  .hero-actions, .cc_zhXV4DRUR3_hero .hero--align-right .hero-actions {
    align-items: center;
    justify-content: center;
  }
}

/* Desktop (≥1024px): full hero size, scroll indicator visible */
@media (min-width: 1024px) {
  .cc_zhXV4DRUR3_hero .hero-heading { font-size: var(--hero-heading-size, var(--text-hero)); }

  .cc_zhXV4DRUR3_hero .scroll-indicator { display: inline-flex; }

  .cc_zhXV4DRUR3_hero .hero--align-left  .hero-content, .cc_zhXV4DRUR3_hero .hero--align-right .hero-content {
    max-width: 640px;
  }
}
