/* =====================================================
   EMMEGI TURKIYE - Ana Stil
   Palet:
   --celik      #16323f  koyu celik mavisi (zemin/başlık)
   --celik-koyu #0d222c  en koyu ton
   --aluminyum  #eef1f3  acik aluminyum grisi
   --soguk      #2e7fa8  soguk mavi (linkler, vurgular)
   --isi        #e8642c  isi turuncusu (CTA, termal cizgi)
   ===================================================== */

:root {
  --celik: #008bce;        /* Ocean Blue - Pantone 2394 C (marka rehberi) */
  --celik-koyu: #016fa8;   /* Ocean Blue koyu ton (marka paleti) */
  --celik-gece: #1d4459;   /* en koyu mavi (marka paleti) */
  --aluminyum: #eef2f5;    /* acik gri bolum zemini */
  --soguk: #008bce;        /* Ocean Blue (linkler, soguk vurgu) */
  --isi: #e40134;          /* Maillot Rojo - Pantone 185 C (marka rehberi) */
  --isi-koyu: #a30023;     /* kirmizi koyu ton (marka paleti, hover) */
  --metin: #2b3a42;
}

body {
  font-family: 'Lato', system-ui, sans-serif;
  color: var(--metin);
  background: #fff;
}

h1, h2, h3, h4, .marka {
  font-family: 'Lato', sans-serif;
  letter-spacing: .01em;
  font-weight: 600;
  color: var(--celik);
  letter-spacing: .3px;
}

a { color: var(--soguk); }

/* ---------- Imza oge: termal cizgi (soguk -> sicak) ---------- */
.termal-cizgi {
  height: 4px;
  background: linear-gradient(90deg, var(--soguk) 0%, var(--celik) 45%, var(--isi) 100%);
}

/* ---------- Ust bar ---------- */
.ust-bar {
  background: var(--celik-koyu);
  color: #b9c6cd;
  font-size: .85rem;
  padding: .4rem 0;
}
.ust-bar a { color: #e6f4fb; text-decoration: none; }
.ust-bar a:hover { color: #fff; }
.dil-secici a { padding: 0 .35rem; font-weight: 600; }
.dil-secici a.aktif { color: var(--isi); }
.dil-secici span { color: #52646e; }

/* ---------- Ana menu ---------- */
.ana-menu {
  background: #fff;
  box-shadow: 0 2px 12px rgba(13, 34, 44, .08);
  padding: .7rem 0;
}
.navbar-brand { display: flex; align-items: baseline; gap: .4rem; text-decoration: none; }
.marka { font-size: 1.7rem; font-weight: 700; color: var(--celik); }
.marka-alt {
  font-family: 'Lato', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--isi);
}
.ana-menu .nav-link {
  font-family: 'Lato', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--celik);
  padding: .5rem 1rem;
}
.ana-menu .nav-link:hover, .ana-menu .nav-link.active { color: var(--isi); }
.dropdown-menu {
  border: 0;
  border-top: 3px solid var(--isi);
  border-radius: 0 0 .4rem .4rem;
  box-shadow: 0 10px 24px rgba(13, 34, 44, .15);
}
.dropdown-item {
  font-family: 'Lato', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--celik);
  padding: .6rem 1.2rem;
}
.dropdown-item:hover { background: var(--aluminyum); color: var(--celik); }

.btn-teklif {
  background: var(--isi);
  color: #fff;
  font-weight: 600;
  padding: .5rem 1.3rem;
  border-radius: .3rem;
}
.btn-teklif:hover { background: var(--isi-koyu); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(0, 114, 188, .35), transparent 60%),
    linear-gradient(160deg, var(--celik-koyu) 0%, var(--celik) 70%);
  color: #fff;
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* plaka-kanat dokusunu andiran ince dikey cizgiler */
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 26px);
  pointer-events: none;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  max-width: 14ch;
  line-height: 1.05;
}
.hero p { color: #c3d0d7; max-width: 52ch; font-size: 1.1rem; }
.btn-ana {
  background: var(--isi);
  color: #fff;
  font-weight: 600;
  padding: .8rem 1.8rem;
  border-radius: .3rem;
}
.btn-ana:hover { background: var(--isi-koyu); color: #fff; }
.btn-cerceve {
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  font-weight: 500;
  padding: .8rem 1.8rem;
  border-radius: .3rem;
}
.btn-cerceve:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Bolumler ---------- */
.bolum { padding: 4.5rem 0; }
.bolum-gri { background: var(--aluminyum); }
.bolum-baslik { font-size: 2.2rem; margin-bottom: .4rem; }
.bolum-alt { color: #64757e; margin-bottom: 2.5rem; }

/* ---------- Kategori kartlari ---------- */
.kategori-kart {
  background: #fff;
  border: 1px solid #dfe6ea;
  border-radius: .5rem;
  padding: 1.6rem;
  height: 100%;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
}
.kategori-kart:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(13, 34, 44, .12);
  border-color: var(--soguk);
}
.kategori-kart h3 { font-size: 1.35rem; }
.kategori-kart p { color: #64757e; font-size: .95rem; flex: 1; }
.kategori-kart .kart-link {
  color: var(--isi);
  font-weight: 600;
  text-decoration: none;
  font-size: .92rem;
}
.kategori-kart .kart-link i { transition: transform .18s ease; }
.kategori-kart:hover .kart-link i { transform: translateX(4px); }
.kart-ikon {
  width: 46px; height: 46px;
  border-radius: .4rem;
  background: linear-gradient(135deg, var(--soguk), var(--celik));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* ---------- CTA bandi ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--celik-koyu), var(--celik));
  color: #fff;
  border-radius: .6rem;
  padding: 3rem;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c3d0d7; }

/* ---------- Urun detay ---------- */
.sayfa-baslik {
  background: linear-gradient(160deg, var(--celik-koyu), var(--celik));
  color: #fff;
  padding: 3rem 0;
}
.sayfa-baslik h1 { color: #fff; }
.icerik-metin { font-size: 1.05rem; line-height: 1.75; }
.icerik-metin p { margin-bottom: 1.2rem; }

.model-tablo .model-satir {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid #dfe6ea;
  border-radius: .4rem;
  margin-bottom: .7rem;
  background: #fff;
}
.model-satir .model-ad { font-family: 'Lato'; font-size: 1.2rem; font-weight: 600; color: var(--celik); }
.model-satir .model-aciklama { color: #64757e; font-size: .92rem; }
.btn-pdf {
  background: var(--celik);
  color: #fff;
  font-weight: 500;
  font-size: .88rem;
  padding: .45rem 1rem;
  border-radius: .3rem;
  white-space: nowrap;
}
.btn-pdf:hover { background: var(--soguk); color: #fff; }

/* ---------- Iletisim ---------- */
.iletisim-kutu {
  background: var(--aluminyum);
  border-radius: .5rem;
  padding: 1.8rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--soguk);
  box-shadow: 0 0 0 .2rem rgba(0, 114, 188, .15);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--celik); color: #e6f4fb; }
.site-footer .marka { color: #fff; }
.footer-baslik {
  font-family: 'Lato';
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-metin { font-size: .93rem; }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: .55rem; font-size: .93rem; }
.footer-menu a { color: #eaf6fc; text-decoration: none; }
.footer-menu a:hover { color: #fff; text-decoration: underline; }
.footer-alt {
  background: var(--isi);
  color: #fff;
  font-size: .85rem;
}

/* ---------- Erisilebilirlik / hareket azaltma ---------- */
:focus-visible { outline: 2px solid var(--isi); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

@media (max-width: 991px) {
  .hero { padding: 4rem 0 3.5rem; }
  .btn-teklif { margin-top: .6rem; display: inline-block; }
}
/* Masaustunde dropdown hover ile acilir */
@media (min-width: 992px) {
  .ana-menu .dropdown-menu { margin-top: 0; }
  .ana-menu .nav-item.dropdown:hover > .dropdown-menu {
    display: block;
  }
}
.logo-img { height: 62px; width: auto; }
@media (max-width: 575.98px) {
  .logo-img { height: 50px; }
}

/* ---------- Hero gorseli ---------- */
.hero-gorsel-kutu {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-gorsel-kutu::before {
  /* urunun arkasinda termal parlama: soguk mavi + isi turuncusu */
  content: '';
  position: absolute;
  inset: 8% 4%;
  background:
    radial-gradient(closest-side at 35% 60%, rgba(0, 114, 188, .45), transparent 70%),
    radial-gradient(closest-side at 70% 35%, rgba(226, 35, 26, .35), transparent 70%);
  filter: blur(30px);
  z-index: 0;
}
.hero-gorsel {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45));
  margin-bottom: 1.5rem;   /* alt kenardan nefes payi */
}

/* Icerik metni ara basliklari ve listeleri */
.icerik-metin h3 {
  font-size: 1.35rem;
  margin: 1.8rem 0 .8rem;
  padding-left: .75rem;
  border-left: 4px solid var(--isi);
}
.icerik-metin ul { margin-bottom: 1.2rem; }
.icerik-metin li { margin-bottom: .35rem; }



/* ---------- Iletisim haritasi ---------- */
.harita-kutu {
  border-radius: .5rem;
  overflow: hidden;
  border: 1px solid #dfe6ea;
  box-shadow: 0 8px 20px rgba(13, 34, 44, .08);
}
.harita-kutu iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
  filter: grayscale(25%);   /* site paletiyle uyum icin hafif soluk */
}
.harita-kutu:hover iframe { filter: none; }


/* ---------- Anasayfa tanitim videosu ---------- */
.video-bolum video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .5rem;
  box-shadow: 0 14px 34px rgba(13, 34, 44, .18);
  background: #000;
}

/* ---------- Hero: fabrika fotografi arka plan ---------- */
.hero-foto {
  background:
    linear-gradient(90deg, rgba(10, 30, 42, .62) 0%, rgba(10, 30, 42, .32) 55%, rgba(10, 30, 42, .15) 100%),
    url('../img/fabrika.jpg') center 62% / cover no-repeat;
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 7rem 0;
}
.hero-foto::after { content: none; }
.hero-foto h1 { max-width: 18ch; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.hero-foto p { color: #eef4f7; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
@media (max-width: 767.98px) {
  .hero-foto { min-height: 60vh; padding: 5rem 0; }
}

/* ---------- RTL (Arapca) duzeltmeleri ---------- */
[dir="rtl"] body,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3,
[dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6,
[dir="rtl"] .ana-menu .nav-link, [dir="rtl"] .dropdown-item {
  font-family: 'Tajawal', 'Lato', sans-serif;
}
[dir="rtl"] .hero-foto {
  background:
    linear-gradient(270deg, rgba(10, 30, 42, .62) 0%, rgba(10, 30, 42, .32) 55%, rgba(10, 30, 42, .15) 100%),
    url('../img/fabrika.jpg') center 62% / cover no-repeat;
}
[dir="rtl"] .hero-foto h1 { letter-spacing: 0; }

/* ---------- Dunyada Emmegi: sube kartlari ---------- */
.sube-kart {
  background: #fff;
  border: 1px solid #e3eaef;
  border-radius: .5rem;
  padding: 1.6rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.sube-kart:hover { box-shadow: 0 12px 28px rgba(13, 34, 44, .12); transform: translateY(-3px); }
.sube-tip {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: #8a99a3;
  margin-bottom: .35rem;
}
.sube-ad { font-size: 1.25rem; font-weight: 900; color: var(--soguk); margin-bottom: .9rem; }
.sube-firma { font-weight: 700; color: var(--celik-koyu); margin-bottom: .6rem; }
.sube-detay { color: #5a6a73; font-size: .92rem; line-height: 1.7; flex-grow: 1; }
.sube-detay a { color: var(--soguk); text-decoration: none; word-break: break-all; }
.sube-detay a:hover { text-decoration: underline; }
.sube-buton {
  display: block;
  margin-top: 1.2rem;
  background: var(--soguk);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .8rem 1rem;
  border-radius: .3rem;
  transition: background .2s;
  word-break: break-all;
}
.sube-buton:hover { background: var(--celik-koyu); color: #fff; }

/* ---------- Footer: rezerve alan ---------- */
.footer-login {
  display: inline-block;
  background: #fff;
  color: var(--celik-koyu) !important;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  padding: .65rem 2.4rem;
  border-radius: .3rem;
  text-decoration: none;
  margin-top: .8rem;
  transition: opacity .2s;
}
.footer-login:hover { opacity: .85; }

/* ---------- Fotografli sayfa baslik bandi ---------- */
.sayfa-baslik-foto {
  background:
    linear-gradient(rgba(10, 30, 42, .38), rgba(10, 30, 42, .38)),
    url('../img/fabrika.jpg') center 60% / cover no-repeat;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}
.sayfa-baslik-foto h1 {
  color: #fff;
  text-align: center;
  width: 100%;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: .02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .4);
  text-transform: uppercase;
}
@media (max-width: 767.98px) {
  .sayfa-baslik-foto { min-height: 280px; }
}

/* ---------- Tarih sayfasi: mavi tonlu foto hero ---------- */
.tarih-hero {
  background:
    linear-gradient(rgba(1, 111, 168, .78), rgba(1, 111, 168, .78)),
    var(--tarih-hero-img) center / cover no-repeat;
  background-blend-mode: multiply, normal;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 7rem 0;
}
.tarih-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
}
.tarih-hero p {
  color: #eef6fb;
  max-width: 34rem;
  margin-bottom: .9rem;
}
.tarih-hero strong { color: #fff; }
@media (max-width: 767.98px) {
  .tarih-hero { min-height: 65vh; padding: 5rem 0; }
}
[dir="rtl"] .tarih-hero p { max-width: 34rem; }

/* Tarih icerik gorselleri */
.tarih-gorsel {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .5rem;
  box-shadow: 0 14px 34px rgba(13, 34, 44, .16);
}
