/*
Theme Name: Yerinde Yıkama Pro
Theme URI: https://haliyikamayerinde.com
Author: Antigravity
Author URI: https://haliyikamayerinde.com
Description: Haliyikamayerinde.com için özel geliştirilmiş; yerinde halı, koltuk, yatak, karo halı, ofis ve cami yıkama odaklı ultra hızlı, SEO uyumlu ve dönüşüm odaklı WordPress teması.
Version: 1.0.0
Text Domain: yerindeyikama-pro
*/

:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-deep: #075985;
  --secondary: #0f172a;
  --secondary-light: #1e293b;
  --accent-orange: #ea580c;
  --accent-orange-hover: #c2410c;
  --accent-green: #16a34a;
  --accent-green-hover: #15803d;
  --whatsapp: #25d366;
  --text-main: #334155;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --transition: all 0.25s ease-in-out;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

.site-wrapper {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.site-topbar {
  background: var(--secondary);
  color: #cbd5e1;
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-badge {
  background: rgba(2, 132, 199, 0.2);
  color: #38bdf8;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.topbar-link {
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.topbar-link:hover {
  color: #38bdf8;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}
.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  gap: 15px;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.15;
  letter-spacing: -0.3px;
}
.brand-title span {
  color: var(--primary);
}
.brand-subtitle {
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 14px;
  align-items: center;
}
.nav-item {
  position: relative;
}
.nav-link {
  font-weight: 600;
  color: var(--secondary-light);
  padding: 6px 0;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.dropdown-arrow {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
  display: inline-block;
}
.nav-item:hover > .nav-link,
.nav-item.active > .nav-link {
  color: var(--primary);
}
.nav-item:hover > .nav-link .dropdown-arrow {
  transform: rotate(180deg);
}

/* Standart Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 240px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border-radius: var(--radius-md);
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  z-index: 1010;
}
.nav-item:hover > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown li a {
  padding: 8px 16px;
  display: block;
  font-size: 0.86rem;
  color: var(--text-main);
  font-weight: 500;
  white-space: nowrap;
}
.nav-dropdown li a:hover {
  background: var(--bg-alt);
  color: var(--primary);
  padding-left: 20px;
}

/* 2 Sütunlu Mega Dropdown (Hizmetler Menüsü) */
.nav-dropdown.dropdown-mega {
  width: 440px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 10px;
  gap: 3px;
}
.dropdown-mega li a {
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 0.84rem;
  white-space: nowrap;
}
.dropdown-mega li a:hover {
  background: var(--bg-alt);
  color: var(--primary);
  padding-left: 12px;
}
.dropdown-all-link {
  grid-column: span 2;
  border-top: 1px solid var(--border-color);
  margin-top: 4px;
  padding-top: 6px;
}
.dropdown-all-link a {
  text-align: center;
  font-weight: 700;
}

/* Header Butonları */
.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.header-btn-phone {
  background: var(--accent-orange);
  color: #ffffff !important;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  box-shadow: 0 3px 10px rgba(234, 88, 12, 0.25);
  transition: var(--transition);
  white-space: nowrap;
}
.header-btn-phone:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-2px);
}
.header-btn-wa {
  background: var(--whatsapp);
  color: #ffffff !important;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
  transition: var(--transition);
  white-space: nowrap;
}
.header-btn-wa:hover {
  background: #20ba5a;
  transform: translateY(-2px);
}
.nav-item-mobile-actions {
  display: none;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary);
  cursor: pointer;
}

/* ==========================================================================
   HERO BANNER SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #091a2f 0%, #0d284a 50%, #0a3a60 100%);
  color: #ffffff;
  padding: 60px 0 70px 0;
  overflow: hidden;
}
.hero-section::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 80% 50%, rgba(2, 132, 199, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 132, 199, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  padding: 6px 14px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.hero-title span {
  background: linear-gradient(135deg, #38bdf8, #bae6fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-description {
  font-size: 1.125rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 30px;
}
.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.feature-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #f1f5f9;
  font-weight: 600;
}
.feature-icon {
  width: 28px;
  height: 28px;
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-quote {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
}
.btn-quote:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
  color: #ffffff;
}
.btn-phone {
  background: var(--accent-orange);
  color: #ffffff !important;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
  transition: var(--transition);
  text-decoration: none;
}
.btn-phone:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.4);
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff !important;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
  text-decoration: none;
}
.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}
.hero-visual {
  position: relative;
}
.hero-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border: 2px solid rgba(255,255,255,0.15);
}
.hero-img-box img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-img-box:hover img {
  transform: scale(1.03);
}
.hero-badge-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.badge-item {
  display: flex;
  flex-direction: column;
}
.badge-item .num {
  font-size: 1.25rem;
  font-weight: 800;
  color: #38bdf8;
}
.badge-item .label {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}

/* ==========================================================================
   QUICK CITIES BAR
   ========================================================================== */
.quick-cities-bar {
  background: #ffffff;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.cities-bar-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}
.cities-label {
  font-weight: 700;
  color: var(--secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cities-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.city-tag-link {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.city-tag-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* ==========================================================================
   SECTION COMMON
   ========================================================================== */
.section {
  padding: 70px 0;
}
.section-alt {
  background-color: var(--bg-alt);
}
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}
.section-badge {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: inline-block;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ==========================================================================
   17 SERVICES GRID
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: #f0f9ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
  transition: var(--transition);
}
.service-card:hover .service-icon-box {
  background: var(--primary);
  color: #ffffff;
}
.service-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
  line-height: 1.3;
}
.service-card-title a {
  color: inherit;
}
.service-card-title a:hover {
  color: var(--primary);
}
.service-card-desc {
  font-size: 0.925rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}
.service-card-link {
  font-weight: 700;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
}
.service-card-link:hover {
  gap: 9px;
  color: var(--primary-dark);
}

/* ==========================================================================
   MACHINE TECHNOLOGY SECTION
   ========================================================================== */
.machine-section {
  background: var(--secondary);
  color: #ffffff;
}
.machine-section .section-title {
  color: #ffffff;
}
.machine-section .section-desc {
  color: #94a3b8;
}
.machine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.machine-card {
  background: var(--secondary-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.machine-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}
.machine-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #000;
}
.machine-body {
  padding: 20px;
}
.machine-badge {
  display: inline-block;
  background: rgba(2, 132, 199, 0.2);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.machine-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}
.machine-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 240px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  color: #ffffff;
  padding: 20px 15px 12px 15px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ==========================================================================
   VIDEO GALLERY & YOUTUBE SECTION
   ========================================================================== */
.youtube-channel-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-md);
}
.yt-banner-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 280px;
}
.yt-icon-box {
  background: #ffffff;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255,0,0,0.25);
}
.yt-banner-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.yt-banner-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}
.btn-yt-subscribe {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ff0000;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.35);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-yt-subscribe:hover {
  background: #cc0000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.45);
}

.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}
.video-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.video-iframe-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  overflow: hidden;
}
.video-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.video-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.video-category-badge {
  background: #eff6ff;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid #dbeafe;
}
.video-tag {
  background: var(--bg-alt);
  color: var(--text-light);
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 6px;
}
.video-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
  line-height: 1.4;
}
.video-card-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}
.video-card-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.video-yt-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #dc2626;
  transition: var(--transition);
}
.video-yt-link:hover {
  color: #991b1b;
  gap: 9px;
}

.gallery-cta-box {
  background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,0.06);
}

/* ==========================================================================
   LOCATIONS & DISTRICTS TABS
   ========================================================================== */
.cities-section {
  background: #ffffff;
}
.city-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.city-tab-btn {
  background: var(--bg-alt);
  border: 2px solid var(--border-color);
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--secondary);
  cursor: pointer;
  transition: var(--transition);
}
.city-tab-btn.active, .city-tab-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}
.city-content-panel {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.city-districts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.district-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary-light);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.district-card:hover {
  background: #f0f9ff;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.district-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  flex-shrink: 0;
}

/* ==========================================================================
   SEO ARTICLES SECTION
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
}
.article-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.article-thumb {
  height: 200px;
  overflow: hidden;
  background: var(--bg-alt);
}
.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.article-card:hover .article-thumb img {
  transform: scale(1.06);
}
.article-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.article-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 600;
}
.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.article-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.4;
  margin-bottom: 10px;
}
.article-title a {
  color: inherit;
}
.article-title a:hover {
  color: var(--primary);
}
.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}
.article-btn {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   PAGE & SINGLE POST STYLING
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #1e3a5f 100%);
  color: #ffffff;
  padding: 50px 0;
  text-align: center;
}
.page-hero h1 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.page-hero .breadcrumb {
  font-size: 0.875rem;
  color: #94a3b8;
}
.page-hero .breadcrumb a {
  color: #38bdf8;
}

.content-wrapper {
  padding: 60px 0;
}
.content-layout {
  display: grid;
  grid-template-columns: 2.4fr 1fr;
  gap: 40px;
}
.main-content {
  background: #ffffff;
}
.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}
.article-content h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--secondary);
  margin: 35px 0 16px 0;
  line-height: 1.3;
}
.article-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 25px 0 12px 0;
}
.article-content p {
  margin-bottom: 20px;
}
.article-content ul, .article-content ol {
  margin: 0 0 24px 24px;
}
.article-content li {
  margin-bottom: 8px;
}
.article-content figure {
  margin: 30px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.article-content figure img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}
.article-content figcaption {
  background: var(--bg-alt);
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
  border-left: 3px solid var(--primary);
}
.article-content blockquote {
  background: #f0f9ff;
  border-left: 4px solid var(--primary);
  padding: 18px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 25px 0;
  font-weight: 500;
  color: #0369a1;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: block;
  overflow-x: auto;
}
.article-content th, .article-content td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
.article-content th {
  background: var(--secondary);
  color: #ffffff;
  font-weight: 700;
}
.article-content tr:nth-child(even) {
  background: var(--bg-alt);
}
.btn-table-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--accent);
  color: #ffffff !important;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(249, 115, 22, 0.3);
  transition: var(--transition);
}
.btn-table-quote:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.45);
  color: #ffffff !important;
}
.table-quote-cta {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 20px 0 35px 0;
}
.table-quote-text {
  font-size: 0.95rem;
  color: var(--secondary);
  line-height: 1.5;
  margin-bottom: 15px;
}
.table-quote-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Sidebar Widgets */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.widget-box {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}
.widget-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}
.widget-menu {
  list-style: none;
}
.widget-menu li {
  border-bottom: 1px solid var(--border-color);
}
.widget-menu li:last-child {
  border-bottom: none;
}
.widget-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  color: var(--secondary-light);
  font-weight: 600;
  font-size: 0.9rem;
}
.widget-menu a:hover {
  color: var(--primary);
  padding-left: 5px;
}
.widget-cta-card {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-deep) 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
}
.widget-cta-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
.widget-cta-card p {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 20px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #09121d;
  color: #94a3b8;
  padding: 70px 0 30px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand .brand-title {
  color: #ffffff;
  margin-bottom: 12px;
}
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #94a3b8;
}
.footer-col-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover {
  color: #38bdf8;
  padding-left: 5px;
}
.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}
.footer-contact-icon {
  color: #38bdf8;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
}

/* ==========================================================================
   STICKY MOBILE BAR & FLOATING BUTTONS
   ========================================================================== */
.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.12);
  z-index: 9999;
  padding: 10px 16px;
  gap: 12px;
}
.mobile-btn-call {
  flex: 1;
  background: var(--accent-orange);
  color: #ffffff !important;
  font-weight: 700;
  padding: 12px;
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
}
.mobile-btn-wa {
  flex: 1;
  background: var(--whatsapp);
  color: #ffffff !important;
  font-weight: 700;
  padding: 12px;
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
}

.floating-wa-desktop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--whatsapp);
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}
.floating-wa-desktop:hover {
  transform: scale(1.1);
  color: #ffffff;
}

/* ==========================================================================
   CTA BANNER SECTION
   ========================================================================== */
.section-cta-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-deep) 100%);
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}
.cta-badge {
  background: rgba(56,189,248,0.2);
  color: #38bdf8;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
}
.cta-title {
  font-size: 2.3rem;
  font-weight: 900;
  margin: 16px 0;
}
.cta-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 30px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  /* Topbar & Desktop Header CTA */
  .site-topbar {
    display: none !important;
  }
  .header-cta {
    display: none !important;
  }

  /* Mobil Hamburger Buton */
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
    cursor: pointer;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--secondary);
    transition: var(--transition);
    flex-shrink: 0;
  }
  .mobile-toggle:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
  }

  /* Açılır Mobil Menü Çekmecesi */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 15px 20px 25px 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-bottom: 3px solid var(--primary);
    z-index: 1050;
    max-height: calc(100vh - 75px);
    overflow-y: auto;
    box-sizing: border-box;
    gap: 0;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-item:last-child {
    border-bottom: none;
  }
  .nav-link {
    width: 100%;
    padding: 12px 0;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--secondary);
  }

  /* Mobil Dropdown Menüler (Tıklanınca Açılan Akordiyon) */
  .nav-dropdown,
  .nav-dropdown.dropdown-mega {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--primary);
    padding: 6px 0 6px 14px;
    margin: 4px 0 10px 0;
    display: none;
    width: 100%;
    min-width: 100%;
    grid-template-columns: 1fr;
    background: #f8fafc;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  }
  .nav-item.open-sub > .nav-dropdown {
    display: block !important;
  }
  .nav-item.open-sub > .nav-link .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--primary);
  }
  .nav-dropdown li a {
    padding: 8px 10px;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  .dropdown-all-link {
    grid-column: span 1;
    border-top: none;
    text-align: left;
  }
  .dropdown-all-link a {
    justify-content: flex-start;
  }

  /* Menü İçi Hızlı İletişim Butonları */
  .nav-item-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 0 10px 0;
    width: 100%;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    width: 100%;
    text-align: center;
  }
  .mobile-menu-btn.btn-call {
    background: var(--accent-orange);
    color: #ffffff !important;
  }
  .mobile-menu-btn.btn-wa {
    background: var(--whatsapp);
    color: #ffffff !important;
  }

  /* Grid Layouts */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-tag {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-features {
    justify-content: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .content-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Genel Konteyner ve Taşıma Koruması */
  html, body {
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
    max-width: 100%;
  }
  .site-wrapper {
    overflow-x: hidden !important;
    position: relative;
    width: 100%;
    max-width: 100vw;
  }
  .container {
    padding: 0 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Header & Logo */
  .site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .header-wrapper {
    padding: 10px 0;
    gap: 10px;
  }
  .site-brand {
    max-width: calc(100% - 50px);
    overflow: hidden;
    gap: 8px;
  }
  .brand-logo-icon {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .brand-title {
    font-size: 1.05rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-subtitle {
    font-size: 0.58rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Hero Bölümü */
  .hero-section {
    padding: 35px 0 45px 0;
  }
  .hero-tag {
    font-size: 0.72rem;
    padding: 5px 10px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    margin-bottom: 14px;
  }
  .hero-title {
    font-size: 1.65rem;
    line-height: 1.25;
    margin-bottom: 14px;
    word-break: break-word;
  }
  .hero-description {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 22px;
  }
  .hero-features {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 24px;
    text-align: left;
  }
  .feature-pill {
    font-size: 0.85rem;
  }
  .hero-actions, .cta-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-actions .btn-quote,
  .hero-actions .btn-phone,
  .hero-actions .btn-whatsapp,
  .cta-actions .btn-quote,
  .cta-actions .btn-phone,
  .cta-actions .btn-whatsapp {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 14px;
    font-size: 0.92rem;
    box-sizing: border-box;
    white-space: normal;
  }
  .hero-img-box {
    margin-top: 20px;
  }
  .hero-img-box img {
    height: 240px;
    object-fit: cover;
  }
  .hero-badge-overlay {
    position: static;
    margin-top: 12px;
    padding: 10px 8px;
    gap: 6px;
    border-radius: var(--radius-md);
    background: var(--secondary);
    display: flex;
    justify-content: space-around;
  }
  .badge-item {
    text-align: center;
  }
  .badge-item .num {
    font-size: 1.05rem;
  }
  .badge-item .label {
    font-size: 0.68rem;
  }

  /* Hızlı Şehir Çubuğu */
  .cities-bar-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .cities-tags {
    justify-content: center;
    gap: 6px;
    width: 100%;
  }
  .city-tag-link {
    font-size: 0.8rem;
    padding: 5px 10px;
  }
  .cities-phone {
    width: 100%;
    text-align: center;
  }

  /* Bölüm Başlıkları */
  .section {
    padding: 45px 0;
  }
  .section-header {
    margin-bottom: 30px;
  }
  .section-title {
    font-size: 1.55rem;
    line-height: 1.25;
    word-break: break-word;
  }
  .section-desc {
    font-size: 0.9rem;
  }

  /* Grids: Hizmetler, Makineler, Galeri, Makaleler */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .service-card {
    padding: 18px;
  }
  .machine-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .gallery-item {
    height: 200px;
  }
  .video-gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .youtube-channel-banner {
    padding: 20px 16px;
    flex-direction: column;
    text-align: center;
  }
  .yt-banner-left {
    flex-direction: column;
    text-align: center;
  }
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* Şehir ve İlçe Sekmeleri */
  .city-tabs {
    gap: 6px;
    width: 100%;
  }
  .city-tab-btn {
    font-size: 0.8rem;
    padding: 8px 12px;
    border-radius: 20px;
    flex: 1 1 calc(50% - 6px);
    text-align: center;
  }
  .city-content-panel {
    padding: 14px;
  }
  .city-districts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .district-card {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  /* Sayfa & Makale İçeriği */
  .page-hero {
    padding: 35px 0;
  }
  .page-hero h1 {
    font-size: 1.55rem;
    word-break: break-word;
  }
  .content-wrapper {
    padding: 35px 0;
  }
  .article-content {
    font-size: 0.95rem;
    line-height: 1.65;
  }
  .article-content h2 {
    font-size: 1.35rem;
    margin: 25px 0 12px 0;
  }
  .article-content h3 {
    font-size: 1.15rem;
    margin: 20px 0 10px 0;
  }
  .article-content blockquote {
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  /* CTA Banner */
  .section-cta-banner {
    padding: 40px 0;
  }
  .cta-title {
    font-size: 1.55rem;
    word-break: break-word;
  }
  .cta-desc {
    font-size: 0.92rem;
    margin-bottom: 20px;
  }

  /* Alt Bilgi (Footer) */
  .site-footer {
    padding: 45px 0 25px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  /* Sabit Alt Çubuk (Sticky Bar) */
  .sticky-mobile-bar {
    display: flex;
    padding: 8px 10px;
    gap: 8px;
  }
  .mobile-btn-call, .mobile-btn-wa {
    padding: 10px 6px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
  }
  .floating-wa-desktop {
    display: none !important;
  }
  body {
    padding-bottom: 65px;
  }
}
