/* Jeostone ana stil — marbleo home-1 kurgusunun temiz yeniden yazımı. */
@import url("tokens.css");

/* ---------- Fontlar (self-host; latin + latin-ext[TR: İĞŞ] çifti) ---------- */
/* latin U+0131 içerir ama U+0130 (İ), Ğ, Ş latin-ext'tedir — ikisi de şart. */
@font-face {
  font-family: "Cardo";
  src: url("../fonts/cardo-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: optional;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC;
}
@font-face {
  font-family: "Cardo";
  src: url("../fonts/cardo-400-latin-ext.woff2") format("woff2");
  font-weight: 400;
  font-display: optional;
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20C0;
}
@font-face {
  font-family: "Cardo";
  src: url("../fonts/cardo-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-display: optional;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC;
}
@font-face {
  font-family: "Cardo";
  src: url("../fonts/cardo-700-latin-ext.woff2") format("woff2");
  font-weight: 700;
  font-display: optional;
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20C0;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var-latin-ext.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20C0;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jbmono-var-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jbmono-var-latin-ext.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+20A0-20C0;
}
/* Metrik-eşlenmiş fallback — Inter yüklenene dek CLS 0 */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107.4%;
  ascent-override: 90.2%;
  descent-override: 22.48%;
  line-gap-override: 0%;
}

/* ---------- Reset / taban ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-base);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-primary-deep);
  margin: 0 0 var(--sp-xs);
  text-wrap: balance;
}
p {
  margin: 0 0 var(--sp-xs);
  max-width: 62ch;
  text-wrap: pretty;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
html {
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Sayfalar arası yumuşak geçiş (destekleyen tarayıcıda) */
@view-transition {
  navigation: auto;
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

/* Odak: çift halka — fotoğraf üstünde de görünür */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--c-primary-deep);
  border-radius: 2px;
}
@media (forced-colors: active) {
  :focus-visible {
    outline: 3px solid Highlight;
    box-shadow: none;
  }
}

.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 100;
  background: var(--c-primary);
  color: #fff;
  padding: 0.6rem 1rem;
  transform: translateY(-150%);
  transition: transform var(--dur-fast);
}
.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Yerleşim yardımcıları ---------- */
.wrap {
  width: min(100% - 2 * var(--sp-sm), var(--content-max));
  margin-inline: auto;
}
.section {
  padding-block: var(--sp-xl);
}
.section--tight {
  padding-block: var(--sp-lg);
}
.section--dark {
  background: var(--c-primary-deep);
  color: #e6e1d8;
  position: relative;
}
.section--dark :is(h1, h2, h3, h4) {
  color: #fff;
}
.section--dark .grain::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/grain.png") repeat;
  opacity: 0.05;
  pointer-events: none;
}
.section--tinted {
  background: var(--c-tertiary);
}
.kicker {
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  display: block;
  margin-bottom: var(--sp-2xs);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--c-line);
}
.site-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-sm);
  min-height: var(--header-h);
}
.site-header__logo img {
  height: 4rem;
  width: auto;
}
@media (max-width: 640px) {
  .site-header__logo img {
    height: 3.25rem;
  }
}
.nav {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: var(--fs-sm);
  color: var(--c-ink);
  padding: 0.5rem 0.15rem;
  background-image: linear-gradient(var(--c-accent), var(--c-accent));
  background-repeat: no-repeat;
  background-size: 0 2px;
  background-position: 0 100%;
  transition: background-size var(--dur-fast) var(--ease-out);
}
.nav a:hover,
.nav a[aria-current="page"] {
  background-size: 100% 2px;
}
.nav__item {
  position: relative;
}
.nav__toggle {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.nav__panel {
  position: absolute;
  top: 100%;
  left: 50%;
  translate: -50% 0;
  min-width: 15rem;
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: 0 12px 32px rgba(12, 26, 19, 0.12);
  padding: 0.5rem 0;
  display: none;
}
.nav__item:hover > .nav__panel,
.nav__item:focus-within > .nav__panel,
.nav__panel.is-open {
  display: block;
}
.nav__panel a {
  display: block;
  padding: 0.55rem 1.25rem;
  background: none;
}
.nav__panel a:hover {
  background: var(--c-tertiary);
  color: var(--c-primary);
}
.lang-switch {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.lang-trigger {
  gap: 0.4rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
}
.lang-panel {
  left: auto;
  right: 0;
  translate: none;
  min-width: 12rem;
}
.lang-panel a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.flag {
  font-size: 1.15rem;
  line-height: 1;
}

/* Mobil nav */
.nav-burger {
  display: none;
}
@media (max-width: 900px) {
  .nav-burger {
    display: inline-flex;
    all: unset;
    cursor: pointer;
    padding: 0.75rem;
    font-size: 1.4rem;
    line-height: 1;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    padding: var(--sp-sm);
  }
  .site-nav.is-open {
    display: block;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav {
    flex-direction: column;
    align-items: stretch;
  }
  .nav__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  .nav__item > a {
    flex: 1;
    padding-block: 0.85rem;
  }
  .nav__toggle {
    padding: 0.85rem 0.75rem;
    font-size: 1.1rem;
    transition: transform var(--dur-fast) var(--ease-out);
  }
  .nav__toggle[aria-expanded="true"] {
    transform: rotate(180deg);
  }
  .nav__panel {
    position: static;
    translate: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--c-line);
    flex-basis: 100%;
    display: none;
  }
  /* Mobilde alt menü yalnızca ▾ butonuyla (is-open) açılır; hover/focus ile değil */
  .nav__item:hover > .nav__panel,
  .nav__item:focus-within > .nav__panel {
    display: none;
  }
  .site-nav .nav__panel.is-open {
    display: block;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88svh, 60rem);
  display: grid;
  align-items: end;
  color: #fff;
  isolation: isolate;
}
.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12, 26, 19, 0.82) 0%,
    rgba(12, 26, 19, 0.35) 45%,
    rgba(12, 26, 19, 0.25) 100%
  );
}
/* ---------- Hero slider (opt-in) ---------- */
.hero__slide {
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: -2;
}
.hero__slide.is-active {
  opacity: 1;
  z-index: -1;
}
.hero--clickable {
  cursor: pointer;
}
.hero--clickable a,
.hero--clickable button,
.hero--clickable .hero__in p:last-child {
  cursor: auto;
}
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  line-height: 1;
  color: #fff;
  background: rgba(12, 26, 19, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, opacity 0.2s ease;
}
.hero__arrow:hover,
.hero__arrow:focus-visible {
  background: rgba(12, 26, 19, 0.42);
}
.hero__arrow--prev {
  left: clamp(0.75rem, 2vw, 1.75rem);
}
.hero__arrow--next {
  right: clamp(0.75rem, 2vw, 1.75rem);
}
.hero__dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(1rem, 3vh, 2rem);
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}
.social-float {
  position: fixed;
  z-index: 60;
  top: 34%;
  transform: translateY(-50%);
  right: clamp(0.6rem, 1.5vw, 1.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.social-float a {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.95);
  color: var(--c-primary);
  box-shadow: 0 2px 12px rgba(12, 26, 19, 0.22);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.social-float a:hover,
.social-float a:focus-visible {
  transform: translateY(-2px);
}
.social-float .is-wa:hover,
.social-float .is-wa:focus-visible {
  background: #25d366;
  color: #fff;
}
.social-float .is-ig:hover,
.social-float .is-ig:focus-visible {
  background: #e1306c;
  color: #fff;
}
@media (max-width: 640px) {
  .social-float a {
    width: 2.5rem;
    height: 2.5rem;
  }
}
.hero__dot {
  width: 0.7rem;
  height: 0.7rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.hero__dot.is-active {
  background: #fff;
  transform: scale(1.15);
}
@media (max-width: 640px) {
  .hero__arrow {
    display: none;
  }
}
.hero__in {
  padding-block: var(--sp-lg);
}
.hero h1 {
  color: #fff;
  font-size: var(--fs-2xl);
  max-width: 18ch;
}
.hero p {
  font-size: var(--fs-md);
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-block;
  padding: 0.9rem 1.9rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color var(--dur-fast);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--dur-fast) var(--ease-out);
}
.btn--primary {
  background: var(--c-accent);
  color: var(--c-primary-deep);
}
.btn--primary::before {
  background: var(--c-primary);
}
.btn--primary:hover {
  color: #fff;
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn--ghost::before {
  background: #fff;
}
.btn--ghost:hover {
  color: var(--c-primary-deep);
}
.btn--outline {
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.btn--outline::before {
  background: var(--c-primary);
}
.btn--outline:hover {
  color: #fff;
}
.btn:hover::before {
  transform: scaleY(1);
}

/* ---------- Kartlar / gridler ---------- */
.grid {
  display: grid;
  gap: var(--sp-sm);
}
.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
}
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr));
}
.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
}

.card {
  text-decoration: none;
  display: block;
}
.card__media {
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--c-tertiary);
}
.card__media--tall {
  aspect-ratio: 409 / 482;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-med) var(--ease-out);
}
.card:hover .card__media img {
  transform: scale(1.03);
}
.card h3,
.card h4 {
  margin: var(--sp-xs) 0 0.25rem;
  font-size: var(--fs-md);
}
.card .card__sub {
  color: var(--c-muted);
  font-size: var(--fs-sm);
}

/* Süreç 01/02/03 */
.steps {
  counter-reset: step;
}
.step__num {
  font-family: var(--ff-display);
  font-size: var(--fs-giga);
  color: var(--c-accent-soft);
  line-height: 1;
}
.step h3 {
  font-size: var(--fs-lg);
}

/* Sayaçlar */
.stat__value {
  font-family: var(--ff-display);
  font-size: var(--fs-giga);
  color: var(--c-accent);
  line-height: 1;
}
.stat__label {
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.section--dark .stat__label {
  color: rgba(255, 255, 255, 0.65);
}

/* Teknik künye tablosu */
.spec {
  font-family: var(--ff-mono);
  font-size: var(--fs-sm);
  border-collapse: collapse;
  width: 100%;
  max-width: 40rem;
}
.spec th,
.spec td {
  text-align: left;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--c-line);
}
.spec th {
  color: var(--c-muted);
  font-weight: 400;
  white-space: nowrap;
}

/* ---------- Reveal animasyonu ---------- */
/* İçerik varsayılan GÖRÜNÜR; .js sınıfı varsa ve henüz .is-visible değilse gizli. */
.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(var(--move-y));
}
.reveal {
  transition:
    opacity var(--dur-slow) var(--ease-expo),
    transform var(--dur-slow) var(--ease-expo);
  transition-delay: calc(var(--i, 0) * 60ms);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal:not(.is-visible) {
    transform: none;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-primary-deep);
  color: rgba(255, 255, 255, 0.8);
  padding-block: var(--sp-lg) var(--sp-sm);
  font-size: var(--fs-sm);
}
.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--c-accent-soft);
}
.site-footer h4 {
  color: #fff;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer__grid {
  display: grid;
  gap: var(--sp-md);
  grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr));
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer__grid > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.site-footer__logo img {
  height: 6rem;
  width: auto;
  max-width: 100%;
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  justify-content: space-between;
  padding-top: var(--sp-sm);
  color: rgba(255, 255, 255, 0.5);
}
.site-footer__slogan {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--c-accent-soft);
}

/* Sosyal/ikon linkler için 24px+ hedef alanı */
.icon-link {
  position: relative;
  display: inline-flex;
}
.icon-link::after {
  content: "";
  position: absolute;
  inset: -6px;
}

/* Uzun sayfalarda fold-altı render maliyeti */
.cv-auto {
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}

/* ---------- Ürün galerisi (fayans/koleksiyon) ---------- */
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--sp-md);
  align-items: start;
  padding-block: var(--sp-md);
  border-top: 1px solid var(--c-line);
}
.product:first-of-type { border-top: none; }
.product__gallery { display: flex; flex-direction: column; gap: 0.6rem; }
.product__thumbs { order: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.product__thumb {
  all: unset; cursor: pointer; display: block; aspect-ratio: 1; min-height: 0;
  overflow: hidden; border: 1px solid var(--c-line); border-radius: 2px;
}
.product__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product__thumb.is-active { outline: 2px solid var(--c-primary); outline-offset: -2px; }
.product__main {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  background: var(--c-tertiary); border-radius: 2px;
}
.product__main img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: opacity 0.2s ease;
}
.product__zoom {
  position: absolute; top: 0.6rem; right: 0.6rem; width: 2.2rem; height: 2.2rem;
  border-radius: 999px; background: rgba(255,255,255,0.92); display: grid;
  place-items: center; color: var(--c-primary); box-shadow: 0 2px 8px rgba(12,26,19,.18);
}
.product__info { display: flex; flex-direction: column; }
.product__info h2 { font-size: var(--fs-lg); margin: 0 0 var(--sp-xs); }
.product__info p { color: var(--c-muted); max-width: 54ch; }
.product__info .spec { margin-top: var(--sp-sm); }
.product__cta { margin-top: var(--sp-sm); }
@media (max-width: 920px) {
  .product { grid-template-columns: 1fr; }
  .product__gallery { grid-template-columns: 4rem 1fr; }
}

/* --- Üretim galerisi (8 küçük görsel) + lightbox --- */
.uretim-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.uretim-thumb {
  all: unset;
  cursor: pointer;
  display: block;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: 2px;
}
.uretim-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.7rem 0.6rem 0.5rem;
  background: linear-gradient(to top, rgba(12, 26, 19, 0.88), rgba(12, 26, 19, 0));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.uretim-thumb:hover .uretim-cap,
.uretim-thumb:focus-visible .uretim-cap {
  opacity: 1;
  transform: none;
}
/* Dokunmatik cihazlarda hover yok → başlık her zaman görünür */
@media (hover: none) {
  .uretim-cap { opacity: 1; transform: none; }
}
.uretim-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.uretim-thumb:hover img,
.uretim-thumb:focus-visible img {
  transform: scale(1.06);
}
.uretim-thumb:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}
@media (max-width: 920px) {
  .uretim-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 520px) {
  .uretim-grid { grid-template-columns: repeat(2, 1fr); }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 26, 19, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(2px);
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}
.lightbox__close {
  position: absolute;
  top: 1.1rem;
  right: 1.3rem;
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.22); }

/* ---------- Ürün arama (site geneli; JS ile header'a enjekte edilir) ---------- */
.nav__item--search { display: flex; align-items: center; }
.site-search__btn {
  all: unset; cursor: pointer; display: inline-flex; align-items: center;
  justify-content: center; color: var(--c-primary); padding: 0.5rem;
  border-radius: 999px; transition: color var(--dur-fast) var(--ease-out);
}
.site-search__btn:hover, .site-search__btn:focus-visible { color: var(--c-accent); }
.site-search__btn svg { width: 1.3rem; height: 1.3rem; }

.site-search {
  position: fixed; inset: 0; z-index: 2000; display: none;
  align-items: flex-start; justify-content: center;
  background: rgba(12, 26, 19, 0.55); backdrop-filter: blur(4px);
  padding: 12vh 1rem 1rem;
}
.site-search.is-open { display: flex; }
.site-search__panel {
  width: min(640px, 100%); background: var(--c-base); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); overflow: hidden;
  animation: siteSearchIn var(--dur-fast, 0.18s) var(--ease-out, ease);
}
@keyframes siteSearchIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.site-search__field {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 1rem 1.15rem; border-bottom: 1px solid var(--c-line);
}
.site-search__field > svg { width: 1.25rem; height: 1.25rem; color: var(--c-muted); flex: none; }
.site-search__input {
  all: unset; flex: 1; font-family: var(--ff-body); font-size: 1.05rem; color: var(--c-ink);
}
.site-search__input::placeholder { color: var(--c-muted); }
.site-search__close {
  all: unset; cursor: pointer; color: var(--c-muted); font-size: 1.35rem;
  line-height: 1; padding: 0.2rem 0.45rem; border-radius: 8px;
}
.site-search__close:hover { color: var(--c-ink); }
.site-search__results { max-height: 52vh; overflow: auto; margin: 0; padding: 0.4rem; list-style: none; }
.site-search__results li { margin: 0; }
.site-search__link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.7rem 0.85rem; border-radius: 10px; text-decoration: none; color: var(--c-ink);
}
.site-search__link:hover, .site-search__link.is-active { background: var(--c-accent-soft); }
.site-search__name { font-weight: 600; }
.site-search__cat {
  font-family: var(--ff-mono, monospace); font-size: 0.7rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--c-muted); flex: none;
}
.site-search__empty { padding: 1.1rem 0.85rem; color: var(--c-muted); font-size: 0.95rem; }

/* Sosyal float — PDF katalog butonu (altın vurgulu) */
.social-float .is-cat {
  background: var(--c-accent);
  color: var(--c-primary);
}
.social-float .is-cat:hover,
.social-float .is-cat:focus-visible {
  background: var(--c-primary);
  color: #fff;
}

/* Sosyal float — hover etiketleri (butonun solunda açılır) */
.social-float a { position: relative; }
.social-float a::after {
  content: attr(data-tip);
  position: absolute;
  right: calc(100% + 0.55rem);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--c-primary);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.42rem 0.6rem;
  border-radius: 7px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 2px 12px rgba(12, 26, 19, 0.22);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.social-float a:hover::after,
.social-float a:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@media (max-width: 640px) {
  .social-float a::after { display: none; }
}

/* ---------- Blog kartları (3'lü grid) ---------- */
.blog-grid { gap: var(--sp-md) var(--sp-md); }
.blog-card { display: flex; flex-direction: column; }
.blog-card__media {
  display: block; overflow: hidden; border-radius: 10px;
  aspect-ratio: 4 / 3; background: var(--c-line);
}
.blog-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s var(--ease-out, ease);
}
.blog-card__media:hover img, .blog-card__media:focus-visible img { transform: scale(1.04); }
.blog-card__body { padding-top: var(--sp-sm); }
.blog-card__meta {
  font-family: var(--ff-mono, monospace); font-size: 0.76rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--c-muted); margin: 0 0 0.5rem;
}
.blog-card__meta .cat { color: var(--c-accent); font-weight: 600; }
.blog-card__title {
  font-family: var(--ff-display); font-size: var(--fs-lg);
  line-height: 1.2; margin: 0 0 0.5rem;
}
.blog-card__title a { color: var(--c-ink); text-decoration: none; }
.blog-card__title a:hover { color: var(--c-primary); }
.blog-card__excerpt { color: var(--c-muted); margin: 0 0 0.85rem; }
.blog-card__more {
  font-weight: 600; color: var(--c-ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.45rem;
}
.blog-card__more svg { transition: transform 0.18s ease; }
.blog-card__more:hover { color: var(--c-primary); }
.blog-card__more:hover svg { transform: translateX(4px); }

/* ---------- Blog yazı detay ---------- */
.blog-post__gallery {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-sm); margin-bottom: var(--sp-md);
}
.blog-post__gallery img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 8px; display: block;
}
.blog-post__body { color: var(--c-ink); font-size: var(--fs-base); }
.blog-post__body p { margin: 0 0 1rem; line-height: 1.75; }
@media (max-width: 560px) {
  .blog-post__gallery { grid-template-columns: 1fr 1fr; }
}
.blog-post__body h2 { font-size: var(--fs-lg); margin: var(--sp-md) 0 .5rem; line-height:1.25; }
.blog-post__body h3 { font-size: var(--fs-md); margin: var(--sp-sm) 0 .35rem; }
.blog-post__body ul { margin: 0 0 1rem 1.15rem; line-height: 1.7; }
.blog-post__body ul li { margin-bottom: .4rem; }
.blog-post__body .kicker { margin-bottom: .2rem; }
.spec--pack th, .spec--pack td { font-size: 0.72rem; padding: 0.4rem 0.55rem; line-height: 1.35; }
@media (max-width: 560px) { .spec--pack th, .spec--pack td { font-size: 0.66rem; padding: 0.35rem 0.4rem; } }
@media (max-width: 560px) {
  .spec--pack th:nth-child(2), .spec--pack td:nth-child(2) { display: none; }
  .spec--pack th, .spec--pack td { white-space: nowrap; }
}

/* WCAG kontrast + footer mobil boşluk ---------------------------------- */
/* Kicker: açık zeminde koyu altın (AA ~4.9:1), koyu bölümde parlak altın korunur */
.kicker { color: #96690a; }
.section--dark .kicker,
.grain .kicker { color: var(--c-accent); }
@media (max-width: 640px) {
  .site-footer__grid ul { gap: 0.8rem !important; }
  .site-footer a { display: inline-block; padding-block: 0.25rem; }
  .site-footer__legal { gap: 0.6rem; row-gap: 0.5rem; }
}

/* İlk açılış karşılama ekranı (oturumda bir kez) --------------------- */
.splash-intro {
  position: fixed; inset: 0; z-index: 9999; cursor: pointer;
  background: var(--c-primary-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.4rem; text-align: center; padding: 2rem;
  opacity: 1; transition: opacity .5s ease;
}
.splash-intro.is-hiding { opacity: 0; }
.splash-intro__logo { width: min(340px, 72vw); height: auto; display: block;
  animation: splashPop .6s cubic-bezier(.2,.7,.2,1) both; }
.splash-intro__msg { color: #fff; font-family: var(--ff-display); font-size: var(--fs-xl, 1.6rem);
  margin: 0; text-wrap: balance; animation: splashFade .7s ease .25s both; }
@keyframes splashPop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes splashFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .splash-intro { transition: none; }
  .splash-intro__logo, .splash-intro__msg { animation: none; }
}
