/* =====================================================================
   NICEMOOD TEKSTİL — stil sayfası
   Bölümler: 1) Değişkenler  2) Reset/temel  3) Tipografi  4) Yardımcılar
             5) Butonlar  6) Header/Nav  7) Hero  8) Manifesto  9) Hakkımızda
             10) Koleksiyon 11) Özellikler 12) Üretim 13) Neden 14) CTA
             15) SSS 16) İletişim 17) Footer 18) Animasyon 19) Responsive
   ===================================================================== */

/* ------------------------- 1) DEĞİŞKENLER ------------------------- */
:root {
  /* Renk paleti */
  --cream-off:   #F7F3ED;
  --cream-warm:  #EDE4D8;
  --navy:        #24364A;
  --blue-pale:   #9EB2C1;
  --pink-powder: #D9A7A6;
  --earth:       #9A755B;
  --text:        #242321;
  --text-muted:  #6E6963;
  --white:       #FFFFFF;

  /* Anlamsal */
  --bg:            var(--cream-off);
  --surface:       var(--white);
  --accent:        var(--earth);
  --line:          #E2D9CD;
  --line-strong:   #D6CBBB;

  /* Tipografi */
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  /* Marka fontu (Sharp Sans) lisanslı dosyalarıyla geldiğinde bu listenin başına eklenebilir. */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Ölçü / ritim */
  --container: 1320px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --radius: 18px;
  --radius-lg: 26px;
  --section-y: clamp(3.75rem, 8vw, 7.5rem);

  --shadow-sm: 0 2px 10px rgba(36, 54, 74, .06);
  --shadow-md: 0 18px 48px rgba(36, 54, 74, .12);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------- 2) RESET / TEMEL ------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px; /* sticky header payı */
  -webkit-text-size-adjust: 100%;
  overflow-x: clip; /* off-canvas menü yatay kaydırma oluşturmasın */
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------- 3) TİPOGRAFİ ------------------------- */
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--navy);
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .74rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  max-width: 16ch;
}

.section-intro {
  color: var(--text-muted);
  max-width: 52ch;
  margin-top: 1rem;
}

/* ------------------------- 4) YARDIMCILAR ------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.rule {
  display: block;
  width: 64px;
  height: 1px;
  background: var(--line-strong);
  margin: 2rem auto;
}

.section-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-title { margin-inline: auto; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
  padding-block: .25rem;
}
.link-arrow::after {
  content: "→";
  transition: transform .3s var(--ease);
}
.link-arrow:hover::after { transform: translateX(5px); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  z-index: 200;
  background: var(--navy);
  color: var(--cream-off);
  padding: .7rem 1.1rem;
  border-radius: 10px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ------------------------- 5) BUTONLAR ------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--navy); color: var(--cream-off); }
.btn--primary:hover { background: #1b2a3a; box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); background: rgba(36,54,74,.04); }

.btn--light { background: var(--cream-off); color: var(--navy); }
.btn--light:hover { background: var(--white); box-shadow: var(--shadow-md); }

.btn--outline-light { background: transparent; color: var(--cream-off); border-color: color-mix(in srgb, var(--cream-off) 55%, transparent); }
.btn--outline-light:hover { background: color-mix(in srgb, var(--cream-off) 14%, transparent); border-color: var(--cream-off); }

.btn--block { width: 100%; }

/* ------------------------- 6) HEADER / NAV ------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--cream-off) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.brand { line-height: 1; display: inline-flex; flex-direction: column; gap: 2px; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: .16em;
  color: var(--navy);
}
.brand__sub {
  font-family: var(--font-body);
  font-size: .62rem;
  letter-spacing: .42em;
  color: var(--text-muted);
  padding-left: .1em;
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; align-items: center; gap: 1.6rem; }
.nav__link {
  position: relative;
  font-size: .95rem;
  color: var(--text);
  padding: .35rem 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--navy); font-weight: 600; }

.nav__close { display: none; }
.nav__phone { display: none; } /* yalnızca mobil menüde görünür */

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px; height: 48px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin-inline: auto;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 42, .42);
  z-index: 90;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.nav-backdrop.is-visible { opacity: 1; }

/* ------------------------- 7) HERO ------------------------- */
.hero { padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: var(--section-y); }
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  margin: .3rem 0 1.4rem;
  letter-spacing: -0.02em;
}
.hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero__media { position: relative; }
.hero__figure {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3 / 4;
}
.hero__figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero__blob {
  position: absolute;
  z-index: 1;
  right: -6%; top: -7%;
  width: 62%; aspect-ratio: 1;
  background: var(--cream-warm);
  border-radius: 46% 54% 55% 45% / 50% 48% 52% 50%;
}

/* ------------------------- 8) MANİFESTO ------------------------- */
.manifesto { background: var(--cream-warm); padding-block: var(--section-y); }
.manifesto__inner { text-align: center; max-width: 900px; }
.manifesto__text {
  font-family: var(--font-head);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  line-height: 1.32;
  color: var(--navy);
  text-wrap: balance;
}
.manifesto__note { color: var(--text-muted); }

/* ------------------------- 9) HAKKIMIZDA ------------------------- */
.about { padding-block: var(--section-y); }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.about__content p { color: var(--text-muted); max-width: 48ch; }
.about__points { margin: 1.5rem 0; display: grid; gap: .7rem; }
.about__points li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text);
}
.about__points li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pink-powder);
}

/* ------------------------- 10) MODELLER / GALERİ ------------------------- */
.gallery { padding-block: var(--section-y); background: linear-gradient(180deg, var(--cream-off), color-mix(in srgb, var(--cream-warm) 45%, var(--cream-off))); }
/* Galeri başlığı ile grid arası boşluğu kompakt tut (~36px) */
.gallery .section-head { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1180px;      /* çok geniş ekranlarda kartlar ~280px'i geçmez */
  margin-inline: auto;
  padding: 0;
  list-style: none;
}
.gallery__cell { margin: 0; }
.gallery__item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--cream-warm);
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
  display: block;
  transition: transform .4s var(--ease);
}
.gallery__item:hover { box-shadow: var(--shadow-md); }
.gallery__item:hover img,
.gallery__item:focus-visible img { transform: scale(1.02); }
.gallery__item:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

/* Galeri kolon düzeni (masaüstü 4 → tablet 3 → mobil 2) */
@media (max-width: 1023px) { .gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (max-width: 767px)  { .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* ------------------------- 11) ÖZELLİKLER ------------------------- */
.features { padding-block: var(--section-y); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.6rem);
}
.feature { border-top: 1px solid var(--line-strong); padding-top: 1.4rem; }
.feature__index {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--accent);
  letter-spacing: .05em;
}
.feature__title { font-size: 1.35rem; margin: .6rem 0 .7rem; }
.feature p { color: var(--text-muted); margin: 0; }

/* ------------------------- 12) ÜRETİM ------------------------- */
.process { padding-block: var(--section-y); background: var(--navy); color: var(--cream-off); }
.process .eyebrow { color: var(--blue-pale); }
.process .section-title { color: var(--cream-off); }
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.process__step { position: relative; padding-top: 1.5rem; border-top: 1px solid rgba(247,243,237,.22); }
.process__num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--blue-pale);
}
.process__title { color: var(--cream-off); font-size: 1.3rem; margin: .5rem 0 .6rem; }
.process__step p { color: color-mix(in srgb, var(--cream-off) 76%, transparent); margin: 0; }

/* ------------------------- 13) NEDEN NICEMOOD ------------------------- */
.why { padding-block: var(--section-y); }
.why__inner { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.why__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 2.5rem; }
.why__list li { border-left: 2px solid var(--line-strong); padding-left: 1.2rem; }
.why__list h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.why__list p { color: var(--text-muted); margin: 0; }

/* ------------------------- 14) CTA BANT ------------------------- */
.cta-band { padding-block: var(--section-y); }
.cta-band__inner {
  background: var(--earth);
  color: var(--cream-off);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
  background-image: radial-gradient(circle at 15% 20%, rgba(255,255,255,.08), transparent 45%),
                    radial-gradient(circle at 85% 90%, rgba(0,0,0,.10), transparent 50%);
}
.cta-band__title { color: var(--cream-off); font-size: clamp(1.7rem, 4vw, 2.8rem); max-width: 22ch; margin-inline: auto; }
.cta-band__text { color: color-mix(in srgb, var(--cream-off) 88%, transparent); max-width: 56ch; margin: 1.1rem auto 2rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ------------------------- 15) SSS ------------------------- */
.faq { padding-block: var(--section-y); background: var(--cream-warm); }
.faq__inner { max-width: 860px; margin-inline: auto; }
.accordion { border-top: 1px solid var(--line-strong); }
.accordion__item { border-bottom: 1px solid var(--line-strong); }
.accordion__heading { margin: 0; }
.accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1.3rem 0;
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  color: var(--navy);
}
.accordion__icon {
  position: relative;
  flex: 0 0 auto;
  width: 20px; height: 20px;
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.accordion__icon::before { left: 0; top: 9px; width: 20px; height: 2px; }
.accordion__icon::after  { left: 9px; top: 0; width: 2px; height: 20px; }
.accordion__btn[aria-expanded="true"] .accordion__icon::after { transform: scaleY(0); }
.accordion__panel { overflow: hidden; height: 0; transition: height .32s var(--ease); }
.accordion__panel[hidden] { display: none; }
.accordion__panel p { color: var(--text-muted); padding-bottom: 1.4rem; max-width: 68ch; }

/* ------------------------- 16) İLETİŞİM ------------------------- */
.contact { padding-block: var(--section-y); }
.contact__inner {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact__intro p { color: var(--text-muted); max-width: 40ch; }

.contact__form { display: grid; gap: 1.15rem; }
.contact__form-title { font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--navy); margin: 0 0 .3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .9rem; font-weight: 600; color: var(--text); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem .95rem;
  min-height: 48px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  font: inherit;
  color: var(--text);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(36,54,74,.12);
}
.field--check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .7rem;
  margin-top: .3rem;
}
.field--check input { width: 20px; height: 20px; min-height: 0; margin-top: .15rem; accent-color: var(--navy); }
.field--check label { font-weight: 400; color: var(--text-muted); font-size: .92rem; }
.field--check .field__error { grid-column: 1 / -1; }

.field__error { color: #a3392f; font-size: .82rem; min-height: 0; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #a3392f; }
.field.has-error .field__error { min-height: 1em; }

.form-status {
  margin: 0;
  padding: .95rem 1.1rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--blue-pale) 26%, var(--white));
  border: 1px solid var(--blue-pale);
  color: var(--navy);
  font-size: .93rem;
}

/* Doğrudan iletişim bilgi alanı */
.contact-info { margin-top: 2.25rem; padding-top: 2rem; border-top: 1px solid var(--line-strong); }
.contact-info__title {
  font-family: var(--font-body);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1.1rem;
}
.contact-info__list { display: grid; gap: 1rem; }
.contact-info__item { display: flex; align-items: flex-start; gap: .85rem; }
.contact-info__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--cream-warm);
  color: var(--navy);
  margin-top: 1px;
}
.contact-info__item a {
  color: var(--navy);
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
  word-break: break-word;
}
.contact-info__item a:hover { border-bottom-color: var(--navy); }
.contact-info__address {
  font-style: normal;
  color: var(--text-muted);
  line-height: 1.5;
  align-self: center;
}

/* ------------------------- 17) FOOTER ------------------------- */
.site-footer { background: var(--navy); color: color-mix(in srgb, var(--cream-off) 82%, transparent); padding-top: clamp(3rem, 6vw, 5rem); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 2.5rem;
}
.brand--footer .brand__name { color: var(--cream-off); }
.brand--footer .brand__sub { color: var(--blue-pale); }
.footer__desc { margin-top: 1rem; max-width: 34ch; }
.footer__heading {
  font-family: var(--font-body);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--blue-pale);
  margin: 0 0 1rem;
  font-weight: 600;
}
.footer__heading--social { margin-top: 1.75rem; }
.footer__nav ul { display: grid; gap: .6rem; }
.footer__nav a, .footer__contact a { color: color-mix(in srgb, var(--cream-off) 82%, transparent); transition: color .2s var(--ease); }
.footer__nav a:hover, .footer__contact a:hover { color: var(--cream-off); }

.footer__company { color: var(--cream-off); font-weight: 600; margin: 0 0 .9rem; }
.footer__contact-list { display: grid; gap: .7rem; }
.footer__contact-list a { text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding-block: 2px; }
.footer__address {
  font-style: normal;
  line-height: 1.55;
  color: color-mix(in srgb, var(--cream-off) 74%, transparent);
  max-width: 30ch;
}

.footer__bottom {
  border-top: 1px solid rgba(247,243,237,.16);
  padding-block: 1.4rem 1.8rem;
}
.footer__bottom p { font-size: .85rem; color: color-mix(in srgb, var(--cream-off) 64%, transparent); }

/* ------------------------- 17b) LIGHTBOX ------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }

.lightbox__backdrop { position: absolute; inset: 0; background: rgba(16, 24, 33, .94); }

.lightbox__stage {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 86vh;
}
.lightbox__img {
  max-width: 92vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
  /* Renk düzeltmesi CSS ile yapılmaz; hiçbir filter uygulanmaz. */
}

.lightbox__btn {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  backdrop-filter: blur(4px);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .28); }
.lightbox__btn:active { transform: scale(.94); }
.lightbox__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lightbox__close { top: max(1rem, env(safe-area-inset-top)); right: max(1rem, env(safe-area-inset-right)); }
.lightbox__prev { left: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox__prev:active, .lightbox__next:active { transform: translateY(-50%) scale(.94); }

.lightbox__counter {
  position: absolute;
  z-index: 2;
  left: 0; right: 0;
  bottom: max(1rem, env(safe-area-inset-bottom));
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, .82);
  font-size: .9rem;
  letter-spacing: .05em;
}

/* ------------------------- 18) ANİMASYON ------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Kademeli görünüm (kartlar) */
.collection__grid [data-reveal].is-visible,
.features__grid [data-reveal].is-visible,
.process__steps [data-reveal].is-visible,
.why__list [data-reveal].is-visible { transition-delay: var(--reveal-delay, 0s); }

/* ------------------------- 19) RESPONSIVE ------------------------- */
@media (max-width: 1024px) {
  .hero__inner { gap: 2.5rem; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .why__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 74px; }

  /* Mobilde header'da backdrop-filter kaldırılır: aksi halde içindeki
     position:fixed mobil menü için "containing block" oluşturur ve menü
     viewport yerine header'a göre konumlanıp ekran dışında kalır. */
  .site-header { background: var(--cream-off); backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* Mobil menü */
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    width: min(84vw, 360px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 1.5rem;
    padding: 5rem 1.75rem 2rem;
    background: var(--white);
    box-shadow: -14px 0 44px rgba(36,54,74,.20);
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    z-index: 95;
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav__link { display: block; padding: .85rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__cta { width: 100%; margin-top: .5rem; }
  .nav__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 48px;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    color: var(--navy);
    font-weight: 600;
    font-size: 1.05rem;
  }
  .nav__close {
    display: block;
    position: absolute;
    top: 1rem; right: 1rem;
    width: 44px; height: 44px;
    font-size: 1.9rem; line-height: 1;
    background: transparent; border: 0; color: var(--navy);
  }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 440px; margin-inline: auto; width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; }

  .about__inner { grid-template-columns: 1fr; }
  .about__media { order: -1; max-width: 460px; }

  .contact__inner { grid-template-columns: 1fr; }
  .why__list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --section-y: 3.25rem; }
  /* Galeri kolonları yukarıdaki özel kırılımlarda yönetilir (2 kolon). */
  .features__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero__blob { display: none; }
  .btn { width: 100%; }
  .hero__actions { flex-direction: column; }
  .lightbox__btn { width: 46px; height: 46px; }
}

/* ------------------------- HAREKETİ AZALT ------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
