/* ============================================
   evtesisat.com — Ana Stil Dosyası
   Mobile-first, modern, performans odaklı
   ============================================ */

/* -------- CSS Değişkenleri -------- */
:root {
  --c-primary: #0A2A5E;
  --c-primary-dark: #061E45;
  --c-secondary: #1E6FD9;
  --c-accent: #F39200;
  --c-accent-dark: #D97F00;
  --c-whatsapp: #25D366;
  --c-whatsapp-dark: #1DA851;
  --c-bg: #FFFFFF;
  --c-bg-soft: #F4F6FA;
  --c-border: #E3E8F0;
  --c-text: #1A1A1A;
  --c-text-muted: #5A6473;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(10, 42, 94, 0.06);
  --shadow: 0 4px 16px rgba(10, 42, 94, 0.08);
  --shadow-lg: 0 10px 30px rgba(10, 42, 94, 0.12);

  --container: 1200px;
  --header-h: 64px;
  --topbar-h: 36px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* -------- Reset / Base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px; /* mobil sticky bar için */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-secondary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--c-primary); line-height: 1.25; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }

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

/* -------- Üst Bar -------- */
.topbar {
  background: var(--c-primary-dark);
  color: #fff;
  font-size: 0.85rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.topbar__inner {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--c-accent); text-decoration: none; }
.topbar__sep { opacity: 0.4; }
@media (max-width: 640px) {
  .topbar__loc { display: none; }
}

/* -------- Header / Nav -------- */
.header {
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--c-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo:hover { text-decoration: none; }
.logo__mark {
  width: 32px;
  height: 32px;
  background: var(--c-secondary);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.nav { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav__link {
  display: block;
  padding: 10px 12px;
  color: var(--c-text);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.nav__link:hover, .nav__link.is-active {
  background: var(--c-bg-soft);
  color: var(--c-primary);
  text-decoration: none;
}
.menu-toggle {
  background: none;
  border: 1px solid var(--c-border);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--c-primary);
  font-weight: 600;
}
@media (min-width: 1024px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
}
/* Mobil açılır menü */
.nav--mobile {
  display: none;
  background: #fff;
  border-top: 1px solid var(--c-border);
  padding: 8px 16px 16px;
}
.nav--mobile.is-open { display: block; }
.nav--mobile .nav__list {
  flex-direction: column;
  gap: 0;
}
.nav--mobile .nav__link { padding: 12px; border-bottom: 1px solid var(--c-border); border-radius: 0; }
@media (min-width: 1024px) { .nav--mobile { display: none !important; } }

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
  min-height: 48px;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--c-accent); color: #fff; }
.btn--primary:hover { background: var(--c-accent-dark); color: #fff; }
.btn--whatsapp { background: var(--c-whatsapp); color: #fff; }
.btn--whatsapp:hover { background: var(--c-whatsapp-dark); color: #fff; }
.btn--outline { background: #fff; color: var(--c-primary); border: 2px solid var(--c-primary); }
.btn--outline:hover { background: var(--c-primary); color: #fff; }
.btn--sm { padding: 10px 16px; font-size: 0.9rem; min-height: 40px; }
.btn--block { display: flex; width: 100%; }

/* -------- Hero -------- */
.hero {
  background:
    linear-gradient(135deg, rgba(10,42,94,0.92), rgba(30,111,217,0.88)),
    radial-gradient(circle at top right, rgba(243,146,0,0.3), transparent 50%);
  background-color: var(--c-primary);
  color: #fff;
  padding: 48px 0 56px;
}
.hero h1 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.hero p {
  color: rgba(255,255,255,0.92);
  font-size: 1.1rem;
  margin-bottom: 28px;
  max-width: 640px;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.95);
}
.hero__badges span { display: inline-flex; align-items: center; gap: 6px; }
.hero__badges svg { color: var(--c-accent); }
@media (min-width: 768px) {
  .hero { padding: 72px 0 80px; }
  .hero h1 { font-size: 2.75rem; }
  .hero p { font-size: 1.2rem; }
}

/* -------- Section -------- */
.section { padding: 48px 0; }
.section--soft { background: var(--c-bg-soft); }
.section__head { text-align: center; margin-bottom: 32px; }
.section__head h2 { margin-bottom: 8px; }
.section__head p { color: var(--c-text-muted); max-width: 720px; margin: 0 auto; }
@media (min-width: 768px) { .section { padding: 72px 0; } }

/* -------- Service Grid -------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--c-secondary);
}
.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--c-bg-soft);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-secondary);
  margin-bottom: 16px;
}
.service-card h3 { margin-bottom: 8px; color: var(--c-primary); }
.service-card p { color: var(--c-text-muted); margin: 0; font-size: 0.95rem; }
.service-card__link {
  display: inline-block;
  margin-top: 12px;
  color: var(--c-secondary);
  font-weight: 600;
  font-size: 0.9rem;
}

/* -------- Features (Neden Biz?) -------- */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature { text-align: center; padding: 16px; }
.feature__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature h3 { margin-bottom: 6px; font-size: 1.05rem; }
.feature p { color: var(--c-text-muted); font-size: 0.95rem; margin: 0; }

/* -------- Service Block (içeriği uzun olan) -------- */
.service-block {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--c-border);
  margin-bottom: 20px;
}
.service-block h2 { margin-top: 0; }
.service-block__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* -------- District chips -------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.chip {
  display: inline-block;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  color: var(--c-primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  text-decoration: none;
}

/* -------- Testimonials -------- */
.testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
}
.testimonial__stars { color: var(--c-accent); margin-bottom: 10px; letter-spacing: 2px; }
.testimonial__text { color: var(--c-text); font-style: italic; margin-bottom: 14px; }
.testimonial__author { color: var(--c-text-muted); font-size: 0.9rem; font-weight: 600; }

/* -------- FAQ -------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: inherit;
}
.faq__q:hover { background: var(--c-bg-soft); }
.faq__icon { transition: transform 0.2s ease; flex-shrink: 0; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  color: var(--c-text-muted);
}
.faq__item.is-open .faq__a { padding: 0 20px 18px; max-height: 500px; }

/* -------- Form -------- */
.form {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  max-width: 720px;
  margin: 0 auto;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
@media (min-width: 600px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.form__field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: 6px;
}
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--c-text);
  transition: border-color 0.15s ease;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--c-secondary);
  box-shadow: 0 0 0 3px rgba(30, 111, 217, 0.15);
}
.form__field textarea { resize: vertical; min-height: 100px; }
.form__success {
  display: none;
  padding: 16px;
  background: #E7F7EC;
  border: 1px solid var(--c-whatsapp);
  color: #0F7A3D;
  border-radius: var(--radius);
  margin-top: 12px;
  text-align: center;
  font-weight: 600;
}
.form__success.is-visible { display: block; }

/* -------- Footer -------- */
.footer {
  background: var(--c-primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 48px 0 24px;
  margin-top: 0;
}
.footer a { color: #fff; }
.footer a:hover { color: var(--c-accent); text-decoration: none; }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; font-size: 0.9rem; }
.footer__brand p { font-size: 0.9rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

/* -------- Mobil Sticky Alt Bar -------- */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--c-border);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 100;
}
.sticky-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  font-weight: 700;
  text-decoration: none;
  min-height: 56px;
  font-size: 1rem;
}
.sticky-bar a:hover { text-decoration: none; }
.sticky-bar__call { background: var(--c-accent); color: #fff; }
.sticky-bar__call:hover { background: var(--c-accent-dark); color: #fff; }
.sticky-bar__wa { background: var(--c-whatsapp); color: #fff; }
.sticky-bar__wa:hover { background: var(--c-whatsapp-dark); color: #fff; }
@media (min-width: 1024px) {
  .sticky-bar { display: none; }
  body { padding-bottom: 0; }
}

/* -------- Breadcrumb -------- */
.breadcrumb {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  padding: 16px 0;
}
.breadcrumb a { color: var(--c-text-muted); }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb__sep { margin: 0 8px; opacity: 0.5; }

/* -------- Page Hero (hizmet/bölge sayfaları) -------- */
.page-hero {
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: #fff;
  padding: 40px 0;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,0.9); max-width: 720px; margin: 0 auto; }

/* -------- Content wrapper -------- */
.content {
  max-width: 820px;
  margin: 0 auto;
}
.content h2 { margin-top: 32px; }
.content h3 { margin-top: 24px; }

/* -------- Utility -------- */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
