/* ============================================================
   Ankara Antikacı — SEO odaklı statik site stilleri
   Renk paleti: sıcak, klasik, antika atmosferi
   ============================================================ */

:root {
  --color-bg: #faf6ec;
  --color-surface: #ffffff;
  --color-alt: #f1e9d8;
  --color-text: #3a2d20;
  --color-text-soft: #6b5a48;
  --color-primary: #6b3410;
  --color-primary-dark: #4a2308;
  --color-accent: #b8924a;
  --color-accent-soft: #d4b478;
  --color-accent-dark: #927035;
  --color-border: #e3d8bf;
  --color-whatsapp: #25D366;

  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(44, 24, 16, 0.06);
  --shadow-md: 0 4px 14px rgba(44, 24, 16, 0.08);
  --shadow-lg: 0 10px 30px rgba(44, 24, 16, 0.12);

  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --container-narrow: 760px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: 1.3;
  margin: 0 0 0.7em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1.25; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); margin-top: 1.6em; }
h3 { font-size: 1.18rem; line-height: 1.4; }

p { margin: 0 0 1.1em; }

ul, ol { padding-left: 1.4em; }
li { margin-bottom: 0.5em; line-height: 1.7; }

strong { font-weight: 600; color: var(--color-text); }

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

.content-narrow { max-width: var(--container-narrow); margin: 0 auto; }

.section { padding: 64px 0; }
.section-alt { background: var(--color-alt); }
.section-lead {
  font-size: 1.08rem;
  color: var(--color-text-soft);
  margin-bottom: 2.2em;
  line-height: 1.8;
  max-width: 880px;
}

/* ----------- Skip link (accessibility) ----------- */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--color-primary); color: #fff;
  padding: 8px 16px; z-index: 1000;
}
.skip-link:focus { top: 0; }

/* ----------- Header ----------- */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center;
  gap: 20px;
  padding-top: 14px; padding-bottom: 14px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--color-text);
  font-weight: 700;
}
.logo:hover { text-decoration: none; }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--color-primary); color: #fdf6e3;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.4rem; font-weight: 700;
  border: 2px solid var(--color-accent-soft);
  font-style: italic;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex; flex-direction: column; line-height: 1.1;
}
.logo-text small {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-text-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex; gap: 6px;
  list-style: none; padding: 0; margin: 0;
}
.main-nav a {
  display: block;
  padding: 8px 14px;
  color: var(--color-text);
  border-radius: var(--radius);
  font-weight: 500;
  transition: background 0.15s;
}
.main-nav a:hover { background: var(--color-alt); text-decoration: none; }
.main-nav a[aria-current="page"] {
  background: var(--color-primary); color: #fff;
}

.header-call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-accent);
  color: #fff !important;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  white-space: nowrap;
}
.header-call:hover { background: var(--color-accent-dark); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none; border: none;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; gap: 5px;
  cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--color-text); margin: 0 auto;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------- Hero banner image (Gemini görseli için) ----------- */
/* Görsel 5:1 banner formatı — başlık + telefon merkezde, doğal oranıyla
   gösterilir, kırpma yok. Geniş ekranda max 1800px native boyutta kalır. */
.hero-banner-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  background: var(--color-primary-dark);
  border-bottom: 3px solid var(--color-accent);
  box-shadow: 0 4px 14px rgba(44, 24, 16, 0.15);
  overflow: hidden;
}
.hero-banner {
  width: 100%;
  max-width: 1800px;
  height: auto;
  display: block;
}

/* ----------- Hero ----------- */
.hero {
  background:
    linear-gradient(135deg, rgba(74, 35, 8, 0.88), rgba(107, 52, 16, 0.82)),
    radial-gradient(ellipse at 75% 30%, rgba(212, 180, 120, 0.35) 0%, transparent 60%);
  color: #f8efd8;
  padding: 84px 0 72px;
  text-align: center;
}
.hero h1 {
  color: #fdf6e3;
  max-width: 880px;
  margin: 0 auto 0.7em;
  font-weight: 700;
  line-height: 1.3;
}
.hero h1 span {
  color: var(--color-accent-soft);
  display: inline-block;
  font-style: italic;
  font-weight: 600;
}
.hero-lead {
  font-size: 1.08rem;
  max-width: 720px;
  margin: 0 auto 2.2em;
  color: rgba(253, 246, 227, 0.88);
  line-height: 1.75;
}
.hero-cta {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px; margin-bottom: 2.4em;
}
.hero-bullets {
  list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 28px; margin: 0;
}
.hero-bullets li {
  font-weight: 500;
  color: var(--color-accent-soft);
  margin: 0;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
}

/* ----------- Buttons ----------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600; font-size: 1.05rem;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  border: 2px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--color-accent); color: #fff !important; }
.btn-primary:hover { background: var(--color-accent-dark); }
.btn-secondary {
  background: var(--color-whatsapp); color: #fff !important;
}
.btn-secondary:hover { background: #128C7E; }

/* ----------- Page hero (inner pages) ----------- */
.page-hero {
  background: linear-gradient(180deg, var(--color-alt) 0%, var(--color-bg) 100%);
  padding: 56px 0 44px;
  border-bottom: 1px solid var(--color-border);
}
.page-hero h1 { margin-top: 0; color: var(--color-primary); }
.page-hero p {
  color: var(--color-text-soft);
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ----------- Services grid (homepage) ----------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.service-card {
  background: var(--color-surface);
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-soft);
}
.service-icon { font-size: 2.4rem; margin-bottom: 14px; }
.service-card h3 { color: var(--color-primary); margin-bottom: 0.6em; }
.service-card p {
  color: var(--color-text-soft);
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.7;
}

/* ----------- Service detail (services page) ----------- */
.service-detail {
  background: var(--color-surface);
  padding: 36px 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  margin-bottom: 24px;
  scroll-margin-top: 80px;
  box-shadow: var(--shadow-sm);
}
.service-detail h2 {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-accent-soft);
  padding-bottom: 12px;
  margin-top: 0;
  margin-bottom: 0.9em;
}
.service-detail p { line-height: 1.8; }

/* ----------- Process list ----------- */
.process-list {
  list-style: none; padding: 0;
  counter-reset: step;
  margin-top: 20px;
}
.process-list li {
  background: var(--color-surface);
  padding: 18px 22px;
  margin-bottom: 12px;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
}

/* ----------- Features grid ----------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 24px;
}
.feature {
  background: var(--color-alt);
  padding: 24px;
  border-radius: var(--radius);
}
.feature h3 { margin-top: 0; color: var(--color-primary); }
.feature p { margin: 0; color: var(--color-text-soft); }

/* ----------- CTA section ----------- */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  text-align: center;
}
.cta-section h2 { color: #fff; margin-top: 0; }
.cta-section p { color: rgba(255,255,255,0.9); margin-bottom: 1.6em; }

.cta-box {
  background: var(--color-alt);
  padding: 32px;
  border-radius: var(--radius);
  margin: 30px 0;
  text-align: center;
}
.cta-box h2 { margin-top: 0; }

/* ----------- Bulleted lists ----------- */
.bulleted { list-style: none; padding: 0; }
.bulleted li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 8px;
}
.bulleted li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* ----------- Contact page ----------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.contact-card {
  display: block;
  background: var(--color-surface);
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.contact-card:hover {
  text-decoration: none; transform: translateY(-3px);
  box-shadow: var(--shadow-md); border-color: var(--color-accent);
}
.contact-icon { font-size: 2.5rem; margin-bottom: 8px; }
.contact-card h2 { margin: 0 0 8px; font-size: 1.3rem; }
.contact-value { font-size: 1.15rem; font-weight: 600; color: var(--color-primary); margin: 0 0 4px; }
.contact-note { font-size: 0.9rem; color: var(--color-text-soft); margin: 0; }

.info-block {
  background: var(--color-alt);
  padding: 28px;
  border-radius: var(--radius);
  margin-bottom: 22px;
}
.info-block h2 { margin-top: 0; color: var(--color-primary); }

.bolge-grid {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}
.bolge-grid li { margin: 0; }

/* ----------- Article list ----------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.article-card {
  background: var(--color-surface);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.article-card h2 { margin-top: 0; font-size: 1.3rem; }
.article-card h2 a { color: var(--color-text); }
.article-card h2 a:hover { color: var(--color-primary); }
.article-meta { font-size: 0.88rem; color: var(--color-text-soft); margin-bottom: 0.8em; }
.article-link { font-weight: 600; }

/* ----------- Article detail ----------- */
.breadcrumb {
  font-size: 0.9rem; color: var(--color-text-soft);
  margin-bottom: 1.5em;
}
.breadcrumb a { color: var(--color-text-soft); }

.article-body {
  font-size: 1.08rem;
  line-height: 1.85;
  margin-bottom: 2em;
  color: #3a2d20;
}
.article-body p { margin: 0 0 1.3em; }
.article-body h2 { margin-top: 1.8em; color: var(--color-primary); }
.article-body h3 { margin-top: 1.5em; color: var(--color-primary); font-size: 1.2rem; }
.article-body ul, .article-body ol { margin: 1em 0 1.3em; }
.article-body li { margin-bottom: 0.6em; }
.article-body img {
  border-radius: var(--radius); margin: 1.5em 0;
  box-shadow: var(--shadow-sm);
}
.article-body blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 0.4em 1.2em;
  margin: 1.5em 0;
  background: var(--color-alt);
  color: var(--color-text-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article-body code {
  background: var(--color-alt); padding: 2px 6px;
  border-radius: 4px; font-size: 0.95em;
}
.article-back { margin-top: 2em; }

/* ----------- WhatsApp floating button ----------- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: var(--color-whatsapp); color: #fff !important;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 99;
  transition: transform 0.15s;
}
.whatsapp-float:hover {
  text-decoration: none;
  transform: scale(1.08);
}

/* ----------- Footer ----------- */
.site-footer {
  background: #1f1208;
  color: #d8c8b3;
  padding: 50px 0 0;
  margin-top: 60px;
}
.site-footer h3 {
  color: var(--color-accent);
  font-size: 1.05rem;
  margin: 0 0 1em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.site-footer p { color: #c4b095; font-size: 0.95rem; }
.site-footer a { color: #d8c8b3; }
.site-footer a:hover { color: var(--color-accent); }
.site-footer ul {
  list-style: none; padding: 0; margin: 0;
}
.site-footer li { margin-bottom: 6px; font-size: 0.95rem; }
.bolgeler {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  padding-bottom: 32px;
}
.footer-contact a { display: inline-block; padding: 2px 0; }
.footer-bottom {
  border-top: 1px solid #3a2810;
  padding: 20px;
  text-align: center;
  font-size: 0.88rem;
  color: #a89478;
}
.footer-bottom p { margin: 0; }

/* ============================================================
   Responsive — mobile first için kırılma noktaları
   ============================================================ */

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.is-open { max-height: 500px; }
  .main-nav ul { flex-direction: column; padding: 12px 16px; }
  .main-nav a { padding: 12px 14px; }

  .header-call { padding: 8px 12px; font-size: 0.92rem; }
  .header-call .call-icon { display: none; }

  .header-inner { gap: 10px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 44px 0; }
  .hero { padding: 56px 0; }
  .hero-bullets { gap: 12px; }
  .hero-bullets li { font-size: 0.95rem; }

  .btn { padding: 12px 20px; font-size: 1rem; width: 100%; justify-content: center; }
  .hero-cta { flex-direction: column; max-width: 320px; margin-left: auto; margin-right: auto; }

  .service-detail { padding: 22px; }
  .info-block { padding: 22px; }
  .cta-box { padding: 22px; }

  .logo-text { display: none; }

  .whatsapp-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }

  .bolgeler { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .header-call span:not(.call-icon) { display: none; }
  .header-call .call-icon { display: inline; font-size: 1.2rem; }
}

/* ============================================================
   FAQ accordion (homepage)
   ============================================================ */
.faq-list {
  max-width: 820px;
  margin: 30px auto 0;
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item[open] {
  border-color: var(--color-accent-soft);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  color: var(--color-primary);
  list-style: none;
  position: relative;
  padding-right: 48px;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--color-accent);
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer {
  padding: 0 24px 22px;
  color: var(--color-text-soft);
  line-height: 1.75;
}
.faq-answer p:last-child { margin-bottom: 0; }

/* ============================================================
   District (semt) page styles
   ============================================================ */
.neighborhood-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; padding: 0; margin: 1.4em 0;
}
.neighborhood-tags li {
  background: var(--color-alt);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.92rem;
  color: var(--color-primary);
  margin: 0;
  border: 1px solid var(--color-border);
}

.district-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 30px 0;
}
.district-card {
  display: block;
  background: var(--color-surface);
  padding: 22px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.2s;
}
.district-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}
.district-card h3 {
  color: var(--color-primary);
  margin: 0 0 6px;
  font-size: 1.1rem;
}
.district-card p {
  color: var(--color-text-soft);
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ============================================================
   Print styles — temiz çıktı
   ============================================================ */
@media print {
  .site-header, .site-footer, .whatsapp-float, .hero-cta, .cta-box, .cta-section { display: none !important; }
  body { background: #fff; color: #000; }
}
