/* ============ RESET & BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #0c2239;       /* koyu lacivert */
  --primary-light: #16324f;
  --secondary: #1e5f3f;     /* yeşil (kurumsal ikinci renk) */
  --accent: #f5a400;        /* turuncu aksan */
  --accent-dark: #d98c00;
  --dark: #16181d;
  --gray: #6b7280;
  --gray-light: #9aa3af;
  --light-bg: #f5f7fa;
  --border: #e6e9ee;
  --white: #fff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(12,34,57,0.08);
  --shadow-hover: 0 14px 34px rgba(12,34,57,0.16);
  --container-width: 1200px;
  --font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; }
section[id], article[id] { scroll-margin-top: 90px; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

.section { padding: 90px 0; }
.section .eyebrow {
  display: inline-block;
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  margin-bottom: 10px;
  position: relative;
  padding-left: 22px;
}
.section .eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.section .eyebrow.center { padding-left: 0; }
.section .eyebrow.center::before { display: none; }
.section h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 40px; color: var(--primary); letter-spacing: -0.5px; }
.center { text-align: center; }

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--primary); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(245,164,0,0.35); }
.btn-outline { border: 2px solid rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); border-color: var(--white); }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(12,34,57,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.logo-img { display: block; height: 44px; width: auto; max-width: 320px; max-height: 120px; object-fit: contain; flex-shrink: 0; }
.logo span { color: var(--accent); }

.main-nav > ul { display: flex; gap: 30px; }
.main-nav a { font-weight: 600; font-size: 0.95rem; color: var(--dark); padding: 8px 0; position: relative; }
.main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}
.main-nav > ul > li > a:hover::after { width: 100%; }
.main-nav a:hover { color: var(--primary); }

.has-dropdown { position: relative; padding-bottom: 16px; margin-bottom: -16px; }
.dropdown {
  display: block;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow-hover);
  border-radius: var(--radius);
  min-width: 230px;
  padding: 10px 0;
  border-top: 3px solid var(--accent);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li { width: 100%; }
.dropdown li a { display: block; padding: 11px 20px; font-weight: 500; }
.dropdown li a:hover { background: var(--light-bg); color: var(--primary); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.btn-phone { font-weight: 700; color: var(--primary); font-size: 0.95rem; }
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  transition: 0.2s ease;
}
.btn-whatsapp:hover { background: #1fb959; transform: translateY(-2px); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  /* Görsel simge boyutu 28x20 kalsın diye padding ekleyip aynı miktarda negatif
     margin ile telafi ediyoruz; böylece dokunma alanı Google'ın önerdiği ~48x48
     hedefine yaklaşırken düzen (header hizalaması) değişmiyor. box-sizing:content-box
     olmazsa sayfa genelindeki "* { box-sizing: border-box }" kuralı padding'i
     28x20'lik kutunun İÇİNDEN düşer ve ikon çizgileri görünmez olur. */
  box-sizing: content-box;
  padding: 14px 10px;
  margin: -14px -10px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
}
.hamburger span {
  display: block;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12, 34, 57, 0.55);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nav-backdrop.show { display: block; opacity: 1; }
body.nav-locked { overflow: hidden; }

.mobile-quickbar { display: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-light) 55%, #1c3f61 100%);
  color: var(--white);
  padding: 130px 0 110px;
  text-align: center;
  overflow: hidden;
}
.hero.has-bg-image {
  background-image: linear-gradient(160deg, rgba(20,58,92,.88) 0%, rgba(20,58,92,.78) 55%, rgba(12,28,44,.92) 100%), var(--hero-bg-url);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-shape {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(245,164,0,0.18) 0%, rgba(245,164,0,0) 70%);
  border-radius: 50%;
}
.hero-shape::after {
  content: "";
  position: absolute;
  bottom: -260px;
  left: -180px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(30,95,63,0.35) 0%, rgba(30,95,63,0) 70%);
  border-radius: 50%;
}
.hero-inner { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: rgba(245,164,0,0.15);
  border: 1px solid rgba(245,164,0,0.4);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 30px;
  margin-bottom: 24px;
}
.hero h1 { font-size: 3rem; font-weight: 800; max-width: 850px; margin: 0 auto 22px; letter-spacing: -1px; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.15rem; max-width: 640px; margin: 0 auto 36px; opacity: 0.85; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; font-size: 0.9rem; opacity: 0.8; font-weight: 500; }

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p { margin-bottom: 16px; color: var(--gray); }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-stats.stats-wide { grid-template-columns: repeat(4, 1fr); max-width: 980px; margin: 0 auto; gap: 24px; }
.stat-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 30px 18px;
  text-align: center;
  border: 1px solid var(--border);
  transition: 0.2s ease;
}
.stat-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.stat-number { display: block; font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.88rem; color: var(--gray); font-weight: 500; }

/* ============ CATEGORIES ============ */
.categories { background: var(--light-bg); }
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.category-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  transition: 0.25s ease;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.category-card:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.cat-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
}
.cat-icon svg { width: 28px; height: 28px; fill: var(--white); }
.category-card h3 { margin-bottom: 8px; color: var(--primary); font-size: 1.1rem; }
.category-card p { font-size: 0.9rem; color: var(--gray); }
.category-card.has-img { padding-top: 0; overflow: hidden; }
.category-card.has-img .cat-photo { margin: 0 -24px 18px; height: 150px; }
.category-card.has-img .cat-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============ PRODUCTS ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: 0.25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.product-img {
  height: 170px;
  position: relative;
  overflow: hidden;
}
.product-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,34,57,0) 40%, rgba(12,34,57,0.25) 100%);
}
.product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-wc { background: linear-gradient(135deg, #bfe3d0, #4f9c74); }
.ph-guard { background: linear-gradient(135deg, #e7d3a3, #b5872f); }
.ph-container { background: linear-gradient(135deg, #b7cbe3, #4c6f9c); }
.ph-prefab { background: linear-gradient(135deg, #e3c3d3, #a35f88); }
.product-card h3 { font-size: 1rem; font-weight: 600; padding: 18px 18px 6px; color: var(--primary); }
.link-more { display: block; padding: 0 18px 18px; font-weight: 700; color: var(--accent-dark); font-size: 0.9rem; }
.link-more:hover { color: var(--primary); }

/* ============ WHY US ============ */
.why-us { background: var(--light-bg); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  text-align: center;
  padding: 34px 22px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: 0.2s ease;
}
.why-card:hover { border-color: var(--secondary); transform: translateY(-4px); box-shadow: var(--shadow); }
.why-icon {
  width: 58px; height: 58px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  background: rgba(245,164,0,0.12);
  border-radius: 50%;
}
.why-card h3 { color: var(--primary); margin-bottom: 8px; font-size: 1.05rem; }
.why-card p { color: var(--gray); font-size: 0.92rem; line-height: 1.6; }

/* ============ PROJECTS ============ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: 0.25s ease;
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.project-img { height: 150px; background: linear-gradient(135deg, var(--secondary), #0c2239); overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-card h3 { font-size: 0.95rem; font-weight: 600; padding: 16px 16px 4px; color: var(--primary); }
.project-loc { display: block; padding: 0 16px 16px; font-size: 0.82rem; color: var(--gray); }

/* ============ VİDEOLAR ============ */
.videos { background: var(--light-bg); }
.videos-head {
  margin-bottom: 34px;
  text-align: center;
}
.videos-head > div { margin: 0 auto; }
.videos-head h2 { margin-bottom: 10px; }
.videos-sub { color: var(--gray); max-width: 520px; font-size: 0.95rem; margin: 0 auto; }
.videos-all-link { display: block; width: max-content; margin: 18px auto 0; }
/* .btn-outline temel sınıfı beyaz metin/kenarlık ile koyu arka planlar (hero vb.)
   için tasarlanmıştı; bu bölümün arka planı ("--light-bg") açık renk olduğundan
   beyaz üzerine beyaz gibi görünüp okunmuyordu. Burada koyu renge çeviriyoruz. */
.videos .videos-all-link.btn-outline { color: var(--primary); border-color: var(--primary); }
.videos .videos-all-link.btn-outline:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ============ VİDEO GRID (videolar.html) ============ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.video-grid .video-card { width: 100%; }

/* Ok tuşları video şeridinin sağında ve solunda, dikeyde ortalanmış */
.video-carousel { position: relative; }

/* Şeridin sağ/sol kenarlarında yumuşak bir soluklaşma: hem daha kaliteli görünüm
   sağlar hem de kullanıcıya "kaydırılabilir içerik daha var" ipucu verir. */
.video-carousel::before,
.video-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 14px;
  width: 36px;
  z-index: 2;
  pointer-events: none;
}
.video-carousel::before { left: 0; background: linear-gradient(90deg, var(--light-bg), rgba(245,247,250,0)); }
.video-carousel::after { right: 0; background: linear-gradient(270deg, var(--light-bg), rgba(245,247,250,0)); }

.video-nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--primary);
  font-size: 1.3rem;
  cursor: pointer;
  transition: 0.2s ease;
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 3;
  box-shadow: var(--shadow);
}
.video-nav-prev { left: -8px; }
.video-nav-next { right: -8px; }
.video-nav-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

.video-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 6px 14px;
  -webkit-overflow-scrolling: touch;
  /* Yatayda kaydırırken tarayıcının dikey (sayfa) kaydırmayı da tetiklemesini
     engeller — mobilde videoların "yukarı aşağı kayması" hissinin sebebiydi. */
  touch-action: pan-x;
  overscroll-behavior-x: contain;
}
.video-scroll::-webkit-scrollbar { height: 6px; }
.video-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }

/* Video sayısı az olup şerit taşmıyorsa (JS ile tespit edilir) kartları ortala
   ve artık gerek kalmayan ok butonları/kenar soluklaşmasını gizle. */
.video-scroll.is-centered { justify-content: center; }
.video-carousel.no-scroll .video-nav-btn,
.video-carousel.no-scroll::before,
.video-carousel.no-scroll::after { display: none; }

.video-card {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: start;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-frame:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.video-frame::after {
  /* Alt kısımda hafif karartma: rozet ve oynat butonu her arka planda okunaklı olur */
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(12,34,57,0.35), rgba(12,34,57,0));
  pointer-events: none;
}
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.play-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  color: var(--primary);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 0 7px rgba(255,255,255,0.22), 0 6px 18px rgba(0,0,0,0.3);
  transition: 0.2s ease;
  position: relative;
  z-index: 1;
}
.play-btn:hover { background: var(--accent); color: var(--white); transform: scale(1.08); }
.video-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(12,34,57,0.55);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  z-index: 1;
}
.video-card h3 {
  margin-top: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============ VİDEOLAR: "SHORTS" DİKEY KAYDIRMA AKIŞI (videolar.php) ============
   Instagram/YouTube Shorts benzeri: kullanıcı aşağı kaydırdıkça bir sonraki videoya
   "snap" ile geçer. Her videodan sonra bir "İletişime Geç" kartı gösterilir. */
.shorts-wrap { max-width: 380px; margin: 0 auto; position: relative; }
.shorts-feed {
  height: min(74vh, 680px);
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  background: var(--primary);
  box-shadow: var(--shadow-hover);
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
}
.shorts-feed::-webkit-scrollbar { display: none; }

.shorts-slide {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
}

.shorts-slide .video-frame {
  width: 100%;
  max-width: 300px;
  max-height: 100%;
  margin: 0 auto;
  box-shadow: none;
  border-color: rgba(255,255,255,0.12);
}
.shorts-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 16px 18px;
  z-index: 1;
}
.shorts-caption h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Her videodan sonra gelen "İletişime Geç" kartı */
.shorts-cta-slide {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  box-sizing: border-box;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-light) 55%, #1c3f61 100%);
}
.shorts-cta-box { text-align: center; color: var(--white); }
.shorts-cta-icon { font-size: 2.4rem; display: block; margin-bottom: 14px; }
.shorts-cta-box h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 10px; }
.shorts-cta-box p { color: rgba(255,255,255,0.75); font-size: 0.92rem; margin-bottom: 22px; }
.shorts-cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.shorts-cta-actions .btn { width: 100%; max-width: 230px; }

.shorts-scroll-hint {
  text-align: center;
  color: var(--gray);
  font-size: 0.85rem;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  animation: shortsHintBounce 1.8s ease-in-out infinite;
}
@keyframes shortsHintBounce {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(5px); opacity: 1; }
}

@media (max-width: 480px) {
  .shorts-wrap { max-width: 100%; }
  .shorts-feed { height: min(72vh, 640px); border-radius: var(--radius); }
}

/* ============ TESTIMONIALS ============ */
.testimonials { background: var(--primary); color: var(--white); }
.testimonials .eyebrow { color: var(--accent); }
.testimonials h2 { color: var(--white); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-card p { font-size: 0.95rem; opacity: 0.9; margin-bottom: 22px; min-height: 90px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.testimonial-author strong { display: block; font-size: 0.92rem; }
.testimonial-author small { opacity: 0.7; font-size: 0.8rem; }

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 12px;
  transition: 0.2s ease;
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary { font-weight: 700; cursor: pointer; color: var(--primary); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "+ "; color: var(--accent); font-weight: 800; }
.faq-item[open] summary::before { content: "– "; }
.faq-item p { margin-top: 12px; color: var(--gray); }

/* ============ FİYAT SAYFALARI (güvenlik kulübesi / wc kabin / konteyner / prefabrik fiyatları) ============ */
.price-lead { max-width: 780px; margin: 0 auto 10px; text-align: center; }
.price-lead p { color: var(--gray); font-size: 1.02rem; line-height: 1.7; }
.price-lead.has-hero-img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  max-width: 1040px;
  text-align: left;
}
.price-lead.has-hero-img p { margin: 0; }
.price-table-wrap { max-width: 820px; margin: 0 auto; overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.price-table th { background: var(--primary); color: var(--white); font-weight: 700; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: var(--light-bg); }
.price-td { color: var(--primary); font-weight: 700; }
.price-wa-link { display: inline-flex; align-items: center; gap: 6px; background: #25D366; color: var(--white); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 0.85rem; white-space: nowrap; transition: 0.2s ease; }
.price-wa-link:hover { background: #1fb959; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(37,211,102,0.35); }
.price-note { max-width: 820px; margin: 18px auto 0; color: var(--gray-light); font-size: 0.85rem; text-align: center; }
.tech-specs .why-icon { background: var(--primary); color: var(--white); }

@media (max-width: 640px) {
  /* Fiyat tablosu (Ölçü Seçenekleri): dar ekranlarda hücre iç boşlukları ve
     WhatsApp butonu ("💬 WhatsApp'tan Sor" beyaz-boşluksuz metin) tablonun
     ekran genişliğini aşmasına ve butonun kenardan kesik görünmesine sebep
     oluyordu. Burada tabloyu daraltıp gerçekten sığdırıyoruz. */
  .price-table th, .price-table td { padding: 10px 8px; font-size: 0.78rem; }
  .price-wa-link { padding: 6px 10px; font-size: 0.72rem; gap: 4px; }
}
.price-related { max-width: 820px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.price-related a { border: 1px solid var(--border); border-radius: 999px; padding: 10px 20px; color: var(--primary); font-weight: 600; font-size: 0.9rem; transition: 0.2s ease; }
.price-related a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.price-hero-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.usage-areas .price-note.center { margin-bottom: 24px; }

/* ============ FİYAT SAYFASI GÖRSEL GALERİSİ (kendi kendine kayan slider) ============ */
.price-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.price-gallery-track { position: relative; width: 100%; height: 100%; }
.price-gallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease;
}
.price-gallery-slide.is-active { opacity: 1; visibility: visible; position: relative; }
.price-gallery-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.price-gallery-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.8);
  padding: 0;
  cursor: pointer;
  transition: 0.2s ease;
}
.price-gallery-dot.is-active { background: var(--white); transform: scale(1.2); }
.price-gallery-dot:hover { background: rgba(255,255,255,0.85); }

/* ============ İLETİŞİM CTA (anasayfa) ============ */
.contact-cta {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-light) 55%, #1c3f61 100%);
  color: var(--white);
}
.contact-cta-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.contact-cta h2 { color: var(--white); margin-bottom: 16px; }
.contact-cta p { color: rgba(255,255,255,0.75); margin-bottom: 30px; }

/* ============ CONTACT (iletisim.html) ============ */
.contact { background: var(--light-bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
}
.contact-list { margin: 22px 0; }
.contact-list li { margin-bottom: 12px; font-weight: 600; }
.contact-list a:hover { color: var(--accent-dark); }
.contact-map { margin: 4px 0 26px; max-width: 100%; }
.contact-map iframe { display: block; width: 100%; max-width: 100%; height: 300px; border: 0; border-radius: var(--radius); }
.social-icons { display: flex; gap: 14px; }
.social-icons a { font-weight: 700; color: var(--primary); }
.social-icons a:hover { color: var(--accent-dark); }

.contact-form {
  background: var(--white);
  padding: 34px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.contact-form label { font-weight: 600; font-size: 0.9rem; display: flex; flex-direction: column; gap: 6px; color: var(--primary); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: 0.2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245,164,0,0.15);
}
.contact-form button { align-self: flex-start; }
.form-note {
  font-size: 0.88rem;
  color: var(--secondary);
  font-weight: 600;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.25s ease, max-height 0.25s ease;
}
.form-note.show { opacity: 1; max-height: 60px; }

/* ============ İLETİŞİM SAYFASI (iletisim.html) ============ */
.main-nav a.active { color: var(--accent-dark); }
.main-nav a.active::after { width: 100% !important; }

.page-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-light) 55%, #1c3f61 100%);
  color: var(--white);
  padding: 64px 0 60px;
  text-align: center;
}
.page-banner .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
}
.page-banner .breadcrumb a { color: rgba(255,255,255,0.85); font-weight: 600; }
.page-banner .breadcrumb a:hover { color: var(--accent); }
.page-banner h1 { position: relative; z-index: 1; font-size: 2.6rem; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.5px; }
.page-banner p { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; color: rgba(255,255,255,0.75); }

.contact-showcase-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.contact-photo-frame.brand-panel {
  background: linear-gradient(160deg, #ffffff 0%, var(--light-bg) 60%, #eef2f6 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.contact-photo-frame.brand-panel::after { content: none; }
.contact-photo-frame.brand-panel::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,164,0,0.12) 0%, rgba(245,164,0,0) 70%);
  z-index: 0;
}
.brand-panel-logo { position: relative; z-index: 1; width: 78%; max-width: 320px; height: auto; }
.brand-panel-divider { position: relative; z-index: 1; width: 48px; height: 3px; background: var(--accent); border-radius: 2px; }
.contact-photo-frame.brand-panel span.brand-panel-tagline { position: relative; z-index: 1; font-size: 0.82rem; letter-spacing: 0.4px; color: var(--primary); font-weight: 600; text-align: center; max-width: 240px; }
.contact-photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 32px;
}
.contact-photo-frame::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 2px dashed rgba(255,255,255,0.4);
  border-radius: calc(var(--radius) - 4px);
  pointer-events: none;
}
.contact-photo-frame svg { position: relative; z-index: 1; width: 52px; height: 52px; fill: rgba(255,255,255,0.85); }
.contact-photo-frame span { position: relative; z-index: 1; font-weight: 600; font-size: 0.95rem; max-width: 220px; line-height: 1.5; color: rgba(255,255,255,0.92); }
.contact-photo-frame.has-photo { padding: 0; }
.contact-photo-frame.has-photo img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.contact-photo-frame.has-photo::after { inset: 0; border: none; }

.contact-showcase-text .btn { margin-top: 6px; }
.contact-quick-actions { display: flex; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
/* .btn-outline temel sınıfı (beyaz metin/kenarlık) koyu arka planlar içindir;
   bu bölümün arka planı açık (beyaz) olduğundan buton görünmez oluyordu. */
.contact-quick-actions .btn-outline { color: var(--primary); border-color: var(--primary); }
.contact-quick-actions .btn-outline:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-whatsapp-cta { background: #25D366; color: var(--white); }
.btn-whatsapp-cta:hover { background: #1fb959; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37,211,102,0.35); }

/* ============ FOOTER ============ */
.site-footer { background: var(--primary); color: #b7c2cd; padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 44px;
}
.site-footer .logo { color: var(--white); }
.site-footer p { font-size: 0.9rem; margin-top: 14px; line-height: 1.6; }
.site-footer h4 {
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 12px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1rem;
}
.site-footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}
.site-footer ul li { margin-bottom: 11px; font-size: 0.9rem; }
.site-footer a { transition: color 0.2s ease; }
.site-footer a:hover { color: var(--accent); }

/* Sosyal medya ikon rozetleri */
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  transition: 0.2s ease;
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--primary); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

/* İletişim listesi: ikon + metin hizası */
.footer-contact-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 15px; }
.footer-contact-list li a { display: flex; align-items: center; gap: 10px; color: #b7c2cd; }
.footer-contact-list li a:hover { color: var(--accent); }
.footer-contact-list .fc-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.footer-contact-list .fc-icon svg { width: 14px; height: 14px; fill: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 20px 0;
  font-size: 0.85rem;
}

/* ============ WHATSAPP SOHBET WIDGET'I ============
   Site Ayarları > Özellik Aç/Kapat > "Sabit WhatsApp Butonu" ile açılıp kapatılır. */
.wa-widget {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.wa-widget-fab {
  position: relative;
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(37,211,102,0.4), inset 0 -2px 4px rgba(0,0,0,0.12), inset 0 1px 2px rgba(255,255,255,0.25);
  animation: pulse-wa 2.4s infinite;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wa-widget-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37,211,102,0.45), inset 0 -2px 4px rgba(0,0,0,0.12), inset 0 1px 2px rgba(255,255,255,0.25); }
.wa-fab-icon { position: absolute; display: flex; align-items: center; justify-content: center; transition: opacity 0.15s ease, transform 0.15s ease; }
.wa-fab-icon-open svg { width: 28px; height: 28px; fill: var(--white); }
.wa-fab-icon-close { font-size: 1.3rem; opacity: 0; transform: scale(0.6); }
.wa-widget.open .wa-fab-icon-open { opacity: 0; transform: scale(0.6); }
.wa-widget.open .wa-fab-icon-close { opacity: 1; transform: scale(1); }
.wa-widget.open .wa-widget-fab { animation: none; box-shadow: 0 8px 22px rgba(12,34,57,0.3); background: var(--primary); }

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 8px 22px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 8px 22px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.12); }
}

.wa-chat-box[hidden] {
  display: none;
}

.wa-chat-box {
  width: min(92vw, 372px);
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform-origin: bottom right;
  display: flex;
  flex-direction: column;
}
.wa-widget.open .wa-chat-box { opacity: 1; transform: translateY(0) scale(1); }

.wa-chat-header {
  background: linear-gradient(135deg, #128C7E, #075E54);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
}
.wa-chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  letter-spacing: 0.3px;
}
.wa-chat-header-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.wa-chat-header-title { font-weight: 700; font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-chat-header-status { display: flex; align-items: center; gap: 5px; font-size: 0.72rem; color: rgba(255,255,255,0.8); }
.wa-online-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; flex-shrink: 0; box-shadow: 0 0 0 2px rgba(255,255,255,0.15); }
.wa-chat-toggle {
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.wa-chat-toggle:hover { background: rgba(255,255,255,0.15); }

.wa-chat-body {
  background-color: #e9e3da;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23000000' stroke-opacity='0.028' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 34c-4-9 2-18 11-18 6 0 9 5 9 10 0 8-9 12-16 14-4 1-6 3-8 6'/%3E%3Cpath d='M140 24c-3-3-3-8 0-11l3-3c2-2 5-2 7 0l4 4c2 2 2 5 0 7l-1 1c1 4 3 7 6 10s6 5 10 6l1-1c2-2 5-2 7 0l4 4c2 2 2 5 0 7l-3 3c-3 3-8 3-11 0-9-4-17-12-21-21-1-2-3-4-6-6z'/%3E%3Crect x='200' y='110' width='28' height='19' rx='2'/%3E%3Cpath d='M200 110l14 11 14-11'/%3E%3Ccircle cx='50' cy='150' r='9'/%3E%3Cpath d='M50 133v6M50 161v6M33 150h6M61 150h6'/%3E%3Cpath d='M110 200c4-8 10-8 14 0s10 8 14 0'/%3E%3Cpath d='M18 210c14-6 22 6 8 12-9 4-4 14 6 8'/%3E%3Cpath d='M170 55c6-2 11 2 9 8-1 4-6 5-9 2'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 260px 260px;
  padding: 20px 16px;
  min-height: 250px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.wa-chat-bubble {
  position: relative;
  background: var(--white);
  border-radius: 10px;
  border-top-left-radius: 3px;
  padding: 10px 12px 7px;
  max-width: 86%;
  box-shadow: 0 1px 1px rgba(0,0,0,0.06), 0 3px 8px rgba(0,0,0,0.08);
}
.wa-chat-bubble::before {
  content: '';
  position: absolute;
  top: 0;
  left: -6px;
  width: 12px;
  height: 13px;
  background: var(--white);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}
.wa-chat-bubble p { font-size: 0.87rem; color: var(--dark); margin-bottom: 4px; line-height: 1.45; }
.wa-chat-time { font-size: 0.68rem; color: var(--gray-light); display: block; text-align: right; }

.wa-chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.wa-chat-input-emoji { font-size: 1.15rem; flex-shrink: 0; line-height: 1; opacity: 0.75; }
.wa-chat-input input {
  flex: 1;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 999px;
  padding: 10px 15px;
  font-family: inherit;
  font-size: 0.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.wa-chat-input input::placeholder { color: var(--gray-light); }
.wa-chat-input input:focus { outline: none; border-color: #25D366; box-shadow: 0 0 0 3px rgba(37,211,102,0.14); }
.wa-chat-input button {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(37,211,102,0.35);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.wa-chat-input button svg { width: 15px; height: 15px; fill: var(--white); margin-left: -1px; }
.wa-chat-input button:hover { filter: brightness(1.05); transform: scale(1.06); }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
  .section { padding: 64px 0; }
  .about-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .contact-showcase-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-photo-frame { max-width: 360px; margin: 0 auto; aspect-ratio: 1 / 1; }
  .price-lead.has-hero-img { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .price-lead.has-hero-img .price-hero-img,
  .price-lead.has-hero-img .price-gallery { max-width: 480px; margin: 0 auto; }
  .page-banner h1 { font-size: 2.1rem; }
  .about-stats.stats-wide { grid-template-columns: repeat(2, 1fr); max-width: 460px; }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}

/*
 * Masaüstü menüsü (logo + 8 üst menü öğesi + telefon + WhatsApp butonu) dar
 * dizüstü ekranlarda (ör. 1280/1366px) tek satıra sığmayıp alt satıra kayıp
 * telefon/WhatsApp alanının üstüne binebiliyordu. Bu yüzden mobil/hamburger
 * menüye geçiş 768px yerine 1300px'de tetiklenir — logo görsel olarak
 * büyütülüp genişletilse bile (bkz. site_logo_height ayarı) 1280/1366px gibi
 * yaygın dizüstü genişliklerinde çakışma/kayma olmaz; menü ya tam masaüstü
 * genişliğinde ya da hamburger olarak düzgün görünür.
 */
@media (max-width: 1300px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(82vw, 320px);
    height: 100vh;
    background: var(--white);
    box-shadow: -8px 0 30px rgba(12,34,57,0.18);
    max-height: none;
    overflow-y: auto;
    padding-top: 82px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 24px; }
  .main-nav ul li { border-bottom: 1px solid var(--border); }
  .main-nav a { display: block; padding: 15px 0; }
  .main-nav > ul > li > a::after { display: none; }
  .has-dropdown { padding-bottom: 0; margin-bottom: 0; }
  .dropdown {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 14px;
    border-top: none;
  }
  .has-dropdown.open .dropdown { display: block; }

  .header-cta { display: none; }
  .hamburger { display: flex; }

  .mobile-quickbar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    box-shadow: 0 -6px 20px rgba(12, 34, 57, 0.18);
  }
  .mobile-quickbar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    color: var(--white);
    padding: 14px 0;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
    transition: filter 0.15s ease;
  }
  .mobile-quickbar a svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
    flex-shrink: 0;
  }
  .mobile-quickbar a:active { filter: brightness(0.92); }
  .mobile-quickbar .qb-call { background: var(--primary); }
  .mobile-quickbar .qb-whatsapp { background: #25D366; }
  body { padding-bottom: 58px; }

  /* Alt çubukta zaten büyük bir WhatsApp butonu olduğu için yüzen WhatsApp
     sohbet widget'ı gizlenir (çakışma/karmaşa olmasın). */
  .wa-widget { display: none; }
}

@media (max-width: 768px) {
  .hero { padding: 80px 0 70px; }
  .hero h1 { font-size: 1.9rem; }
  .hero p { font-size: 1rem; }
  .hero-trust { flex-direction: column; gap: 10px; }
  .section { padding: 46px 0; }
  .section h2 { font-size: 1.6rem; margin-bottom: 26px; }

  .page-banner { padding: 46px 0 40px; }
  .contact-showcase-text { text-align: center; }
  .contact-quick-actions { justify-content: center; }
  .contact-map iframe { height: 220px; }

  .category-grid,
  .product-grid,
  .why-grid,
  .project-grid,
  .video-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

  /* Mobilde kartları daha kompakt hale getir: daha az dolgu, daha küçük ikon */
  .category-card { padding: 22px 12px; }
  .cat-icon { width: 48px; height: 48px; font-size: 1.3rem; margin-bottom: 12px; }
  .cat-icon svg { width: 22px; height: 22px; }
  .category-card.has-img { padding-top: 0; }
  .category-card.has-img .cat-photo { margin: 0 -12px 12px; height: 110px; }
  .category-card h3 { font-size: 0.92rem; margin-bottom: 4px; }
  .category-card p { font-size: 0.78rem; }

  .why-card { padding: 20px 12px; }
  .why-icon { width: 42px; height: 42px; font-size: 1.15rem; margin-bottom: 10px; }
  .why-card h3 { font-size: 0.88rem; margin-bottom: 4px; }
  .why-card p { font-size: 0.78rem; }

  .product-img { height: 110px; }
  .product-card h3 { font-size: 0.85rem; padding: 12px 12px 4px; }
  .link-more { font-size: 0.78rem; padding: 0 12px 12px; }

  .project-img { height: 100px; }
  .project-card h3 { font-size: 0.85rem; padding: 12px 12px 2px; }
  .project-loc { font-size: 0.76rem; padding: 0 12px 12px; }

  .videos-head { margin-bottom: 24px; }
  .video-scroll { gap: 0; scroll-snap-type: x mandatory; padding: 4px 0 12px; }
  .video-card { width: 100%; scroll-snap-align: center; scroll-snap-stop: always; }
  .video-frame { max-width: 240px; margin: 0 auto; }
  .video-carousel::before,
  .video-carousel::after { width: 22px; }
  .video-nav-prev { left: 0; }
  .video-nav-next { right: 0; }
  .video-nav-btn { width: 40px; height: 40px; font-size: 1.1rem; }

  .site-footer { padding-top: 46px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 0; padding-bottom: 30px; }

  /* Her bölümü ayrı bir blok gibi göstermek için ince ayraç çizgisi
     (logo/açıklama bloğu hariç) — böylece "Hızlı Linkler / Ürün Kategorileri /
     İletişim" birbirinden net şekilde ayrılır. */
  .footer-grid > div { padding: 26px 0; }
  .footer-grid > div:first-child { padding-top: 0; }
  .footer-grid > div + div { border-top: 1px solid rgba(255,255,255,0.1); }

  .site-footer h4::after { left: 50%; transform: translateX(-50%); }
  .footer-social { justify-content: center; }

  /* Hızlı Linkler ve Ürün Kategorileri: mobilde uzun tek sütun yerine
     2 sütunlu düzen — sayfa boyu kısalır, daha derli toplu görünür. */
  .footer-links ul,
  .footer-categories ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 10px;
  }

  .footer-contact-list li { justify-content: center; }
  .footer-contact-list li a { justify-content: center; }

  /* Mobilde alt çubukta zaten büyük bir WhatsApp butonu olduğu için
     yüzen WhatsApp sohbet widget'ı gizlenir (çakışma/karmaşa olmasın). */
  .wa-widget { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .video-frame { max-width: 220px; }
  .category-grid,
  .product-grid,
  .why-grid,
  .project-grid { gap: 12px; }
  .category-card { padding: 18px 10px; }
  .why-card { padding: 16px 10px; }
}

/* ============ GÜVEN BARI (Anasayfa - trust-bar) ============
   Site Ayarları > Özellik Aç/Kapat > "Anasayfa Güven Barı" ile açılıp kapatılır. */
.trust-bar {
  background: var(--light-bg);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust-bar-inner--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 420px;
  margin: 0 auto;
}
.trust-bar .stat-card {
  text-align: center;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
@media (max-width: 640px) {
  .trust-bar-inner { grid-template-columns: 1fr 1fr; gap: 20px 10px; }
}

/* ============ ÜRÜN KARTI: PDF KATALOG BUTONU ============ */
.product-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 18px 18px; }
.product-card-actions .link-more { padding: 0; }
.link-pdf { font-size: 0.82rem; font-weight: 700; color: var(--secondary); white-space: nowrap; }
.link-pdf:hover { color: var(--primary); }

/* ============ PROJELER: KATEGORİ FİLTRESİ ============ */
.project-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -10px 0 32px;
}
.filter-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--gray);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
  font-family: inherit;
}
.filter-btn:hover { border-color: var(--accent); color: var(--primary); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.project-card.filtered-out { display: none; }

/* ============ SERTİFİKALAR / BELGELER ============
   Site Ayarları > Özellik Aç/Kapat > "Sertifikalar / Belgeler Bölümü" ile açılıp kapatılır. */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.certification-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 18px;
  box-shadow: var(--shadow);
}
.certification-card img { max-width: 100px; max-height: 100px; margin: 0 auto 14px; object-fit: contain; }
.certification-card h3 { font-size: 0.95rem; color: var(--primary); margin-bottom: 6px; }
.certification-card p { font-size: 0.84rem; color: var(--gray); }

/* ============ REFERANS LOGOLARI ============
   Site Ayarları > Özellik Aç/Kapat > "Referans Logoları Bölümü" ile açılıp kapatılır. */
.client-logos-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1);
  opacity: 0.7;
  transition: 0.2s ease;
}
.client-logo-item:hover { filter: grayscale(0); opacity: 1; }
.client-logo-item img { max-height: 56px; max-width: 140px; object-fit: contain; }

/* ============ FOOTER: YASAL LİNKLER ============ */
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-top: 10px;
}
.footer-legal-links a { color: rgba(255,255,255,0.6); font-size: 0.8rem; }
.footer-legal-links a:hover { color: var(--white); }

/* ============ "SİZİ ARAYALIM" HIZLI FORM: FAB + MODAL ============
   Site Ayarları > Özellik Aç/Kapat > "Sizi Arayalım Hızlı Form" ile açılıp kapatılır. */
.callback-fab {
  position: fixed;
  bottom: 26px;
  left: 26px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-hover);
  cursor: pointer;
  z-index: 999;
}
.callback-fab:hover { background: var(--primary-light); }
@media (max-width: 1300px) {
  /* Bu genişlikte alt sabit çubukta (mobile-quickbar) zaten tek dokunuşla
     arama imkanı var; sabit (position:fixed) "Sizi Arayalım" balonu ise
     sayfa kaydırıldıkça alttaki başlık/metin/ikonların üzerine biniyordu.
     Çakışmayı ve tekrarı önlemek için bu genişliklerde gizlenir. */
  .callback-fab { display: none; }
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.callback-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(12,34,57,0.55);
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.callback-modal-backdrop.show { opacity: 1; visibility: visible; }
.callback-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  width: min(92vw, 420px);
  z-index: 1500;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.callback-modal.show { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.callback-modal h3 { color: var(--primary); margin-bottom: 8px; }
.callback-modal p { color: var(--gray); font-size: 0.9rem; margin-bottom: 18px; }
.callback-modal form { display: flex; flex-direction: column; gap: 14px; }
.callback-modal label { font-weight: 600; font-size: 0.88rem; display: flex; flex-direction: column; gap: 6px; color: var(--primary); }
.callback-modal input,
.callback-modal textarea {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.93rem;
}
.callback-modal input:focus,
.callback-modal textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245,164,0,0.15); }
.callback-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--gray);
}
.callback-modal-close:hover { color: var(--primary); }

/* ============ ÇEREZ ONAY BANDI ============
   Site Ayarları > Özellik Aç/Kapat > "Çerez Onay Bandı" ile açılıp kapatılır. */
.cookie-consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--primary);
  color: var(--white);
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 1300;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.15);
}
/* "hidden" attribute'u, .cookie-consent'in display:flex kuralıyla aynı önceliğe
   sahip olduğu için bu kural olmadan JS ile gizlemek görsel olarak etkisiz kalır. */
.cookie-consent[hidden] { display: none; }

/* Bu genişlikte ekranın altında sabit duran mobil arama/WhatsApp çubuğu
   (.mobile-quickbar, yüksekliği ~58px) görünür olduğu için çerez onay bandı
   aynı bottom:0 konumunda onunla çakışmasın diye çubuğun tam üstüne taşınır.
   (Bu kural, üstteki temel .cookie-consent tanımından SONRA gelmeli ki
   bottom:0 kuralını gerçekten geçersiz kılabilsin.) */
@media (max-width: 1300px) {
  .cookie-consent { bottom: 58px; }
}
.cookie-consent p { font-size: 0.85rem; color: rgba(255,255,255,0.85); max-width: 700px; }
.cookie-consent a { text-decoration: underline; color: var(--white); }
.cookie-consent .btn { flex-shrink: 0; }

/* ============ YASAL SAYFALAR (KVKK / Gizlilik / Kullanım Şartları) ============ */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content p { margin-bottom: 16px; color: var(--dark); }
.legal-content h3 { color: var(--primary); margin: 26px 0 10px; }
.legal-content strong { color: var(--primary); }

/* ============ BLOG LİSTESİ ============ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.2s ease;
  display: block;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.blog-card-img { height: 170px; background: var(--light-bg); overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-img-ph { display: flex; align-items: center; justify-content: center; font-size: 2.4rem; }
.blog-card-body { padding: 20px; }
.blog-card-body h3 { font-size: 1.05rem; color: var(--primary); margin-bottom: 8px; }
.blog-card-body p { font-size: 0.88rem; color: var(--gray); margin-bottom: 12px; }
.blog-card-more { font-weight: 700; color: var(--accent-dark); font-size: 0.86rem; }

/* ============ BLOG TEKİL YAZI ============ */
.blog-single-inner { max-width: 780px; margin: 0 auto; }
.blog-single-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; }
.blog-single-img img { width: 100%; }
.blog-single-content p { margin-bottom: 16px; color: var(--dark); }
.blog-single-content h3 { color: var(--primary); margin: 26px 0 10px; }
.blog-single-content strong { color: var(--primary); }
.blog-single-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
/* .btn-outline temel sınıfı (beyaz metin/kenarlık) koyu arka planlar içindir;
   bu bölümün arka planı açık (beyaz) olduğundan buton görünmez oluyordu. */
.blog-single-cta .btn-outline { color: var(--primary); border-color: var(--primary); }
.blog-single-cta .btn-outline:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.blog-single-related { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--border); }
.blog-single-related .eyebrow { display: block; margin-bottom: 12px; }
.blog-single-related .price-related { justify-content: flex-start; }

@media (max-width: 640px) {
  .callback-fab span { display: none; }
  .callback-fab { padding: 14px; border-radius: 50%; width: 54px; height: 54px; justify-content: center; bottom: 92px; }
  .cookie-consent { flex-direction: column; text-align: center; padding: 14px 16px; }
}
