/* Genel Ayarlar ve Resetler */
:root {
  --primary-color: #2e86de; /* Mavi tonu, restorasyon ve güveni çağrıştırır */
  --secondary-color: #f39c12; /* Vurgu rengi, enerji ve dinamizm için */
  --text-color: #34495e; /* Koyu gri tonu */
  --light-text-color: #7f8c8d; /* Açık gri metin */
  --background-light: #f9f9f9; /* Açık arka planlar için */
  --white-color: #ffffff;
  --border-color: #ecf0f1;
}
/* Akıcı kaydırma için */
html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white-color);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* Duyuru Çubuğu Genel Stilleri (Geliştirilmiş Versiyon) */
.announcement-bar {
  position: sticky; /* Duyuru çubuğunu sabitler */
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 10px 0;
  top: 0px;
  font-size: 14px;
  font-weight: 500;
  z-index: 1030;
  overflow: hidden;
  white-space: nowrap; /* Metnin tek satırda kalmasını sağlar */
}

/* Kayan metin kapsayıcısı */
.announcement-bar p {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 25s linear infinite;
  -webkit-animation: scroll-left 25s linear infinite;
  will-change: transform; /* GPU hızlandırma */
}

/* Diğer stiller aynı kalıyor */
.announcement-bar .divider {
  color: var(--white-color);
  opacity: 0.7;
  margin: 0 10px;
}

.announcement-bar a {
  color: var(--white-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.announcement-bar a:hover {
  text-decoration: underline;
  opacity: 0.9;
}

/* Kaydırma animasyonu */
@keyframes scroll-left {
  0% {
    transform: translate3d(0, 0, 0); /* daha stabil */
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

/* Ana Header Yapısı */
.main-header {
  background-color: var(--white-color);
  padding: 1.25rem 0; /* Daha fazla dikey boşluk */
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 40px;
  z-index: 1020;
}

.header-container {
  display: flex;
  justify-content: space-between; /* Öğeleri iki yana yaslar */
  align-items: center;
}

/* Logo ve Metin Ayarları */
.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-color);
  white-space: nowrap;
}

/* Navigasyon Menüsü - Masaüstü için Ortalama */
.main-nav {
  flex-grow: 1; /* Menünün ortada kalması için esnek boşluk kullanır */
  display: flex;
  justify-content: center; /* Navigasyon öğelerini yatayda ortalar */
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0 60px;
  padding: 0;
  gap: 40px; /* Menü öğeleri arasındaki boşluğu artırır */
}
.nav-list li {
  display: flex; /* Alt öğeleri yan yana hizala */
  align-items: center; /* Dikeyde ortala */
  justify-content: space-between; /* İki uca yasla */
}

.nav-link {
  font-family: "Open Sans", sans-serif;
  font-size: 17px; /* Font boyutunu biraz büyütür */
  font-weight: 600; /* Daha belirgin bir font kalınlığı sağlar */
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

/* Alt menü içeren li için stil */
.has-dropdown {
  position: relative;
}
/* Mobil menüde dropdown'ın gizlenmesi */
.main-nav.active .has-dropdown .dropdown-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Yalnızca masaüstünde, 'has-dropdown'a hover edildiğinde görünür olur */
@media (min-width: 769px) {
    .has-dropdown:hover .dropdown-menu {
        display: block;
        visibility: visible;
        opacity: 1;
    }
}

/* Dropdown Menü Genel Stili */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* Ana menü maddesinin hemen altına konumlanır */
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f0f4f8, #e0e8f0);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 10;
  min-width: 280px;
  padding: 15px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

/* Menü öğeleri */
.dropdown-menu li a {
  display: block;
  padding: 12px 25px;
  color: #4a4a4a;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.2s ease;
  border-radius: 8px;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background-color: #e6eef5;
  transform: translateX(5px);
  color: var(--primary-color);
}

/* Hover durumunda alt menüyü görünür yapar */
.has-dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* --- Mobil Görünüm --- */

/* Menü açılış animasyonu */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: translate(-50%, -20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}
/* --- Header'ın Sağ Kısmı Genel Düzen --- */
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* --- Butonlara Genel Stil --- */
.call-to-action {
  display: flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* --- Telefon Butonu Özelleştirmesi --- */
.btn-secondary {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/* --- WhatsApp Butonu Özelleştirmesi --- */
.btn-whatsapp {
  background-color: #25d366;
  color: var(--white-color);
}

/* --- SVG İkonları için Kalıcı Renk ve Boşluk Kuralları --- */
/* Bu kural hem telefon hem de WhatsApp ikonunu etkiler */
.call-to-action svg {
  margin-right: 8px;
  fill: currentColor;
  stroke: currentColor;
  transition: all 0.3s ease-in-out;
}

/* --- Buton Hover Etkisi --- */
.call-to-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-btn {
  display: flex; /* İçindeki öğeleri hizalamak için flexbox kullanın */
  align-items: center; /* Öğeleri dikeyde ortalayın */
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #333;
}

.lang-btn .lang-flag img {
  width: 24px; /* Bayrak genişliğini sabitleyin */
  height: 18px; /* Bayrak yüksekliğini sabitleyin */
  margin-right: 5px; /* Bayrak ile ok işareti arasına boşluk */
}

.lang-menu {
  display: none; /* Varsayılan olarak gizli kalmalı */
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Hafif bir gölge ekleyerek menüyü öne çıkarın */
  z-index: 10;
  list-style: none;
  padding: 10px 0; /* İç boşlukları ayarlayın */
  margin-top: 5px;
  min-width: 120px; /* Menünün minimum genişliği */
}
/* Yeni Kural: JavaScript ile menü açıldığında */
.lang-menu.show {
  display: block; /* 'show' sınıfı geldiğinde göster */
}
.lang-dropdown:hover .lang-menu,
.lang-dropdown:focus-within .lang-menu {
  display: block; /* Hover veya focus durumunda menüyü gösterin */
}

.lang-menu li {
  padding: 0 15px; /* Her bir menü öğesi için sol ve sağ boşluk */
}

.lang-menu .lang-item {
  display: flex; /* İçindeki öğeleri hizalamak için flexbox kullanın */
  align-items: center; /* Öğeleri dikeyde ortalayın */
  text-decoration: none;
  color: #333;
  padding: 8px 0;
  transition: background-color 0.3s ease;
}

.lang-menu .lang-item:hover {
  background-color: #f0f0f0; /* Hover rengi */
}

.lang-menu .lang-item img {
  width: 20px; /* Bayrak genişliğini sabitleyin */
  height: 15px; /* Bayrak yüksekliğini sabitleyin */
  margin-right: 10px; /* Bayrak ile metin arasına boşluk */
}

/* Logo ve Animasyon Ayarları (Tüm Ekranlar İçin) */
.logo a img {
  height: 50px; /* Logonun masaüstü boyutunu sabitleyin */
  width: auto;
  animation: spin 5s linear infinite; /* Animasyonu uygulayın */
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Masaüstü Navigasyon Ayarları (769px ve üzeri) */
.main-nav {
  display: block; /* Menüyü masaüstünde görünür yapar */
}

.menu-toggle {
  display: none; /* Hamburger butonunu masaüstünde gizler */
}

/* Mobil dil seçici */
.mobile-lang-switcher {
  display: none; /* desktop’ta görünmesin */
}

@media (max-width: 768px) {
  /* Mobil görünümde dropdown menüsünü tamamen gizle */
  .has-dropdown .dropdown-menu {
    display: none;
  }
  /* Header'ın sağ tarafındaki öğeler arasındaki boşluğu ayarla */
  .header-right {
    display: flex;
    align-items: center;
    gap: 15px; /* Simgeler arası boşluğu artır */
  }
  .announcement-bar {
    position: static;
    top: auto; /* Gereksiz top değerini sıfırlar */
  }

  /* Ana başlığın tam üste yapışmasını sağlar */
  .main-header {
    top: 0px;
  }
  .d-none-mobile {
    display: none;
  }
  .contact-info {
    display: none;
  }

  /* Buton ve ikonlar için genel stil */
  .call-to-action {
    background-color: transparent;
    border: none;
    padding: 0;
  }
  .call-to-action svg,
  .lang-dropdown .lang-btn svg {
    fill: var(--primary-color);
    color: var(--primary-color);
    width: 24px;
    height: 24px;
    margin-right: 0;
  }

  /* Buton metinlerini gizle */
  .call-to-action span {
    display: none;
  }

  /* Sadece telefon ikonuna özel sol boşluk */
  .call-to-action.phone-icon {
    margin-left: 20px;
  }

  /* Hamburger menü ikonu */
  .menu-toggle {
    display: block;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    margin-left: 15px;
  }

  /* --- Mobil Navigasyon Menüsü --- */
  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-15px);
    width: 90%;
    max-width: 280px;
    background: var(--text-color);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
  }

  .main-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  /* Menü Listesi */
  .nav-list {
    display: flex;
    flex-direction: column;
    padding: 6px 0;
  }
  .nav-list li a {
    display: block;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--white-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.25s ease, color 0.25s ease;
    text-align: center;
  }
  .nav-list li:last-child a {
    border-bottom: none;
  }
  .nav-list li a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary-color);
  }

  /* Dropdown menüsünü mobil görünümde gizle */
  .nav-list .dropdown-menu {
    display: none;
  }

  /* Mobil dil seçici */
  .mobile-lang-switcher {
    display: inline-flex;
    position: fixed;
    top: 10px;
    right: 10px;
    flex-direction: column;
    align-items: flex-end;
    z-index: 2000;
  }
  .mobile-lang-switcher .lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 43, 54, 0.9);
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
  }
  .mobile-lang-switcher .lang-flag img {
    width: 24px;
    height: 16px;
    object-fit: cover;
  }
  .mobile-lang-switcher .lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #002b36;
    color: white;
    border-radius: 4px;
    min-width: 140px;
    padding: 4px 0;
    list-style: none;
    margin: 4px 0 0;
    z-index: 2001;
  }
  .mobile-lang-switcher .lang-menu.show {
    display: block;
  }
  .mobile-lang-switcher .lang-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    text-decoration: none;
    color: inherit;
    font-size: 14px;
  }
  .mobile-lang-switcher .lang-item:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  .mobile-lang-switcher .lang-item img {
    width: 18px;
    height: 12px;
    object-fit: cover;
  }
}

/* Hero Carousel Bölümü */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0; /* Başlangıçta tüm fotoğrafları gizle */
  transition: opacity 1s ease-in-out;
}

.carousel-item.active {
  opacity: 1; /* Aktif olan fotoğrafı görünür yap */
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Resmi kapsayıcıya sığdırırken oranını koru */
}

.hero-carousel .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hero-carousel .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.hero-carousel h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-carousel p {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  /* ... Diğer mobil stilleriniz ... */

  .hero-carousel .carousel-item img {
    /* Carousel item'inin içindeki görsele hedef alın */
    width: 100%; /* Genişliği her zaman tam kapla */
    max-height: 250px; /* Mobil cihazlarda maksimum yüksekliği ayarla (örneğin 250px) */
    object-fit: cover; /* Görselin oranını koruyarak kutuyu doldurur, fazla kısımlar kesilir */
    object-position: center; /* Görselin ortalanmasını sağlar */
  }

  /* Eğer carousel'in kendisi de çok büyükse */
  .hero-carousel {
    height: 250px; /* Carousel kapsayıcısının da yüksekliğini ayarla */
    overflow: hidden; /* Taşmaları gizle */
  }
}

/* USP (Benzersiz Satış Noktaları) Bölümü */
.usp-section {
  padding: 80px 0;
  background-color: var(--white-color); /* Arka plan rengi */
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(400px, 1fr)
  ); /* Daha geniş kartlar için */
  gap: 40px; /* Kartlar arası boşluk */
  margin-top: 50px;
  justify-content: center; /* Ortalamak için */
}

.usp-item {
  display: flex; /* İkon ve içeriği yan yana hizalar */
  align-items: flex-start; /* İçeriği yukarı hizalar */
  gap: 25px; /* İkon ile metin arası boşluk */
  padding: 25px;
  /* Hafif bir kutu gölgesi veya kenarlık ekleyebilirsiniz */
  /* border: 1px solid var(--border-color); */
  /* border-radius: 8px; */
}

.usp-icon {
  flex-shrink: 0; /* İkonun küçülmesini engeller */
  width: 60px; /* İkonun boyutunu belirle */
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%; /* Yuvarlak arka plan */
  background-color: var(--background-light); /* Açık gri arka plan */
  color: var(--primary-color); /* İkon rengi */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Hafif gölge */
}

.usp-icon svg {
  width: 32px; /* SVG ikonun iç boyutu */
  height: 32px;
  stroke-width: 2; /* SVG çizgi kalınlığı */
}

.usp-content {
  flex-grow: 1; /* Metin alanının kalan boşluğu doldurmasını sağlar */
}

.usp-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 10px;
}

.usp-description {
  font-size: 16px;
  color: var(--light-text-color);
  line-height: 1.7;
}

/* Mobil Uyarlamalar */
@media (max-width: 768px) {
  .usp-section {
    padding: 60px 0;
  }
  .usp-grid {
    grid-template-columns: 1fr; /* Tek sütunlu düzen */
    gap: 30px;
    margin-top: 30px;
  }
  .usp-item {
    flex-direction: column; /* İkonu ve metni alt alta hizala */
    align-items: center; /* Ortala */
    text-align: center;
    gap: 15px;
    padding: 20px;
  }
  .usp-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px; /* İkon altına boşluk */
  }
  .usp-icon svg {
    width: 28px;
    height: 28px;
  }
  .usp-title {
    font-size: 20px;
    margin-bottom: 8px;
  }
  .usp-description {
    font-size: 15px;
  }
}

/* --- Hizmetler Bölümü Stilleri --- */
.services-section {
  padding: 80px 0; /* Üstten ve alttan boşluk */
  background-color: var(--background-light); /* Açık gri arka plan */
  text-align: center; /* Başlık ve alt başlığı ortalar */
}

.section-title {
  font-size: 38px;
  color: var(--text-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.section-subtitle {
  font-size: 18px;
  color: var(--light-text-color);
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(280px, 1fr)
  ); /* Duyarlı grid yapısı */
  gap: 30px; /* Kartlar arası boşluk */
  justify-content: center; /* Kartları merkezler */
}

/* Servis ikonları için sabit bir alan oluşturur ve ortalar */
.service-card .service-icon {
  width: 150px; /* Sabit genişlik */
  height: 150px; /* Sabit yükseklik */
  display: flex; /* İçindeki görseli hizalamak için flexbox kullanır */
  justify-content: center; /* Görseli yatayda ortalar */
  align-items: center; /* Görseli dikeyde ortalar */
  margin: 0 auto 15px auto; /* Konteyneri ortalar ve altından boşluk bırakır */
}

/* Konteynerin içindeki görselin boyutlarını ayarlar */
.service-card .service-icon img {
  max-width: 100%; /* Kendi konteynerini aşmaz */
  max-height: 100%; /* Kendi konteynerini aşmaz */
  object-fit: contain; /* Oranlarını koruyarak konteynere sığdırır */
  transition: transform 0.3s ease-in-out; /* Fare üzerine gelindiğinde yumuşak bir büyütme efekti ekler */
}

/* Fare ile üzerine gelindiğinde ikon büyür */
.service-card:hover .service-icon img {
  transform: scale(1.1);
}

/* Tüm servis kartına bir gölge efekti ve animasyon ekler */
.service-card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Hafif bir gölge efekti ekler */
  transition: all 0.3s ease-in-out;
  padding: 30px;
}

/* Fare ile üzerine gelindiğinde kartın görünümünü değiştirir */
.service-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12); /* Gölgeyi belirginleştirir */
  transform: translateY(-5px); /* Kartı hafifçe yukarı kaldırır */
}

.service-title {
  font-size: 22px;
  color: var(--text-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.service-description {
  font-size: 15px;
  color: var(--light-text-color);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 32px;
  }
  .section-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }
  .services-grid {
    grid-template-columns: repeat(
      2,
      1fr
    ); /* 2 sütunlu düzen daha iyi görünecektir */
    gap: 20px;
  }
  .service-card {
    padding: 25px;
  }
  .service-icon {
    width: 80px; /* Simgelerin boyutunu küçültelim */
    height: 80px;
    margin-bottom: 10px;
  }
  .service-icon img {
    width: 60px; /* Görsel boyutunu daha görünür bir hale getirelim */
    height: 60px;
  }
  .service-title {
    font-size: 20px;
  }
  .service-description {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 28px;
  }
  .section-subtitle {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .services-grid {
    grid-template-columns: 1fr; /* 480 piksel altında tek sütun */
    gap: 20px;
  }
  .service-icon {
    width: 100px; /* Tek sütun modunda görseli büyütelim */
    height: 100px;
    margin-bottom: 15px;
  }
  .service-icon img {
    width: 150px; /* Görselin kendisini de büyütelim */
    height: 150px;
  }
}

/* Genel Buton Stilleri */
.btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent; /* Varsayılan şeffaf kenarlık */
  white-space: nowrap; /* Metnin tek satırda kalmasını sağlar */
}

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

.btn-primary:hover {
  background-color: var(--secondary-color); /* Hover'da ikincil renge geçiş */
  border-color: var(--secondary-color);
  transform: translateY(-3px); /* Hafif yukarı kalkma efekti */
}

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

.btn-secondary:hover {
  background-color: var(--white-color);
  color: var(--primary-color); /* Hover'da birincil renge geçiş */
  transform: translateY(-3px);
}

/* Mevcut section-tagline ve section-title sınıflarının hizalamasını düzenler */
.text-center {
  text-align: center;
}

/* --- Footer Stilleri --- */
.main-footer {
  background-color: var(--text-color); /* Koyu gri/lacivert arka plan */
  color: var(--white-color);
  padding: 80px 0 20px 0; /* Üstten daha fazla, alttan az boşluk */
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(250px, 1fr)
  ); /* Duyarlı sütunlar */
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col img {
  max-height: 70px; /* Logo yüksekliği */
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px; /* Alt çizgi genişliği */
  height: 3px;
  background-color: var(--primary-color);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--primary-color);
}

.footer-col p a {
  color: rgba(255, 255, 255, 0.8); /* İletişim bilgilerindeki linklerin rengi */
  transition: color 0.3s ease;
}
.footer-col p a:hover {
  color: var(--primary-color);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--primary-color);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  stroke: var(--white-color);
}

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

.footer-bottom p {
  margin-bottom: 10px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

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

/* --- Responsive Ayarlamalar --- */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .contact-form-wrapper {
    min-width: unset;
    width: 100%;
    max-width: 500px; /* Form genişliğini sınırlar */
  }
  .section-title.text-left {
    /* İletişim bölümü başlığı ortalama */
    text-align: center;
  }
  .contact-info-wrapper {
    grid-template-columns: repeat(
      auto-fit,
      minmax(250px, 1fr)
    ); /* Tabletlerde 2 sütun */
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    justify-content: center;
  }
  .info-card {
    align-items: center; /* Kart içi öğeleri ortala */
    text-align: center;
    padding: 25px;
  }
  .footer-content {
    grid-template-columns: repeat(
      auto-fit,
      minmax(200px, 1fr)
    ); /* Daha az sütun */
  }
  .footer-col h4::after {
    left: 50%; /* Başlık ortalandığında alt çizgiyi de ortala */
    transform: translateX(-50%);
  }
  .footer-col.logo-col {
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .contact-section,
  .main-footer {
    padding: 60px 0;
  }
  .contact-info-wrapper {
    grid-template-columns: 1fr; /* Tek sütun */
  }
  .map-container iframe {
    height: 350px;
  }
  .footer-content {
    grid-template-columns: 1fr; /* Tek sütun */
    text-align: center;
  }
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .contact-section,
  .main-footer {
    padding: 40px 0;
  }
  .btn-submit {
    width: 100%;
  }
  .map-container iframe {
    height: 250px;
  }
  .footer-col h4 {
    font-size: 18px;
  }
  .footer-col p,
  .footer-col ul li a {
    font-size: 14px;
  }
  .footer-social a {
    width: 35px;
    height: 35px;
  }
  .footer-social svg {
    width: 18px;
    height: 18px;
  }
}

/* Header logosu */
.header .logo img {
  /* Mevcut değerleriniz */
  /* max-height: 70px; */
  /* max-width: 200px; */

  /* Örnek olarak değerleri artırabiliriz */
  max-height: 90px; /* Belki biraz daha yüksek */
  max-width: 280px; /* Genişliği artır */

  width: auto; /* Oranı koru */
  display: block;
}

/* Footer logosu */
.main-footer .footer-col.logo-col img {
  /* Mevcut değerleriniz */
  /* max-height: 70px; */
  /* max-width: 200px; */

  /* Örnek olarak değerleri artırabiliriz */
  max-height: 90px;
  max-width: 280px;

  width: auto;
  margin-bottom: 20px;
  /* filter: brightness(0) invert(1); */
}

/* Mobil görünüm için logo boyutunu ayarla */
@media (max-width: 768px) {
  .header .logo img {
    /* max-height: 50px; */
    /* max-width: 150px; */

    max-height: 70px; /* Mobilde de biraz büyüt */
    max-width: 220px;
  }
}

/* Çok küçük mobil ekranlar için */
@media (max-width: 480px) {
  .header .logo img {
    /* max-height: 40px; */
    /* max-width: 120px; */

    max-height: 50px;
    max-width: 180px;
  }
}

/* WhatsApp Konteynerı - Her zaman görünür ve sabit */
.whatsapp-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  transition: all 0.3s ease;
}

/* WhatsApp Butonu - Mobil için varsayılan stil (sadece ikon) */
.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #128c7e;
  transform: scale(1.05);
}

/* WhatsApp İkonu */
.whatsapp-button img {
  height: 32px;
  width: auto;
}

/* WhatsApp Yazısı - Mobil görünümde gizli */
.whatsapp-text {
  display: none;
}

/* --- Masaüstü ve Tablet Görüntüsü (769px ve üstü) --- */
@media (min-width: 769px) {
  .whatsapp-button {
    width: auto;
    height: auto;
    border-radius: 50px;
    padding: 10px 15px;
    gap: 10px;
  }

  .whatsapp-text {
    display: block;
    font-size: 16px;
    font-weight: bold;
    white-space: nowrap;
  }
}

/* Hero Section (Giriş Bölümü) Stilleri */
.hero-section {
  background-color: #f0f4f7;
  padding: 60px 0;
  text-align: center;
}

.hero-section h1 {
  font-size: 48px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.hero-section .subtitle {
  font-size: 20px;
  color: #7f8c8d;
  max-width: 700px;
  margin: 0 auto;
}

/* Galeri Bölümü Stilleri */
.gallery-section {
  padding: 50px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(250px, 1fr)
  ); /* Esnek ve duyarlı ızgara yapısı */
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 200px; /* Sabit yükseklik, daha düzenli görünüm için */
  object-fit: contain; /* Resmi kutuya sığdırır */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05); /* Fare üzerine geldiğinde hafif büyüme efekti */
}

/* İçerik Bölümü Stilleri */
.content-section {
  padding: 50px 0;
  background-color: #f9f9f9;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: #34495e;
}

.content-wrapper h2,
.content-wrapper h3 {
  color: #2c3e50;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}

.content-wrapper ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.content-wrapper li {
  margin-bottom: 8px;
}

.partners-section {
  padding: 50px 0;
  background-color: #ffffff; /* Arka plan rengi */
}

.partners-section h2 {
  font-size: 32px;
  color: #2c3e50;
  margin-bottom: 40px;
  font-weight: 700;
}

.partners-grid {
  display: flex;
  justify-content: center; /* Logoları yatayda ortala */
  flex-wrap: wrap; /* Sığmayan logoları alt satıra at */
  gap: 30px; /* Logolar arası boşluk */
}

.partner-item {
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 150px; /* Her bir logo kutusunun maksimum genişliği */
}

.partner-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  /* Orijinal renklerinde görünmesi için bu satırı kaldırdım. */
  /* filter: grayscale(100%); */
  /* Logoların her zaman tam görünür olması için bu satırı kaldırdım. */
  /* opacity: 0.6; */
  transition: all 0.3s ease;
}

.partner-item img:hover {
  /* Üzerine gelince orijinal rengine dönme efektini kaldırdım. */
  filter: none;
  /* Tam görünür olma efektini kaldırdım. */
  opacity: 1;
  /* Hover efektini korudum. */
  transform: scale(1.1);
}

/* Genel Galeri Bölümü Başlangıç Ayarları */
.gallery-hero-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

.gallery-heading {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 40px;
  text-align: center;
}

/* Fotoğraf Galerisi */
.photo-gallery-section {
  padding: 60px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Video Galerisi */
.video-gallery-section {
  padding: 60px 0;
  background-color: var(--background-light);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  justify-content: center;
}

.video-item {
  position: relative;
  width: 100%;
  /* Video oranını korumak için 16:9 oranı */
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-item iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Mobil Uyumlu Düzenleme */
@media (max-width: 768px) {
  .gallery-hero-section {
    padding: 40px 0;
  }
  .gallery-heading {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item img {
    height: 250px;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
}
