:root {
  --bg: #f8f9fa;
  --bg-alt: #ffffff;
  --text: #2c3e50;
  --muted: #70747a;
  --primary: #074093;
  --secondary: #ff9000;
  --accent: #ff9000;
  --white: #ffffff;
  --cool: #074093;
  --cool-light: #e8f1fc;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}
.btn {
  display: inline-block;
  padding: 0.8rem 1.1rem;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: 0.2s;
  cursor: pointer;
}
.btn.primary {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}
.btn.primary:hover {
  filter: brightness(0.95);
}
.btn.ghost {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn.ghost:hover {
  background: rgba(17, 132, 198, 0.08);
}
.btn.whats {
  background: #25d366;
  color: #04210d;
  font-weight: 700;
}
.btn.call {
  border-color: var(--secondary);
  color: var(--secondary);
  margin-left: 0.5rem;
}
.btn.call:hover {
  background: rgba(17, 132, 198, 0.08);
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  z-index: 50;
  border-bottom: 1px solid rgba(17, 132, 198, 0.15);
}
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  min-height: 60px;
  flex-wrap: nowrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  flex-shrink: 0;
}
.brand-logo {
  height: 45px;
  width: auto;
  display: block;
}
.brand-text {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text);
}
@media (max-width: 480px) {
  .brand-text {
    font-size: 1.2rem;
  }
  .brand-logo {
    height: 38px;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-logo {
  height: 50px;
  width: auto;
  display: block;
}
.footer-text {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}
@media (max-width: 980px) {
  .brand-logo {
    height: 38px;
  }
  .footer-logo {
    height: 44px;
  }
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.nav > a,
.nav-item {
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  color: #4e6a79;
  position: relative;
  white-space: nowrap;
  font-size: 0.95rem;
}
.nav > a:hover,
.nav-item:hover {
  background: rgba(17, 132, 198, 0.08);
  color: var(--text);
}

/* Dropdown Menu Styles */
.nav-item {
  position: relative;
  cursor: pointer;
}
.nav-item > span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.dropdown-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s;
}
.nav-item:hover .dropdown-arrow {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 106, 166, 0.15);
  min-width: 220px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  border: 1px solid rgba(17, 132, 198, 0.1);
}
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 0.7rem 1rem;
  color: #4e6a79;
  transition: all 0.2s;
  font-size: 0.95rem;
}
.dropdown-menu a:hover {
  background: rgba(17, 132, 198, 0.08);
  color: var(--text);
  padding-left: 1.3rem;
}

.cta-group {
  display: flex;
  gap: 0.5rem;
  margin-left: 0.5rem;
  flex-shrink: 0;
}
.mobile-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(17, 132, 198, 0.15);
}
@media (max-width: 768px) {
  .cta-group {
    gap: 0.3rem;
    margin-left: auto;
  }
  .cta-group .btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
}
@media (max-width: 480px) {
  .cta-group .btn {
    padding: 0.5rem 0.6rem;
    font-size: 0.8rem;
  }
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.hero-slider-wrap {
  --heroMinH: 78vh;
  background: radial-gradient(
      1200px 600px at 50% 10%,
      rgba(17, 132, 198, 0.1),
      rgba(255, 255, 255, 0)
    ),
    linear-gradient(var(--bg-alt), var(--bg));
}
.hero-swiper {
  width: 100%;
  height: var(--heroMinH);
}
.hero-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-inner {
  width: min(1250px, 92vw);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: clamp(24px, 4vw, 48px) 0;
}
.slide-text .kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.8;
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--accent);
}
.slide-text h1 {
  line-height: 0.98;
  font-size: clamp(40px, 6vw, 74px);
  margin: 0 0 1rem;
  color: var(--text);
}
.slide-text .lead {
  font-size: clamp(14px, 1.5vw, 18px);
  max-width: 46ch;
  opacity: 0.9;
  margin-bottom: 1.25rem;
}
.slide-img {
  display: flex;
  justify-content: center;
}
.slide-img img {
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(15, 106, 166, 0.2);
  max-width: 100%;
  height: auto;
}
@media (max-width: 900px) {
  .slide-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .slide-text h1 {
    margin-inline: auto;
  }
  .slide-text .lead {
    margin-inline: auto;
  }
  .slide-img img {
    max-width: 95%;
    margin: 0 auto;
  }
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary) !important;
}
.swiper-pagination-bullet-active {
  background: var(--primary) !important;
}

section {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header h2 {
  font-size: clamp(32px, 4.5vw, 46px);
  margin: 0 0 0.75rem;
  color: var(--text);
}
.section-header p {
  max-width: 60ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(14px, 1.2vw, 17px);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Hizmetler */
.services-swiper {
  padding-bottom: 60px;
}
.service-card {
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 14px rgba(15, 106, 166, 0.08);
  transition: 0.3s;
  border: 1px solid rgba(17, 132, 198, 0.1);
}
.service-card:hover {
  box-shadow: 0 6px 28px rgba(15, 106, 166, 0.15);
  transform: translateY(-6px);
}
.service-icon {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  display: block;
}
.service-card h3 {
  margin: 0.5rem 0;
  color: var(--text);
  font-size: 1.35rem;
}
.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Hakkımızda */
#hakkimizda {
  background: linear-gradient(var(--bg-alt), var(--cool-light));
}
.about-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-text p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--muted);
}
.about-img img {
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(15, 106, 166, 0.2);
}
@media (max-width: 900px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Neden Biz */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}
.why-card {
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 1.8rem 1.5rem;
  border: 1px solid rgba(17, 132, 198, 0.1);
  transition: 0.3s;
}
.why-card:hover {
  box-shadow: 0 4px 20px rgba(15, 106, 166, 0.12);
}
.why-card h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.why-card h4 span {
  font-size: 1.6rem;
}
.why-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Çalışma Alanları */
.districts-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.district-item {
  background: var(--bg-alt);
  padding: 1.2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(17, 132, 198, 0.1);
  font-weight: 600;
  transition: 0.3s;
}
.district-item:hover {
  background: var(--cool-light);
  transform: translateY(-3px);
}

/* Yapılan İşler */
.works-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.work-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 106, 166, 0.12);
  cursor: pointer;
  transition: 0.3s;
}
.work-item:hover {
  box-shadow: 0 8px 28px rgba(15, 106, 166, 0.2);
  transform: translateY(-6px);
}
.work-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.work-item-content {
  padding: 1.2rem 1rem;
  background: var(--bg-alt);
}
.work-item-content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  color: var(--text);
}
.work-item-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* İletişim */
#iletisim {
  background: linear-gradient(var(--bg), var(--cool-light));
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-item {
  background: var(--bg-alt);
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(17, 132, 198, 0.1);
}
.contact-item h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.contact-item h4 span {
  font-size: 1.5rem;
}
.contact-item a {
  color: var(--primary);
  font-weight: 600;
}
.contact-item a:hover {
  text-decoration: underline;
}
.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 106, 166, 0.12);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}
@media (max-width: 900px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  background: var(--cool);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}
.footer-brand {
  color: var(--white);
}
.footer-text {
  color: var(--white);
}
.footer-section h4 {
  color: var(--white);
  margin: 0 0 1rem;
  font-size: 1.1rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  transition: 0.2s;
  font-size: 0.95rem;
}
.footer-nav a:hover {
  color: var(--white);
  padding-left: 0.3rem;
}
.footer-keywords {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-keywords p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-nav {
    align-items: center;
  }
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 40;
  box-shadow: 0 4px 12px rgba(15, 106, 166, 0.3);
}
.back-to-top.show {
  opacity: 1;
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--secondary);
  transform: translateY(-4px);
}

/* Lightbox */
.lb {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lb.open {
  display: flex;
}
.lb__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 2.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  transition: 0.2s;
}
.lb__close:hover {
  background: rgba(255, 255, 255, 0.25);
}
.lb__stage {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lb__img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
}
.lb__caption {
  color: #fff;
  text-align: center;
}
.lb__title {
  margin: 0 0 0.3rem;
  font-size: 1.3rem;
}
.lb__desc {
  margin: 0;
  opacity: 0.85;
}
.lb__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 3rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.2s;
}
.lb__nav:hover {
  background: rgba(255, 255, 255, 0.25);
}
.lb__prev {
  left: 1rem;
}
.lb__next {
  right: 1rem;
}

/* Mobil Nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(15, 106, 166, 0.12);
  }
  .nav.open {
    max-height: 600px;
    opacity: 1;
  }
  .nav-item .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    padding: 0;
    margin-top: 0.5rem;
  }
  .nav-item.mobile-open .dropdown-menu {
    max-height: 500px;
    padding: 0.5rem 0;
  }
  .cta-group {
    display: none;
  }
  body.nav-open {
    overflow: hidden;
  }
}

/* Özel Servis Markaları */
.brands-section {
  padding: 4rem 0;
  background: var(--bg-alt);
}
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 480px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}
.brand-item {
  background: var(--bg);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(17, 132, 198, 0.06);
  min-height: 100px;
}
.brand-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(17, 132, 198, 0.12);
}
.brand-item img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}
.brand-item:hover img {
  filter: grayscale(0%);
}

/* === HİZMET KARTLARI EŞİTLEME === */

/* 1. Slaytların hepsini en uzun olana göre esnetir */
.services-swiper .swiper-slide {
  height: auto;
  display: flex; /* İçindeki kartın tüm yüksekliği kaplamasını sağlar */
}

/* 2. Kartın kendisi bulunduğu alanın tamamını kaplasın */
.service-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* İçerik yukarıdan başlasın */
}

/* 3. Resimlerin hepsi aynı boyda olsun (Görüntü bozulmadan) */
.service-card img {
  width: 100%;
  height: 200px; /* Yüksekliği sabitliyoruz */
  object-fit: cover; /* Resmi kırparak kutuya sığdırır, basık yapmaz */
  border-radius: 12px; /* Köşeleri yumuşatır */
}

/* 4. Başlık ve açıklama arasındaki boşluğu düzenler */
.service-card h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  margin-bottom: 1rem;
  flex-grow: 1; /* Metin kısa olsa bile alt boşluğu doldurur */
}

/* === KENET ÇATI GALERİ STİLLERİ === */

/* Genel Grid Yapısı */
.kenet-grid {
  display: grid;
  gap: 20px; /* Resimler arası boşluk */
  margin-bottom: 20px;
}

/* Üst Satır: 2 Sütun */
.kenet-top {
  grid-template-columns: 1fr 1fr;
}

/* Alt Satır: 3 Sütun */
.kenet-bottom {
  grid-template-columns: 1fr 1fr 1fr;
}

/* Resimlerin Ortak Özellikleri */
.kenet-img {
  width: 100%;
  display: block;
  object-fit: cover; /* Resmi kutuya sığdırır, basıklaştırmaz */
  border-radius: 16px; /* Köşeleri yuvarlar */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* Hafif gölge */
  transition: transform 0.4s ease, box-shadow 0.4s ease; /* Animasyon hızı */
}

/* Üstteki resimlerin yüksekliği */
.kenet-top .kenet-img {
  height: 380px;
}

/* Alttaki resimlerin yüksekliği */
.kenet-bottom .kenet-img {
  height: 280px;
}

/* Hover (Üzerine Gelince) Efekti */
.kenet-img:hover {
  transform: translateY(-7px); /* Resmi yukarı kaldırır */
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); /* Gölgeyi belirginleştirir */
}

/* === MOBİL UYUMLULUK (TELEFONLAR İÇİN) === */
@media (max-width: 768px) {
  /* Telefondan girince hepsi tek sütun olsun */
  .kenet-top,
  .kenet-bottom {
    grid-template-columns: 1fr;
  }

  /* Telefondan girince yükseklikleri eşitle */
  .kenet-top .kenet-img,
  .kenet-bottom .kenet-img {
    height: 260px;
  }
}

/* === MÜŞTERİ MEMNUNİYETİ STİLLERİ === */

/* İstatistik Kartları Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.stat-card {
  background: var(--bg-alt);
  padding: 2.5rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(7, 64, 147, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(7, 64, 147, 0.2);
  border-color: var(--secondary);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

/* Müşteri Yorumları Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-alt);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(7, 64, 147, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid var(--secondary);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(7, 64, 147, 0.15);
}

.stars {
  color: #ffa500;
  font-size: 1.3rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  flex-grow: 1;
  margin: 0;
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(7, 64, 147, 0.1);
}

.testimonial-author strong {
  color: var(--primary);
  font-size: 1.05rem;
}

.testimonial-author span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .stat-card {
    padding: 2rem 1rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* === GALERİ STİLLERİ === */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(7, 64, 147, 0.1);
  transition: all 0.4s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(7, 64, 147, 0.2);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(7, 64, 147, 0.95), transparent);
  padding: 1.5rem 1rem 1rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Mobil Uyumluluk - Galeri */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .gallery-item {
    aspect-ratio: 1/1;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-item {
    aspect-ratio: 16/10;
  }

  .gallery-overlay {
    padding: 1rem 0.8rem 0.8rem;
  }

  .gallery-overlay span {
    font-size: 1rem;
  }
}

/* === MODERN FOOTER TASARIMI === */

.site-footer {
  background-color: #1a1a1a; /* Koyu antrasit zemin */
  color: #b0b0b0; /* Açık gri metin */
  padding: 60px 0 20px;
  border-top: 4px solid var(--primary); /* Üstte marka rengi çizgi */
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

/* 1. Sütun: Marka */
.footer-brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer-logo {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1); /* Logoyu beyaz yapar (eğer png ise) */
}
/* Eğer logon renkli kalsın istersen üstteki filter satırını sil */

.footer-brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.footer-desc {
  line-height: 1.6;
  max-width: 300px;
}

/* Başlıklar */
.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

/* Linkler */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #b0b0b0;
  transition: 0.3s;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary); /* Üzerine gelince marka rengi */
  padding-left: 5px; /* Hafif sağa kayma efekti */
}

/* İletişim */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.footer-contact strong {
  color: #fff;
}

.footer-contact a {
  color: #fff;
  font-weight: 600;
}
.footer-contact a:hover {
  color: var(--primary);
}

/* Alt Çizgi */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

/* Mobil Düzenleme */
@media (max-width: 768px) {
  .site-footer {
    padding: 40px 0 20px;
  }
  .footer-grid {
    gap: 30px;
  }
}

/* === HAKKIMIZDA BÖLÜMÜ DÜZELTME === */

/* Grid yapısını garantiye al (Sol Metin, Sağ Logo) */
#hakkimizda .grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* Metin biraz daha geniş, logo daha dar */
  gap: 3rem; /* Aradaki boşluk */
  align-items: center; /* Dikeyde ortala */
}

/* Sağdaki Logo Kutusu Tasarımı */
.about-logo-box {
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08); /* Şık gölge */
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  max-width: 400px; /* Kutunun maksimum genişliği */
  margin: 0 auto; /* Kutuyu kendi alanında ortala */
}

/* Logonun Kendisi */
.about-logo-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 300px; /* Logo çok uzunsa taşmasın */
}

/* === MOBİL UYUMLULUK === */
/* Tablet ve Telefonlarda alt alta gelsin */
@media (max-width: 900px) {
  #hakkimizda .grid-2 {
    grid-template-columns: 1fr !important; /* Tek sütuna düşür */
    text-align: center; /* Mobilde yazıları ortala */
  }

  .about-logo-box {
    margin-top: 20px;
    padding: 20px;
  }
}
