/* Kahramanmaraş Çekici – Ana Stil Dosyası */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #0f172a;
  --secondary: #1e293b;
  --accent: #dc2626;
  --accent-hover: #b91c1c;
  --accent-alt: #ea580c;
  --dark: #020617;
  --light: #f8fafc;
  --light-gray: #e2e8f0;
  --white: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --success: #16a34a;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --header-height: 72px;
  --header-height-scrolled: 60px;
  --mobile-cta-height: 64px;
  --transition: 0.25s ease;
  --container: 1200px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.25;
  color: var(--primary);
  font-weight: 700;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
}

p {
  margin-bottom: 1rem;
  color: #96a7c2;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section--gray {
  background: var(--light);
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section__header p {
  color: var(--muted);
  font-size: 1.0625rem;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--accent);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--accent-alt);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}

.btn--secondary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn--secondary:hover {
  background: var(--secondary);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn--whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
}

.btn--whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  color: var(--white);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero::before {
  display: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #fca5a5;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.75rem;
  max-width: 560px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  padding: 0.75rem;
  box-shadow:
    0 4px 6px -1px rgb(0 0 0 / 0.15),
    0 10px 24px -4px rgb(0 0 0 / 0.25);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: default;
}

.hero__image:hover {
  transform: translateY(-8px);
  box-shadow:
    0 8px 12px -2px rgb(0 0 0 / 0.2),
    0 20px 40px -6px rgb(0 0 0 / 0.35);
}

.hero__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 688 / 384;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--radius-lg) - 4px);
}

/* Trust badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.trust-badge svg {
  flex-shrink: 0;
  color: var(--accent-alt);
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.page-hero .btn {
  margin: 0 0.375rem 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 0;
  background: var(--light);
  border-bottom: 1px solid var(--light-gray);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--muted);
}

.breadcrumb li:not(:last-child)::after {
  content: '›';
  color: var(--muted);
  margin-left: 0.375rem;
}

.breadcrumb a {
  color: var(--text);
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* Content */
.content {
  padding: 3rem 0;
}

.content__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.content__main h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.content__main h2:first-child {
  margin-top: 0;
}

.content__main h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.content__main ul,
.content__main ol {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.content__main ul {
  list-style: disc;
}

.content__main ol {
  list-style: decimal;
}

.content__main li {
  margin-bottom: 0.375rem;
  color: var(--text);
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card__icon {
  width: 48px;
  height: 48px;
  background: rgba(220, 38, 38, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card h3 a {
  color: var(--primary);
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--accent);
}

.card p {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}

.step h3 {
  margin-bottom: 0.375rem;
}

.step p {
  color: var(--muted);
  font-size: 0.9375rem;
  margin: 0;
}

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.why-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.why-item h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.why-item p {
  font-size: 0.9375rem;
  color: var(--muted);
  margin: 0;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 1.5rem;
}

.cta-band__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Districts */
.districts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.875rem;
}

.district-link {
  display: block;
  padding: 0.875rem 1rem;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  color: var(--primary);
  font-weight: 500;
  text-align: center;
  transition: all var(--transition);
}

.district-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(220, 38, 38, 0.04);
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
}

.blog-card__image {
  aspect-ratio: 16/9;
  background: var(--light);
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__body {
  padding: 1.25rem;
}

.blog-card__date {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
}

.blog-card h3 a {
  color: var(--primary);
}

.blog-card h3 a:hover {
  color: var(--accent);
}

.blog-card p {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

/* Article */
.article {
  max-width: 760px;
  margin: 0 auto;
}

.article__meta {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.article h2 {
  margin-top: 2rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(220, 38, 38, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-info h3 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.contact-info p,
.contact-info a {
  font-size: 0.9375rem;
  color: var(--muted);
}

.map-placeholder {
  background: var(--light);
  border: 2px dashed var(--light-gray);
  border-radius: var(--radius-lg);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: var(--muted);
}

.map-placeholder iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--radius-lg);
  display: block;
}

.map-placeholder.has-map {
  border: none;
  background: transparent;
  padding: 0;
  min-height: auto;
}

/* 404 */
.error-page {
  text-align: center;
  padding: 5rem 0;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.error-page__code {
  font-size: 6rem;
  font-weight: 800;
  color: var(--light-gray);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-page h1 {
  margin-bottom: 1rem;
}

.error-page p {
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 2rem;
}

.error-page__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Related links */
.related-links {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light-gray);
}

.related-links h3 {
  margin-bottom: 1rem;
}

.related-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.related-links a {
  font-size: 0.9375rem;
}

/* Sidebar */
.sidebar-box {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-box h3 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.sidebar-box ul li {
  margin-bottom: 0.5rem;
}

.sidebar-box a {
  font-size: 0.9375rem;
  color: var(--text);
}

.sidebar-box a:hover {
  color: var(--accent);
}

/* Quick CTA strip */
.quick-cta {
  background: var(--accent);
  padding: 1rem 0;
}

.quick-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

.quick-cta p {
  color: var(--white);
  margin: 0;
  font-weight: 600;
}

/* Utility */
.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-2 {
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .step {
    flex-direction: column;
    text-align: center;
  }

  .content__grid {
    grid-template-columns: 1fr 320px;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 5rem 0;
  }
}
