/*
Theme Name:        Arkem Esters
Theme URI:         https://arkemesters.com
Author:            Arkem Esters
Author URI:        https://arkemesters.com
Description:       Arkem Esters kurumsal web sitesi için özel, kod temelli, hafif WordPress teması. Page builder bağımlılığı yoktur (Elementor kullanılmamıştır). Kırmızı-siyah-beyaz kurumsal kimlik ve iki dilli (EN/TR) B2B içerik yapısı esas alınarak tasarlanmıştır.
Version:           1.0.3
Requires at least: 6.4
Requires PHP:      8.0
Tested up to:       6.6
License:           GNU General Public License v2 or later
License URI:       http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       arkem-esters
*/

/* ==========================================================================
   1. Kurumsal Renk Token'ları
   ========================================================================== */

:root {
  --color-red: #EB2027;
  --color-red-dark: #C41A20;
  --color-red-accent: #EA3A52;
  --color-red-tint: #FDE4E3;
  --color-red-shadow: #331118;
  --color-black: #221E1F;
  --color-charcoal: #231F20;
  --color-white: #FFFFFF;
  --color-off-white: #FAFBFC;
  --color-gray-100: #F2F1EF;
  --color-gray-300: #D8D6D2;
  --color-gray-600: #606160;
  --color-gray-900: #221E1F;

  --color-primary: var(--color-red);
  --color-primary-hover: var(--color-red-dark);
  --color-secondary: var(--color-black);
  --color-background: var(--color-white);
  --color-surface: var(--color-off-white);
  --color-text: var(--color-gray-900);
  --color-text-muted: var(--color-gray-600);
  --color-border: var(--color-gray-300);

  --font-heading: Georgia, "Times New Roman", Times, serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --space-2xs: 0.375rem;
  --space-xs: 0.75rem;
  --space-sm: 1.25rem;
  --space-md: 2rem;
  --space-lg: 3.5rem;
  --space-xl: 6rem;

  --container-max: 1200px;
  --radius-sm: 3px;
  --radius-md: 6px;
}

/* ==========================================================================
   2. Temel Reset & Kurumsal Baz Stiller
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--color-primary-hover);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-sm);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin: 0 0 var(--space-sm);
  max-width: 68ch;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-sm);
}

/* ==========================================================================
   3. Kurumsal Bileşen Baz Stilleri (CTA butonları)
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-primary-hover);
  color: var(--color-white);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-black);
  color: var(--color-black);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: var(--color-black);
  color: var(--color-white);
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  word-wrap: normal !important;
}

.skip-link.screen-reader-text:focus {
  background-color: var(--color-white);
  color: var(--color-black);
  clip: auto !important;
  clip-path: none;
  position: fixed;
  display: block;
  width: auto;
  height: auto;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 100000;
  font-weight: 600;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ==========================================================================
   4. Ana Sayfa — Hero (Sola Kaydırılmış ve Büyütülmüş Metinler)
   ========================================================================== */

.hero {
  position: relative;
  z-index: 0;
  min-height: 100vh;
  background-color: var(--color-black);
  color: var(--color-white);
  overflow: hidden;
  padding-top: 130px;
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out, transform 0.3s ease-out;
  z-index: 1;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
  transform: scale(1.05);
  transition: transform 6s ease-out;
}

.hero__slide.is-active .hero__bg-image {
  transform: scale(1);
}

.hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.6) 50%, rgba(10, 10, 10, 0.2) 100%);
}

.hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__inner {
  width: 100%;
  max-width: 720px;
  margin-left: clamp(0.5rem, 3.5vw, 5rem);
  margin-right: auto;
  padding-inline: var(--space-sm);
  transform: none;
  /* Metinlerin arkasındaki görsel ne olursa olsun okunaklı kalması için */
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  font-size: 0.88rem;
}

.hero__tagline {
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-gray-300);
  margin-bottom: var(--space-xs);
  font-size: 0.825rem;
}

.hero__title {
  color: var(--color-white);
  font-size: clamp(1.54rem, 3.85vw, 3.465rem);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-xs);
}

.hero__subtitle {
  font-size: clamp(0.935rem, 1.54vw, 1.155rem);
  opacity: 1;
  margin-bottom: var(--space-sm);
  font-weight: 400;
}

.hero__description {
  max-width: 60ch;
  font-size: clamp(0.825rem, 1.21vw, 0.935rem);
  opacity: 0.95;
  margin-bottom: var(--space-md);
}

/* --- Liquid (Camsı) Buton Tasarımı --- */
.btn-liquid {
  background-color: rgba(235, 32, 39, 0.7) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 8px 32px rgba(235, 32, 39, 0.25);
  font-size: 0.99rem;
  padding: 0.75rem 1.8rem;
  transition: all 0.3s ease;
}

.btn-liquid:hover {
  background-color: rgba(235, 32, 39, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(235, 32, 39, 0.4);
}

/* --- Slider Kontrolleri (Oklar ve Noktalar) --- */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hero-arrow:hover {
  background: rgba(235, 32, 39, 0.8);
  border-color: transparent;
}

.hero-arrow--prev { left: 2%; }
.hero-arrow--next { right: 2%; }

.hero-dots {
  position: absolute;
  bottom: 80px; 
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.hero-dot.is-active {
  background: var(--color-red);
  border-color: var(--color-red);
  transform: scale(1.2);
}

.hero__accent {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  height: 40px;
  background-color: var(--color-red);
  clip-path: polygon(0 100%, 100% 0, 100% 100%); 
}

@media (max-width: 768px) {
  .hero__inner { 
    margin-left: 0; 
    margin-inline: var(--space-sm); 
    padding-top: 40px; 
    transform: none; 
  }

  /*
   * Oklar hero'nun alt kısmında, ama artık ortada kümelenmiş değil —
   * biri sol-alt köşede, diğeri sağ-alt köşede, kendi tarafında.
   */
  .hero-arrow {
    top: auto;
    bottom: var(--space-md);
    transform: none;
    width: 42px;
    height: 42px;
  }

  .hero-arrow--prev {
    left: var(--space-sm);
  }

  .hero-arrow--next {
    right: var(--space-sm);
    left: auto;
  }
}

/* ==========================================================================
   5. Ana Sayfa — Why Arkem Esters
   ========================================================================== */

.section-title {
  margin-bottom: var(--space-md);
}

/* ==========================================================================
   6. Site Header, Mobil Hamburger Menü & Glassmorphism Yapısı (İnce & Zarif)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.35s ease-in-out, border-color 0.35s ease-in-out, box-shadow 0.35s ease-in-out, backdrop-filter 0.35s ease-in-out;
}

body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

[id] {
  scroll-margin-top: 100px;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-sm) 0;
  padding-block: 0.8rem; /* Küçültülen logoyla orantı için biraz daha sıkılaştırıldı */
  transition: padding-block 0.35s ease-in-out;
  /* .container'la aynı div'de kullanıldığı için (bkz. header.php) —
     max-width'i bilerek kaldırıyoruz, arka plan tam genişlik oluyor.
     Ama LOGO, 1200px'lik .container hâlâ aktifmiş gibi (o container'ın
     sol kenarının düşeceği noktada) duruyor — sağ taraf (arama/giriş/
     dil) ise gerçek kenara yaslı kalıyor (margin-left:auto ile, bkz.
     .site-header__actions). max() ile dar ekranlarda (100vw < 1200px)
     negatif/kırık değere düşmesi engelleniyor. Kullanıcı isteğiyle
     eklendi. */
  max-width: none;
  padding-left: max(var(--space-sm), calc((100vw - var(--container-max)) / 2 + var(--space-sm)));
  padding-right: var(--space-md);
}

.site-header__topbar-inner {
  max-width: none;
  padding-right: var(--space-md);
}

/* Logo ve sağ blok (arama+giriş) eşit genişlikte "kanat" oluyor, menü
   böylece kalan alanın tam ortasında duruyor — sadece space-between'e
   güvenmek, logo ile sağ blok farklı genişlikte olduğu için menüyü
   gerçek merkeze değil, "kalan boşluğun ortasına" koyuyordu. */
.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto; /* nav'ın toplam genişliği ne olursa olsun, sağ blok her zaman gerçek sağ kenara yaslı kalır */
}

.primary-navigation {
  /* Nav artık ortalanmıyor — logo'nun hemen sağında, nav içindeki
     madde aralığıyla (ul'deki gap: 2.75rem) BİREBİR AYNI boşlukla
     duruyor. Böylece Logo↔Kurumsal mesafesi ile Kurumsal↔Ürünler
     mesafesi eşit oluyor. Sağ blok (.site-header__actions) kendi
     margin-left:auto'suyla gerçek sağ kenara yaslı kalıyor, nav'ın
     genişliğinden etkilenmiyor. Kullanıcı isteğiyle eklendi. */
  margin-left: 2.75rem;
}

.custom-svg-logo {
  width: 100%;
  max-width: 118px; /* Header bar ile orantı için hafifçe büyütüldü */
  height: auto;
  transition: max-width 0.35s ease-in-out;
}

.site-logo {
  display: inline-block;
}

.site-logo .logo-white,
.site-logo .logo-dark {
  display: block;
}

.site-logo .logo-dark {
  display: none;
}

.site-header.is-scrolled .site-logo .logo-white {
  display: none;
}

.site-header.is-scrolled .site-logo .logo-dark {
  display: block;
}

/* --- Mobil Menü Butonu (Hamburger) --- */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0.5rem;
  margin-left: 0.6rem;
  padding-left: 0.9rem;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 26px;
  z-index: 100;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

.site-header.is-scrolled .hamburger-line {
  background-color: var(--color-black);
}

/*
 * Hamburger artık X'e dönüşmüyor — panelin kendi içinde ayrı, belirgin
 * bir kapatma butonu (.mobile-menu-close) olduğu için ikisi birden
 * görününce iki çarpı oluyordu. Hamburger her zaman 3 çizgi kalır.
 */

/*
 * Panel açıkken hamburger'ın kendisi tamamen gizlenir — z-index:100
 * olduğu için panelin üzerine binip görünmeye devam ediyordu, geriye
 * sadece panelin kendi X kapatma butonu kalmalı.
 */
.mobile-menu-toggle.is-active {
  visibility: hidden;
}

/* --- Navigasyon Stilleri --- */
.primary-navigation {
  display: flex;
  justify-content: center;
}

.primary-navigation ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.75rem; /* Operasyon kaldırıldığı için başlıklar arası boşluk daha da açıldı */
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-navigation > ul > li > a {
  position: relative;
  padding-bottom: 0.3rem;
}

.primary-navigation > ul > li > a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px; /* Metnin hemen altı değil, header'ın gerçek bittiği nokta — dropdown'ın başladığı yerle aynı hizada */
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.primary-navigation > ul > li > a:hover::before,
.primary-navigation > ul > li:focus-within > a::before {
  transform: scaleX(1);
}

.primary-navigation a {
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.95rem; /* Boyut optimize edildi */
  letter-spacing: 0.01em;
  transition: color 0.35s ease-in-out;
}

.primary-navigation a:hover,
.primary-navigation a:focus-visible {
  color: var(--color-primary-hover);
}

.primary-navigation li {
  position: relative;
}

.primary-navigation .sub-menu {
  display: block;
  position: absolute;
  top: calc(100% + 22px); /* Header'ın gerçek alt kenarına kadar boşluk bırakır, kesişmez */
  left: 0;
  z-index: 20;
  min-width: 240px;
  margin: 0;
  padding: 0.8rem 0;
  list-style: none;
  background-color: rgba(20, 18, 18, 0.82); /* Header'ın kendi cam efektine daha yakın ton */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-navigation .sub-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  border-left: 2px solid transparent;
  font-weight: 500;
  white-space: nowrap;
  font-size: 0.9rem;
  color: var(--color-white) !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, padding-left 0.2s ease;
}

.primary-navigation .sub-menu a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-left-color: var(--color-primary);
  padding-left: 1.5rem;
}

.primary-navigation .menu-item-has-children > a::after {
  content: "";
  display: none; /* Masaüstünde kaldırıldı — sadece mobil panelde tekrar açılır */
  width: 0.4em;
  height: 0.4em;
  margin-left: 0.4em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.25s ease;
}

/*
 * Masaüstünde bu buton hiç görünmemeli — sadece mobil panelin içinde
 * kullanılıyor. Bu kural olmadan tarayıcı varsayılanıyla (düz inline
 * buton) menünün başında küçük bir çarpı olarak beliriyordu.
 */
.mobile-menu-close {
  display: none;
}

@media (max-width: 1650px) {
  .mobile-menu-toggle {
    display: flex;
    order: 3;
  }

  .site-header__actions {
    order: 2;
    margin-left: auto;
  }

  .site-branding {
    order: 1;
  }

  /*
   * Tam ekran ortalı kutu yerine — sağdan kayan, dar bir panel.
   * Arkasında sayfa hafif kararmış şekilde görünür kalır (bkz.
   * .mobile-menu-backdrop) — daha "app benzeri", daha az jenerik.
   */
  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 89;
  }

  .mobile-menu-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }

  .primary-navigation {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(85vw, 360px);
    height: 100vh;
    background-color: var(--color-black);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 5rem var(--space-md) var(--space-md);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 90;
  }

  .primary-navigation.is-open {
    transform: translateX(0);
  }

  .mobile-menu-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1.5px solid var(--color-primary);
    border-radius: 50%;
    color: var(--color-primary);
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
  }

  .mobile-menu-close:active {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(0.92);
  }

  .mobile-menu-close svg {
    width: 18px;
    height: 18px;
  }

  .primary-navigation ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.35rem;
    width: 100%;
  }

  .primary-navigation a {
    font-size: 1.1rem;
  }

  .primary-navigation .sub-menu {
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.6rem 0 0 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    margin-left: 0.2rem;
  }

  .primary-navigation .menu-item-has-children.is-expanded > .sub-menu {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .primary-navigation .menu-item-has-children > a::after {
    display: inline-block; /* Mobil panelde tekrar görünür — işlevsel açma/kapama göstergesi */
  }

  .primary-navigation .menu-item-has-children.is-expanded > a::after {
    transform: translateY(2px) rotate(225deg);
  }

  .primary-navigation .sub-menu a {
    font-size: 1rem;
    color: var(--color-gray-300) !important;
  }
}

/* Mobil menü açıkken arka plandaki sayfa kaymasın — menü içi kendi
   kaydırmasını yapar, altındaki sayfa sabit kalır. */
body.menu-is-open {
  overflow: hidden;
}

/*
 * Sayfa kaydırıldıktan SONRA mobil menü açılırsa, ".is-scrolled" siyah
 * yazı rengi kuralları (masaüstü, açık zeminli header için) mobil tam
 * ekran menünün koyu zeminiyle çakışıp yazıyı görünmez yapıyordu.
 * Menü açıkken bu duruma bakılmaksızın yazı her zaman beyaz kalır.
 */
.site-header.is-scrolled .primary-navigation.is-open > ul > li > a,
.site-header.is-scrolled .primary-navigation.is-open .sub-menu a {
  color: var(--color-white) !important;
}

/*
 * Masaüstü açılır menüsü için "kaydırıldı" durumunda alt menüye açık
 * zemin veren kural, mobil tam ekran menüsünde de devreye giriyordu —
 * yazıyı beyaza çevirdiğimiz için bu sefer beyaz yazı, açık zemin
 * üzerinde görünmez oluyordu. Menü açıkken zemin şeffaf kalır.
 */
.site-header.is-scrolled .primary-navigation.is-open .sub-menu {
  background-color: transparent;
  border: none;
}

/* ==========================================================================
   7. Dil Seçici & Üst İnce Şerit (Daha İnce ve Şık)
   ========================================================================== */

.site-header__topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(0, 0, 0, 0.15); /* Hafif tonlama ile ana header'dan ayrıştırıldı */
  transition: border-color 0.35s ease-in-out, background-color 0.35s ease-in-out;
}

.site-header__topbar-inner {
  display: flex;
  justify-content: flex-end;
  padding-block: 0.25rem; /* İnceltildi */
}

.site-header.is-scrolled .site-header__topbar {
  border-bottom-color: rgba(0, 0, 0, 0.06);
  background-color: rgba(255, 255, 255, 0.6);
}

.site-language-switcher-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.globe-icon {
  display: flex;
  width: 1rem;
  height: 1rem;
  color: var(--color-white);
  transition: color 0.35s ease-in-out;
}

.globe-icon svg {
  width: 100%;
  height: 100%;
}

.site-header.is-scrolled .globe-icon {
  color: var(--color-black);
}

.site-header__topbar .lang-switcher ul,
.site-header__topbar .language-switcher,
.site-header__topbar .wpml-ls-legacy-dropdown, 
.site-header__topbar .swls-switcher {
  display: inline-flex !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.8rem;
  font-weight: 700;
}

.site-header__topbar .lang-switcher li:not(:last-child)::after,
.site-header__topbar .language-switcher li + li::before,
.site-header__topbar .wpml-ls-item + .wpml-ls-item::before {
  display: none !important;
}

.site-header__topbar .lang-switcher li:has(.is-current),
.site-header__topbar .lang-switcher__link.is-current,
.site-header__topbar .language-switcher .active,
.site-header__topbar .wpml-ls-current-language,
.site-header__topbar [aria-current="page"] {
  display: none !important;
}

.lang-switcher__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--color-white);
  letter-spacing: 0.02em;
  transition: color 0.35s ease-in-out;
}

.lang-switcher__link:hover {
  color: var(--color-primary);
}

.site-header.is-scrolled .lang-switcher__link {
  color: var(--color-gray-600);
}

.customer-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-left: 0.6rem;
  margin-left: 0.6rem;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color 0.35s ease-in-out, border-color 0.35s ease-in-out;
}

.customer-login-btn__icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  fill: currentColor;
  transition: transform 0.25s ease;
}

.customer-login-btn:hover .customer-login-btn__icon {
  transform: scale(1.12);
}

.customer-login-btn:hover,
.customer-login-btn:focus-visible {
  color: var(--color-primary);
}

.site-header.is-scrolled .customer-login-btn {
  border-left-color: var(--color-border);
  color: var(--color-black);
}

@media (max-width: 768px) {
  .customer-login-btn span {
    display: none;
  }
  .customer-login-btn {
    padding-left: 0;
    margin-left: 0;
    border-left: none; /* Logo ile arasındaki eski çizgi mobilde kaldırıldı */
  }

  /* Giriş ikonu artık hamburger'ın hemen solunda (bkz. order kuralları,
     1300px medya sorgusu) — aralarına da aynı stilde bir ayırıcı çizgi. */
  .mobile-menu-toggle {
    padding-left: var(--space-xs);
    margin-left: var(--space-xs);
    border-left: 1px solid rgba(255, 255, 255, 0.25);
  }

  .site-header.is-scrolled .mobile-menu-toggle {
    border-left-color: var(--color-border);
  }
}

/* ==========================================================================
   *** Kaydırılmış Header (Sticky White Glass) Durumu ***
   ========================================================================== */
.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.site-header.is-scrolled .site-header__inner {
  padding-block: 0.6rem;
}

.site-header.is-scrolled .custom-svg-logo {
  max-width: 103px;
}

.site-header.is-scrolled .primary-navigation > ul > li > a {
  color: var(--color-black);
}

.site-header.is-scrolled .primary-navigation > ul > li > a:hover {
  color: var(--color-primary);
}

.site-header.is-scrolled .primary-navigation .sub-menu {
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.site-header.is-scrolled .primary-navigation .sub-menu a {
  color: var(--color-black) !important;
}

.site-header.is-scrolled .primary-navigation .sub-menu a:hover {
  background-color: rgba(0, 0, 0, 0.04);
  color: var(--color-primary) !important;
}

/* ==========================================================================
   8. İç Sayfa Başlığı
   ========================================================================== */

.page-hero {
  position: relative;
  background-color: var(--color-black);
  color: var(--color-white);
  padding-top: calc(var(--space-lg) + 140px);
  padding-bottom: var(--space-lg);
  min-height: 35vh;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 18, 18, 0.55) 0%, rgba(18, 18, 18, 0.15) 60%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero__title {
  color: var(--color-white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-xs);
}

.page-hero__intro {
  max-width: 62ch;
  opacity: 0.85;
  margin: 0;
}

/* ==========================================================================
   9. Ürünler — Filtreler & Kart Izgarası
   ========================================================================== */

.products-grid-section {
  padding-block: var(--space-lg);
}

.product-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
}

.product-card[hidden] {
  display: none;
}

.product-card__molecule {
  display: block;
  width: 100%;
  max-width: 180px;
  aspect-ratio: 2 / 1; /* İki molekül görselinin oranı farklı (260:140 ve 330:140) — sabit çerçeve + object-fit ile ikisi de bozulmadan sığıyor, yüklenirken CLS (içerik zıplaması) da oluşmuyor */
  object-fit: contain;
  margin: var(--space-xs) auto var(--space-sm);
}

.product-card__grades {
  display: flex;
  flex-direction: column;
}

.grade-row {
  padding-block: var(--space-sm);
  border-top: 1px solid var(--color-border);
}

.grade-row:first-child {
  padding-top: 0;
  border-top: none;
}

.grade-row[hidden] {
  display: none;
}

.grade-row__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  background-color: var(--color-red-tint);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: var(--space-xs);
}

.grade-row__description {
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.grade-row__applications {
  list-style: none;
  margin: 0 0 var(--space-sm);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.grade-row__applications li {
  font-size: 0.78rem;
  color: var(--color-gray-600);
  background-color: var(--color-gray-100);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

.grade-row__actions {
  display: flex;
  gap: 0.5rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   10. Kapasite & Lojistik
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--space-sm);
}

.service-card {
  text-align: center;
  padding: var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
  border-color: var(--color-primary);
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto var(--space-xs);
  padding: 0.6rem;
  background-color: var(--color-red-tint);
  border-radius: 50%;
  color: var(--color-primary);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__label {
  font-weight: 600;
  font-size: 0.9rem;
}

/* ==========================================================================
   11. Entegre Grup Altyapısı
   ========================================================================== */

.infra-flow {
  display: flex;
  align-items: stretch;
  gap: var(--space-sm);
}

.infra-node {
  flex: 1 1 260px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.infra-node::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--color-primary);
}

.infra-node:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.infra-node__role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  background-color: var(--color-red-tint);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: var(--space-xs);
}

.infra-node__title {
  margin-bottom: var(--space-xs);
}

.infra-node__stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.infra-node__stats li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.infra-node__stats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--color-red);
  border-radius: 2px;
}

.infra-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.5rem;
  color: var(--color-gray-300);
}

.infra-connector svg {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .infra-flow {
    flex-direction: column;
  }
  /*
   * infra-flow artık mobilde kaydırmalı bir slider (bkz.
   * .mobile-slider-grid) — aralarındaki oklar bu bağlamda anlamsız
   * (her kart zaten tek tek kaydırılıyor), o yüzden mobilde tamamen
   * gizleniyor. Sorunlu büyük/döndürülmüş halleri de bu şekilde
   * ortadan kalkmış oluyor.
   */
  .infra-connector {
    display: none;
  }
}

/* ==========================================================================
   12. Genel Bölüm Yardımcıları & Hakkımızda
   ========================================================================== */

.section {
  padding-block: var(--space-lg);
}

.section--muted {
  background-color: var(--color-off-white);
}

.section-intro {
  max-width: 68ch;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.section + .section,
.section--muted + .section {
  padding-top: 0;
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.page-hero__eyebrow {
  color: var(--color-red-accent);
}

.about-history {
  max-width: 68ch;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.company-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-sm);
}

.company-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
}

.company-card__icon {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.company-card__icon svg {
  width: 100%;
  height: 100%;
}

.company-card__founded {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  background-color: var(--color-red-tint);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: var(--space-xs);
}

.company-card__name {
  margin-bottom: var(--space-xs);
}

.company-card__description {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md) var(--space-sm);
}

.value-card__icon {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.value-card__icon svg {
  width: 100%;
  height: 100%;
}

.value-card__title {
  margin-bottom: var(--space-2xs);
}

.value-card__description {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   13. Site Footer
   ========================================================================== */

.site-footer {
  background-color: var(--color-black);
  color: var(--color-white);
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-sm);
  padding-block: var(--space-xl) var(--space-lg);
}

.footer-columns .footer-column {
  flex: 1 1 160px;
}

.footer-column__title {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

a.footer-column__title:hover,
a.footer-column__title:focus-visible {
  color: var(--color-red-accent);
  text-decoration: underline;
}

.footer-column__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-column__links a {
  color: var(--color-gray-300);
  font-weight: 400;
}

.footer-column__links a:hover,
.footer-column__links a:focus-visible {
  color: var(--color-white);
}

.footer-column--brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  flex: 0 0 auto;
  margin-left: auto;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--color-white);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.footer-social__link svg {
  width: 1.2rem;
  height: 1.2rem;
}

.footer-social__link:hover,
.footer-social__link:focus-visible {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(235, 32, 39, 0.25);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(0, 0, 0, 0.15); /* Header'daki dil seçici şeridiyle aynı ton */
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-md);
  padding-block: var(--space-sm);
  font-size: 0.85rem;
  color: var(--color-gray-300);
}

.site-footer__copyright {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.site-footer__copyright-logo {
  height: 16px;
  width: auto;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* İkinci ve sonraki her link, kendinden önceki linkten ince bir
   çizgiyle ayrılır — kaç link olursa olsun otomatik çalışır. */
.footer-legal a + a {
  position: relative;
  padding-left: var(--space-sm);
}

.footer-legal a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.25);
}

.footer-legal a {
  color: var(--color-gray-300);
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--color-white);
  text-decoration: underline;
}

/* ==========================================================================
   14. Zaman Çizelgesi & Animasyonlar
   ========================================================================== */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-on-scroll--pop {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-on-scroll--pop.is-visible {
  opacity: 1;
  transform: scale(1);
}

.bond-divider {
  display: flex;
  justify-content: center;
  width: 100%;
  color: var(--color-border);
  padding-block: var(--space-md);
}

.bond-divider svg {
  width: 140px;
  height: auto;
}

/* ==========================================================================
   15. Ana Sayfa — Kapasite Şeridi
   ========================================================================== */

.home-capacity-band {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background-color: var(--color-white);
  border-radius: 24px 24px 0 0;
  margin-top: -24px;
  padding-block: var(--space-xl) var(--space-lg);
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.25);
}

.home-capacity-band__title {
  text-align: center;
  margin-bottom: var(--space-md);
}

.home-capacity-band__title--secondary {
  margin-top: 0;
}

.home-capacity-band__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  text-align: center;
  margin-bottom: var(--space-md);
}

.home-capacity-band__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-md) var(--space-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.home-capacity-band__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  border-color: var(--color-primary);
}

.home-capacity-band__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: var(--space-xs);
  padding: 0.6rem;
  color: var(--color-primary);
  background-color: var(--color-red-tint);
  border-radius: 50%;
}

.home-capacity-band__icon svg {
  width: 100%;
  height: 100%;
}

.home-capacity-band__value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  color: var(--color-primary);
  line-height: 1;
}

.home-capacity-band__unit {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.3rem;
}

.home-capacity-band__label {
  font-weight: 600;
  margin-top: 0.4rem;
}

.home-capacity-band__divider {
  width: 100%;
  max-width: 720px;
  height: 2px;
  background-color: var(--color-primary);
  opacity: 0.25;
  margin: var(--space-lg) auto;
}
/* ==========================================================================
   16. Dil Seçici & Üst İnce Şerit (Scroll Edildiğinde Gizlenen Yapı)
   ========================================================================== */

.site-header__topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(0, 0, 0, 0.15);
  max-height: 50px;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: all 0.35s ease-in-out;
}

/* Sayfa aşağı kaydırıldığında (is-scrolled aktifken) üst barı tamamen kapatıyoruz */
.site-header.is-scrolled .site-header__topbar {
  max-height: 0;
  padding-block: 0;
  border-bottom-width: 0;
  opacity: 0;
  visibility: hidden;
}
/* ==========================================================================
   22. Mobil Bütünleştirme — metin ortalama, header taşma güvenliği,
   hero boşluk payı (kullanıcı geri bildirimiyle eklendi)
   ========================================================================== */

@media (max-width: 600px) {
  /* Genel kural: mobilde tüm metin içerikleri ortalanır. */
  .section,
  .section .container > *,
  .page-hero,
  .why-us,
  .footer-columns,
  .footer-column,
  .footer-bottom__inner,
  .footer-legal,
  .services-grid,
  .value-cards,
  .company-cards,
  .timeline,
  .infra-flow {
    text-align: center;
  }

  /*
   * "Neden Arkem Esters" listesi, her maddenin solunda kırmızı bir
   * nokta/madde imiyle çalışıyor (why-us__item::before, mutlak
   * konumlu, sola sabit). Metni ortalarsak nokta ile metin birbirinden
   * kopuk, anlamsız duruyor — bu yüzden bilerek genel kuralın dışında,
   * sola yaslı kalıyor.
   */
  .why-us__grid,
  .why-us__item {
    text-align: left;
  }

  /* .value-card__icon ve .company-card__icon sabit genişlikte block
     ögeler — text-align:center bunları etkilemez, ayrıca ortalanmaları
     gerekiyor. */
  .value-card__icon,
  .company-card__icon {
    margin-inline: auto;
  }

  .footer-column,
  .footer-column--brand,
  .service-card,
  .value-card,
  .company-card,
  .infra-node {
    align-items: center;
  }

  .footer-columns {
    justify-content: center;
    text-align: center;
  }

  .footer-column__links {
    align-items: center;
  }

  .footer-column--brand {
    margin-left: 0;
    margin-inline: auto;
  }

  .footer-bottom__inner {
    flex-direction: column;
    justify-content: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .site-social,
  .footer-social {
    justify-content: center;
  }

  /* Header: dar ekranlarda satır kırılmasını tamamen engellemek için
     aralıkları sıkılaştırıyoruz — taşma/aşağı kayma riskini sıfırlar. */
  .site-header__inner {
    flex-wrap: nowrap;
    gap: var(--space-xs);
    padding-block: 0.6rem;
  }

  .site-header__topbar-inner {
    justify-content: center;
  }

  .customer-login-btn {
    padding-left: 0.4rem;
    margin-left: 0.4rem;
  }

  /* Sayfa başlığı (page-hero), sabit header'ın altında kalmasın diye
     normalden daha geniş bir güvenlik payıyla başlıyor — mobilde
     header'ın gerçek yüksekliği cihazdan cihaza küçük farklar
     gösterebiliyor, bu pay o farkı yutar. */
  .page-hero {
    padding-top: calc(var(--space-lg) + 180px);
  }
}

/* ==========================================================================
   23. İletişim Sayfası — Ofis/Konum Kartları ve Form Yeri
   ========================================================================== */

.contact-form-wrap {
  max-width: 720px;
}

/*
 * WPForms varsayılan olarak kendi (genelde yeşil) temasıyla geliyor —
 * bu kurallar sadece bizim form sarmalayıcımızın İÇİNDE geçerli
 * olduğu için sitedeki başka bir WPForms örneğini etkilemez.
 * Kullanılan sınıf adları (.wpforms-form, .wpforms-submit vb.)
 * WPForms'un standart, sürümler arası kararlı çıktı sınıfları.
 */
.contact-form-wrap .wpforms-form input[type="text"],
.contact-form-wrap .wpforms-form input[type="email"],
.contact-form-wrap .wpforms-form input[type="tel"],
.contact-form-wrap .wpforms-form input[type="url"],
.contact-form-wrap .wpforms-form select,
.contact-form-wrap .wpforms-form textarea {
  font-family: var(--font-body) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.85rem 1rem !important;
  background-color: var(--color-white) !important;
  color: var(--color-black) !important;
}

/*
 * "Kategori Seç" gibi seçilmemiş/placeholder durumdaki dropdown
 * metni WPForms'ta varsayılan olarak soluk gri geliyordu, okunmuyordu.
 */
.contact-form-wrap .wpforms-form select option {
  color: var(--color-black) !important;
}

/*
 * select'in metni yarım kesiliyordu — WPForms'un kendi CSS'i select'e
 * sabit bir yükseklik veriyor, benim genel padding kuralımla çakışıp
 * metni dikey olarak kırpıyordu. select'e özel, daha güvenli değerler.
 * Ok işareti de marka kırmızısına boyandı (tarayıcının kendi çizdiği
 * açılan liste popup'ı CSS ile boyanamaz, bu bir tarayıcı kısıtı).
 */
.contact-form-wrap .wpforms-form select {
  height: auto !important;
  line-height: 1.4 !important;
  padding-block: 0.85rem !important;
  padding-right: 2.5rem !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EB2027' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.85rem center !important;
  background-size: 1.1rem !important;
}

/*
 * WPForms'un "Sınırlı Uzunluk" (Limit Length) karakter sayacı
 * ("11 maksimum karakterde 0 karakter") — istenmediği için gizlendi.
 * Karakter sınırının kendisi (11) hâlâ WPForms tarafında uygulanıyor,
 * sadece görünen sayaç metni kaldırıldı.
 */
.contact-form-wrap .wpforms-field-limit-text,
.contact-form-wrap .wpforms-char-counter {
  display: none !important;
}

.contact-form-wrap .wpforms-form input:focus,
.contact-form-wrap .wpforms-form select:focus,
.contact-form-wrap .wpforms-form textarea:focus {
  border-color: var(--color-primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px var(--color-red-tint) !important;
}

.contact-form-wrap .wpforms-field-label {
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  color: var(--color-black) !important;
}

.contact-form-wrap .wpforms-submit-container {
  text-align: right !important;
}

/*
 * Dosya yükleme (CV) butonu — WPForms'un kendi "Choose File" butonunu
 * diğer form ögeleriyle tutarlı hale getiriyor. Tam sınıf adı WPForms
 * sürümüne göre değişebilir; buton stillenmezse ekran görüntüsü
 * gönderirsen doğru sınıfı bulup düzeltirim.
 */
.contact-form-wrap .wpforms-file-upload-simple .wpforms-uploader,
.contact-form-wrap .wpforms-field-file-upload label.wpforms-uploader,
.contact-form-wrap .wpforms-file-upload-simple button {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: var(--color-white) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}

.contact-form-wrap .wpforms-submit-container button,
.contact-form-wrap .wpforms-submit-container input,
.contact-form-wrap .wpforms-submit {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: var(--color-white) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  padding: 0.85rem 1.9rem !important;
  transition: background-color 0.2s ease !important;
}

.contact-form-wrap .wpforms-submit-container button:hover,
.contact-form-wrap .wpforms-submit-container input:hover,
.contact-form-wrap .wpforms-submit:hover {
  background-color: var(--color-red-dark) !important;
}

.contact-form-pending {
  padding: var(--space-md);
  background-color: var(--color-off-white);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
}

.office-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-md);
}

.office-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.office-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.office-card__map {
  position: relative;
  width: 100%;
  padding-top: 56%;
  background-color: var(--color-off-white);
}

.office-card__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.office-card__body {
  padding: var(--space-sm) var(--space-md) var(--space-md);
}

.office-card__icon {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.office-card__icon svg {
  width: 100%;
  height: 100%;
}

.office-card__role {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

.office-card__name {
  margin-bottom: 0.4rem;
}

.office-card__address {
  color: var(--color-text-muted);
  margin-bottom: 0.6rem;
}

.office-card__detail {
  font-size: 0.9rem;
  margin: 0.2rem 0;
}

.office-card__detail a {
  color: var(--color-text);
}

.office-card__detail a:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   24. Haberler — Liste Kartları ve Tekil Yazı Görünümü
   ========================================================================== */

.news-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.news-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.news-card__image-link {
  display: block;
}

.news-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.news-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-off-white);
  color: var(--color-border);
}

.news-card__image--placeholder svg {
  width: 2.5rem;
  height: 2.5rem;
}

.news-card__body {
  padding: var(--space-sm);
}

.news-card__date {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
}

.news-card__title {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.news-card__title a {
  color: var(--color-black);
}

.news-card__title a:hover {
  color: var(--color-primary);
}

.news-card__excerpt {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.single-news__layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-lg);
  max-width: 1100px;
  margin-inline: auto;
}

.single-news__image {
  flex: 1 1 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.single-news__image img {
  display: block;
  width: 100%;
  height: auto;
}

.single-news__content {
  flex: 1 1 420px;
  min-width: 0;
  font-size: 1.05rem;
  line-height: 1.8;
}

.single-news__content p {
  margin-bottom: var(--space-sm);
}

@media (max-width: 760px) {
  .single-news__layout {
    flex-direction: column;
  }
}

/* ==========================================================================
   25. İletişim Sayfası — İçerik Ortalama
   Sadece bu sayfaya özel: WordPress'in otomatik body class'ı
   (page-template-template-contact) ile kapsandı, diğer sayfaları
   etkilemez.
   ========================================================================== */

.page-template-template-contact .section .container {
  text-align: center;
}

/*
 * .section-intro'nun kendi max-width'i var ama margin-inline:auto
 * yoktu — bu yüzden kutunun kendisi sola yapışık kalıp içindeki metin
 * boşuna ortalanmaya çalışıyordu. Sadece bu sayfada düzeltiliyor.
 */
.page-template-template-contact .section-intro {
  margin-inline: auto;
}

/*
 * Form ve adres kartları kendi içinde SOLA yaslı kalmalı — sadece
 * bloklar sayfada ortalanıyor, form etiketleri/kart metinleri ortalı
 * görünse garip dururdu.
 */
.page-template-template-contact .contact-form-wrap,
.page-template-template-contact .office-cards {
  text-align: left;
  margin-inline: auto;
}

.page-template-template-contact .office-cards {
  max-width: 900px;
}

/* ==========================================================================
   26. Hakkımızda — Banner İllüstrasyonu ve Misyon/Vizyon
   ========================================================================== */

.page-hero--story {
  background-image: url('assets/img/hero-story-illustration.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.mission-vision-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mission-vision-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.mission-vision-card__text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--color-black);
  margin: 0;
}

/* ==========================================================================
   27. Mobil Dokunmatik Slider (Neden Arkem Esters & Haberler)
   ========================================================================== */

.mobile-slider-wrapper {
  position: relative;
  width: 100%;
}

.mobile-slider-nav {
  display: none;
}

@media (max-width: 768px) {
  /* 2 Satır X Sütun Yatay Kaydırmalı Grid */
  .mobile-slider-grid {
    display: grid !important;
    grid-template-columns: none !important;
    grid-template-rows: repeat(2, auto) !important; /* 2 Satır */
    grid-auto-columns: 82vw !important; /* Ekranda tek sütunun kaplayacağı genişlik */
    grid-auto-flow: column !important; /* Dikey dizilimi 2 satırda tutup sağa doğru akıt */
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    gap: var(--space-sm) !important;
    padding-bottom: var(--space-xs);
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .mobile-slider-grid > * {
    scroll-snap-align: center; /* Sütunu ekranın tam ortasına kilitler */
  }

  /* Scrollbar Stili */
  .mobile-slider-grid::-webkit-scrollbar {
    height: 4px;
  }
  .mobile-slider-grid::-webkit-scrollbar-track {
    background: var(--color-gray-100);
    border-radius: 999px;
  }
  .mobile-slider-grid::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 999px;
  }

  /* Mobil Slider Ok Butonları */
  .mobile-slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
  }

  .mobile-slider-nav button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
  }

  .mobile-slider-nav button:active:not(:disabled) {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(0.92);
  }

  /* Boşluğa kaymayı önleyen pasif durum */
  .mobile-slider-nav button:disabled {
    opacity: 0.25;
    border-color: var(--color-border);
    color: var(--color-border);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
  }
}/* ==========================================================================
   28. Ana Sayfa Masaüstü Grid Zorlamaları (3'lü Yan Yana & Ortalama)
   ========================================================================== */
@media (min-width: 769px) {
  /* Haberlerin kesin olarak yan yana 3 sütun durmasını sağlar (alta düşmesini engeller) */
  .home-news-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  
  /* Neden Arkem Esters bölümünü 3 sütun yapıp sayfaya ortalar */
  .home-why-us-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    justify-content: center !important;
  }
  
  /* Neden Arkem Esters kartlarının içindeki ikon ve yazıları merkeze (ortaya) hizalar */
  .home-why-us-grid .company-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .home-why-us-grid .company-card__icon {
    margin-left: auto;
    margin-right: auto;
  }
}@media (max-width: 768px) {
  /* Haberler slider'ını tek satır (yan yana) olmaya zorlar */
  .mobile-slider-grid.single-row {
    grid-template-rows: auto !important;
  }
}
/* ==========================================================================
   27. Hakkımızda — Zigzag Zaman Şeması ve Varış Kartı
   ========================================================================== */

.timeline-zigzag {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl, 4rem);
  padding-block: var(--space-sm);
}

.timeline-zigzag::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background-image: linear-gradient(to bottom, var(--color-border) 0 10px, transparent 10px 20px);
  background-size: 1px 20px;
  transform: translateX(-50%);
}

.timeline-zigzag__item {
  position: relative;
  width: calc(50% - 2rem);
}

.timeline-zigzag__item::before {
  content: "";
  position: absolute;
  top: 1.75rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-primary);
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 1px var(--color-border);
  z-index: 1;
}

.timeline-zigzag__item--left {
  align-self: flex-start;
}

.timeline-zigzag__item--left::before {
  right: -2.5rem;
}

.timeline-zigzag__item--right {
  align-self: flex-end;
}

.timeline-zigzag__item--right::before {
  left: -2.5rem;
}

.timeline-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.timeline-card__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: var(--color-off-white);
}

.timeline-card__photo img:not(.timeline-card__logo img) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-card__logo {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 2px solid var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.timeline-card__logo img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.timeline-card__body {
  padding: var(--space-sm);
}

.timeline-card__year {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
}

.timeline-card__label {
  margin: 0;
  color: var(--color-text-muted);
}

/*
 * VARIŞ KARTI — hikayenin doruk noktası. Zigzag'ın küçük kartlarından
 * bilerek farklı: tam genişlik, koyu zemin, büyük logo — "her şey
 * buraya vardı" hissi. Bu site zaten Arkem Esters'in kendisi olduğu
 * için özel bir ağırlık hak ediyor.
 */
.timeline-destination {
  margin-top: var(--space-lg);
  padding: var(--space-lg) var(--space-md);
  background-color: var(--color-black);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.timeline-destination__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background-color: var(--color-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
}

.timeline-destination__logo img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}

.timeline-destination__year {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
}

.timeline-destination__label {
  margin: 0;
  color: var(--color-gray-300);
  font-size: 1.1rem;
  max-width: 32ch;
}

@media (max-width: 720px) {
  .timeline-zigzag::before {
    left: 0.5rem;
  }

  .timeline-zigzag__item,
  .timeline-zigzag__item--left,
  .timeline-zigzag__item--right {
    width: 100%;
    align-self: stretch;
    padding-left: 2.5rem;
  }

  .timeline-zigzag__item--left::before,
  .timeline-zigzag__item--right::before {
    left: 0.5rem;
    right: auto;
    transform: translateX(-50%);
  }
}


/* ==========================================================================
   28. Değerlerimiz — Banner İllüstrasyonu ve Editoryal Kart Tasarımı
   ========================================================================== */

.page-hero--values {
  background-image: url('assets/img/hero-values-illustration.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/*
 * .value-card'ın kendi kutu stili hiç yoktu (icon/title/description
 * sadece grid hücresinde çıplak duruyordu) — .company-card ile aynı
 * dile kavuşturuluyor, üstüne editoryal büyük sıra numarası ekleniyor.
 */
.value-card {
  position: relative;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-sm) var(--space-sm);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.value-card:hover .value-card__number {
  color: var(--color-red-tint);
  transform: scale(1.05);
}

.value-card__number {
  position: absolute;
  top: -0.5rem;
  right: 0.75rem;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-off-white);
  line-height: 1;
  z-index: 0;
  transition: color 0.35s ease, transform 0.35s ease;
}

.value-card__icon,
.value-card__title,
.value-card__description {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   29. Grup Şirketleri — Banner, Fotoğraf ve Tıklanabilir Logo
   ========================================================================== */

.page-hero--companies {
  background-image: url('assets/img/hero-companies-illustration.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/*
 * .company-card'ın temel dolgusu tüm kartı sarıyordu — fotoğraflı
 * varyantta fotoğraf kenara kadar (edge-to-edge) gitmeli, dolgu sadece
 * alt gövdede olmalı.
 */
.company-card--photo {
  padding: 0;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.company-card--photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.company-card__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: var(--color-off-white);
}

.company-card__photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-card__logo {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background-color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.company-card__logo:hover {
  transform: scale(1.08);
}

.company-card__logo img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.company-card--photo .company-card__body {
  padding: var(--space-sm);
}

.company-card__link {
  display: inline-block;
  margin-top: var(--space-xs);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.9rem;
}

.company-card__link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   30. Etik Kurallar — Banner İllüstrasyonu
   ========================================================================== */

.page-hero--ethics {
  background-image: url('assets/img/hero-ethics-illustration.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ==========================================================================
   31. Ürün Sayfaları — Kimyasal Özellikler Paneli
   ========================================================================== */

.specs-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background-color: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-sm);
}

.specs-panel__item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: var(--space-sm);
  background-color: var(--color-white);
}

.specs-panel__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.specs-panel__value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-black);
}

.specs-panel__note {
  margin-top: var(--space-xs);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ==========================================================================
   32. Etil Asetat — Banner ve Bölünmüş (Molekül + Sınıflar) Düzen
   ========================================================================== */

.page-hero--ethyl-acetate {
  background-image: url('assets/img/hero-ethyl-acetate-illustration.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/*
 * Molekül görseli artık tek başına yüzmüyor — kendi adı/formülüyle
 * birlikte solda bir "showcase" paneli, sınıflar geniş ekranda sağda.
 * .product-card zaten flex-column; bu varyant onu geniş ekranda satıra
 * çeviriyor.
 */
.product-card--split {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-md);
}

.product-card__showcase {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-sm);
  background-color: var(--color-off-white);
  border-radius: var(--radius-md);
  position: sticky;
  top: 120px;
}

.product-card--split .product-card__molecule {
  margin: 0 auto var(--space-xs);
}

.product-card__showcase-caption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: var(--space-xs);
  border-top: 1px solid var(--color-border);
  width: 100%;
}

.product-card__showcase-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-black);
}

.product-card__showcase-formula {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.product-card--split .product-card__grades {
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 860px) {
  .product-card--split {
    flex-direction: column;
  }
  .product-card__showcase {
    flex: none;
    width: 100%;
    position: static;
  }
}

.page-hero--butyl-acetate {
  background-image: url('assets/img/hero-butyl-acetate-illustration.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ==========================================================================
   33. Çevre — Banner ve EBRD Rozeti
   ========================================================================== */

.page-hero--environment {
  background-image: url('assets/img/hero-environment-illustration.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/*
 * EBRD (Avrupa İmar ve Kalkınma Bankası) finansmanı, tanınmış bir
 * kurumdan geldiği için güçlü bir güvenilirlik kanıtı — küçük bir
 * rozetle öne çıkarılıyor.
 */
.value-card__badge {
  display: inline-block;
  margin-top: var(--space-xs);
  padding: 0.25rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  background-color: var(--color-red-tint);
  border-radius: var(--radius-sm);
}

.page-hero--ohs {
  background-image: url('assets/img/hero-ohs-illustration.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--news-illustration {
  background-image: url('assets/img/hero-news-illustration.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--contact-illustration {
  background-image: url('assets/img/hero-contact-illustration.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--kvkk {
  background-image: url('assets/img/hero-kvkk-illustration.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero--its {
  background-image: url('assets/img/hero-its-illustration.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ==========================================================================
   34. Footer — Tıklanabilir Marka Logosu, Alt Şerit Vurgusu
   ========================================================================== */

.footer-group-brand-svg {
  display: block;
  width: fit-content;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.footer-group-brand-svg:hover {
  opacity: 1;
}

.timeline-heading--centered {
  text-align: center;
  display: block;
}

/* ==========================================================================
   35. Header — Site Arama
   ========================================================================== */

.header-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  color: var(--color-white);
  cursor: pointer;
  transition: color 0.35s ease-in-out, transform 0.2s ease;
}

.header-search-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
}

.header-search-toggle:hover,
.header-search-toggle:focus-visible {
  color: var(--color-primary);
  transform: scale(1.08);
}

.site-header.is-scrolled .header-search-toggle {
  color: var(--color-black);
}

.header-search-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background-color: rgba(10, 9, 9, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.header-search-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.header-search-panel {
  position: fixed;
  top: 18vh;
  left: 50%;
  z-index: 9999;
  width: min(90vw, 640px);
  padding: var(--space-sm);
  background-color: rgba(28, 26, 26, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -12px) scale(0.97);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.header-search-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}

.header-search-form {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}

.header-search-form__input {
  flex: 1 1 auto;
  padding: 1rem 1.1rem;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  color: var(--color-white);
  font-size: 1.2rem;
  font-family: var(--font-heading);
}

.header-search-form__input::placeholder {
  color: var(--color-gray-300);
}

.header-search-form__input:focus {
  outline: none;
  border-bottom-color: var(--color-primary);
}

.header-search-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  background-color: var(--color-primary);
  border: none;
  border-radius: 50%;
  color: var(--color-white);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.header-search-form__submit svg {
  width: 1.1rem;
  height: 1.1rem;
}

.header-search-form__submit:hover {
  background-color: var(--color-red-dark);
  transform: scale(1.05);
}

.header-search-results {
  display: none;
  flex-direction: column;
  margin-top: var(--space-xs);
  max-height: 50vh;
  overflow-y: auto;
}

.header-search-results.is-visible {
  display: flex;
}

.header-search-results.is-loading {
  opacity: 0.5;
}

.header-search-result {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--color-white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  transition: background-color 0.15s ease;
}

.header-search-result:hover,
.header-search-result.is-active {
  background-color: rgba(255, 255, 255, 0.14);
}

.header-search-result__type {
  flex-shrink: 0;
  padding: 0.1rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  text-shadow: none;
  background-color: var(--color-primary);
  border-radius: 999px;
}

.header-search-result__title {
  font-size: 0.95rem;
  font-weight: 600;
}

.header-search-empty {
  padding: 0.65rem 0.5rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-gray-300);
}

.header-search-viewall {
  display: block;
  margin-top: 0.3rem;
  padding: 0.6rem 0.5rem 0.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.header-search-viewall:hover {
  color: var(--color-red-tint);
}

/* ==========================================================================
   36. Arama Sonuçları Sayfası
   ========================================================================== */

.page-hero--search {
  background-image: url('assets/img/hero-search-illustration.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero__title span {
  color: var(--color-primary);
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 68ch;
  margin-bottom: var(--space-lg);
}

.search-result {
  border: 1px solid var(--color-border);
  border-left: 3px solid transparent;
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.search-result:hover {
  transform: translateX(4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-left-color: var(--color-primary);
}

.search-result__link {
  position: relative;
  display: block;
  padding: var(--space-sm) var(--space-lg) var(--space-sm) var(--space-md);
  color: inherit;
}

.search-result__type {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.15rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  background-color: var(--color-red-tint);
  border-radius: 999px;
}

.search-result__title {
  margin-bottom: 0.3rem;
  font-size: 1.15rem;
}

.search-result__excerpt {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin: 0;
}

.search-result__arrow {
  position: absolute;
  top: 50%;
  right: var(--space-sm);
  transform: translate(0, -50%);
  font-size: 1.3rem;
  color: var(--color-primary);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.search-result:hover .search-result__arrow {
  opacity: 1;
  transform: translate(4px, -50%);
}

/* ==========================================================================
   37. Ana Sayfa — Lojistik Hizmetleri & Entegre Grup (Operasyon'dan taşınan
   bölümler, ana sayfanın geri kalanıyla (Kapasite Şeridi, Neden Biz) aynı
   ortalanmış dile getiriliyor — sola yaslı iç sayfa hissi kalmasın)
   ========================================================================== */

.home-services .eyebrow,
.home-services .section-title,
.home-services .section-intro,
.home-infra .eyebrow,
.home-infra .section-title,
.home-infra .section-intro {
  text-align: center;
}

/*
 * Lojistik Hizmetlerimiz artık daha belirgin bir fotoğraf arkaplanına
 * (JPG, %70 opaklık) sahip — sadece text-shadow yeterli olmadı, metnin
 * arkasına hafif saydam, bulanıklaştırılmış bir zemin ekliyoruz. Bu,
 * genel tasarım dilini (kart/panel kullanımı sitede zaten var) bozmadan
 * garantili okunabilirlik sağlıyor.
 */
/*
 * Lojistik Hizmetlerimiz artık daha belirgin bir fotoğraf arkaplanına
 * (JPG, %70 opaklık) sahip. Dolgu/kart yerine hero'da zaten kanıtlanmış
 * yöntem: metni beyaza çevirip güçlü bir koyu gölgeyle kontrastı
 * doğrudan artırıyoruz — tasarımdan sapmıyor, ekstra bir görsel öge
 * eklemiyor.
 */
.home-services.why-us-parallax .eyebrow {
  color: var(--color-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.8);
}

.home-services.why-us-parallax .section-title {
  color: var(--color-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.8);
}

.home-services.why-us-parallax .section-intro {
  color: var(--color-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.8);
}

.home-services .section-intro,
.home-infra .section-intro {
  margin-inline: auto;
}

/* Hizmet kartlarını biraz daha zengin: ikon rozeti büyüdü, hover'da
   ikon de hafifçe büyüyor — düz bir kutu olmaktan çıkıyor */
.home-services .service-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.home-services .service-card:hover .service-card__icon {
  transform: scale(1.1);
}

.home-services .service-card__label {
  font-weight: 600;
}

/* infra-node başlıklarını da ortala, kartlar arası boşluğu biraz aç */
.home-infra .infra-node {
  text-align: center;
}

.home-infra .infra-node__stats {
  text-align: left;
}

/* ==========================================================================
   38. Yasal Sayfa İçeriği (KVKK gibi uzun, çok bölümlü metinler)
   ========================================================================== */

/* .legal-content için max-width burada YAZILMIYOR — .container
   class'ıyla aynı div'de kullanıldığı için (bkz. şablon),
   max-width:100% yazmak .container'ın normal 1200px sınırını
   eziyordu, içerik banner'ın hizasından taşıp neredeyse tam
   genişliğe yayılıyordu. */

.legal-content h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
  font-size: 1.35rem;
}

.legal-content h2:first-of-type {
  margin-top: var(--space-md);
}

.legal-content__lead-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem); /* banner başlığıyla (.page-hero__title) birebir aynı boyut */
  margin-bottom: var(--space-sm);
}

.legal-content p {
  margin-bottom: var(--space-sm);
  color: var(--color-text);
  max-width: 800px;
}

.legal-content ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.3rem 2rem;
  margin: 0 0 var(--space-sm);
  padding: 0;
  list-style: none;
  max-width: 800px;
}

.legal-content li {
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.legal-content li::before {
  content: "• ";
  color: var(--color-primary);
  font-weight: 700;
}

@media (max-width: 700px) {
  .legal-content ul {
    grid-template-columns: 1fr;
  }
}

.legal-content__contact-block {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-off-white);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-sm);
  max-width: 500px;
}

.legal-content__contact-block p {
  margin-bottom: 0.3rem;
  max-width: none;
  margin-inline: 0;
}

.legal-content__contact-block p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   39. Neden Arkem Esters (paralaks) ve Kapasite Şeridi (solma) —
   Arkaplan Görselleri
   ========================================================================== */

.why-us-parallax {
  position: relative;
  overflow: hidden;
}

/*
 * Gerçek "background-attachment: fixed" paralaksı — görsel viewport'a
 * sabit kalır, sayfa onun ÜZERİNDEN kayar (JS ile hesaplanan yavaş
 * hareket değil, tarayıcının kendi native davranışı). Görsel dinamik
 * (tema dizini URL'i) olduğu için HTML'den --parallax-bg CSS
 * değişkeniyle veriliyor.
 */
.why-us-parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--parallax-bg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.why-us-parallax .container {
  position: relative;
  z-index: 1;
}

.capacity-bg-fade {
  position: relative;
  overflow: hidden;
}

.capacity-bg-fade__visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  will-change: opacity;
}

.capacity-bg-fade .container {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   40. Çerez Rıza Banner'ı
   ========================================================================== */

.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9997;
  background-color: var(--color-black);
  color: var(--color-white);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-consent.is-visible {
  transform: translateY(0);
}

.cookie-consent__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm) var(--space-md);
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-sm) var(--space-md);
}

.cookie-consent__text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-gray-300);
}

.cookie-consent__text a {
  color: var(--color-white);
  text-decoration: underline;
}

.cookie-consent__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-consent__actions {
    justify-content: stretch;
  }
  .cookie-consent__actions .btn {
    flex: 1 1 0;
    text-align: center;
  }
}