/* ==========================================================================
   MervenurElectric.com.tr - Ana Stil Dosyası
   Font: Google Open Sans
   ========================================================================== */

:root {
  --color-primary: #f5a623;
  --color-primary-dark: #d4890f;
  --color-secondary: #0d1b2a;
  --color-dark: #14213d;
  --color-text: #2b2b2b;
  --color-text-light: #6b7280;
  --color-bg-light: #f7f8fa;
  --color-white: #ffffff;
  --color-border: #e5e7eb;
  --color-whatsapp: #25d366;
  --radius: 10px;
  --shadow: 0 4px 14px rgba(0,0,0,0.08);
  --container-width: 1180px;
  --font-main: 'Open Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.65;
  font-size: 16px;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 { font-family: var(--font-main); font-weight: 700; color: var(--color-secondary); margin-top: 0; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em 0; }
a { color: var(--color-primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.2em; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--color-primary); color: #fff;
  padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
}
.btn-cta { background: var(--color-whatsapp); color: #fff; }
.btn-cta:hover { background: #1ea952; text-decoration: none; }
.btn-outline { border-color: var(--color-primary); color: var(--color-primary-dark); background: transparent; }
.btn-outline:hover { background: var(--color-primary); color: #fff; text-decoration: none; }
.btn-outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--color-secondary); text-decoration: none; }

/* ---------- Header ---------- */
.header-top {
  background: var(--color-dark);
  color: #cbd5e1;
  font-size: .85rem;
}
.header-top-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0;
}
.header-contact a { color: #cbd5e1; margin-right: 18px; }
.header-contact a:hover { color: var(--color-primary); }

.header-main {
  background: var(--color-white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  position: sticky; top: 0; z-index: 1000;
}
.header-main-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.logo-img { height: 52px; width: auto; display: block; }

.main-nav > ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.main-nav a { color: var(--color-secondary); font-weight: 600; padding: 8px 0; }
.main-nav a:hover { color: var(--color-primary-dark); text-decoration: none; }
.has-dropdown { position: relative; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; background: #fff;
  box-shadow: var(--shadow); border-radius: var(--radius); min-width: 240px;
  list-style: none; padding: 10px 0; margin: 0; z-index: 600;
}
/* Dropdown menü artık tüm ekran boyutlarında sadece TIKLAMA ile açılır (hover ile açılmaz).
   JS, "Hizmetler" linkine tıklanınca .has-dropdown öğesine .open class'ı ekler/kaldırır. */
.has-dropdown.open .dropdown-menu { display: block; }
.dropdown-menu li a { display: block; padding: 8px 20px; font-weight: 500; }
.dropdown-menu li a:hover { background: var(--color-bg-light); }

.header-cta { display: inline-block; }
.mobile-menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
  position: relative; z-index: 950;
}
.mobile-menu-toggle span { width: 26px; height: 3px; background: var(--color-secondary); border-radius: 2px; transition: .3s; }
.mobile-menu-close { display: none; }

/* ---------- Page Banner (h1 + breadcrumb üzerinde görsel arka plan) ---------- */
.page-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--color-secondary);
  min-height: 260px;
  display: flex;
  align-items: center;
}
.page-banner-overlay {
  position: absolute; inset: 0;
  background: rgba(13, 27, 42, 0.72);
}
.page-banner-content {
  position: relative; z-index: 2;
  width: 100%;
  padding: 40px 20px;
}
.breadcrumb-nav.breadcrumb-nav-banner { background: transparent; padding: 0 0 14px 0; }
.breadcrumb-nav-banner .breadcrumb a { color: #cbd5e1; }
.breadcrumb-nav-banner .breadcrumb li[aria-current="page"] span { color: #fff; }
.breadcrumb-nav-banner .breadcrumb li:not(:last-child)::after { color: #94a3b8; }
.page-banner-title { color: #fff; font-size: 2.2rem; margin: 0; }
.page-banner-subtitle { color: #e2e8f0; font-size: 1.1rem; font-weight: 600; margin: 10px 0 0; max-width: 720px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb-nav { background: var(--color-bg-light); font-size: .85rem; padding: 10px 0; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--color-text-light); }
.breadcrumb a { color: var(--color-text-light); }
.breadcrumb li[aria-current="page"] span { color: var(--color-secondary); font-weight: 600; }

/* ---------- Hero Slider ---------- */
.hero-slider {
  position: relative;
  min-height: 480px;
  background: linear-gradient(135deg, var(--color-dark), var(--color-secondary));
  overflow: hidden;
}
.hero-slide {
  display: none;
  position: absolute; inset: 0;
  align-items: center; justify-content: center;
  text-align: center;
}
.hero-slide.active { display: flex; }
.hero-slide-inner { max-width: 780px; padding: 40px 20px; }
.hero-slide h1 { color: #fff; font-size: 2.6rem; margin-bottom: 10px; }
.hero-slide h2 { color: var(--color-primary); font-size: 1.3rem; font-weight: 600; margin-bottom: 14px; }
.hero-slide p { color: #cbd5e1; font-size: 1.05rem; margin-bottom: 22px; }
.hero-dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; }
.dot.active { background: var(--color-primary); }

/* ---------- Section Common ---------- */
.section-title { text-align: center; margin-bottom: 8px; }
.section-lead { text-align: center; color: var(--color-text-light); max-width: 720px; margin: 0 auto 32px; }
.hizmetler-section, .bolgeler-preview { padding: 60px 0; }

/* ---------- Hizmet Grid ---------- */
.hizmet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.hizmet-card {
  display: block; background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease; color: inherit;
}
.hizmet-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.12); text-decoration: none; }
.hizmet-card h3, .hizmet-card h2 { margin-bottom: 8px; }
.hizmet-slogan-small { color: var(--color-primary-dark); font-weight: 600; font-size: .9rem; }
.hizmet-link { color: var(--color-primary-dark); font-weight: 600; font-size: .9rem; }

/* ---------- Neden Biz ---------- */
.neden-biz-section { background: var(--color-bg-light); padding: 60px 0; }
.neden-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.neden-card { background: #fff; border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); }

/* ---------- Bölge chip list ---------- */
.bolge-chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.bolge-chip {
  background: var(--color-bg-light); border: 1px solid var(--color-border);
  padding: 8px 16px; border-radius: 999px; font-size: .88rem; color: var(--color-secondary);
}
.bolge-chip:hover { background: var(--color-primary); color: #fff; text-decoration: none; }

/* ---------- Sektörler ---------- */
.sektorler-section { background: var(--color-secondary); color: #fff; padding: 60px 0; }
.sektorler-section h2 { color: #fff; text-align: center; }
.sektorler-section .section-lead { color: #cbd5e1; }
.sektor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.sektor-card { background: rgba(255,255,255,0.06); border-radius: var(--radius); padding: 20px; }
.sektor-card h3 { color: var(--color-primary); }
.sektor-card p { color: #cbd5e1; font-size: .92rem; }

/* ---------- CTA Band ---------- */
.cta-band { background: var(--color-primary); padding: 44px 0; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.cta-band-inner h2 { color: var(--color-secondary); margin-bottom: 6px; }
.cta-band-inner p { color: var(--color-secondary); margin: 0; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band-inline { text-align: center; background: var(--color-bg-light); border-radius: var(--radius); padding: 40px 20px; margin: 40px 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-dark); color: #cbd5e1; padding-top: 50px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; padding-bottom: 30px; }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-logo-img { height: 44px; width: auto; display: block; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #cbd5e1; }
.footer-col a:hover { color: var(--color-primary); }
.footer-regions { border-top: 1px solid rgba(255,255,255,0.1); padding: 18px 0; }
.footer-regions-title { font-size: .8rem; color: #94a3b8; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .05em; }
.footer-regions-list { font-size: 7pt; line-height: 1.9; color: #64748b; }
.footer-regions-list a { color: #64748b; }
.footer-regions-list a:hover { color: var(--color-primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 0; font-size: .82rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-social a { color: #cbd5e1; margin-left: 14px; }

/* ---------- Sabit (floating) Ara + WhatsApp buton grubu ---------- */
.floating-cta-group {
  position: fixed; bottom: 22px; right: 22px; z-index: 900;
  display: flex; flex-direction: row; gap: 12px; align-items: center;
}
.floating-cta-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px; color: #fff; text-decoration: none;
  font-weight: 700; font-size: .95rem; box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  animation: floatingPulse 1.8s ease-in-out infinite;
}
.floating-cta-btn:hover { text-decoration: none; animation-play-state: paused; }
.floating-cta-icon { font-size: 1.2rem; line-height: 1; }
.floating-cta-call { background: var(--color-primary); animation-delay: 0s; }
.floating-cta-whatsapp { background: var(--color-whatsapp); animation-delay: .3s; }

@keyframes floatingPulse {
  0%   { box-shadow: 0 4px 14px rgba(0,0,0,0.25), 0 0 0 0 rgba(255,255,255,0.5); transform: scale(1); }
  50%  { box-shadow: 0 4px 14px rgba(0,0,0,0.25), 0 0 0 10px rgba(255,255,255,0); transform: scale(1.06); }
  100% { box-shadow: 0 4px 14px rgba(0,0,0,0.25), 0 0 0 0 rgba(255,255,255,0); transform: scale(1); }
}

/* ---------- Static Pages ---------- */
.static-page { padding: 50px 0; }
.static-content p, .static-content li { color: var(--color-text); }
.iletisim-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; margin-top: 30px; }
.iletisim-item { margin-bottom: 22px; }
.iletisim-item h3 { margin-bottom: 4px; font-size: 1rem; }
.iletisim-form { display: flex; flex-direction: column; gap: 12px; background: var(--color-bg-light); padding: 26px; border-radius: var(--radius); }
.iletisim-form label { font-weight: 600; font-size: .9rem; }
.iletisim-form input, .iletisim-form textarea {
  padding: 10px 12px; border: 1px solid var(--color-border); border-radius: 6px; font-family: var(--font-main); font-size: .95rem;
}

/* ---------- Hizmet Detay ---------- */
.hizmet-detay { padding: 50px 0; }
.hizmet-detay-header { text-align: center; max-width: 780px; margin: 0 auto 40px; }
.hizmet-detay-header-no-banner { margin-top: -10px; }
.hizmet-slogan { color: var(--color-primary-dark); font-weight: 600; font-size: 1.1rem; }
.cta-inline { display: flex; gap: 12px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.hizmet-icerik { max-width: 820px; margin: 0 auto 40px; }
.hizmet-icerik h3 { margin-top: 28px; }
.hizmet-icerik ul { margin-bottom: 20px; }

/* ---------- SSS ---------- */
.sss-block { max-width: 820px; margin: 0 auto 50px; }
.sss-item {
  background: var(--color-bg-light); border-radius: var(--radius); padding: 14px 20px; margin-bottom: 10px;
}
.sss-item summary { font-weight: 600; cursor: pointer; color: var(--color-secondary); }
.sss-item p { margin-top: 10px; color: var(--color-text-light); }
.sss-kategori { color: var(--color-primary-dark); }

.bolge-listesi-block, .yakin-bolgeler-block, .diger-hizmetler-block { margin-bottom: 50px; }

.bolgeler-bandi { padding: 50px 0; }

/* ---------- Hizmet kartı - görsel arka planlı (anasayfa) ---------- */
.hizmet-card-img {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hizmet-card-img::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.88) 0%, rgba(13,27,42,0.45) 55%, rgba(13,27,42,0.05) 100%);
}
.hizmet-card-img > * { position: relative; z-index: 1; }
.hizmet-card-img h3 { color: #fff; }
.hizmet-card-img p { color: #e2e8f0; }
.hizmet-card-img .hizmet-link { color: var(--color-primary); }

/* ---------- Hero slider - görsel arka planlı slaytlar ---------- */
.hero-slide-img { background-size: cover; background-position: center; }
.hero-slide-img .hero-slide-inner { position: relative; z-index: 1; }
.hero-slide-img::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(13, 27, 42, 0.68);
}
