/* ============================================================
   MEHMET TESİSAT — Zonguldak Su Tesisatçısı
   Ortak stil dosyası (tüm sayfalarda kullanılır)
   BEM naming · CSS Variables · Grid + Flexbox · Responsive
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS RESET
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--white);
  overflow-x: hidden;
}

img,
svg,
iframe {
  max-width: 100%;
  display: block;
}

a {
  color: var(--secondary);
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

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

/* ------------------------------------------------------------
   2. CSS VARIABLES
   ------------------------------------------------------------ */
:root {
  --primary: #0ea5e9;   /* su mavisi */
  --secondary: #0284c7; /* koyu mavi */
  --accent: #f97316;    /* turuncu — acil müdahale */
  --dark: #0f172a;
  --light: #f8fafc;
  --text: #334155;
  --white: #ffffff;
  --green: #25d366;     /* WhatsApp yeşili */
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 14px 34px rgba(15, 23, 42, 0.14);
  --transition: all 0.25s ease;
}

/* Scroll offset (sticky header) */
section[id] {
  scroll-margin-top: 96px;
}

/* Erişilebilirlik */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--dark);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 2000;
}

.skip-link:focus {
  left: 0;
}

/* ------------------------------------------------------------
   3. LAYOUT — CONTAINER
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------------------------------------
   4. BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(2, 132, 199, 0.35);
}

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

.btn--accent:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.4);
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--white);
  background: transparent;
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

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

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(2, 48, 71, 0.35);
}

.btn--whatsapp {
  background: var(--green);
  color: var(--white);
}

.btn--whatsapp:hover {
  background: #1eb85a;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.4);
}

/* ------------------------------------------------------------
   5. TOP BAR
   ------------------------------------------------------------ */
.top-bar {
  background: var(--dark);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 8px 0;
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
}

.top-bar a {
  color: #e2e8f0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-bar a:hover {
  color: var(--primary);
}

.top-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ------------------------------------------------------------
   6. HEADER (sticky) + NAV
   ------------------------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.header--scrolled {
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
}

.header__logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header__logo span {
  color: var(--secondary);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav__link:hover {
  color: var(--secondary);
  background: #f0f9ff;
}

.nav__link--active,
.nav__link[aria-current="page"] {
  color: var(--secondary);
  background: #e0f2fe;
  font-weight: 600;
}

.header__cta {
  padding: 11px 22px;
  font-size: 0.95rem;
}

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobil menü içi ek aksiyon butonları */
.nav__actions {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  margin-top: 10px;
  border-top: 1px solid var(--border);
}

/* ------------------------------------------------------------
   7. HERO (ana sayfa)
   ------------------------------------------------------------ */
.hero {
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 45%, #0ea5e9 100%);
  color: var(--white);
  padding: 100px 0 84px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -260px;
  left: -180px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero__title {
  color: var(--white);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero__title em {
  font-style: normal;
  color: #7dd3fc;
}

.hero__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 34px;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 58px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-stat__value {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}

.hero-stat__label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin-top: 6px;
}

/* Sayfa hero (alt sayfalar) */
.page-hero {
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 55%, #0284c7 100%);
  color: var(--white);
  text-align: center;
  padding: 68px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero__inner {
  max-width: 760px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a:hover {
  color: var(--white);
}

.page-hero__title {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.page-hero__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

/* ------------------------------------------------------------
   8. SECTION (genel)
   ------------------------------------------------------------ */
.section {
  padding: 80px 0;
}

.section--light {
  background: var(--light);
}

.section--alt {
  background: var(--white);
}

.section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section__tag {
  display: inline-block;
  background: #e0f2fe;
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section__tag--accent {
  background: #ffedd5;
  color: #c2410c;
}

.section__title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.section__text {
  color: var(--muted);
  font-size: 1.02rem;
}

/* ------------------------------------------------------------
   9. SERVICES GRID + SERVICE CARD (BEM)
   ------------------------------------------------------------ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: var(--transition);
}

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

.service-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #e0f2fe;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-card__icon {
  background: var(--primary);
  color: var(--white);
}

.service-card__title {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card__text {
  font-size: 0.93rem;
  color: var(--muted);
  flex: 1;
  margin-bottom: 18px;
}

.service-card__link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card__link:hover {
  color: var(--accent);
  gap: 10px;
}

/* Detaylı hizmet blokları (hizmetler.html) */
.services-detail-list {
  display: grid;
  gap: 28px;
}

.service-detail {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-detail:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-detail__icon {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  background: #e0f2fe;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-detail__title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-detail__text {
  color: var(--muted);
  margin-bottom: 14px;
}

.service-detail__list {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.service-detail__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.service-detail__list svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 4px;
}

.service-detail__link {
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-detail__link:hover {
  gap: 10px;
}

/* ------------------------------------------------------------
   10. ABOUT / WHY US
   ------------------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-grid--reverse {
  grid-template-columns: 1fr 1.15fr;
}

.about__lead {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 16px;
}

.about__text {
  color: var(--muted);
  margin-bottom: 12px;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateX(4px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.feature-item__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #e0f2fe;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item__icon--accent {
  background: #ffedd5;
  color: var(--accent);
}

.feature-item__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-item__text {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ------------------------------------------------------------
   11. STATS
   ------------------------------------------------------------ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-bottom: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-card__value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.1;
}

.stat-card__label {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 8px;
}

/* ------------------------------------------------------------
   12. REVIEWS
   ------------------------------------------------------------ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.review-card__stars {
  display: inline-flex;
  gap: 3px;
  color: #fbbf24;
}

.stars {
  display: inline-flex;
  gap: 3px;
  color: #fbbf24;
  align-items: center;
}

.stars--sm svg {
  width: 14px;
  height: 14px;
}

.review-card__text {
  font-size: 0.95rem;
  color: var(--text);
  flex: 1;
}

.review-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.review-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e0f2fe;
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-card__author {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.3;
}

/* Yerel Rehber rozeti (Google gri tonu) */
.review-card__badge {
  display: inline-block;
  vertical-align: 1px;
  margin-left: 6px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5f6368;
  background: #f1f3f4;
  border: 1px solid #dadce0;
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}

.review-card__date {
  font-size: 0.78rem;
  color: var(--muted);
}

.review-card__source {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

/* Google puan kutusu */
.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 32px;
  margin-bottom: 40px;
}

.rating-summary__score {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.rating-summary__meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.rating-summary__meta a {
  color: var(--secondary);
  font-weight: 600;
}

.rating-summary__meta a:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------------
   13. AREAS
   ------------------------------------------------------------ */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.areas-grid--wide {
  grid-template-columns: repeat(2, 1fr);
}

.area-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: var(--transition);
}

.area-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.area-card__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.area-card__title svg {
  color: var(--primary);
  flex-shrink: 0;
}

.area-card__text {
  font-size: 0.92rem;
  color: var(--muted);
}

/* ------------------------------------------------------------
   14. CTA BANNER
   ------------------------------------------------------------ */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--secondary) 0%, var(--primary) 100%);
  border-radius: var(--radius);
  padding: 64px 32px;
  text-align: center;
  color: var(--white);
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-banner__title {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner__text {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.cta-banner__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------
   15. CONTACT
   ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.contact-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e0f2fe;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__icon--green {
  background: #dcfce7;
  color: #16a34a;
}

.contact-item__icon--accent {
  background: #ffedd5;
  color: var(--accent);
}

.contact-item__label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-item__value {
  font-weight: 600;
  color: var(--dark);
  font-size: 1.02rem;
}

.contact-item__value a:hover {
  color: var(--primary);
}

.contact-item__note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 440px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
}

/* İletişim formu */
.contact-form {
  display: grid;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}

.form__title {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.form__text {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

.form-input,
.form-textarea {
  font-family: inherit;
  font-size: 0.98rem;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--light);
  color: var(--dark);
  transition: var(--transition);
  width: 100%;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ------------------------------------------------------------
   16. ACCORDION (bolgeler.html)
   ------------------------------------------------------------ */
.accordion {
  display: grid;
  gap: 12px;
}

.accordion__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.accordion__item[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
}

.accordion__header::-webkit-details-marker {
  display: none;
}

.accordion__header::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--secondary);
  line-height: 1;
  transition: var(--transition);
}

.accordion__item[open] .accordion__header::after {
  content: "−";
}

.accordion__body {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ------------------------------------------------------------
   17. TEAM (hakkimizda.html)
   ------------------------------------------------------------ */
.team-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 32px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}

.team-card__photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-size: 3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 auto;
}

.team-card__name {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.team-card__role {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card__text {
  color: var(--muted);
  font-size: 0.97rem;
}

/* ------------------------------------------------------------
   18. FOOTER
   ------------------------------------------------------------ */
.footer {
  background: var(--dark);
  color: #94a3b8;
  padding-top: 64px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 0.9fr 1.1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer__text {
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.footer__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
}

.footer__title {
  color: var(--white);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer__list {
  display: grid;
  gap: 2px;
}

.footer__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer__link {
  display: inline-block;
  color: #94a3b8;
  font-size: 0.92rem;
  padding: 5px 0;
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--primary);
  transform: translateX(3px);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  padding: 5px 0;
}

.footer__contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer__contact-item a {
  color: #cbd5e1;
}

.footer__contact-item a:hover {
  color: var(--primary);
}

.footer__bottom {
  border-top: 1px solid #1e293b;
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

.footer__bottom a {
  color: #94a3b8;
}

/* ------------------------------------------------------------
   19. WHATSAPP FLOATING BUTTON
   ------------------------------------------------------------ */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  background: #1eb85a;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: whatsapp-pulse 1.8s ease-out infinite;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

/* ------------------------------------------------------------
   20. SCROLL ANIMATIONS (reveal)
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .whatsapp-float::before {
    animation: none;
  }
}

/* ------------------------------------------------------------
   21. RESPONSIVE — TABLET (<= 1024px)
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .about-grid--reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ------------------------------------------------------------
   22. RESPONSIVE — MOBILE (<= 768px)
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .top-bar__inner {
    justify-content: center;
    text-align: center;
  }

  /* Hamburger menü */
  .header__toggle {
    display: flex;
  }

  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 18px 24px 22px;
  }

  .header__nav--open {
    display: flex;
  }

  .nav__link {
    padding: 12px 14px;
    font-size: 1rem;
  }

  .nav__actions {
    display: flex;
  }

  .header__cta {
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  .header__logo {
    font-size: 1.05rem;
  }

  .header__logo-icon {
    width: 36px;
    height: 36px;
  }

  /* Hero */
  .hero {
    padding: 72px 0 60px;
  }

  .hero__stats {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 44px;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Gridler tek sütun */
  .services-grid,
  .reviews-grid,
  .areas-grid,
  .areas-grid--wide,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 28px 24px;
  }

  .service-detail__icon {
    width: 64px;
    height: 64px;
  }

  .team-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-banner {
    padding: 48px 22px;
  }

  .cta-banner__actions .btn {
    width: 100%;
    max-width: 320px;
  }

  .footer {
    padding-top: 48px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
  }

  .rating-summary {
    flex-direction: column;
    text-align: center;
  }
}

/* ------------------------------------------------------------
   23. RESPONSIVE — KÜÇÜK MOBİL (<= 480px)
   ------------------------------------------------------------ */
@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .top-bar__inner {
    flex-direction: column;
    gap: 4px;
  }

  .header__inner {
    gap: 10px;
  }

  .review-card__source {
    display: none;
  }

  .contact-form {
    padding: 26px 20px;
  }
}

/* ------------------------------------------------------------
   24. BLOG — kart grid + yazı sayfası
   ------------------------------------------------------------ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

/* Görsel yok: CSS gradyan + ikon (harici görsel kullanmıyoruz) */
.blog-card__media {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 55%, #0ea5e9 100%);
}

.blog-card__media--orange {
  background: linear-gradient(135deg, #7c2d12 0%, #c2410c 55%, #f97316 100%);
}

.blog-card__media--green {
  background: linear-gradient(135deg, #14532d 0%, #15803d 55%, #22c55e 100%);
}

.blog-card__media--steel {
  background: linear-gradient(135deg, #0f172a 0%, #334155 55%, #64748b 100%);
}

.blog-card__media-icon {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  flex: 1;
}

.blog-card__date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card__title {
  font-size: 1.28rem;
  line-height: 1.35;
}

.blog-card__title a {
  color: var(--dark);
  transition: var(--transition);
}

.blog-card__title a:hover {
  color: var(--secondary);
}

.blog-card__excerpt {
  font-size: 0.95rem;
  color: var(--muted);
  flex: 1;
}

.blog-card__link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card__link:hover {
  color: var(--accent);
  gap: 10px;
}

/* ---- Yazı (post) sayfası ---- */
.post {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 56px);
}

.post__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.post__meta svg {
  color: var(--primary);
}

.post__content {
  font-size: 1.03rem;
  color: var(--text);
}

.post__content h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.6rem);
  margin: 38px 0 14px;
}

.post__content h3 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
}

.post__content p {
  margin-bottom: 16px;
}

.post__content ul,
.post__content ol {
  list-style: revert;
  padding-left: 24px;
  margin-bottom: 18px;
  display: block;
}

.post__content li {
  margin-bottom: 8px;
}

.post__content a {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post__content a:hover {
  color: var(--primary);
}

.post__content strong {
  color: var(--dark);
}

.post__content blockquote {
  border-left: 4px solid var(--primary);
  background: var(--light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 26px 0;
  color: var(--muted);
  font-style: italic;
}

/* Yazı içi çağrı kutusu */
.post__call {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 32px 0 8px;
}

.post__call-text {
  flex: 1;
  min-width: 200px;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.98rem;
}

.post__call-text small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .blog-card__media {
    height: 140px;
  }
}

/* ---- Hero dekor: tesisat ikonografisi (ince cizgi deseni) ---- */
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 30%, rgba(255,255,255,0.05) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 18%, rgba(255,255,255,0.06) 0 2.5px, transparent 4px),
    radial-gradient(circle at 55% 80%, rgba(255,255,255,0.04) 0 2px, transparent 3px),
    radial-gradient(circle at 88% 62%, rgba(255,255,255,0.05) 0 2px, transparent 3px);
  pointer-events: none;
}
.hero > .container, .page-hero > .container { position: relative; z-index: 2; }

/* Dalgali su cizgisi — hero altina */
.hero::after {
  background: none !important;
  width: 100% !important; height: 84px !important;
  left: 0 !important; bottom: -1px !important; top: auto !important;
  border-radius: 0 !important;
  content: "";
  position: absolute;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 84' preserveAspectRatio='none'%3E%3Cpath d='M0 42 Q 75 12 150 42 T 300 42 T 450 42 T 600 42 T 750 42 T 900 42 T 1050 42 T 1200 42 V 84 H 0 Z' fill='rgba(255,255,255,0.10)'/%3E%3Cpath d='M0 54 Q 75 26 150 54 T 300 54 T 450 54 T 600 54 T 750 54 T 900 54 T 1050 54 T 1200 54 V 84 H 0 Z' fill='rgba(255,255,255,0.14)'/%3E%3C/svg%3E") !important;
  background-size: cover !important;
}
