/* ============================================
   ALKA LABORATUVARLARI - TEMA 1
   Kurumsal Mavi/Yeşil Light Theme
   ============================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:   #0f6b68;
  --primary-d: #0a4a48;
  --primary-l: #13837f;
  --green:     #2e7d32;
  --green-l:   #4caf50;
  --accent:    #5d9b3c;
  --dark:      #0d2928;
  --gray-100:  #eef5f3;
  --gray-200:  #dce9e5;
  --gray-400:  #94aeaa;
  --gray-600:  #4e6966;
  --text:      #10302f;
  --white:     #ffffff;
  --radius:    10px;
  --shadow:    0 4px 24px rgba(15,107,104,.12);
  --trans:     .3s ease;
  --container: 1240px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ---- Buttons ---- */
.btn-primary, .btn-outline, .btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  transition: all var(--trans);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover { background: var(--primary-d); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,107,104,.35); }

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

.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover { background: var(--gray-100); transform: translateY(-2px); }

.btn-full { width: 100%; justify-content: center; }

/* ---- Section Headers ---- */
.section-tag {
  display: inline-block;
  background: rgba(15,107,104,.1);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-tag.light {
  background: rgba(255,255,255,.2);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.section-header h2, h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-header h2 strong, h2 strong { color: var(--primary); font-weight: 800; }

.section-header p {
  color: var(--gray-600);
  font-size: 1.05rem;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
  background: linear-gradient(90deg, var(--primary-d) 0%, var(--primary) 100%);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  padding: 8px 0;
  position: relative;
  z-index: 200;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-left a {
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--trans);
}
.top-bar-left a:hover { color: var(--white); }
.top-bar-left i { color: #a8e6cf; font-size: .8rem; }

.top-bar-right {
  display: flex;
  gap: 6px;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.7);
  padding: 2px 10px;
  border-radius: 4px;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--trans);
}
.lang-btn:hover, .lang-btn.active {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.65);
  color: var(--white);
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 150;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  transition: all var(--trans);
}

.header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo img { height: 52px; width: auto; object-fit: contain; }

/* Nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--trans);
  white-space: nowrap;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
  color: var(--primary);
  background: rgba(15,107,104,.07);
}

.main-nav > ul > li > a i {
  font-size: .7rem;
  transition: transform var(--trans);
}

.main-nav > ul > li:hover > a i { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,.15);
  border-top: 3px solid var(--primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--trans);
  z-index: 100;
  display: block !important;
  /* flex-direction: column; */
  align-items: stretch;
  gap: 0;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 11px 20px;
  font-size: .88rem;
  color: var(--text);
  text-align: left !important;
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--trans);
}

.dropdown li:last-child a { border-bottom: none; }

.dropdown li a:hover {
  color: var(--primary);
  background: var(--gray-100);
  padding-left: 26px;
}

/* Hizmetlerimiz açılır menüsü: 16 kalem tek sütunda ekranı aşıyor,
   iki sütuna bölünür. Sıra soldaki sütunun altına, sonra sağdakine akar. */
.dropdown--2col {
  min-width: 500px;
  column-count: 2;
  column-gap: 0;
  column-rule: 1px solid var(--gray-200);
}
.dropdown--2col li { break-inside: avoid; }
/* Tek sütunda yalnızca son maddenin çizgisi kaldırılıyor; iki sütunda
   bunun karşılığı sol sütunda olmadığı için ayırıcı her maddeye veriliyor
   ve alt köşeler taşmasın diye kırpılıyor. */
.dropdown--2col { overflow: hidden; }
.dropdown--2col li a,
.dropdown--2col li:last-child a { border-bottom: 1px solid var(--gray-200); }

/* Yalnızca mobil menüye geçilen genişlikte tek sütuna döner.
   (Masaüstü menü 768px'in altında zaten hamburger'a dönüşüyor.) */
@media (max-width: 768px) {
  .dropdown--2col {
    min-width: 220px;
    column-count: 1;
    column-rule: none;
  }
  .dropdown--2col li:last-child a { border-bottom: none; }
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-quote {
  background: var(--primary);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .88rem;
  transition: all var(--trans);
  white-space: nowrap;
}
.btn-quote:hover { background: var(--primary-d); transform: translateY(-1px); }

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--trans);
}

.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
  position: relative;
  height: 620px;
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  display: flex;
  align-items: center;
}

.slide.active { opacity: 1; z-index: 2; }

/* Slide backgrounds with photo + gradient overlay */
.slide-1 {
  background:
    linear-gradient(to right, rgba(6,40,39,.88) 0%, rgba(10,74,72,.68) 50%, rgba(20,80,50,.60) 100%),
    url('https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?auto=format&fit=crop&w=1920&q=85') center/cover no-repeat;
}
.slide-2 {
  background:
    linear-gradient(to right, rgba(8,56,54,.88) 0%, rgba(12,84,80,.65) 50%, rgba(30,100,55,.55) 100%),
    url('https://images.unsplash.com/photo-1504711434969-e33886168f5c?auto=format&fit=crop&w=1920&q=85') center/cover no-repeat;
}
.slide-3 {
  background:
    linear-gradient(to right, rgba(12,36,35,.90) 0%, rgba(15,70,68,.68) 50%, rgba(50,110,55,.55) 100%),
    url('https://images.unsplash.com/photo-1518152006812-edab29b069ac?auto=format&fit=crop&w=1920&q=85') center/cover no-repeat;
}

.slide-content {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 40px 0;
}

.slide-content .container { max-width: 820px; padding-left: 40px; }

.slide-tag {
  display: inline-block;
  background: rgba(255,255,255,.2);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}

.slide-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,.2);
}

.slide-content h1 strong { font-weight: 800; color: #a8e6cf; }

.slide-content p {
  color: rgba(255,255,255,.88);
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.slide-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.prev-btn, .next-btn {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.4);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans);
  backdrop-filter: blur(6px);
}
.prev-btn:hover, .next-btn:hover { background: rgba(255,255,255,.35); }

.slider-dots { display: flex; gap: 8px; }

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: all var(--trans);
}
.dot.active {
  background: var(--white);
  transform: scale(1.3);
}

.scroll-down {
  position: absolute;
  bottom: 28px;
  right: 40px;
  z-index: 10;
}

.scroll-down a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: var(--white);
  animation: bounce 2s infinite;
  backdrop-filter: blur(6px);
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--primary);
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
  color: var(--white);
  padding: 16px;
  border-right: 1px solid rgba(255,255,255,.2);
}
.stat-item:last-child { border-right: none; }

.stat-item .stat-number {
  display: inline;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
}

.stat-item > span:first-child { font-size: 2.6rem; font-weight: 800; }

.stat-item .stat-label {
  display: block;
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  margin-top: 6px;
  font-weight: 500;
}

/* ============================================
   ABOUT SECTION — BENTO GRID
   ============================================ */
.about-section {
  padding: 100px 0;
  background: var(--white);
}

.about-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 300px 180px 160px;
  gap: 14px;
}

/* ---- Kart temel stili ---- */
.ab-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

/* Kart 1 — Büyük içerik kartı */
.ab-content {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
  background: linear-gradient(145deg, #06302f 0%, #0f6b68 100%);
  padding: 52px 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ab-content-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #5dd4a3;
  margin-bottom: 28px;
}
.ab-content-tag::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: #5dd4a3;
  border-radius: 2px;
}
.ab-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 24px;
}
.ab-content h2 em {
  color: #5dd4a3;
  font-style: normal;
}
.ab-content p {
  color: rgba(255,255,255,.68);
  font-size: .97rem;
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 28px;
}
.ab-content-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--trans), gap var(--trans);
}
.ab-content-btn:hover { background: rgba(255,255,255,.2); gap: 16px; }
.ab-content-footer {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.ab-content-footer-stat b {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.ab-content-footer-stat b sup { font-size: .8rem; color: #5dd4a3; }
.ab-content-footer-stat small {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.5);
  font-weight: 600;
}

/* Kart 2 — Fotoğraf kartı */
.ab-photo {
  grid-column: 8 / 13;
  grid-row: 1 / 2;
}
.ab-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s ease;
}
.ab-photo:hover img { transform: scale(1.04); }
.ab-video { background: #000; }
.ab-video iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}

/* Kart 3 — 27+ Yıl stat */
.ab-stat-exp {
  grid-column: 8 / 10;
  grid-row: 2 / 3;
  background: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.ab-big-num {
  font-size: 3.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.ab-big-num sup { font-size: 1.4rem; }
.ab-big-lbl {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,.7);
  margin-top: 8px;
  font-weight: 600;
}

/* Kart 4 — 16+ Hizmet stat */
.ab-stat-svc {
  grid-column: 10 / 13;
  grid-row: 2 / 3;
  background: #1a2e1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

/* Kart 5-8 — Alt özellik kartları */
.ab-feat {
  background: var(--white);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--trans), box-shadow var(--trans);
  border: 1px solid var(--gray-200);
}
.ab-feat:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }

.ab-feat-1 { grid-column: 1 / 4; grid-row: 3 / 4; }
.ab-feat-2 { grid-column: 4 / 7; grid-row: 3 / 4; }
.ab-feat-3 { grid-column: 7 / 10; grid-row: 3 / 4; }
.ab-feat-cta { grid-column: 10 / 13; grid-row: 3 / 4; }

.ab-feat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.ab-feat strong {
  display: block;
  font-size: .92rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
}
.ab-feat span {
  font-size: .78rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Kart CTA */
.ab-feat-cta {
  background: var(--primary);
  border: none;
  align-items: flex-start;
}
.ab-feat-cta:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(15,107,104,.3); }
.ab-feat-cta .ab-feat-icon { background: rgba(255,255,255,.15); color: #fff; }
.ab-feat-cta strong { color: #fff; font-size: 1rem; }
.ab-feat-cta span { color: rgba(255,255,255,.7); }
.ab-cta-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: .85rem;
  margin-top: 12px;
  transition: background var(--trans);
  text-decoration: none;
}
.ab-cta-arrow:hover { background: rgba(255,255,255,.35); }

@media (max-width: 1100px) {
  .about-bento { grid-template-rows: 280px 160px 150px; }
  .ab-title h2 { font-size: 1.35rem; }
}
@media (max-width: 768px) {
  .about-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 120px 120px auto auto auto auto;
  }
  .ab-photo    { grid-column: 1 / 3; grid-row: 1 / 2; }
  .ab-title    { grid-column: 1 / 3; grid-row: 2 / 3; }
  .ab-stat-exp { grid-column: 1 / 2; grid-row: 3 / 4; }
  .ab-stat-svc { grid-column: 2 / 3; grid-row: 3 / 4; }
  .ab-feat-1   { grid-column: 1 / 2; grid-row: 4 / 5; }
  .ab-feat-2   { grid-column: 2 / 3; grid-row: 4 / 5; }
  .ab-feat-3   { grid-column: 1 / 2; grid-row: 5 / 6; }
  .ab-feat-cta { grid-column: 2 / 3; grid-row: 5 / 6; }
}
@media (max-width: 480px) {
  .about-bento { grid-template-columns: 1fr; grid-template-rows: auto; }
  .ab-photo    { grid-column: 1; grid-row: auto; height: 220px; }
  .ab-title    { grid-column: 1; grid-row: auto; }
  .ab-stat-exp, .ab-stat-svc,
  .ab-feat-1, .ab-feat-2,
  .ab-feat-3, .ab-feat-cta { grid-column: 1; grid-row: auto; }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  padding: 90px 0;
  background: var(--gray-100);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-bottom: 3px solid transparent;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--green-l));
  transform: scaleX(0);
  transition: transform var(--trans);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(15,107,104,.18);
  border-bottom-color: var(--primary);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card.featured {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  color: var(--white);
  border-bottom-color: var(--accent);
}

.service-card.featured h3,
.service-card.featured p { color: var(--white); }

.service-card.featured .service-link { color: rgba(255,255,255,.9); }

.service-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(15,107,104,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all var(--trans);
}

.service-card:hover .service-icon {
  background: var(--primary);
  transform: scale(1.08);
}

.service-card:hover .service-icon i { color: var(--white); }
.service-card.featured .service-icon { background: rgba(255,255,255,.2); }
.service-card.featured .service-icon i { color: var(--white); }

.service-img {
  margin: -28px -22px 20px;
  height: 155px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
  display: block;
}
.service-card:hover .service-img img { transform: scale(1.07); }
.service-card.featured .service-img img { filter: brightness(.8) saturate(.7); }

.service-icon i {
  font-size: 1.4rem;
  color: var(--primary);
  transition: color var(--trans);
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card p {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: .85rem;
  font-weight: 600;
  transition: all var(--trans);
  margin-top: auto;
}
.service-link:hover { gap: 10px; }
.service-link i { font-size: .75rem; }

/* ============================================
   ZDHC SECTION
   ============================================ */
.zdhc-section {
  padding: 90px 0;
  /* Arka planda saha/tesis fotoğrafı; solda yazılar okunaklı kalsın diye
     örtü koyu, sağa doğru açılıyor */
  background:
    linear-gradient(90deg, rgba(6,48,47,.82) 0%, rgba(8,62,60,.62) 40%, rgba(15,107,104,.18) 75%, rgba(15,107,104,.05) 100%),
    url('../images/yaklasim-arkaplan-3.jpg') right center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.zdhc-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}

.zdhc-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

.zdhc-content h2 { color: var(--white); margin-bottom: 18px; }
.zdhc-content h2 strong { color: #a8e6cf; }

.zdhc-content p {
  color: rgba(255,255,255,.85);
  margin-bottom: 24px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.zdhc-list { margin-bottom: 32px; }

.zdhc-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.9);
  margin-bottom: 12px;
  font-size: .95rem;
}

.zdhc-list li i { color: var(--green-l); font-size: 1.1rem; flex-shrink: 0; }

.zdhc-image {
  display: flex;
  justify-content: center;
}

.zdhc-logo-box {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  max-width: 320px;
}

.roadmap-zero {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.roadmap-zero strong {
  display: block;
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1;
}

.zdhc-logo-box p {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  margin-top: 20px;
}

/* ============================================
   ACCREDITATIONS
   ============================================ */
.accreditations-section {
  padding: 90px 0;
  background: var(--gray-100);
}

.accred-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.accred-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  text-align: center;
  transition: all var(--trans);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.accred-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--trans);
}

.accred-card:hover {
  border-color: rgba(15,107,104,.25);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.accred-card:hover::after { transform: scaleX(1); }

.accred-logo {
  background: var(--white);
  padding: 32px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  border-bottom: 1px solid var(--gray-200);
}

.accred-logo img {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform var(--trans);
}

.accred-card:hover .accred-logo img { transform: scale(1.06); }

.accred-zdhc-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-d) 100%);
  border-radius: 10px;
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  gap: 2px;
  padding: 10px;
}

.accred-zdhc-logo strong {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1;
}

.accred-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.accred-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.accred-card p {
  font-size: .84rem;
  color: var(--gray-600);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}

.accred-date {
  font-size: .76rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(15,107,104,.08);
  padding: 5px 14px;
  border-radius: 50px;
  display: inline-block;
  align-self: center;
}

/* ============================================
   NEWS SECTION
   ============================================ */
.news-section {
  padding: 90px 0;
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,.13);
}

.news-card__img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.news-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}
.news-card:hover .news-card__img img { transform: scale(1.06); }

/* is-logo: kare görselleri (logo/amblem/sertifika) main.js işaretler.
   cover ile yarısı kesildiği için bunlar kırpılmadan, beyaz zemine
   ortalanarak gösterilir; hover yakınlaştırması da kapatılır. */
.news-card__img.is-logo { background: var(--white); }
.news-card__img.is-logo img {
  object-fit: contain;
  padding: 16px;
}
.news-card:hover .news-card__img.is-logo img { transform: none; }

.news-card__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--primary);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 4px 12px;
  border-radius: 50px;
  z-index: 2;
}
.news-card__tag--green { background: var(--green); }
.news-card__tag--dark  { background: var(--dark); }

.news-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card__meta {
  display: flex;
  gap: 16px;
  font-size: .75rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}
.news-card__meta i { color: var(--primary); margin-right: 4px; }

.news-card__body h3 {
  font-size: .97rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-card__body p {
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 18px;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: gap var(--trans);
}
.news-card__link:hover { gap: 14px; }
.news-card__link i { font-size: .75rem; }

@media (max-width: 960px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  padding: 90px 0;
  background: var(--gray-100);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  margin-bottom: 48px;
}

.contact-office {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  border-left: 4px solid var(--primary);
}

.contact-office h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-office h3 i { color: var(--primary); width: 16px; text-align: center; }

.contact-office p {
  font-size: .88rem;
  color: var(--gray-600);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

/* Farklı ikonların genişliği eşitlenir ki adres, telefon ve e-posta
   satırlarının metinleri aynı hizada başlasın. */
.contact-office p i {
  color: var(--primary);
  flex-shrink: 0;
  width: 16px;
  margin-top: 3px;
  text-align: center;
}

.contact-office p:last-child { margin-bottom: 0; }
.contact-office p a { color: var(--primary); font-weight: 600; }
.contact-office p a:hover { text-decoration: underline; }

.contact-social {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.contact-social p {
  font-size: .88rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.contact-social p:last-child { margin-bottom: 0; }
.contact-social i { color: var(--primary); width: 16px; }
.contact-social a { color: var(--primary); }
.contact-social a:hover { text-decoration: underline; }

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

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

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--trans);
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--primary);
}

.form-check label {
  font-size: .82rem;
  color: var(--gray-600);
  cursor: pointer;
  line-height: 1.5;
}

.form-success {
  display: none;
  background: #e8f5e9;
  color: var(--green);
  padding: 14px 20px;
  border-radius: 8px;
  margin-top: 12px;
  font-weight: 600;
  text-align: center;
}

/* Map */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-placeholder {
  height: 350px;
  background: var(--gray-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-400);
  font-size: 1.1rem;
}

.map-placeholder i { font-size: 2.5rem; color: var(--primary); }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--dark); color: rgba(255,255,255,.75); }

.footer-top { padding: 64px 0 40px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
}

.footer-brand img { margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .9; height: 44px; }

.footer-brand p {
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-slogan {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

.footer h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-links ul li,
.footer-services ul li { margin-bottom: 9px; }

.footer-links ul li a,
.footer-services ul li a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: all var(--trans);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-address p {
  font-size: .85rem;
  margin-bottom: 14px;
  line-height: 1.7;
}

.footer-address a { color: var(--accent); }
.footer-address a:hover { text-decoration: underline; }
.footer-address p i {
  color: var(--accent);
  width: 16px;
  margin-right: 6px;
  text-align: center;
  font-size: .82rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}

.footer-bottom a { color: var(--accent); }
.footer-bottom a:hover { text-decoration: underline; }

.footer-logo-ttr {
  height: 28px;
  width: auto;
  opacity: .7;
  vertical-align: middle;
  filter: brightness(0) invert(1);
}

/* ============================================
   WHATSAPP & BACK TO TOP
   ============================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  z-index: 500;
  transition: all var(--trans);
}

.whatsapp-btn:hover { transform: scale(1.12); box-shadow: 0 8px 30px rgba(37,211,102,.6); }

.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  white-space: nowrap;
  background: var(--dark);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--trans);
  pointer-events: none;
}
.whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; visibility: visible; }

.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 490;
  transition: all var(--trans);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-d); transform: translateY(-3px); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 960px) {
  .about-hero { grid-template-columns: 1fr; }
  .zdhc-grid { grid-template-columns: 1fr; gap: 40px; }
  .accred-grid { grid-template-columns: 1fr 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .about-pillars { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }

  .header-inner { height: 64px; }

  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 20px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform var(--trans);
    z-index: 140;
    box-shadow: 4px 0 20px rgba(0,0,0,.15);
  }

  .main-nav.open { transform: translateX(0); }

  .main-nav ul { flex-direction: column; gap: 0; align-items: stretch; }

  .main-nav > ul > li > a {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 8px;
    border-bottom: 1px solid var(--gray-200);
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--primary);
    margin-left: 16px;
    display: none;
  }

  .has-dropdown.open .dropdown { display: block; }
  .dropdown li a { text-align: left; }

  .mobile-menu-btn { display: flex; }
  .btn-quote { display: none; }

  .hero-slider { height: 520px; }
  .slide-content .container { padding-left: 20px; }

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

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

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 520px) {
  .services-grid { grid-template-columns: 1fr; }
  .accred-grid { grid-template-columns: 1fr; }
  .hero-slider { height: 480px; }
  .slide-content h1 { font-size: 1.6rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 22px 16px; }
}


/* ============================================
   ALKA ÇEVRE DÜZENLEMELERİ
   ============================================ */

/* ---- Okunabilirlik ----
   Tema ALKA LAB'dan geldi; metinlerin çoğu .7–.88rem ve açık gri olduğu için
   küçük ve soluk görünüyordu. Taban boyut 16→17px (rem tabanlı her şey orantılı
   büyür), en küçük yazılar yukarı çekilir, gri metinler koyulaştırılır. */
:root {
  --gray-500: #557270;
  --gray-600: #4e6966;
  --text:     #10302f;
}
html { font-size: 17px; }
body { line-height: 1.65; }

.top-bar { font-size: .85rem; }
.section-tag { font-size: .82rem; }
.section-header p { font-size: 1.08rem; }

.ab-content-tag { font-size: .8rem; }
.ab-content p { font-size: 1.02rem; color: rgba(255,255,255,.88); }
.ab-content-btn { font-size: .95rem; }
.ab-big-lbl { font-size: .8rem; color: rgba(255,255,255,.85); }
.ab-feat strong { font-size: 1rem; }
.ab-feat span { font-size: .88rem; }

.service-card p { font-size: .95rem; }
.service-link { font-size: .92rem; }

.zdhc-list li { font-size: 1rem; }

.news-card__tag { font-size: .75rem; }
.news-card__meta { font-size: .85rem; }
.news-card__body h3 { font-size: 1.08rem; }
.news-card__body p { font-size: .95rem; }
.news-card__link { font-size: .9rem; }

.accred-card h3 { font-size: 1rem; }
.accred-card p { font-size: .92rem; }
.accred-date { font-size: .8rem; }

.footer-brand p { font-size: .92rem; }

/* ---- Hizmet kartları: eşit görünüm ----
   Başlık uzunlukları 1–3 satır arasında değiştiği için kartlar farklı boyda
   duruyor, 4'lü ızgarada son satır sola yaslı yarım kalıyordu.
   Kartlar sabit genişlikte, başlık alanı 3 satırlık sabit yükseklikte;
   "Detaylı Bilgi" her kartta en altta; son satır ortalanır. */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.services-grid > .service-card {
  flex: 0 0 calc((100% - 3 * 22px) / 4);
  max-width: calc((100% - 3 * 22px) / 4);
}
.service-img { height: 170px; flex-shrink: 0; }
/* Başlık kesilmez: 3 satırlık yer ayrılır; daha uzun başlıkta kart uzar,
   aynı satırdaki kartlar da flex ile birlikte uzayıp eşit kalır. */
.service-card h3 {
  font-size: 1.02rem;
  line-height: 1.35;
  min-height: calc(1.35em * 3);
}
.service-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1100px) {
  .services-grid > .service-card {
    flex-basis: calc((100% - 2 * 22px) / 3);
    max-width: calc((100% - 2 * 22px) / 3);
  }
}
@media (max-width: 768px) {
  .services-grid > .service-card {
    flex-basis: calc((100% - 22px) / 2);
    max-width: calc((100% - 22px) / 2);
  }
}
@media (max-width: 520px) {
  .services-grid > .service-card { flex-basis: 100%; max-width: 100%; }
  .service-card h3 { min-height: 0; }
}

/* ---- Haberler ---- */
a.news-card__img { display: block; }
.news-card__body h3 a { color: inherit; transition: color var(--trans); }
.news-card__body h3 a:hover { color: var(--primary); }

/* Tek haber: 3 sütunda küçük kart yerine yatay geniş kart */
.news-grid--single { grid-template-columns: 1fr; max-width: 1040px; margin: 0 auto; }
.news-grid--single .news-card { flex-direction: row; }
.news-grid--single .news-card__img { flex: 0 0 50%; height: auto; min-height: 320px; }
.news-grid--single .news-card__body { padding: 36px 40px; justify-content: center; }
.news-grid--single .news-card__body h3 { font-size: 1.4rem; }
.news-grid--single .news-card__body p { flex: 0 1 auto; }
@media (max-width: 768px) {
  .news-grid--single .news-card { flex-direction: column; }
  .news-grid--single .news-card__img { flex-basis: auto; min-height: 0; height: 240px; }
  .news-grid--single .news-card__body { padding: 24px; }
}

.news-all { text-align: center; margin-top: 40px; }
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  color: var(--primary);
  font-weight: 600;
  font-size: .95rem;
  transition: all var(--trans);
}
.btn-outline-dark:hover { background: var(--primary); color: var(--white); gap: 12px; }

/* ---- Laboratuvar (ALKA LAB) yönlendirmeleri ---- */
.top-bar-right { align-items: center; }
.top-bar-lab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 10px;
  padding: 3px 12px;
  border-radius: 50px;
  background: rgba(255,255,255,.14);
  color: var(--white);
  font-weight: 600;
  transition: background var(--trans);
}
.top-bar-lab:hover { background: rgba(255,255,255,.26); }
.top-bar-lab i { color: #a8e6cf; font-size: .75rem; }

.footer-lab-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  color: var(--white);
  font-size: .9rem;
  font-weight: 600;
  transition: background var(--trans), gap var(--trans);
}
.footer-lab-link:hover { background: rgba(255,255,255,.1); gap: 12px; }
.footer-lab-link .fa-flask { color: #a8e6cf; }

.slide-btns { flex-wrap: wrap; }


/* Logo: yalnız "ALKA" yazılı yerel logo (439x78) */
.logo img { height: 40px; }
.footer-brand img { height: 32px; }

/* Bento: yazılar büyüdüğü için alt satır kartları sabit 160px'e sığmıyordu */
.about-bento { grid-template-rows: 300px 180px minmax(160px, auto); }
@media (max-width: 1100px) {
  .about-bento { grid-template-rows: 280px 160px minmax(150px, auto); }
}
@media (max-width: 768px) {
  .about-bento { grid-template-rows: 240px 120px 120px auto auto auto auto; }
}
@media (max-width: 480px) {
  .about-bento { grid-template-rows: auto; }
}
a.ab-feat-cta { text-decoration: none; }

/* Mobil bento: temadaki kurallar olmayan .ab-title'ı hedefliyordu; içerik kartı
   (ab-content) masaüstü yerleşiminde kalıp fotoğrafın altına giriyordu. */
@media (max-width: 768px) {
  .about-bento { grid-template-rows: 240px auto 130px auto auto; }
  .ab-content  { grid-column: 1 / 3; grid-row: 2 / 3; padding: 36px 28px; }
  .ab-content h2 { font-size: 1.7rem; }
}
@media (max-width: 480px) {
  .about-bento { grid-template-rows: auto; }
  .ab-content  { grid-column: 1; grid-row: auto; }
}

/* Panelde görseli olmayan kart/alan: fotoğraf yerine düz yeşil zemin + ikon
   (kart boyları eşit kalır). Bkz. Global.Gorsel */
.gorsel-yok {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: linear-gradient(135deg, #0a4a48 0%, #0f6b68 60%, #3f7f45 100%);
  color: rgba(255,255,255,.55);
  font-size: 2.4rem;
}
.ab-photo .gorsel-yok { font-size: 4rem; }
.side-post .gorsel-yok { width: 74px; height: 58px; flex: 0 0 74px; border-radius: 8px; font-size: 1.2rem; }

/* Hakkımızda bento: içerik kartındaki metin sabit satır yüksekliğine sığmayıp
   aşağı kayıyor, buton alttan kesiliyordu. Satırlar içeriğe göre uzayabilir,
   kart içerikleri dikeyde ortalanır. */
.about-bento { grid-template-rows: minmax(300px, auto) minmax(180px, auto) minmax(160px, auto); }
.ab-content { justify-content: center; padding: 44px 52px; }
.ab-content h2 { margin-bottom: 18px; }
.ab-content p { margin-bottom: 24px; }
.ab-feat { justify-content: center; }
.ab-feat .ab-feat-icon { margin-bottom: 14px; }
@media (max-width: 1100px) {
  .about-bento { grid-template-rows: minmax(280px, auto) minmax(160px, auto) minmax(150px, auto); }
}
@media (max-width: 768px) {
  .about-bento { grid-template-rows: 240px auto 130px auto auto; }
  .ab-content { padding: 36px 28px; }
}
@media (max-width: 480px) {
  .about-bento { grid-template-rows: auto; }
}

/* Hakkımızda alt kartları panelin İçerik 2 alanından geliyor; biri eksikse
   ızgarada boşluk kalmasın, mevcut kartlar satırı eşit paylaşsın. */
@media (min-width: 769px) {
  .about-bento:not(:has(.ab-feat-1)) .ab-feat,
  .about-bento:not(:has(.ab-feat-2)) .ab-feat,
  .about-bento:not(:has(.ab-feat-3)) .ab-feat,
  .about-bento:not(:has(.ab-feat-cta)) .ab-feat { grid-row: 3; grid-column: auto / span 4; }
}

/* Mühendislik yaklaşımı (zdhc) bölümü: panel Banner görseli sağ sütunda,
   İçerik 2 kutusu görselin sol alt köşesinde küçük rozet */
.zdhc-gorsel {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,.28);
}
.zdhc-gorsel img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}
.zdhc-rozet {
  position: absolute;
  left: -28px;
  bottom: -28px;
  max-width: 220px;
  padding: 20px 22px;
  background: rgba(6,48,47,.88);
  border-radius: 16px;
}
.zdhc-rozet .roadmap-zero { font-size: .8rem; margin-bottom: 4px; }
.zdhc-rozet .roadmap-zero strong { font-size: 2.6rem; }
.zdhc-rozet p { margin-top: 8px; font-size: .82rem; }
@media (max-width: 960px) {
  .zdhc-rozet { left: 12px; bottom: 12px; }
}

/* Footer: hizmet listesi tek sütunda çok uzuyordu; iki sütuna bölünür,
   hizmet sütunu genişler, iletişim sağda kalır. Uzun adlarda ok ilk satırda. */
@media (min-width: 1101px) {
  .footer-grid { grid-template-columns: 1.25fr .85fr 2fr 1.2fr; gap: 36px; }
}
@media (min-width: 521px) {
  .footer-services ul { column-count: 2; column-gap: 28px; }
  .footer-services ul li { break-inside: avoid; }
}
.footer-links ul li a,
.footer-services ul li a { align-items: flex-start; line-height: 1.45; }
.footer-links ul li a i,
.footer-services ul li a i { margin-top: .3em; flex-shrink: 0; }

/* Hero yazısı ortada durup fotoğrafı kapatıyordu: sitenin sol kenar hizasına
   alınır, yazı genişliği daraltılır; fotoğrafın sağ tarafı açık kalır */
.slide-content .container { max-width: var(--container); padding-left: 20px; }
.slide-content .container > * { max-width: 620px; }
.slide-content .slide-btns { max-width: none; }
.slide-content .container > h1 { max-width: 760px; }

/* Geniş ekranda hero ve Mühendislik Yaklaşımımız yazıları ortadaki 1240px kutuya
   değil ekranın sol kenarına hizalanır (fotoğrafın koyu sol tarafına denk gelir) */
@media (min-width: 1400px) {
  .slide-content .container,
  .zdhc-section .container {
    max-width: none;
    margin: 0;
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .zdhc-section .zdhc-content { max-width: 640px; }
}

/* Ana sayfa Hizmetlerimiz: geniş ekranda kartlar ekranın iki kenarına eşit
   (6vw) boşlukla yayılır; diğer ana sayfa bölümleri ortada kalır */
@media (min-width: 1400px) {
  .services-section > .container,
  .contact-section > .container {
    max-width: none;
    margin: 0;
    padding-left: 6vw;
    padding-right: 6vw;
  }
}

/* İletişim formu (ana sayfa + İletişim sayfası): büyütülen adres kutusuyla uyumlu */
#contactForm .form-group label { font-size: 1.02rem; margin-bottom: 9px; }
#contactForm .form-group input,
#contactForm .form-group textarea { font-size: 1.02rem; padding: 14px 18px; }
#contactForm .btn-full { font-size: 1.05rem; padding: 15px 28px; }

/* Ana sayfa Hakkımızda (geniş ekran): Hizmetlerimiz ile aynı genişliğe açılır,
   yazılar ve kutular büyümez; kart yükseklikleri kısaltılır (ince görünüm) */
@media (min-width: 1400px) {
  .about-section { padding: 80px 0; }
  .about-section > .container {
    max-width: none;
    margin: 0;
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .about-bento { grid-template-rows: 280px 160px 140px; }
  .ab-photo img { height: 100%; }
  /* 24 sütunlu ızgara: yeşil kart 10 sütun, sağ taraf 14 sütun; iki rakam kutusu
     ve alttaki dört kart kendi içinde eşit */
  .about-bento { grid-template-columns: repeat(24, 1fr); }
  .ab-content  { grid-column: 1 / 11; }
  .ab-photo    { grid-column: 11 / 25; }
  .ab-stat-exp { grid-column: 11 / 18; }
  .ab-stat-svc { grid-column: 18 / 25; }
  .ab-feat-1   { grid-column: 1 / 7; }
  .ab-feat-2   { grid-column: 7 / 13; }
  .ab-feat-3   { grid-column: 13 / 19; }
  .ab-feat-cta { grid-column: 19 / 25; }
  .ab-photo img { object-position: center 30%; }
  /* Rakam kutuları üstte, fotoğraf altta (satır yükseklikleri de yer değiştirir) */
  .about-bento { grid-template-rows: 160px 280px 140px; }
  .ab-stat-exp, .ab-stat-svc { grid-row: 1 / 2; }
  .ab-photo { grid-row: 2 / 3; }
  .ab-content { padding: 40px 52px; }
  .ab-content p { max-width: none; }
  .ab-feat { padding: 22px 24px; }
}

/* Üst şerit + menü: geniş ekranda logo ve telefonlar sola (6vw hizası), menü ortada */
@media (min-width: 1400px) {
  .top-bar > .container,
  .header > .container {
    max-width: none;
    margin: 0;
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .header-inner { position: relative; }
  .main-nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

/* Ana sayfa Bizden Haberler (geniş ekran): Hakkımızda/Hizmetlerimiz ile aynı hizada.
   Tek haber kartı satırı doldurur; görsel solda, metin sağda ferah. */
@media (min-width: 1400px) {
  .news-section > .container {
    max-width: none;
    margin: 0;
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .news-grid--single { max-width: none; }
  .news-grid--single .news-card__img { flex: 0 0 42%; height: 360px; min-height: 0; }
  .news-grid--single .news-card__img img { height: 100%; object-fit: cover; }
  .news-grid--single .news-card__body { padding: 48px 56px; }
  .news-grid--single .news-card__body h3 { font-size: 1.7rem; margin-bottom: 14px; }
  .news-grid--single .news-card__body p { font-size: 1.05rem; line-height: 1.75; max-width: 720px; }
  .news-grid--single .news-card__link { font-size: 1rem; }
}

/* Hizmetlerimiz başlık altı açıklaması tek satırda (masaüstü) */
@media (min-width: 992px) {
  .services-section .section-header { max-width: 900px; }
  .services-section .section-header p { white-space: nowrap; }
  .services-section .section-header h2 { max-width: 640px; margin-left: auto; margin-right: auto; }
}

/* DENEME: Hakkımızda'da dört küçük kutucuk en üstte, yazı + rakamlar + fotoğraf altta */
@media (min-width: 1400px) {
  .about-bento { grid-template-rows: 140px 160px 280px; }
  .ab-feat-1, .ab-feat-2, .ab-feat-3, .ab-feat-cta { grid-row: 1 / 2; }
  .ab-content { grid-row: 2 / 4; }
  .ab-stat-exp, .ab-stat-svc { grid-row: 2 / 3; }
  .ab-photo { grid-row: 3 / 4; }
}

/* Mobil: ana banner sabit yükseklikte kalınca metin ve butonlar üstten/alttan
   kesiliyordu; yükseklik içeriğe göre uzar, kaydırma oku butonların üstüne binmez. */
@media (max-width: 768px) {
  .hero-slider { height: auto; min-height: 480px; }
  .hero-slider .slider-wrapper { height: auto; min-height: inherit; }
  .hero-slider .slide.active { position: relative; min-height: 480px; }
  .slide-content { padding: 44px 0 56px; }
  .slide-content p { font-size: 1rem; margin-bottom: 24px; }
  .slide-btns .btn-primary, .slide-btns .btn-outline { justify-content: center; text-align: center; white-space: normal; }
  .scroll-down { display: none; }
}
@media (max-width: 520px) {
  .slide-btns { flex-direction: column; align-items: stretch; }
}

/* Mobil rötuşlar */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (max-width: 768px) {
  /* Kapalı menünün gölgesi sayfanın sol kenarına gri şerit olarak vuruyordu */
  .main-nav { box-shadow: none; }
  .main-nav.open { box-shadow: 4px 0 20px rgba(0,0,0,.15); }

  /* Bölümler arası boşluklar telefonda daraltılır */
  .about-section, .services-section, .zdhc-section,
  .accreditations-section, .news-section, .contact-section { padding: 56px 0; }

  /* Mühendislik Yaklaşımımız: 29+ kutusu Hakkımızda'da zaten var, telefonda gizlenir */
  .zdhc-image { display: none; }
  .zdhc-content p { font-size: 1rem; }
  .zdhc-list { margin-bottom: 24px; }
  .zdhc-list li { font-size: .95rem; }

  /* WhatsApp ve yukarı çık butonları küçülüp kenara yaklaşır, içeriği daha az kapatır */
  .whatsapp-btn { width: 48px; height: 48px; right: 14px; bottom: 16px; font-size: 1.4rem; }
  .back-to-top { width: 38px; height: 38px; right: 19px; bottom: 74px; }
}
@media (max-width: 768px) {
  /* Telefonda yazı fotoğrafın açık kısmına da denk geliyor; örtü her yerde koyu */
  .zdhc-section {
    background:
      linear-gradient(180deg, rgba(6,48,47,.86) 0%, rgba(8,62,60,.80) 100%),
      url('../images/yaklasim-arkaplan-3.jpg') center / cover no-repeat;
  }
  .slide-content p { text-shadow: 0 1px 6px rgba(0,0,0,.35); }
}
