/* Taksi Mersin'de — hafif, framework'süz CSS */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  color: #1f2430;
  background: #fafafa;
  line-height: 1.55;
  padding-bottom: 64px; /* sticky cta bar için yer */
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5rem; }
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 700; }
p { margin: 0 0 1rem; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 1.1rem; }
.section { padding: 2.6rem 0; }
.section-sub { color: #5a6270; max-width: 640px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: #fff; border-bottom: 1px solid #eee;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1.1rem; }
.brand { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.15rem; color: var(--primary-dark); flex-shrink: 0; }
.main-nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.main-nav a { font-weight: 600; color: #333; font-size: .95rem; white-space: nowrap; }
.main-nav a:hover { color: var(--accent); }
.header-call {
  background: var(--primary); color: var(--primary-dark);
  padding: .5rem .9rem; border-radius: 999px; font-weight: 700;
  display: flex; flex-direction: column; line-height: 1.1; white-space: nowrap;
}
.header-call-label { font-size: .68rem; font-weight: 600; opacity: .8; }
.header-call-number { font-size: .92rem; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  width: 40px; height: 40px; background: none; border: 1px solid #ddd; border-radius: 8px;
  cursor: pointer; flex-shrink: 0; padding: 0;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--primary-dark, #1A1A1A); margin: 0 auto; transition: transform .15s, opacity .15s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Dil seçici */
.lang-switcher { position: relative; flex-shrink: 0; }
.lang-switcher-toggle {
  display: flex; align-items: center; gap: .3rem; background: none; border: 1px solid #ddd;
  border-radius: 999px; padding: .4rem .7rem; font-size: .85rem; font-weight: 700; cursor: pointer; color: #333;
}
.lang-code { font-size: .78rem; }
.lang-switcher-menu {
  display: none; position: absolute; top: calc(100% + 6px); right: 0; z-index: 60;
  background: #fff; border: 1px solid #eee; border-radius: 10px; box-shadow: 0 8px 20px rgba(0,0,0,.12);
  min-width: 160px; padding: .4rem; flex-direction: column; gap: .1rem;
}
.lang-switcher-menu.is-open { display: flex; }
.lang-option { display: flex; align-items: center; gap: .5rem; padding: .55rem .7rem; border-radius: 7px; font-size: .9rem; color: #333; }
.lang-option:hover { background: #f5f5f5; }
.lang-option.is-active { background: var(--primary); font-weight: 700; }
[dir="rtl"] .lang-switcher-menu { right: auto; left: 0; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #2b2f3a 100%);
  color: #fff; padding: 3.2rem 0 2.6rem;
}
.hero h1 { color: #fff; }
.hero-sub { color: #d8dae0; max-width: 640px; }
.page-hero { background: var(--primary-dark); color: #fff; padding: 2.6rem 0; }
.page-hero h1 { color: #fff; }
.page-hero .hero-sub { color: #d8dae0; }
.page-hero-compact { padding: 2rem 0; }

.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .8rem 1.3rem; border-radius: 10px; font-weight: 700;
  border: none; cursor: pointer; font-size: .98rem;
}
.btn-call { background: var(--call); color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }

/* Trust strip */
.trust-strip { background: var(--primary); }
.trust-strip-inner {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem; padding: 1rem 0; text-align: center;
}
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { color: var(--primary-dark); font-size: 1.05rem; }
.trust-item span { font-size: .82rem; color: #3a3a3a; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.service-card {
  background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 1.2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.04); transition: box-shadow .15s, transform .15s;
}
.service-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); transform: translateY(-2px); }
.service-card h3 { color: var(--primary-dark); }
.service-card p { margin: 0; color: #555; font-size: .92rem; }

/* District grid */
.district-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .8rem; margin-top: 1.2rem; }
.district-card {
  background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 1rem;
  display: flex; flex-direction: column; gap: .3rem; font-weight: 700; color: var(--primary-dark);
}
.district-card:hover { border-color: var(--accent); }
.district-card-badge { font-size: .72rem; font-weight: 600; background: var(--accent); color: #fff; padding: .15rem .5rem; border-radius: 999px; width: fit-content; }

/* Neighborhood grid */
.neighborhood-grid { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.neighborhood-chip {
  background: #fff; border: 1px solid #e2e2e2; border-radius: 999px;
  padding: .45rem .95rem; font-size: .88rem; font-weight: 600; color: #333;
}
.neighborhood-chip:hover { background: var(--primary); border-color: var(--primary); }
.neighborhood-chip-all { background: var(--primary-dark); color: #fff; }

/* Process steps ("Nasıl Çalışır") */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; margin-top: 1.4rem; }
.process-step { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 1.3rem 1.2rem; }
.process-step-number {
  width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: .8rem;
}
.process-step h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.process-step p { margin: 0; color: #555; font-size: .9rem; }

/* Feature grid ("Neden Bizi Seçmelisiniz") */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.feature-card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 1.1rem; display: flex; gap: .8rem; align-items: flex-start; }
.feature-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; }
.feature-card h3 { margin: 0 0 .25rem; font-size: 1rem; color: var(--primary-dark); }
.feature-card p { margin: 0; font-size: .87rem; color: #555; }

/* About/intro text block */
.about-block { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 1.6rem; }
.about-block p { margin: 0; color: #333; }
.chip-district { font-weight: 500; opacity: .6; font-size: .82em; }

/* Calculator teaser */
.calculator-teaser { background: #eef7fb; }
.calculator-teaser-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.calculator-teaser-inner h2 { margin-bottom: .2rem; }
.calculator-teaser-inner p { margin: 0; color: #4b5563; }

/* FAQ */
.faq-block { margin-top: .5rem; }
.faq-list { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; }
.faq-item { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: .8rem 1rem; }
.faq-item summary { cursor: pointer; font-weight: 700; }
.faq-item p { margin: .6rem 0 0; color: #4b5563; }

/* Sayfa görseli + harita */
.page-media-grid { display: grid; grid-template-columns: 340px 1fr; gap: 1.6rem; align-items: center; }
.page-photo { width: 100%; height: 100%; max-height: 280px; object-fit: cover; border-radius: 14px; border: 1px solid #eee; }
.place-figure { margin: 0; }
.place-figure picture { display: block; }
.photo-credit { font-size: .72rem; color: #777; margin-top: .35rem; line-height: 1.35; }
.photo-credit a { color: inherit; text-decoration: underline; }
.osm-map { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid #eee; background: #f3f4f6; }
.osm-map iframe { display: block; width: 100%; height: 300px; border: 0; }
.osm-map-link { position: absolute; right: .6rem; bottom: 2rem; background: rgba(255,255,255,.95); border-radius: 8px; padding: .25rem .6rem; font-size: .8rem; font-weight: 700; text-decoration: none; color: #111; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.map-wide .osm-map iframe { height: 340px; }
.local-note { border-inline-start: 4px solid var(--primary); padding: .2rem 0 .2rem .9rem; color: #1f2937; }
.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: start; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #eee; border-radius: 12px; overflow: hidden; font-size: .93rem; }
.data-table th, .data-table td { padding: .55rem .8rem; text-align: start; border-bottom: 1px solid #f0f0f0; }
.data-table th { background: #fafaf5; font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: #6b7280; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td.num { white-space: nowrap; font-weight: 700; }
.data-note { font-size: .8rem; color: #6b7280; margin: .5rem 0 0; }
.about-text p { margin: 0 0 .8rem; }
@media (max-width: 780px) { .data-grid { grid-template-columns: 1fr; } }
.map-card {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 1.2rem 1.4rem;
}
.map-card-icon { font-size: 1.8rem; flex-shrink: 0; }
.map-card-body { display: flex; flex-direction: column; gap: .2rem; flex: 1; min-width: 180px; }
.map-card-body span { font-size: .85rem; color: #666; }
@media (max-width: 780px) {
  .page-media-grid { grid-template-columns: 1fr; }
  .page-photo { max-height: 200px; }
}

/* Breadcrumb */
.breadcrumb { padding: .9rem 0 0; font-size: .85rem; color: #777; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: '›'; margin-left: .3rem; }
.breadcrumb a { color: var(--accent); }

/* Check list */
.check-list { list-style: none; padding: 0; display: grid; gap: .6rem; margin-top: 1rem; }
.check-list li { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: .8rem 1rem; }
.check-list li::before { content: '✓ '; color: var(--whatsapp); font-weight: 800; }

/* Calculator page */
.calculator-box { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: start; }
.calculator-form { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 1.4rem; }
.calculator-form label { display: block; font-weight: 700; margin-bottom: .4rem; }
.calculator-form input[type="number"] { width: 100%; padding: .6rem; border: 1px solid #ddd; border-radius: 8px; font-size: 1.1rem; margin-bottom: .8rem; }
.calculator-form input[type="range"] { width: 100%; margin-bottom: 1rem; }
.calculator-result { background: var(--primary); border-radius: 10px; padding: 1rem; display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--primary-dark); margin-bottom: .8rem; }
.calculator-result strong { font-size: 1.4rem; }
.calculator-result-words { margin: 0 0 .8rem; font-size: .95rem; color: #374151; font-weight: 600; }
.calculator-tariff-info { font-size: .85rem; color: #4b5563; margin: 0 0 .6rem; padding: .6rem .8rem; background: #f7f7f2; border-radius: 8px; }
.calculator-tariff-date { font-size: .82rem; color: #4b5563; margin: 0 0 .6rem; }
.calculator-disclaimer { font-size: .82rem; color: #777; margin: 0; }
.calculator-cta { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; }
.contact-info p { margin: 0 0 .8rem; }
.contact-form { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 1.4rem; display: flex; flex-direction: column; }
.contact-form label { font-weight: 700; margin: .6rem 0 .3rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  padding: .65rem; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; font-family: inherit;
}
.contact-form button { margin-top: 1.1rem; }
.honeypot { position: absolute; left: -9999px; top: -9999px; }
.form-alert { padding: .8rem 1rem; border-radius: 8px; margin-bottom: 1rem; font-weight: 600; }
.form-alert-success { background: #e6f7ee; color: #146c43; }
.form-alert-error { background: #fdecea; color: #b3261e; }
.form-note { font-size: .85rem; color: #6b7280; margin: 0 0 .8rem; }

/* Footer */
.site-footer { background: var(--primary-dark); color: #cfd2d8; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; padding: 2.6rem 0 1.6rem; }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: .7rem; }
.footer-tagline { color: #a9adb6; font-size: .9rem; }
.nap { font-style: normal; font-size: .9rem; color: #b8bcc4; }
.nap a { color: #fff; }
.footer-links, .footer-district-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .45rem; font-size: .88rem; }
.footer-district-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.footer-col-wide { grid-column: 1 / -1; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding: 1rem 0 1.4rem; border-top: 1px solid #3a3f4b; font-size: .82rem; color: #9aa0aa; }

/* Sticky CTA bar */
.sticky-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; background: #fff; border-top: 1px solid #e2e2e2;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -2px 10px rgba(0,0,0,.06);
}
.cta-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .1rem; padding: .55rem 0; font-size: .74rem; font-weight: 700; color: #fff; border: none; cursor: pointer;
}
.cta-icon { font-size: 1.15rem; }
.cta-whatsapp { background: var(--whatsapp); }
.cta-location { background: var(--accent); }
.cta-call { background: var(--call); }

@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .header-call { display: none; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid #eee; box-shadow: 0 8px 16px rgba(0,0,0,.08);
    flex-direction: column; gap: 0; padding: .5rem 0;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .85rem 1.1rem; border-bottom: 1px solid #f2f2f2; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
  .calculator-box, .contact-grid { grid-template-columns: 1fr; }
  .process-steps, .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .header-call { display: none; }
  .hero-cta .btn, .calculator-teaser-inner .btn { width: 100%; justify-content: center; }
}

/* Footer alt bağlantıları + form gizlilik notu */
.footer-bottom-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.form-privacy { margin: .8rem 0 0; }
.form-privacy a { text-decoration: underline; }

/* Çerez bildirimi — sabit alt çağrı çubuğunun hemen üstünde durur */
.consent-banner {
  position: fixed; left: .75rem; right: .75rem; bottom: calc(4.4rem + env(safe-area-inset-bottom, 0px)); z-index: 60;
  max-width: 640px; margin: 0 auto; padding: .9rem 1rem;
  background: #fff; border: 1px solid #e2e2e2; border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.14);
  font-size: .88rem; color: #333;
}
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0 0 .7rem; }
.consent-banner a { text-decoration: underline; }
.consent-actions { display: flex; gap: .6rem; justify-content: flex-end; }
.consent-actions .btn { padding: .5rem 1rem; font-size: .88rem; }
.consent-reject { background: #f1f2f4; color: #333; }
