:root {
  --el-slate: #41576b;
  --el-teal: #1b8fa6;
  --el-teal-dark: #157a8f;
  --el-mint: #cfefde;
  --el-ice: #e9f5fa;
  --el-border: #e1eaef;
  --el-text: #64798c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 280px; overflow-x: hidden; color: var(--el-slate); background: #fff; font-family: "Mulish", sans-serif; }
a { color: var(--el-teal); text-decoration: none; }
a:hover { color: var(--el-teal-dark); }
img { max-width: 100%; }
button, input, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(27, 143, 166, .38); outline-offset: 3px; }

.notice-bar { background: var(--el-slate); color: #e7f2f6; font-size: 13px; letter-spacing: .02em; }
.notice-inner { max-width: 1200px; min-height: 36px; margin: 0 auto; padding: 8px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.notice-copy, .notice-contact { display: flex; align-items: center; gap: 8px; }
.notice-inner--sade { justify-content: flex-end; }
.notice-contact { gap: 20px; flex-wrap: wrap; }
.notice-contact a { color: #fff; font-weight: 600; }
.notice-diamond { width: 6px; height: 6px; flex: none; border-radius: 1px; background: var(--el-mint); transform: rotate(45deg); }
/* ——— dil çevirisi (Google Website Translator) ———
   Widget'ın kendi görünümü siteye ait değil: banner'ı, tooltip'i ve logosu
   bastırılır, geriye yalnız <select> kalır ve o da bandın diline giydirilir.
   `body { top: 0 }` ZORUNLU — widget yüklenince body'yi 40px aşağı iter ve
   sticky menü boşlukta kalır. */
.lang-switch { display: inline-flex; align-items: center; }
.lang-switch .goog-te-gadget { color: transparent; font-size: 0; line-height: 0; }
.lang-switch .goog-te-gadget > span { display: none; }
.lang-switch select.goog-te-combo {
  margin: 0; padding: 3px 8px; color: #d9f0fa; font-family: inherit; font-size: 12px;
  font-weight: 600; background: rgba(255, 255, 255, .06); border: 1px solid rgba(217, 240, 250, .35);
  border-radius: 999px; cursor: pointer; outline: none;
}
.lang-switch select.goog-te-combo option { color: #41576b; background: #fff; }
iframe.skiptranslate, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.goog-te-banner-frame.skiptranslate, .goog-te-gadget-icon, #goog-gt-tt, .goog-tooltip { display: none !important; }
body { top: 0 !important; }
.nav-shell { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--el-border); background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); }
.nav-inner { max-width: 1200px; min-height: 67px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-link { display: flex; align-items: center; }
.brand-link img { display: block; width: auto; height: 38px; }
.brand-name-fallback { color: var(--el-slate); font-family: "Arbutus Slab", serif; font-size: 27px; line-height: 1; }
.desktop-nav { display: flex; align-items: center; gap: 28px; }
.desktop-nav a { position: relative; padding: 6px 0; color: var(--el-slate); font-size: 15px; font-weight: 600; }
.desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: -2px; left: 0; height: 3px; border-radius: 2px; background: transparent; }
.desktop-nav a.active::after { background: var(--el-teal); }
.header-cta, .mobile-cta { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 11px 24px; color: #fff; background: var(--el-teal); border-radius: 999px; box-shadow: 0 6px 16px rgba(27, 143, 166, .28); font-size: 15px; font-weight: 700; white-space: nowrap; }
.header-cta:hover, .mobile-cta:hover { color: #fff; background: var(--el-teal-dark); }
.menu-button { display: none; width: 44px; height: 44px; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 4px; border: 1.5px solid #c4d5de; border-radius: 11px; background: #fff; cursor: pointer; }
.menu-button span { display: block; width: 19px; height: 2px; border-radius: 2px; background: var(--el-slate); }
.mobile-nav { padding: 10px 24px 20px; flex-direction: column; border-top: 1px solid var(--el-border); background: #fff; }
.mobile-nav:not([hidden]) { display: flex; }
.mobile-nav > a { min-height: 44px; padding: 13px 4px; color: var(--el-slate); border-bottom: 1px solid #f0f4f6; font-size: 16px; font-weight: 700; }
.mobile-nav .mobile-cta { margin-top: 14px; padding: 13px 20px; color: #fff; border-bottom: 0; }

.site-footer { color: #c9dae4; background: var(--el-slate); }
.footer-grid { max-width: 1200px; margin: 0 auto; padding: 56px 24px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.footer-grid p { max-width: 300px; margin: 0 0 14px; font-size: 14px; line-height: 1.7; }
.footer-grid .footer-note { color: #8fb2c4; font-size: 13px; font-style: italic; line-height: 1.6; }
.footer-brand { display: flex; min-height: 34px; align-items: center; margin-bottom: 16px; }
.footer-logo { display: block; width: auto; height: 34px; filter: brightness(0) invert(1); }
.footer-brand-fallback { color: #fff; font-family: "Arbutus Slab", serif; font-size: 25px; line-height: 1; }
.footer-grid h2 { margin: 0 0 14px; color: #b7e6ea; font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.footer-grid nav, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 14px; }
.footer-grid nav a, .footer-contact a { color: #e7f2f6; }
.footer-contact .footer-phone { color: #fff; font-size: 16px; font-weight: 700; }
.footer-contact span { color: #8fb2c4; line-height: 1.6; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #8fb2c4; border-top: 1px solid rgba(217, 240, 250, .15); font-size: 13px; }
.whatsapp { position: fixed; right: 24px; bottom: 24px; z-index: 1000; width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; background: #25d366; border-radius: 999px; box-shadow: 0 10px 24px rgba(37, 211, 102, .45); animation: elFloat 3s ease-in-out infinite; transition: box-shadow .18s; }
.whatsapp svg { display: block; width: 30px; height: 30px; }
.whatsapp:hover { box-shadow: 0 14px 30px rgba(37, 211, 102, .55); }
.local-form-status { grid-column: 1 / -1; min-height: 44px; margin: 0; padding: 12px 14px; color: #5a7186; background: #f4f9fb; border: 1px solid #d5e7ed; border-radius: 12px; font-size: 13.5px; line-height: 1.5; }

@keyframes elTwinkle { 0%, 100% { opacity: .2; transform: scale(.5) rotate(-8deg); } 50% { opacity: 1; transform: scale(1) rotate(6deg); } }
@keyframes elFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes elFloatTagA { 0%, 100% { transform: rotate(-7deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-8px); } }
@keyframes elFloatTagB { 0%, 100% { transform: rotate(6deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-9px); } }

@media (max-width: 859px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-button { display: inline-flex; }
  .notice-inner { padding-block: 7px; }
  .notice-contact { gap: 10px; }
}

@media (max-width: 600px) {
  .notice-inner, .nav-inner, .mobile-nav { padding-right: 18px; padding-left: 18px; }
  .notice-copy { width: 100%; }
  .notice-contact { width: 100%; color: #b7cbd8; justify-content: space-between; gap: 8px; }
  .notice-inner--sade { justify-content: stretch; }
  .notice-contact a[href^="mailto:"] { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .brand-link img { height: 31px; }
  .brand-name-fallback { font-size: 23px; }
  main [style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; }
  main [style*="padding:72px 24px"], main [style*="padding:84px 24px"], main [style*="padding:80px 24px"], main [style*="padding:76px 24px"], main [style*="padding:70px 24px"], main [style*="padding:64px 24px"], main [style*="padding:60px 24px"], main [style*="padding:48px 24px"] { padding-right: 20px !important; padding-left: 20px !important; }
  main [style*="padding:36px"] { padding: 24px !important; }
  main [style*="right:-14px"], main [style*="right:-20px"] { right: 0 !important; }
  .footer-grid { padding-top: 44px; }
}


/* ═══════════════════════════════════════════════════════════════════════
   TEKLİF FORMU — tek işaretleme, iki renk kipi.
   Alan yapısı `_teklif_formu.html.j2`de; burada yalnız görünüm var. Eski
   sürümde zorunluluk yıldızı `position:absolute; margin-left:62px` gibi
   SABİT piksellerle konumlanıyordu — etiket uzunluğu değişince kayıyordu.
   Artık normal akışta.
   ═══════════════════════════════════════════════════════════════════════ */
.teklif-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.tf-alan { display: flex; flex-direction: column; gap: 7px; }
.tf-alan--tam, .tf-onay, .tf-gonder, .tf-durum { grid-column: 1 / -1; }
.tf-etiket { font-size: 13.5px; font-weight: 700; }
.tf-zorunlu { color: #d9705b; font-weight: 700; }
.teklif-form input, .teklif-form textarea {
  padding: 13px 15px; color: #41576b; font-family: inherit; font-size: 15px;
  background: #fbfdfe; border: 1.5px solid #c4d5de; border-radius: 12px; outline: none;
  transition: border-color .16s, box-shadow .16s;
}
.teklif-form textarea { min-height: 96px; resize: vertical; }
.teklif-form input:focus-visible, .teklif-form textarea:focus-visible {
  border-color: var(--el-teal, #1b8fa6); box-shadow: 0 0 0 3px rgba(27, 143, 166, .18);
}
.tf-onay { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; cursor: pointer; }
.tf-onay input { width: 17px; height: 17px; min-width: 17px; margin-top: 2px; padding: 0; accent-color: #1b8fa6; }
.tf-gonder { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.tf-buton {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 14px 34px; color: #fff; font-family: inherit; font-size: 16px; font-weight: 700;
  background: #1b8fa6; border: none; border-radius: 999px; cursor: pointer;
  box-shadow: 0 8px 20px rgba(27, 143, 166, .3); transition: transform .16s, box-shadow .16s;
}
.tf-buton:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(27, 143, 166, .38); }
.tf-not { font-size: 13.5px; }
.tf-durum { min-height: 44px; margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; }

.teklif-form--acik .tf-etiket { color: #4e6478; }
.teklif-form--acik .tf-onay, .teklif-form--acik .tf-not { color: #8a9dae; }
.teklif-form--acik .tf-durum { color: #5a7186; background: #f4f9fb; border: 1px solid #d5e7ed; }

/* Koyu kip — modal içindeki form. Zemin koyu olduğu için alanlar da koyu:
   beyaz input koyu kartta "yapıştırılmış" duruyordu. */
.teklif-form--koyu .tf-etiket { color: #d9eef3; }
.teklif-form--koyu .tf-onay, .teklif-form--koyu .tf-not { color: #a9c3d1; }
.teklif-form--koyu input, .teklif-form--koyu textarea {
  color: #fff; background: rgba(255, 255, 255, .07); border-color: rgba(183, 230, 234, .32);
}
.teklif-form--koyu input::placeholder, .teklif-form--koyu textarea::placeholder { color: #8fb2c4; }
.teklif-form--koyu input:focus-visible, .teklif-form--koyu textarea:focus-visible {
  border-color: #b7e6ea; box-shadow: 0 0 0 3px rgba(183, 230, 234, .22);
}
.teklif-form--koyu .tf-buton { color: #28414f; background: #b7e6ea; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.teklif-form--koyu .tf-durum { color: #d9eef3; background: rgba(255, 255, 255, .08); border: 1px solid rgba(183, 230, 234, .3); }

/* ═══ TEKLİF PENCERESİ (modal) ═══
   Ana sayfadaki her "Teklif Al" düğmesi İletişim sayfasına ATLAMAK yerine
   aynı formu burada açar — sayfa değiştirmek, tarayıcıda okunan bir sayfayı
   terk ettirmektir. Odak tuzağı + Esc + perde tıklaması: klavyeyle de kapanır. */
.teklif-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.teklif-modal[hidden] { display: none; }
.teklif-modal__perde { position: absolute; inset: 0; background: rgba(21, 34, 44, .68); backdrop-filter: blur(3px); animation: elFade .18s ease-out; }
.teklif-modal__kutu {
  position: relative; width: min(760px, 100%); max-height: min(88vh, 900px); overflow: auto;
  padding: 34px clamp(20px, 4vw, 40px) 34px; color: #fff;
  background: linear-gradient(158deg, #4b6178 0%, #3a4f64 55%, #33465a 100%);
  border: 1px solid rgba(183, 230, 234, .22); border-radius: 26px;
  box-shadow: 0 34px 80px rgba(15, 30, 40, .5); animation: elModalIn .22s cubic-bezier(.2, .8, .3, 1);
}
.teklif-modal__kapat {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: flex;
  align-items: center; justify-content: center; color: #d9eef3; font-size: 22px; line-height: 1;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(183, 230, 234, .25);
  border-radius: 999px; cursor: pointer; transition: background .16s;
}
.teklif-modal__kapat:hover { background: rgba(255, 255, 255, .16); }
.teklif-modal__ustyazi { margin: 0 0 8px; color: #b7e6ea; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; }
.teklif-modal__baslik { margin: 0 0 6px; color: #fff; font-family: "Arbutus Slab", serif; font-size: clamp(23px, 4vw, 28px); font-weight: 400; }
.teklif-modal__alt { margin: 0 0 24px; color: #a9c3d1; font-size: 14px; }
body.modal-acik { overflow: hidden; }
@media (max-width: 600px) {
  /* Mobilde ortalanmış kutu yerine ALT SAYFA: başparmakla erişilen yer altta,
     ve uzun form ortada dururken ekranın yarısını boşa harcıyordu. */
  .teklif-modal { padding: 0; align-items: flex-end; }
  .teklif-modal__kutu { max-height: 92vh; padding: 28px 20px 26px; border-radius: 24px 24px 0 0; }
}

/* Parıltı — hero görselindeki imzanın modaldeki ve mobil başlıktaki yankısı.
   Tek imza, üç yerde; ayrı bir efekt dili eklenmiyor. */
.paril { position: absolute; display: block; background: #bde7d1; pointer-events: none;
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  filter: drop-shadow(0 0 8px rgba(189, 231, 209, .9)); animation: elTwinkle 3s ease-in-out infinite; }
/* Başlık parıltıları YALNIZ mobilde: masaüstünde hero görselinin kendi
   parıltıları zaten var, ikisi birden gürültü olurdu. */
.hero-baslik-paril { display: none; }
@media (max-width: 600px) { .hero-baslik-paril { display: block; } }
.paril--ak { background: #fff; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .95)); }

/* ═══ ÜRÜN KARTLARI — koyu gövde ═══
   Görsel alanı BİLEREK açık kalır: ambalajlar beyaz, koyu zeminde kayboluyordu.
   Koyu olan alt gövde; kart böylece zeminden ayrılıp gerçekten "kart" oluyor. */
.urun-kart {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 20px;
  background: linear-gradient(168deg, #4b6178, #36485c); border: 1px solid rgba(183, 230, 234, .16);
  box-shadow: 0 18px 40px rgba(65, 87, 107, .18); transition: transform .2s, box-shadow .2s;
}
.urun-kart:hover { transform: translateY(-4px); box-shadow: 0 26px 54px rgba(65, 87, 107, .28); }
.urun-kart__gorsel { height: 230px; display: flex; align-items: center; justify-content: center; padding: 20px; background: #f7fafb; }
.urun-kart__gorsel img { max-width: 100%; max-height: 100%; }
.urun-kart__govde { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 24px; }
.urun-kart__ad { margin: 0; color: #fff; font-size: 19px; font-weight: 800; }
.urun-kart__metin { margin: 0; color: #b7cbd8; font-size: 14.5px; line-height: 1.6; }
.urun-kart__etiketler { display: flex; flex-wrap: wrap; gap: 8px; }
.urun-kart__etiket { padding: 5px 11px; color: #b7e6ea; font-size: 12.5px; font-weight: 700;
  background: rgba(183, 230, 234, .12); border: 1px solid rgba(183, 230, 234, .22); border-radius: 999px; }
.urun-kart__eylem { margin-top: auto; color: #b7e6ea; font-size: 15px; font-weight: 800;
  background: none; border: none; padding: 0; font-family: inherit; cursor: pointer; text-align: left; }
.urun-kart__eylem:hover { color: #d9f0fa; }
@media (max-width: 600px) { .urun-kart__gorsel { height: 200px; } }

/* Rakam şeridi — ikonlu */
.rakam { display: flex; flex-direction: column; gap: 7px; padding-left: 18px; border-left: 3px solid #b7e6ea; }
.rakam__ust { display: flex; align-items: center; gap: 10px; color: #b7e6ea; }
.rakam__ust svg { width: 22px; height: 22px; flex: none; }
.rakam__deger { color: #fff; font-family: "Arbutus Slab", serif; font-size: 27px; line-height: 1.1; }
.rakam__metin { color: #b7cbd8; font-size: 13.5px; line-height: 1.45; }

@keyframes elFade { from { opacity: 0 } to { opacity: 1 } }
@keyframes elModalIn { from { opacity: 0; transform: translateY(16px) scale(.985) } to { opacity: 1; transform: none } }

/* ═══ HERO VİDEOSU ═══
   Tek video elemanı, iki yerleşim. DOM''da BİRİNCİ sırada durur; masaüstünde
   `order` onu sağ sütuna taşır ve ürün görselini gizler. Mobilde sıraya
   dokunulmaz — video en üstte, görsel aşağıda yerinde kalır (Noyan: "mobilde
   video ekstra gibi düşün, en üstte").
   Çerçevesiz: kenarlık ve gölge yok; yalnız köşe yumuşatması var. */
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-video { display: block; width: 100%; height: auto; border: 0; border-radius: 18px; background: #e9f5fa; }
@media (min-width: 861px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-metin { order: 1; }
  .hero-video { order: 2; }
  .hero-gorsel { display: none; }   /* masaüstünde yerini video aldı */
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 16px !important; gap: 28px; }
  .hero-video { margin-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
