/* Sakarya Vidanjör - stil dosyası
   Sistem fontları kullanılır: harici font isteği yok, render-blocking kaynak yok. */

:root {
  --brand: #d32f2f;
  --brand-dark: #b71c1c;
  --ink: #1f2937;
  --ink-soft: #4b5563;
  --bg: #ffffff;
  --bg-alt: #f7f7f8;
  --border: #e5e7eb;
  --radius: 10px;
  --max-width: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
.icon-phone { flex-shrink: 0; }
a { color: var(--brand-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 2px;
}
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

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

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand img { border-radius: 8px; object-fit: contain; background: #fff; }
.brand-text strong { display: block; font-size: 1.05rem; }
.brand-text small { color: var(--ink-soft); font-size: 0.8rem; }

.nav-toggle-input { display: none; }
.nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle-label span { width: 24px; height: 2px; background: var(--ink); display: block; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  border-bottom-color: var(--brand);
  color: var(--brand-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--brand);
}
.btn-call { background: var(--brand); color: #fff; }
.btn-call:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-outline { background: transparent; color: var(--brand-dark); }
.btn-outline:hover { background: var(--bg-alt); }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }
.header-call { white-space: nowrap; }

@media (max-width: 600px) {
  .wrap { padding: 0 22px; }
  .header-inner { padding: 12px 22px; }
}

@media (max-width: 820px) {
  .nav-toggle-label { display: flex; }
  .main-nav {
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    order: 3;
  }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 0; }
  .main-nav a { display: block; padding: 10px 4px; }
  .nav-toggle-input:checked ~ .main-nav { max-height: 320px; }
  .header-call { display: none; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 6px; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { padding: 48px 0; background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 16px; }
.hero-lead { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image img { border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,.12); aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
}

.page-hero { padding-top: 44px; }
.page-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 10px; }
.page-hero img { border-radius: var(--radius); margin-top: 32px; aspect-ratio: 9 / 5; width: 100%; object-fit: cover; }
.service-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.service-hero img { border-radius: var(--radius); aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .service-hero { grid-template-columns: 1fr; }
  .service-hero img { order: -1; }
}

/* ---------- Sections ---------- */
.section { padding-top: 40px; padding-bottom: 40px; }
.section h2 { font-size: 1.6rem; margin-bottom: 14px; }
.narrow { max-width: 800px; margin-left: auto; margin-right: auto; }
.narrow h2 { margin-top: 32px; }
.alt-bg { background: var(--bg-alt); }
.cta-section { text-align: center; background: var(--brand-dark); color: #fff; border-radius: var(--radius); padding: 44px 24px; }
.cta-section h2 { color: #fff; }
.cta-section .btn-call { background: #fff; color: var(--brand-dark); border-color: #fff; }
.cta-section .btn-call:hover { background: var(--bg-alt); }

/* ---------- Service grid ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.service-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.service-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.service-card img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--radius) - 3px); width: 100%; }
.service-card-body { padding: 16px 0 0; }
.service-card-body h3 { margin: 0 0 8px; font-size: 1.1rem; }
.service-card-body p { margin: 0 0 10px; color: var(--ink-soft); font-size: 0.95rem; }
.service-card-link { color: var(--brand-dark); font-weight: 600; font-size: 0.9rem; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.feature { padding: 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.feature h3 { margin: 0 0 8px; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 12px;
  background: #fff;
}
.faq-item summary { cursor: pointer; font-weight: 600; }
.faq-item p { margin: 10px 0 0; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; max-width: 640px; }
.contact-details { list-style: none; padding: 0; }
.contact-details li { margin-bottom: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d1d5db; margin-top: 40px; padding-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 30px; padding-bottom: 30px; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1.1rem; margin-top: 0; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 8px; font-size: 0.92rem; }
.footer-list a { color: #d1d5db; text-decoration: none; }
.footer-list a:hover { color: #fff; text-decoration: underline; }
.footer-list-services { columns: 1; }
.footer-bottom { border-top: 1px solid #374151; padding: 16px 20px 90px; font-size: 0.85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile call button ---------- */
.sticky-call { display: none; }
@media (max-width: 768px) {
  .sticky-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: var(--brand);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 16px;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0,0,0,.15);
  }
  .sticky-call:visited, .sticky-call:hover { color: #fff; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
