/* ==========================================================================
   koltuk-yikama.html - hub sayfasina ozel katman
   (header / mobil menu / sticky-cta / district-links ics-district.css'ten gelir)
   ========================================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(2.5rem, 1.5rem + 5vw, 5rem) var(--gutter) clamp(2.5rem, 1.5rem + 4vw, 4rem);
  text-align: center;
  background: linear-gradient(180deg, var(--ink) 0%, #10233a 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(680px 340px at 15% 0%, rgba(13, 148, 136, .38) 0%, transparent 62%),
    radial-gradient(620px 320px at 88% 12%, rgba(56, 189, 248, .22) 0%, transparent 60%);
}

.hero-image-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .16;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 18, 32, .35) 0%, rgba(11, 18, 32, .8) 100%);
}

.hero-content { position: relative; width: min(100%, 780px); margin-inline: auto; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.badge-item {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .92);
  font-size: var(--step--1);
  font-weight: 600;
  padding: .38rem .8rem;
  border-radius: var(--r-full);
  white-space: nowrap;
}

.hero h1 {
  color: var(--white);
  font-size: var(--step-3);
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

.hero h1 span { color: var(--brand-500); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  align-items: center;
}

.btn-primary,
.btn-secondary,
.btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 700;
  text-decoration: none;
  padding: .9rem 1.5rem;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btn-primary svg,
.btn-secondary svg { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* Birincil eylem: telefon (aramalarin cogu mobilden geliyor) */
.btn-primary {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover { transform: translateY(-2px); background: var(--brand-50); }

.btn-secondary {
  background: var(--wa);
  color: var(--white);
}

.btn-secondary:hover { background: var(--wa-dark); transform: translateY(-2px); }

.btn-secondary.phone-btn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); }
.btn-secondary.phone-btn:hover { background: rgba(255, 255, 255, .18); }

.btn-text {
  background: transparent;
  color: rgba(255, 255, 255, .78);
  padding: .9rem 1rem;
  font-weight: 600;
}

.btn-text:hover { color: var(--white); }

/* Dikkat cekici nabiz efekti - hareket azaltma tercihinde kapanir */
.pulse-button { position: relative; }

@media (prefers-reduced-motion: no-preference) {
  .pulse-button::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: var(--r-full);
    border: 2px solid rgba(255, 255, 255, .55);
    animation: ics-pulse 2.4s ease-out infinite;
    pointer-events: none;
  }

  @keyframes ics-pulse {
    0% { opacity: .7; transform: scale(1); }
    70% { opacity: 0; transform: scale(1.12); }
    100% { opacity: 0; transform: scale(1.12); }
  }
}

/* ---------- Istatistikler ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
  padding-block: clamp(2rem, 1.25rem + 2vw, 3rem);
}

.stat { text-align: center; }

.stat-num {
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 800;
  color: var(--brand-600);
  line-height: 1.1;
}

.stat-label { font-size: var(--step--1); color: var(--muted); font-weight: 600; }

/* ---------- Bolum basliklari ---------- */
.section-header { text-align: center; margin-bottom: clamp(1.75rem, 1rem + 2vw, 2.75rem); }

.section-tag {
  display: inline-block;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: var(--r-full);
  margin-bottom: .75rem;
}

.section-title { font-size: var(--step-2); margin-bottom: .4rem; }
.section-desc { color: var(--muted); max-width: 56ch; margin-inline: auto; }

.services,
.process,
.testimonials,
.gallery,
.faq,
.cta { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem); padding-inline: var(--gutter); }

.services > *,
.process > *,
.testimonials > *,
.gallery > *,
.faq > *,
.cta > * { width: min(100%, var(--wrap)); margin-inline: auto; }

/* ---------- Hizmet kartlari ---------- */
.services { background: var(--surface); }

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.service-card:hover { border-color: var(--brand-100); box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.service-img {
  background: var(--brand-50);
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.service-img img { width: 100%; max-width: 150px; aspect-ratio: 1; object-fit: contain; }

.service-info { padding: 1.1rem 1.25rem 1.35rem; }
.service-info h3 { font-size: var(--step-1); margin-bottom: .25rem; }
.service-info p { color: var(--muted); font-size: var(--step--1); margin-bottom: .75rem; }

.service-price {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  font-size: var(--step--1);
  font-weight: 700;
  padding: .4rem .8rem;
  border-radius: var(--r-full);
}

/* ---------- Surec adimlari ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.step { display: flex; gap: .9rem; align-items: flex-start; }

.step-num {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px; height: 42px;
  border-radius: var(--r-full);
  background: var(--brand);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
}

.step-content h3 { font-size: var(--step-1); margin-bottom: .2rem; }
.step-content p { color: var(--muted); font-size: var(--step--1); margin: 0; }

/* ---------- Yorumlar ---------- */
.testimonials { background: var(--surface); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}

.testimonial-rating { color: #f59e0b; margin-bottom: .6rem; letter-spacing: .1em; }
.testimonial-text { color: var(--slate); font-size: var(--step-0); margin-bottom: .9rem; }
.testimonial-author { font-weight: 700; color: var(--ink); font-size: var(--step--1); }

/* ---------- Galeri ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }

.gallery-item {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
}

.gallery-item img { width: 100%; object-fit: cover; }

/* ---------- SSS ---------- */
.faq-list { display: grid; gap: .6rem; max-width: 780px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
  color: var(--brand-600);
  transition: transform .2s ease;
}

.faq-item.active .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.25rem;
  transition: max-height .28s ease, padding .28s ease;
}

.faq-item.active .faq-answer { max-height: 420px; padding: 0 1.25rem 1.15rem; }
.faq-answer p { color: var(--muted); font-size: var(--step--1); margin: 0; }

/* ---------- Ilce link bolumu ---------- */
.districts-section {
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  padding-inline: var(--gutter);
  background: var(--white);
  border-top: 1px solid var(--line-soft);
  text-align: center;
}

.districts-section > * { width: min(100%, var(--wrap)); margin-inline: auto; }
.districts-section h2 { font-size: var(--step-2); }
.districts-section p { color: var(--muted); margin-bottom: 1.25rem; }

/* ---------- Kapanis CTA ---------- */
.cta {
  background: var(--ink);
  background-image:
    radial-gradient(620px 300px at 12% 0%, rgba(13, 148, 136, .3) 0%, transparent 62%),
    radial-gradient(620px 300px at 88% 100%, rgba(56, 189, 248, .18) 0%, transparent 60%);
  color: var(--white);
  text-align: center;
}

.cta h2 { color: var(--white); max-width: 22ch; margin-inline: auto; }
.cta p { color: rgba(255, 255, 255, .72); margin-bottom: 1.5rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .6);
  text-align: center;
  padding: 2.25rem var(--gutter) 2.75rem;
  font-size: var(--step--1);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer div { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center; margin-bottom: 1rem; }
.footer a { color: rgba(255, 255, 255, .78); text-decoration: none; font-weight: 600; }
.footer a:hover { color: var(--brand-500); }
.footer p { margin: 0; }

/* ---------- Yuzen WhatsApp ---------- */
.floating-wa {
  position: fixed;
  right: clamp(1rem, .5rem + 1.5vw, 1.75rem);
  bottom: clamp(5.5rem, 5rem + 2vw, 6rem);
  z-index: 800;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: var(--r-full);
  background: var(--wa);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 211, 102, .38);
}

.floating-wa svg { width: 27px; height: 27px; fill: currentColor; }

/* Sabit CTA cubugu zaten WhatsApp iceriyor; yuzen buton mukerrer */
.floating-wa { display: none; }

/* ---------- Ozellik kartlari ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  text-align: center;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin: 0 auto .9rem;
  border-radius: var(--r);
  background: var(--brand-50);
  font-size: 1.6rem;
  line-height: 1;
}

.feature h4 { font-family: var(--font-display); font-size: var(--step-0); color: var(--ink); margin: 0 0 .35rem; }
.feature p { color: var(--muted); font-size: var(--step--1); margin: 0; }

/* ---------- Hizmet detaylari ---------- */
.service-details {
  background: var(--surface);
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  padding-inline: var(--gutter);
}

.service-details > * { width: min(100%, var(--wrap)); margin-inline: auto; }

.service-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.service-detail-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}

.service-detail-card h3 { font-size: var(--step-1); margin-bottom: .45rem; }
.service-detail-card p { color: var(--muted); font-size: var(--step--1); margin: 0; }

.emoji { font-style: normal; }
