/* ==========================================================================
   CK HAYVANCILIK — Design Tokens
   ========================================================================== */
:root {
  --color-primary: #D71920;
  --color-primary-dark: #B4141A;
  --color-primary-light: #FBE8E9;
  --color-ink: #111111;      /* constant near-black, used for intentionally-dark surfaces */

  --color-bg: #FFFFFF;
  --color-bg-alt: #F5F5F5;
  --color-bg-alt2: #F8F8F8;
  --color-surface: #FFFFFF;
  --color-heading: #111111;
  --color-text: #1A1A1A;
  --color-text-light: #6B6B6B;
  --color-text-faint: #9A9A9A;
  --color-border: #E7E7E7;
  --ring-color: rgba(17, 17, 17, 0.05);

  --header-height: 80px;
  --header-bg: rgba(255, 255, 255, 0.85);
  --header-bg-scrolled: rgba(255, 255, 255, 0.92);

  --font-heading: "Manrope", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 10px rgba(17, 17, 17, 0.06);
  --shadow-md: 0 10px 30px rgba(17, 17, 17, 0.08);
  --shadow-lg: 0 24px 60px rgba(17, 17, 17, 0.14);

  --container-width: 1320px;
  --transition: 0.25s ease;
  --theme-transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

[data-theme="dark"] {
  --color-primary-light: rgba(215, 25, 32, 0.16);

  --color-bg: #0D0D0D;
  --color-bg-alt: #141414;
  --color-bg-alt2: #171717;
  --color-surface: #1D1D1D;
  --color-heading: #F5F5F5;
  --color-text: #F5F5F5;
  --color-text-light: #9E9E9E;
  --color-text-faint: #777777;
  --color-border: rgba(255, 255, 255, 0.08);
  --ring-color: rgba(255, 255, 255, 0.045);

  --header-bg: rgba(13, 13, 13, 0.8);
  --header-bg-scrolled: rgba(13, 13, 13, 0.9);

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
  transition: var(--theme-transition);
}

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

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

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

input, textarea { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  transition: var(--theme-transition);
}

h1 { font-size: clamp(2.6rem, 5vw, 4.75rem); line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.5rem); }
h3 { font-size: 1.18rem; font-weight: 700; }

p { font-size: 1rem; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 48px);
}

section { padding: 112px 0; }

/* Zero-size targets that keep legacy in-page anchors working */
.anchor-alias { display: block; height: 0; overflow: hidden; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.eyebrow-light { color: #FF6B6E; }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.reveal { margin-left: auto; margin-right: auto; text-align: center; }
.section-sub { color: var(--color-text-light); margin-top: 16px; font-size: 1.04rem; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(215, 25, 32, 0.25);
}
.btn-primary::after {
  content: "→";
  transition: transform var(--transition);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(215, 25, 32, 0.32);
}
.btn-primary:hover::after { transform: translateX(4px); }

.btn-outline {
  background: transparent;
  color: var(--color-heading);
  border: 1.5px solid var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-heading);
  transform: translateY(-2px);
}

.btn-sm { padding: 11px 20px; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; margin-top: 6px; }

/* WhatsApp buttons — the icon is always white; the surface follows the
   site's red/black palette instead of WhatsApp green. */
.btn-wa { color: #fff; }
.btn-wa svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-wa:hover { transform: translateY(-2px); }

.btn-wa--red { background: var(--color-primary); box-shadow: 0 8px 20px rgba(215, 25, 32, 0.25); }
.btn-wa--red:hover { background: var(--color-primary-dark); }

.btn-wa--ink { background: var(--color-ink); }
.btn-wa--ink:hover { background: #000; box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25); }

.btn-wa--glass {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn-wa--glass:hover { background: rgba(255, 255, 255, 0.18); border-color: #fff; }

/* Header WhatsApp icon button (44×44 touch target) */
.btn-wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(215, 25, 32, 0.28);
  transition: background var(--transition), transform var(--transition);
}
.btn-wa-icon svg { width: 22px; height: 22px; }
.btn-wa-icon:hover { background: var(--color-primary-dark); transform: translateY(-1px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 12px;
}
.link-arrow span { transition: transform var(--transition); }
.link-arrow:hover span { transform: translateX(4px); }

:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }

/* ==========================================================================
   Header — starts transparent over the hero, gains blur/background/border
   once the page is scrolled.
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0px);
  transition: box-shadow var(--transition), backdrop-filter var(--transition), background var(--transition), border-color var(--transition);
}
.site-header.scrolled {
  background: var(--header-bg-scrolled);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(17, 17, 17, 0.08);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-height);
}

.logo-ck { color: var(--color-primary); margin-right: 0.28em; }
.logo-name { color: var(--color-heading); }

/* Site logo — real image with automatic fallback to the typographic mark */
.site-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  flex-shrink: 0;
}
.site-logo-type {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
/* The logo PNGs carry wide transparent margins; a fixed aspect ratio with
   object-fit:cover trims them so the mark sits tight in the header. */
.site-logo-img {
  display: none;
  height: 44px;
  width: auto;
  aspect-ratio: 32 / 18;
  object-fit: cover;
}
.site-logo-img.is-ready { display: block; }
[data-theme="light"] .site-logo-img-dark { display: none !important; }
[data-theme="dark"] .site-logo-img-light { display: none !important; }
[data-theme="light"] .site-logo.has-light-logo .site-logo-type,
[data-theme="dark"] .site-logo.has-dark-logo .site-logo-type { display: none; }

.site-logo--footer .site-logo-img-footer.is-ready { display: block; }
.site-logo--footer.has-footer-logo .site-logo-type { display: none; }

/* The current logo artwork has a dark "K" that disappears on dark
   surfaces, so on those surfaces it sits on a small white plate. */
.site-header:not(.scrolled) .site-logo-img,
[data-theme="dark"] .site-logo-img,
.site-logo--footer .site-logo-img {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 3px 6px;
}

.main-nav ul { display: flex; gap: clamp(22px, 2.6vw, 38px); }
.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color var(--transition);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}
.nav-link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }

/* Language switch */
.lang-switch { position: relative; }
.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  transition: var(--theme-transition), border-color var(--transition);
}
.lang-current:hover { border-color: var(--color-primary); color: var(--color-primary); }
.lang-caret { transition: transform var(--transition); }
.lang-switch.active .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 20;
}
.lang-switch.active .lang-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.lang-menu li {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.lang-menu li:hover { background: var(--color-primary-light); color: var(--color-primary); }
.lang-menu li.active { color: var(--color-primary); }

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  transition: var(--theme-transition), border-color var(--transition), color var(--transition);
}
.theme-toggle:hover { border-color: var(--color-primary); color: var(--color-primary); }
.theme-toggle svg { width: 19px; height: 19px; }
.icon-sun { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 1200;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 26px;
  background: var(--color-heading);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Transparent header over the dark hero image: light foreground */
.site-header:not(.scrolled) .logo-name { color: #fff; }
.site-header:not(.scrolled) .lang-current,
.site-header:not(.scrolled) .theme-toggle { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.site-header:not(.scrolled) .hamburger span { background: #fff; }
.site-header:not(.scrolled) .hamburger.active span { background: var(--color-heading); }
@media (min-width: 861px) {
  .site-header:not(.scrolled) .nav-link { color: #fff; }
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-nav-overlay.active { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   Photo panel (shared premium visual component)
   ========================================================================== */
.photo-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #232323 0%, #2e2e2e 55%, #191919 100%);
  color: #fff;
  isolation: isolate;
  box-shadow: var(--shadow-lg);
}
.photo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 28px);
}
.photo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 12%, rgba(215, 25, 32, 0.4), transparent 55%);
}
.photo-panel > * { position: relative; z-index: 2; }

/* Real photo layer: sits above the gradient texture, below badges/chips.
   If the image fails to load, media-photo-error hides it and the
   gradient texture shows through exactly as before. */
.photo-panel > .photo-panel-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.photo-panel-media .media-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-photo.media-photo-error { display: none; }

/* ==========================================================================
   Hero — full viewport, image covers the whole section, content on top.
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-height) + 32px) 0 72px;
  overflow: hidden;
  background: linear-gradient(160deg, #1b1b1b 0%, #0e0e0e 100%);
  color: #fff;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media .media-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keep the product spread (lower right) in frame when narrower screens crop the sides */
  object-position: 68% center;
}

/* Darker on the text (left) side, the photo stays clear on the right.
   A short top band keeps the transparent header readable over the sky. */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0) 20%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.56) 30%, rgba(0, 0, 0, 0.2) 58%, rgba(0, 0, 0, 0.04) 100%);
}

.hero-inner { position: relative; z-index: 2; }

.hero-content { max-width: 660px; }
.hero h1 { color: #fff; }

.text-accent { color: var(--color-primary); }
.hero .text-accent { color: #FF3B42; }

.hero-sub {
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 22px;
  max-width: 560px;
}

.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

/* Mid-width landscape screens: the copy spans more of the frame, so the
   darker side of the gradient reaches a little further right. */
@media (min-width: 768px) and (max-width: 1280px) and (orientation: landscape) {
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0) 20%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.6) 38%, rgba(0, 0, 0, 0.26) 68%, rgba(0, 0, 0, 0.06) 100%);
  }
}

/* Portrait hero (hero-mobile.png). Same breakpoint as the <picture> source
   in index.html. The copy sits over the sky at the top, so the overlay is
   darkest there and fades out before the products at the bottom. */
@media (max-width: 767px), (max-width: 1024px) and (orientation: portrait) {
  .hero { align-items: flex-start; padding-top: calc(var(--header-height) + 40px); }
  .hero-media .media-photo { object-position: center bottom; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.52) 38%, rgba(0, 0, 0, 0.26) 60%, rgba(0, 0, 0, 0.04) 80%, rgba(0, 0, 0, 0) 100%);
  }
}

/* ==========================================================================
   About
   ========================================================================== */
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);  /* ≈ 45 / 55 */
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.about-text p { color: var(--color-text-light); margin-top: 18px; max-width: 560px; font-size: 1.04rem; }

.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 8px; }
.about-tags li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt2);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-heading);
  transition: var(--theme-transition);
}

.about-photo-panel { height: clamp(400px, 34vw, 520px); }

/* ==========================================================================
   Products — 10 groups, icon cards (5 + 5 on desktop)
   ========================================================================== */
.products { position: relative; background: var(--color-bg-alt2); overflow: hidden; }
.products::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/products/products-background.png");
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.products::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.86);
  z-index: 0;
}
[data-theme="dark"] .products::before { opacity: 0.1; }
[data-theme="dark"] .products::after { background: rgba(13, 13, 13, 0.88); }
.products > .container { position: relative; z-index: 1; }
/* Products-only wider container so five cards sit side by side without
   crowding; the global --container-width is left untouched. */
.products > .products-container { max-width: 1520px; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1279px) {
  .products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px 20px 30px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), var(--theme-transition);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 25, 32, 0.35);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.08);
}
[data-theme="dark"] .product-card:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4); }

.product-index {
  position: absolute;
  top: 16px; left: 20px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--color-text-faint);
}

/* No backdrop behind the icons: the transparent PNGs sit on the card itself. */
.product-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 120px;
  margin-bottom: 16px;
  transition: transform var(--transition);
}
.product-card:hover .product-icon-wrap { transform: translateY(-4px); }

/* Every icon gets the same 3:2 box (object-fit: contain), then the per-icon
   --icon-scale set in the markup evens out the differing canvas padding.
   transform doesn't affect layout, so card sizes stay identical. */
.product-icon {
  width: 132px;
  height: 88px;
  object-fit: contain;
  transform: scale(var(--icon-scale, 1));
}
/* Black line art on transparent PNGs becomes light line art in dark mode;
   invert() only flips colour channels, so transparency is untouched. */
[data-theme="dark"] .product-icon { filter: invert(1); }
/* Missing icon file (data-fallback): hide the broken image but keep its box
   so the card keeps the same height as the others. */
.product-icon.media-photo-error { visibility: hidden; }

.product-card h3 { font-size: 1.12rem; }

/* Desktop: wider, shorter cards. Width comes from the grid; tablet and
   mobile keep the base sizing above and the 640px overrides below. */
@media (min-width: 900px) {
  .product-card { min-height: 232px; padding: 28px 24px 26px; }
  .product-icon-wrap { height: 104px; margin-bottom: 14px; }
}

.product-cta-strip {
  margin-top: 36px;
  background: var(--color-ink);
  border-radius: var(--radius-lg);
  padding: 30px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.product-cta-strip h3 { color: #fff; margin-bottom: 4px; font-size: 1.08rem; }
.product-cta-strip p { color: rgba(255, 255, 255, 0.65); font-size: 0.94rem; }
.product-cta-strip .btn { flex-shrink: 0; }

/* ==========================================================================
   Shared point list (icon + short title + one line)
   ========================================================================== */
.point-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}
.point { display: flex; align-items: flex-start; gap: 16px; }
.point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  color: var(--color-primary);
  transition: var(--theme-transition);
}
.point-icon svg { width: 22px; height: 22px; }
.point h3 { font-size: 1.05rem; margin-bottom: 4px; }
.point p { color: var(--color-text-light); font-size: 0.93rem; line-height: 1.55; }

/* ==========================================================================
   Ticaret
   ========================================================================== */
.trade { background: var(--color-bg); }
.trade-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.trade-text .section-sub { max-width: 520px; }
.trade-text .point-grid { margin-top: 40px; }
.trade-photo-panel { height: clamp(400px, 34vw, 480px); }
/* Keeps the reefer truck, forklift and crane in frame; the ship bow is secondary */
.trade-photo-panel .media-photo { object-position: 42% center; }

/* ==========================================================================
   İhracat (dark in both themes)
   ========================================================================== */
.export {
  position: relative;
  overflow: hidden;
  background: var(--color-ink);
  color: #fff;
}
.export::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.02) 0 2px, transparent 2px 32px),
    radial-gradient(circle at 85% 10%, rgba(215, 25, 32, 0.18), transparent 55%);
  pointer-events: none;
}
.export .container { position: relative; z-index: 1; }
.export h2 { color: #fff; }
.export .section-sub { color: rgba(255, 255, 255, 0.65); }

/* Wide photo shown at (almost) its native 1870×841 ratio — no zoom, no crop
   on desktop. A light edge and soft shadow separate it from the dark section. */
.export-banner {
  aspect-ratio: 1870 / 841;
  margin-bottom: 56px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.export-banner .media-photo { object-position: 55% center; }

.point-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.export .point h3 { color: #fff; }
.export .point p { color: rgba(255, 255, 255, 0.62); }
.export .point-icon { background: rgba(215, 25, 32, 0.16); color: #FF6B6E; }

/* ==========================================================================
   Trust / Stats (section currently commented out in the markup)
   ========================================================================== */
.trust { background: var(--color-bg); border-top: 1px solid var(--color-border); padding: 80px 0; transition: var(--theme-transition); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  color: var(--color-primary);
}
.trust-label { color: var(--color-text-light); font-weight: 600; font-size: 0.92rem; margin-top: 6px; display: block; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-section {
  background: var(--color-primary);
  padding: 88px 0;
}
.cta-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.cta-inner h2 { color: #fff; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.cta-section .btn-outline { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.cta-section .btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
}
.contact-details { margin-top: 34px; display: flex; flex-direction: column; gap: 22px; }
.contact-details li { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  color: var(--color-primary);
  flex-shrink: 0;
  transition: var(--theme-transition);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-details strong { display: block; font-size: 0.9rem; }
.contact-details span,
.contact-details a { color: var(--color-text-light); font-size: 0.96rem; }
/* Padding + negative margin widens the tap area to 44px without shifting layout */
.contact-details a { display: inline-block; padding: 12px 0; margin: -12px 0; transition: color var(--transition); }
.contact-details a:hover { color: var(--color-primary); }

.contact-form {
  background: var(--color-bg-alt2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 44px;
  transition: var(--theme-transition);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-heading);
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition), var(--theme-transition);
  resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.12);
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 26px;
  cursor: pointer;
}
.checkbox-row input { margin-top: 3px; accent-color: var(--color-primary); }
.form-note { margin-top: 14px; font-size: 0.88rem; font-weight: 600; min-height: 1.2em; }
.form-note.success { color: #2AAE64; }
.form-note.error { color: var(--color-primary); }

/* Per-field validation messages (created by main.js under each field). */
.field-error { margin-top: 6px; font-size: 0.8rem; font-weight: 600; color: var(--color-primary); }
.field-error[hidden] { display: none; }
.checkbox-row + .field-error { margin-top: -18px; margin-bottom: 22px; }
.form-group.has-error input,
.form-group.has-error textarea { border-color: var(--color-primary); }
.form-group.has-error input:focus,
.form-group.has-error textarea:focus { box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.18); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-ink); color: rgba(255, 255, 255, 0.68); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-top: 88px;
  padding-bottom: 64px;
}
.site-logo--footer .site-logo-img { height: 52px; }
.site-logo--footer .logo-name { color: #fff; }
.footer-brand p { margin-top: 20px; font-size: 0.95rem; line-height: 1.7; max-width: 320px; }
.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  margin-top: 24px;
  transition: background var(--transition);
}
.footer-social:hover { background: var(--color-primary); }

.footer-col h4 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.95rem; transition: color var(--transition); }
.footer-col a:hover { color: #fff; }

.footer-contact li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.footer-contact a,
.footer-col li > a { display: inline-block; padding: 10px 0; margin: -10px 0; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; color: #FF6B6E; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); transition: color var(--transition); }
.footer-legal a:hover { color: #fff; }
.footer-legal li { font-size: 0.85rem; }
.footer-legal li + li { position: relative; }
.footer-legal li + li::before {
  content: "·";
  position: absolute;
  left: -15px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
}

/* Copyright + small plain-text credit, kept on one line where space allows */
.footer-bottom-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 24px; }
.footer-credit {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.34);
  transition: color var(--transition);
}
.footer-credit:hover { color: rgba(255, 255, 255, 0.6); }

/* Postal address (footer + contact section) */
address { font-style: normal; }
.footer-contact li.footer-address { align-items: flex-start; }
.footer-address svg { margin-top: 3px; }
.footer-address a { line-height: 1.6; }
.contact-address a { line-height: 1.6; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .point-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-photo-panel { height: clamp(300px, 48vw, 440px); }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .trade-inner { grid-template-columns: 1fr; }
  .trade-photo-panel { height: 380px; }
  .footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(320px, 80vw);
    background: var(--color-surface);
    padding: 110px 32px 32px;
    transform: translateX(100%);
    transition: transform var(--transition), var(--theme-transition);
    z-index: 1100;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.14);
    overflow-y: auto;
  }
  .main-nav.active { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 8px; }
  .main-nav .nav-link { display: block; padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--color-border); }
  .hamburger { display: flex; }
  .lang-menu { right: -10px; }
}

@media (max-width: 640px) {
  section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .hero { padding-bottom: 48px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }

  .header-actions { gap: 6px; }
  .lang-current { padding: 0 9px; }
  .site-logo-img { height: 38px; }
  .site-logo-type { font-size: 1.1rem; }

  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card { padding: 34px 12px 22px; }
  .product-index { top: 12px; left: 14px; }
  .product-icon-wrap { height: 88px; margin-bottom: 12px; }
  .product-icon { width: 108px; height: 72px; }
  .product-card h3 { font-size: 1rem; }
  .product-cta-strip { flex-direction: column; align-items: stretch; padding: 28px 22px; }

  .point-grid,
  .point-grid--4 { grid-template-columns: 1fr; gap: 22px; }
  .trade-photo-panel { height: 280px; }
  .about-photo-panel { height: 280px; }
  .export-banner { aspect-ratio: 16 / 10; margin-bottom: 40px; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .contact-form { padding: 30px 22px; }

  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; padding-top: 64px; padding-bottom: 44px; }
  .footer-col--contact { grid-column: 1 / -1; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-bottom-meta { flex-direction: column; }
}

@media (max-width: 374px) {
  .header-actions { gap: 4px; }
  .site-logo-img { height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Legal pages (kvkk.html, gizlilik-politikasi.html)
   No hero photo: the header starts solid and the page opens on a plain
   title band followed by a narrow, readable text column.
   ========================================================================== */
.legal-hero {
  padding: calc(var(--header-height) + 72px) 0 56px;
  background: var(--color-bg-alt2);
  border-bottom: 1px solid var(--color-border);
  transition: var(--theme-transition);
}
.legal-container { max-width: 900px; margin: 0 auto; }
.legal-hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); line-height: 1.12; }
.legal-lead {
  margin-top: 18px;
  max-width: 700px;
  font-size: 1.06rem;
  color: var(--color-text-light);
}
.legal-updated {
  margin-top: 22px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-faint);
}

.legal-main { padding: 64px 0 96px; }
.legal-content { line-height: 1.8; }
.legal-intro {
  margin-bottom: 40px;
  padding: 20px 24px;
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--color-bg-alt2);
  color: var(--color-text-light);
  transition: var(--theme-transition);
}

.legal-section { padding: 0; }
.legal-section + .legal-section {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}
.legal-section h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin-bottom: 16px; scroll-margin-top: calc(var(--header-height) + 24px); }
.legal-body p { color: var(--color-text-light); }
.legal-body p + p,
.legal-body ul + p,
.legal-body p + ul { margin-top: 14px; }
.legal-body ul { display: flex; flex-direction: column; gap: 8px; }
.legal-body li {
  position: relative;
  padding-left: 22px;
  color: var(--color-text-light);
}
.legal-body li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.78em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--color-primary);
}
.legal-body strong { color: var(--color-heading); font-weight: 600; }
.legal-body a,
.legal-contact a { color: var(--color-primary); font-weight: 600; }
.legal-body a:hover,
.legal-contact a:hover { text-decoration: underline; }

.legal-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.legal-contact li {
  padding: 18px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-alt2);
  transition: var(--theme-transition);
}
.legal-contact strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-heading);
}
.legal-contact address,
.legal-contact span { color: var(--color-text-light); line-height: 1.65; }
.legal-contact li:first-child { grid-row: span 3; }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 56px;
  font-weight: 700;
  color: var(--color-primary);
}
.legal-back-arrow { transition: transform var(--transition); }
.legal-back:hover .legal-back-arrow { transform: translateX(-4px); }

@media (max-width: 640px) {
  .legal-hero { padding: calc(var(--header-height) + 44px) 0 40px; }
  .legal-main { padding: 44px 0 72px; }
  .legal-intro { padding: 16px 18px; margin-bottom: 32px; }
  .legal-section + .legal-section { margin-top: 32px; padding-top: 32px; }
  .legal-contact { grid-template-columns: 1fr; }
  .legal-contact li:first-child { grid-row: auto; }
}
.legal-hero > .container,
.legal-main > .container { padding-left: clamp(20px, 4vw, 48px); padding-right: clamp(20px, 4vw, 48px); }
.legal-contact address a { color: var(--color-text-light); font-weight: 400; }
.legal-contact address a:hover { color: var(--color-primary); }

/* ==========================================================================
   Contact form — honeypot + sending state
   ========================================================================== */
/* Off-screen rather than display:none, so simple bots still "see" the field */
.form-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form { position: relative; }

.btn:disabled { cursor: not-allowed; }
.btn.is-loading { opacity: 0.8; cursor: progress; transform: none; }
.btn-primary.is-loading::after {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.8s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
