/* ============================================================
   Custom design overrides — Trabzon Kültür Derneği
   Loaded AFTER the Webflow stylesheet. Scoped & easy to revert.
   Addresses design-review findings #2–#8. Does NOT modify the
   generated trabzon-kultur-dernegi.webflow.css.
   ============================================================ */

/* #2 — Homepage intro: constrain measure for readability (~60–75 chars) */
.intro-measure {
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}

/* #4 — Form inputs: visible border + clear focus ring (both forms).
   The Webflow border var renders almost invisible; strengthen it. */
.input_field {
  border-color: #8a7355;          /* ~3:1 against light surfaces */
  background-image: none;         /* drop faux top gradient */
}
.input_field:focus,
.input_field:focus-visible {
  outline: 3px solid #675032;
  outline-offset: 1px;
  border-color: #675032;
}

/* #6 — Required-field marker on labels (asterisk is aria-hidden; the
   input's `required` attribute conveys the state to assistive tech). */
.req {
  color: #c0392b;
  margin-left: 2px;
  font-weight: 600;
}

/* #3 — Reservation form: cap overall width; keep short fields short
   so date / time / guest-count aren't full-bleed on desktop. */
#email-form {
  max-width: 640px;
}
#Tarih,
#SAAT,
#Ki-i-Say-s {
  max-width: 260px;
}
@media (max-width: 480px) {
  #Tarih,
  #SAAT,
  #Ki-i-Say-s { max-width: none; }   /* full width on phones */
}

/* #5 — Hero: a proper full-image bottom scrim so the heading/CTAs stay legible
   over any photo. Rendered as ::after on the image wrapper — it paints above the
   photo but below the hero content (content uses z-index_2). The wrapper already
   has position:absolute + overflow:clip, so the scrim fills the whole image.
   (The original .overlay_opacity-middle div was removed from the hero markup, so
   this single gradient is the only scrim layer.) */
.text-color_on-overlay .ix_parallax-scale-out-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;                 /* above the <img>, below z-index_2 content */
  pointer-events: none;
  background: linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.10) 0%,
                rgba(0, 0, 0, 0.28) 45%,
                rgba(0, 0, 0, 0.72) 100%);
}

/* Polish — calmer, less-embossed button elevation (consistent system) */
.button {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

/* #8 — Respect reduced-motion: neutralize transitions + Webflow IX2,
   and reveal elements left mid-animation (e.g. hero h1 at opacity:0.52). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-w-id] {
    opacity: 1 !important;
    transform: none !important;
  }
}
