/* ============================================================
   Kumrucum Halı Yıkama - Ana Stil Dosyası
   Tamamen offline çalışır, harici CDN gerektirmez.
   ============================================================ */

:root {
  --primary: #0a5ca8;
  --primary-dark: #073f74;
  --primary-light: #e8f2fb;
  --accent: #f5a623;
  --dark: #1a2733;
  --gray: #5b6b7a;
  --light-gray: #f4f7fa;
  --white: #ffffff;
  --border: #dce4ec;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(10, 92, 168, 0.10);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --max: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--dark);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 { line-height: 1.25; color: var(--dark); }

.section { padding: 70px 0; }
.section--alt { background: var(--light-gray); }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 45px;
}
.section-head .eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}
.section-head p { color: var(--gray); font-size: 1.05rem; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #d98e10; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }

/* ---------- Üst çubuk ---------- */
.topbar {
  background: var(--primary-dark);
  color: #cfe1f2;
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px 20px;
  gap: 8px;
}
.topbar a { color: #cfe1f2; }
.topbar a:hover { color: #fff; }
.topbar .tb-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Header / Menü ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 48px; width: auto; }
.brand .brand-text { font-weight: 800; font-size: 1.15rem; color: var(--primary-dark); line-height: 1.1; }
.brand .brand-text span { display: block; font-size: 0.7rem; font-weight: 600; color: var(--gray); letter-spacing: 1px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 10px 14px;
  color: var(--dark);
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover { background: var(--primary-light); color: var(--primary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: 0.3s;
}

/* ---------- Slider ---------- */
.slider {
  position: relative;
  height: 78vh;
  min-height: 480px;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}
.slide.active { opacity: 1; }
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 63, 116, 0.82) 0%, rgba(10, 92, 168, 0.55) 60%, rgba(10, 92, 168, 0.25) 100%);
}
.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 30px;
  color: #fff;
}
.slide-content .badge {
  background: var(--accent);
  color: #fff;
  display: inline-block;
  width: fit-content;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.slide-content h2 {
  color: #fff;
  font-size: clamp(1.9rem, 5vw, 3.4rem);
  max-width: 720px;
  margin-bottom: 18px;
  text-wrap: balance;
}
.slide-content p {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  max-width: 600px;
  margin-bottom: 28px;
  color: #eaf2fa;
}
.slide-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  transition: 0.2s;
}
.slider-btn:hover { background: #fff; color: var(--primary); }
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}
.slider-dots button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  transition: 0.2s;
}
.slider-dots button.active { background: #fff; }

/* ---------- Özellik kartları ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: -60px;
  position: relative;
  z-index: 20;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.25s;
}
.feature-card:hover { transform: translateY(-6px); }
.feature-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: var(--gray); font-size: 0.92rem; }

/* ---------- İki kolon içerik ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-text h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 18px; }
.split-text h3 { color: var(--primary); font-size: 1.15rem; margin: 22px 0 10px; }
.split-text p { color: var(--gray); margin-bottom: 14px; }
.check-list { list-style: none; margin: 18px 0; }
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 10px;
  color: var(--dark);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Hizmet kartları (resimli) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.25s;
  border: 1px solid var(--border);
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.service-card img { height: 210px; width: 100%; object-fit: cover; }
.service-card .sc-body { padding: 24px; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--primary-dark); }
.service-card p { color: var(--gray); font-size: 0.95rem; }

/* ---------- SEO uzun içerik ---------- */
.prose { max-width: 900px; margin: 0 auto; }
.prose h3 { font-size: 1.35rem; margin: 30px 0 12px; color: var(--primary-dark); }
.prose p { color: var(--gray); margin-bottom: 16px; }
.prose ul { margin: 0 0 18px 22px; color: var(--gray); }
.prose ul li { margin-bottom: 8px; }

/* ---------- Misyon / Vizyon ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.mv-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 34px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--primary);
}
.mv-card.vision { border-top-color: var(--accent); }
.mv-card .mv-icon {
  width: 70px; height: 70px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin-bottom: 20px;
}
.mv-card.vision .mv-icon { background: #fdf2e0; color: var(--accent); }
.mv-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.mv-card p { color: var(--gray); margin-bottom: 12px; }

/* ---------- İstatistik şeridi ---------- */
.stats {
  background: var(--primary);
  color: #fff;
  padding: 55px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat h3 { font-size: 2.6rem; color: #fff; }
.stat p { color: #cfe1f2; font-weight: 600; }

/* ---------- SSS ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .icon { color: var(--primary); font-size: 1.4rem; transition: 0.3s; flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--gray);
}
.faq-item.open .faq-a { max-height: 600px; padding: 0 24px 22px; }

/* ---------- İletişim ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info .info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
  align-items: flex-start;
}
.contact-info .info-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.contact-info h4 { margin-bottom: 4px; font-size: 1.05rem; }
.contact-info p { color: var(--gray); }

.contact-form {
  background: #fff;
  padding: 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.92rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border 0.2s, box-shadow 0.2s;
  background: var(--light-gray);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 92, 168, 0.12);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.85rem; color: var(--gray); margin-top: 10px; }
.form-success {
  display: none;
  background: #e6f6ec;
  color: #1a7f3c;
  border: 1px solid #b7e4c7;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-weight: 600;
}
.form-success.show { display: block; }

/* ---------- Harita ---------- */
.map-wrap { line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: #b9c4cf;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer h4 { color: #fff; margin-bottom: 18px; font-size: 1.1rem; }
.footer .f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer .f-brand img { height: 46px; background: #fff; border-radius: 8px; padding: 4px; }
.footer .f-brand strong { color: #fff; font-size: 1.05rem; }
.footer p { font-size: 0.92rem; margin-bottom: 12px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: #b9c4cf; transition: 0.2s; }
.footer ul li a:hover { color: #fff; padding-left: 4px; }
.footer .f-contact li { display: flex; gap: 10px; font-size: 0.92rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}
.footer-bottom .fb-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.footer-bottom a { color: #b9c4cf; }
.footer-bottom a:hover { color: #fff; }

/* ---------- İç sayfa başlık ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 10px; }
.page-hero p { color: #d6e6f5; }
.breadcrumb { font-size: 0.9rem; margin-top: 10px; }
.breadcrumb a { color: #d6e6f5; }

/* ---------- WhatsApp yüzen buton ---------- */
.float-wa {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 90;
  background: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: 0.2s;
}
.float-wa:hover { transform: scale(1.08); }

/* ============================================================
   MOBİL UYUMLULUK
   ============================================================ */
@media (max-width: 992px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 20px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 12px; border-bottom: 1px solid var(--light-gray); }

  .split, .mv-grid, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .features { margin-top: 30px; }
  .topbar .tb-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .slider { height: auto; min-height: 0; }
  .slide { position: relative; opacity: 1; display: none; }
  .slide.active { display: block; }
  .slide-content { padding: 70px 24px; }
  .slider-btn { width: 40px; height: 40px; font-size: 1.1rem; }
}

@media (max-width: 560px) {
  .features, .services-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .brand .brand-text { font-size: 1rem; }
  .footer-bottom .fb-inner { justify-content: center; text-align: center; }
}
