/* Genel tasarım: hızlı, mobil uyumlu ve yerel servis sitesi odaklıdır. */
:root {
  --navy: #09213f;
  --navy-2: #0d315b;
  --blue: #145da0;
  --orange: #f97316;
  --red: #e11d48;
  --teal: #0f9f9a;
  --ink: #172033;
  --muted: #64748b;
  --line: #dbe5ef;
  --soft: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(9, 33, 63, 0.16);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  padding-bottom: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 229, 239, 0.8);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(9, 33, 63, 0.12);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0;
}

.brand-text {
  font-size: 18px;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.is-active {
  background: #edf5fb;
  color: var(--blue);
}

.nav-dropdown {
  position: relative;
}

.chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 20;
  min-width: 290px;
  display: grid;
  gap: 2px;
  padding: 16px 10px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
}

.dropdown-menu a:hover,
.dropdown-menu .dropdown-all {
  background: var(--soft);
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  place-items: center;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 3px 0;
  background: var(--navy);
}

.hero-slider {
  position: relative;
  min-height: clamp(620px, 78vh, 760px);
  overflow: hidden;
  background: var(--navy);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slide.is-active {
  opacity: 1;
  z-index: 1;
}

.slide img,
.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-overlay,
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 33, 63, 0.9), rgba(9, 33, 63, 0.58) 44%, rgba(9, 33, 63, 0.12));
}

.slide-content {
  position: relative;
  z-index: 2;
  min-height: clamp(620px, 78vh, 760px);
  display: grid;
  align-content: center;
  max-width: 760px;
  margin-left: max(calc((100vw - 1180px) / 2), 16px);
  color: var(--white);
  padding-block: 96px 120px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.slide h1,
.slide h2,
.page-hero h1 {
  margin: 12px 0 16px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

.slide p,
.page-hero p {
  max-width: 650px;
  margin: 0 0 28px;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cta-row.stack {
  display: grid;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 14px 28px rgba(225, 29, 72, 0.25);
}

.btn-secondary {
  color: var(--navy);
  background: var(--white);
}

.btn-outline {
  color: var(--navy);
  background: transparent;
  border-color: var(--line);
}

.slider-control {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 34px;
  cursor: pointer;
}

.slider-control.prev {
  left: 18px;
}

.slider-control.next {
  right: 18px;
}

.slider-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 28px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 38px;
  height: 4px;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.slider-dots button.is-active {
  background: var(--orange);
}

.section {
  padding: 86px 0;
}

.section:nth-of-type(even) {
  background: var(--soft);
}

.section-head {
  display: grid;
  gap: 10px;
  max-width: 800px;
  margin-bottom: 34px;
}

.section-head h2,
.split-grid h2,
.media-grid h2,
.rich-content h2,
.side-panel h2,
.contact-grid h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-head p,
.split-grid p,
.media-grid p,
.rich-content p,
.side-panel p,
.contact-grid p {
  margin: 0;
  color: var(--muted);
}

.service-grid,
.city-grid,
.blog-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-grid.small {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid.inline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.service-card,
.city-card,
.blog-card,
.testimonial-grid figure,
.side-panel,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(9, 33, 63, 0.06);
}

.service-card,
.city-card,
.blog-card {
  min-height: 100%;
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.service-card img {
  width: 46px;
  height: 46px;
}

.service-card h3,
.city-card h3,
.blog-card h2,
.blog-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.25;
}

.service-card p,
.city-card p,
.blog-card p {
  margin: 0;
  color: var(--muted);
}

.service-card a,
.city-card a,
.blog-card a {
  width: fit-content;
  color: var(--blue);
  font-weight: 900;
}

.split-grid,
.media-grid,
.contact-grid,
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 36px;
  align-items: start;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-item {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-item span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e8faf8;
  color: var(--teal);
  font-weight: 900;
}

.media-band {
  background: var(--navy);
  color: var(--white);
}

.media-grid {
  align-items: center;
}

.media-grid img {
  width: 100%;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.media-grid h2,
.media-grid p {
  color: var(--white);
}

.check-list {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 900;
}

.region-preview,
.link-list,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.region-preview a,
.link-list a,
.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  background: #edf5fb;
  color: var(--navy);
  font-weight: 800;
}

.mini-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-link-list a,
.mini-link-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 9px;
  border-radius: 8px;
  background: #fff7ed;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.mini-link-list span {
  background: #edf5fb;
  color: var(--muted);
}

.city-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.city-card-stats span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: #edf5fb;
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.section-intro {
  max-width: 820px;
  margin: -4px 0 8px;
  color: var(--muted);
}

.district-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.district-card {
  min-height: 100%;
  padding: 20px;
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(9, 33, 63, 0.06);
}

.district-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.district-card-head h3 {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.25;
}

.district-card-head span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: #fff7ed;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.district-card p {
  margin: 0;
  color: var(--muted);
}

.district-main-link {
  width: fit-content;
  color: var(--blue);
  font-weight: 900;
}

.district-service-links,
.district-neighborhood-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.district-service-links a,
.district-neighborhood-list a {
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.district-service-links a {
  background: #edf5fb;
}

.district-neighborhoods {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.district-neighborhoods summary {
  min-height: 34px;
  display: flex;
  align-items: center;
  color: var(--blue);
  cursor: pointer;
  font-weight: 900;
}

.district-neighborhood-list {
  margin-top: 10px;
}

.district-neighborhood-list a {
  background: #fff7ed;
}

.area-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.area-service-block {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.area-service-block h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.25;
}

.area-service-block p {
  margin: 0 0 10px;
}

.area-service-block a {
  color: var(--blue);
  font-weight: 900;
}

.testimonial-grid figure {
  margin: 0;
  padding: 24px;
}

.testimonial-grid blockquote {
  margin: 0 0 14px;
  color: var(--ink);
  font-weight: 700;
}

.testimonial-grid figcaption {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 16px 18px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--navy);
}

.faq-list p {
  margin: 10px 0 0;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: var(--soft);
}

.page-hero {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background: var(--navy);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  min-height: 470px;
  display: grid;
  align-content: center;
  color: var(--white);
  padding: 92px 0 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--white);
  font-weight: 800;
}

.rich-content {
  display: grid;
  gap: 18px;
}

.rich-content h2 {
  margin-top: 12px;
  font-size: clamp(24px, 2.4vw, 34px);
}

.side-panel {
  position: sticky;
  top: 96px;
  padding: 22px;
  display: grid;
  gap: 16px;
}

.side-panel ul {
  padding-left: 18px;
  margin: 0;
}

.notice-box {
  border-left: 4px solid var(--orange);
  background: #fff7ed;
  padding: 16px;
  border-radius: var(--radius);
}

.contact-band {
  background: #f8fbfd;
}

.contact-form {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--navy);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  color: var(--ink);
}

.form-status {
  min-height: 24px;
  color: var(--teal);
  font-weight: 800;
}

.map-placeholder {
  min-height: 240px;
  margin-top: 26px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed #9db2c6;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eef7ff, #ffffff);
  color: var(--navy);
  padding: 24px;
}

.map-placeholder iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--radius);
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.84);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 54px 0;
}

.footer-brand,
.site-footer h2 {
  color: var(--white);
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.site-footer a:hover {
  color: var(--orange);
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-weight: 900;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px 0;
  font-size: 14px;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 8px;
  background: #16a34a;
  color: var(--white);
  font-weight: 900;
  box-shadow: var(--shadow);
}

.floating-whatsapp img {
  width: 22px;
  height: 22px;
}

.mobile-cta-bar {
  display: none;
}

@media (max-width: 1020px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    max-height: calc(100vh - 76px);
    overflow: auto;
    padding: 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-open .site-nav {
    display: grid;
    align-items: stretch;
  }

  .nav-link {
    justify-content: space-between;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    display: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
  }

  .nav-dropdown.is-open .dropdown-menu {
    display: grid;
  }

  .service-grid,
  .city-grid,
  .blog-grid,
  .testimonial-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-grid,
  .media-grid,
  .contact-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 72px;
  }

  .container {
    width: min(1180px, calc(100% - 24px));
  }

  .header-inner {
    width: min(366px, calc(100% - 24px));
    height: 68px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 12px;
    margin-left: 12px;
    margin-right: 0;
  }

  .brand-text {
    font-size: 16px;
    max-width: 230px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .site-nav {
    inset: 68px 0 auto 0;
  }

  .hero-slider,
  .slide-content {
    min-height: 660px;
  }

  .slide-overlay,
  .page-hero-overlay {
    background: linear-gradient(180deg, rgba(9, 33, 63, 0.84), rgba(9, 33, 63, 0.68));
  }

  .slide-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-inline: 12px;
  }

  .slide h1,
  .slide h2,
  .page-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
    max-width: 360px;
    overflow-wrap: break-word;
  }

  .slide p,
  .page-hero p {
    font-size: 18px;
    max-width: 340px;
    overflow-wrap: break-word;
  }

  .slide .cta-row {
    max-width: 100%;
  }

  .slide .btn {
    padding-inline: 14px;
  }

  .slider-control {
    display: none;
  }

  .section {
    padding: 62px 0;
  }

  .service-grid,
  .service-grid.small,
  .service-grid.inline,
  .area-service-list,
  .district-card-grid,
  .city-grid,
  .blog-grid,
  .testimonial-grid,
  .feature-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .district-card-head {
    display: grid;
    justify-content: stretch;
  }

  .page-hero,
  .page-hero-content {
    min-height: 430px;
  }

  .footer-bottom .container {
    display: grid;
  }

  .floating-whatsapp {
    display: none;
  }

  .mobile-cta-bar {
    position: fixed;
    left: 0;
    right: auto;
    bottom: 0;
    z-index: 60;
    display: grid;
    width: min(390px, 100vw);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px rgba(9, 33, 63, 0.12);
  }

  .mobile-cta-bar a {
    min-height: 58px;
    display: grid;
    place-items: center;
    padding: 0 8px;
    min-width: 0;
    font-size: 15px;
    font-weight: 900;
    color: var(--white);
    background: var(--orange);
    white-space: nowrap;
    overflow: hidden;
  }

  .mobile-cta-bar a + a {
    background: #16a34a;
  }
}
