/* --- TEMEL AYARLAR VE ÖZGÜN RENK PALETİ --- */
:root {
  --brand-navy: #1a2942; /* Kurumsal Lacivert */
  --brand-red: #d32f2f; /* Dinamik Kırmızı */
  --bg-light: #f4f6f9; /* Göz yormayan açık arka plan */
  --text-dark: #2c3e50;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", system-ui, sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

a {
  text-decoration: none;
}

/* --- NAVBAR (ÜST MENÜ) TASARIMI --- */
.navbar {
  background-color: #ffffff;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: 1px;
}

.logo span {
  color: var(--brand-red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: var(--brand-navy);
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--brand-red);
}

.btn-teklif-nav {
  background-color: var(--brand-red);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.btn-teklif-nav:hover {
  background-color: #b71c1c;
  transform: translateY(-2px);
}

/* --- HERO (KARŞILAMA) DÜZENLEMESİ VE ANİMASYONU --- */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 5% 100px 5%; /* Alttan form için boşluk bıraktık */
  background: linear-gradient(135deg, var(--brand-navy) 0%, #2a4066 100%);
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  gap: 50px;
}

.hero-content {
  flex: 1;
  color: white;
}
/* --- HERO ANA BAŞLIK BOYUTU --- */
.hero-content h1 {
  font-size: 3.8rem; /* 4.5'ten 3.8'e düşürdük, tam kıvamında oldu */
  line-height: 1.15; /* Yazı küçülünce satır arasını milimetrik açtık ki ferah dursun */
  margin-bottom: 25px;
  font-weight: 800;
}

/* Telefon ekranlarında yazı ekranı bozmasın diye mobil ayarı */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.8rem; /* Mobilde de orantılı olarak biraz kıstık */
  }
}
/* GÜVENCEN OLSUN Yazısını Kesin Kırmızı Yapan Kod */
.hero-content h1 .highlight {
  color: var(--brand-red) !important;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  max-width: 90%;
  border-radius: 20px; /* Köşeleri yuvarlatılmış modern resim */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); /* Resme derinlik katar */
  animation: float 5s ease-in-out infinite; /* Süzülme animasyonu */
}

/* Yukarı Aşağı Tatlı Süzülme Animasyonu */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Mobilde resmi gizleyip yazıyı ortalayalım ki form öne çıksın */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-image {
    display: none;
  }
}
/* --- SLIDER (KAYAN RESİM) TASARIMI --- */
.slider-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 5; /* Instagram resimlerinin tam oranı */
  border-radius: 20px;
  overflow: hidden; /* Dışına taşan kısımları jilet gibi keser, köşeleri tam yuvarlar */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);

  /* Arka plan rengini TAMAMEN sildik (saydam yaptık), böylece resim tam oturmasa bile alttan renk sırıtmaz */
  background-color: transparent;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* Resim zaten 4:5, kutu da 4:5. 'cover' diyerek kutunun içini milimetrik doldurmasını sağlıyoruz. */
  object-fit: cover;

  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
}
/* --- TEKLİF FORMU TASARIMI --- */
.quote-section {
  padding: 60px 5%;
  background-color: var(--bg-light);
  display: flex;
  justify-content: center;
  margin-top: -50px; /* Hero bölümünün üzerine hafifçe bindirerek modern bir hava katıyoruz */
  position: relative;
  z-index: 10;
}

.quote-container {
  background: #ffffff;
  width: 100%;
  max-width: 800px;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.quote-header {
  text-align: center;
  margin-bottom: 30px;
}

.quote-header h2 {
  color: var(--brand-navy);
  font-size: 2rem;
  margin-bottom: 10px;
}

.quote-header p {
  color: #666;
  font-size: 1rem;
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Telefon ve mobilde form elemanlarını alt alta dizmek için */
@media (max-width: 768px) {
  .quote-form {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

/* Sigorta türü seçimini tam satır yapmak için */
.form-group:nth-child(3) {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

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

.btn-submit {
  grid-column: 1 / -1;
  background-color: var(--brand-navy);
  color: white;
  border: none;
  padding: 15px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 10px;
}

.btn-submit:hover {
  background-color: var(--brand-red);
}

.success-message {
  text-align: center;
  color: #2e7d32;
  background-color: #e8f5e9;
  padding: 15px;
  border-radius: 6px;
  margin-top: 20px;
  font-weight: 600;
}
/* --- LOGO ALANI DÜZENLEMESİ --- */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: 0.5px;
}

.logo-text span {
  color: var(--brand-red);
}

/* --- AŞAĞI KAYDIRMA ANİMASYONLARI (FERAH TASARIM) --- */
/* Başlangıçta gizli ve biraz aşağıda duran elementler */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); /* Sigortam.net tarzı yumuşak geçiş */
}

/* Görünür alana girince aktif olacak class */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- FOOTER TASARIMI (LACİVERT KONSEPT) --- */
.site-footer {
  background-color: var(--brand-navy); /* Arkaplan artık Lacivert */
  color: #ffffff;
  padding: 60px 5% 20px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Çizgiyi saydamlaştırdık */
  padding-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  background-color: #ffffff; /* Beyaz kutu */
  padding: 10px 20px;
  border-radius: 50px; /* Hap şeklinde yuvarlatır */
  margin-bottom: 20px;
}

.footer-logo span {
  color: var(--brand-red);
}

.footer-col p {
  color: #d1d5db;
  line-height: 1.6;
  font-size: 0.95rem;
} /* Gri-beyaz metin */
.footer-col h4 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul a {
  color: #d1d5db;
  transition: color 0.3s;
}
.footer-col ul a:hover {
  color: var(--brand-red);
}
.contact-list i {
  color: var(--brand-red);
  margin-right: 10px;
  width: 15px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  color: #9ca3af;
  font-size: 0.9rem;
}
/* --- ARKA PLAN ÜÇGEN ANİMASYONLARI --- */
.hero {
  position: relative; /* Üçgenleri içeride tutmak için şart */
  overflow: hidden; /* Üçgenler dışarı taşarsa gizler */
}

.hero-container {
  position: relative;
  z-index: 2; /* Yazıların ve resimlerin üçgenlerin üstünde kalmasını sağlar */
}

.bg-triangles {
  position: absolute; /* fixed yerine absolute yaptık */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Lacivert arka planın üstünde, yazıların altında durur */
  pointer-events: none;
}

.triangle {
  position: absolute;
  animation: floatTriangles 20s infinite linear;
}

.t1 {
  top: 10%;
  left: 5%;
  width: 150px;
  height: 150px;
  animation-duration: 25s;
}
.t2 {
  top: 60%;
  right: 5%;
  width: 200px;
  height: 200px;
  animation-duration: 30s;
  animation-direction: reverse;
}
.t3 {
  bottom: -10%;
  left: 40%;
  width: 100px;
  height: 100px;
  animation-duration: 22s;
}

@keyframes floatTriangles {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-100px) rotate(180deg) scale(1.1);
  }
  100% {
    transform: translateY(0) rotate(360deg) scale(1);
  }
}

/* --- ÇEREZ VE GİZLİLİK BİLDİRİM ÇUBUĞU --- */
.gizlilik-cubugu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  padding: 20px 5%;

  /* Animasyon için başlangıçta ekranın altına itiyoruz */
  transform: translateY(150%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gizlilik-cubugu.goster {
  transform: translateY(0); /* JS ile 'goster' class'ı eklenince yukarı kayar */
}

.gizlilik-icerik {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.gizlilik-metin strong {
  display: block;
  color: var(--brand-navy);
  margin-bottom: 5px;
  font-size: 1.1rem;
}
.gizlilik-metin p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
}
.gizlilik-metin a {
  color: var(--brand-red);
  font-weight: 600;
  text-decoration: underline;
}

.gizlilik-butonlar {
  display: flex;
  gap: 10px;
  min-width: 250px;
}

.btn-alt-secenek,
.btn-ana-secenek {
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.btn-alt-secenek {
  background-color: #f1f1f1;
  color: var(--text-dark);
}
.btn-alt-secenek:hover {
  background-color: #e2e2e2;
}

.btn-ana-secenek {
  background-color: var(--brand-navy);
  color: white;
}
.btn-ana-secenek:hover {
  background-color: var(--brand-red);
}

@media (max-width: 768px) {
  .gizlilik-icerik {
    flex-direction: column;
    text-align: center;
  }
  .gizlilik-butonlar {
    width: 100%;
    justify-content: center;
  }
}
/* --- TERCİHLER MODALI (POPUP) TASARIMI --- */
.modal-arkaplan {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    26,
    41,
    66,
    0.8
  ); /* Kurumsal lacivert, arkaplanı hafif karartır */
  z-index: 10000; /* Her şeyin üstünde çıkması için */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-arkaplan.goster {
  opacity: 1;
  visibility: visible;
}

.modal-icerik {
  background-color: white;
  width: 90%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(-30px); /* Açılırken hafif yukarıdan düşme animasyonu */
  transition: transform 0.3s ease;
  overflow: hidden;
}

.modal-arkaplan.goster .modal-icerik {
  transform: translateY(0);
}

.modal-ust {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.modal-ust h3 {
  color: var(--brand-navy);
  font-size: 1.2rem;
}
.btn-kapat {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  transition: color 0.2s;
}
.btn-kapat:hover {
  color: var(--brand-red);
}

.modal-govde {
  padding: 20px;
}

.ayar-satiri {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.ayar-satiri:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.ayar-metin strong {
  display: block;
  color: var(--brand-navy);
  margin-bottom: 5px;
}
.ayar-metin p {
  font-size: 0.85rem;
  color: #666;
}

.ayar-anahtar input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--brand-red);
}

.modal-alt {
  padding: 20px;
  background-color: #f9fafb;
  text-align: right;
  border-top: 1px solid #eee;
}
/* --- SIK SORULAN SORULAR (SSS) TASARIMI --- */
.faq-section {
  padding: 80px 5%;
  /* Bembeyaz yerine markanın lacivertine uyumlu, ferah ve çok açık bir ton (Buz Mavisi/Gri) */
  background-color: #f4f6f9;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-header h2 {
  color: var(--brand-navy);
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.faq-header p {
  color: #666;
  font-size: 1.1rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px; /* Kutular arası boşluk */
}

.faq-item {
  background-color: #ffffff; /* Arka plan renkli olunca kutuları bembeyaz yapıyoruz ki öne çıksın */
  border-radius: 10px;
  overflow: hidden;
  border: none; /* Etrafındaki sert çizgiyi sildik */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04); /* Çizgi yerine çok yumuşak, kaliteli bir gölge verdik */
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--brand-red);
  box-shadow: 0 4px 12px rgba(211, 47, 47, 0.08);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-question i {
  color: var(--brand-red);
  font-size: 1.2rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Dönüş animasyonu */
}

/* Soruya tıklandığında (active class'ı eklenince) ikon ters döner */
.faq-question.active {
  color: var(--brand-red);
}

.faq-question.active i {
  transform: rotate(180deg);
}

/* Cevap kutusu başlangıçta yüksekliği 0 ve gizli */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
  padding: 0 20px 20px 20px; /* Üstten boşluk yok, alttan ve yanlardan var */
  color: #555;
  line-height: 1.6;
}
/* --- SİGORTA ÇÖZÜMLERİMİZ (ÜRÜNLER) BÖLÜMÜ --- */
.services-section {
  padding: 80px 5%;
  background-color: #ffffff; /* Formla aynı renk, pürüzsüz bir geçiş sağlar */
}

.services-header {
  text-align: center;
  margin-bottom: 50px;
}

.services-header h2 {
  color: var(--brand-navy);
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.services-header p {
  color: #666;
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  /* Ekran küçüldükçe kartları otomatik olarak alt alta dizer */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

/* Karta gelince havaya kalkma ve gölgelenme efekti */
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(211, 47, 47, 0.1); /* Kırmızı tonlu tatlı bir gölge */
  border-color: rgba(211, 47, 47, 0.3);
}

.icon-box {
  width: 75px;
  height: 75px;
  background: rgba(211, 47, 47, 0.05); /* Uçuk kırmızı arka plan */
  color: var(--brand-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 25px;
  transition: all 0.4s ease;
}

/* Karta gelince ikonun içinin kırmızıyla dolması */
.service-card:hover .icon-box {
  background: var(--brand-red);
  color: #ffffff;
  transform: scale(1.1); /* İkon hafifçe büyür */
}

.service-card h3 {
  color: var(--brand-navy);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.service-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}
/* --- ÜRÜNLERİMİZ ALT SAYFASI TASARIMI (YENİDEN YAZILDI) --- */
.page-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-navy) 0%, #2a4066 100%);
  padding: 100px 20px;
  text-align: center;
  color: white;
}

.banner-content {
  position: relative;
  z-index: 2;
}

.banner-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.banner-content p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.products-detail-section {
  max-width: 1200px;
  /* Üst boşluğu 120'den 60'a düşürdük, tam o premium kıvama gelecek */
  margin: 60px auto 80px auto !important;
  padding: 0 5%;
}

/* --- 2. RESİM İLE AÇIKLAMA (YAZI) ARASINI AÇMAK İÇİN --- */
.product-row {
  display: flex;
  align-items: center;
  justify-content: center;
  /* İŞTE KİLİT NOKTA: Aradaki boşluğu 120px yaparak resimle yazıyı iyice ayırdık */
  gap: 120px !important;
  margin-bottom: 120px; /* Bir alttaki ürünle arasını da ferahlattık */
}

/* Zikzak mantığı: Satırı tersine çevirir */
.product-row.reverse {
  flex-direction: row-reverse;
}

.product-image {
  flex: 1;
  display: flex;
  justify-content: center;
  max-width: 380px; /* 450'den 380'e düşürdük, daha zarif duracak */
}

.product-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease;
}

.product-image img:hover {
  transform: translateY(-5px) scale(1.02);
}

/* Yazı Alanı: Ekranın yarısını alır ama 550px'den fazla uzamaz (Okunabilirliği korur) */
.product-info {
  flex: 1;
  max-width: 550px;
}

.product-info h2 {
  color: var(--brand-navy);
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.product-info p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-info ul {
  list-style: none;
  margin-bottom: 30px;
}

.product-info ul li {
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--brand-navy);
}

.product-info ul li i {
  color: var(--brand-red);
  margin-right: 10px;
}

.btn-product-teklif {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--brand-red);
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background 0.3s;
}

.btn-product-teklif:hover {
  background-color: #b71c1c;
}

/* Mobilde her şeyin çökmeden alt alta geçmesi için koruma */
@media (max-width: 992px) {
  .product-row,
  .product-row.reverse {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .product-info {
    max-width: 100%;
  }
  .product-info ul {
    text-align: left;
    display: inline-block;
  }
}

/* Mobilde hepsi alt alta geçsin (Ters dönmeyi iptal ediyoruz) */
@media (max-width: 992px) {
  .product-row,
  .product-row.reverse {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .product-info ul {
    text-align: left;
    display: inline-block;
  }
}
/* --- GARANTİ MENÜ DÜZENİ (Mavi Linkleri Düzeltir) --- */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 5%;
}

.logo a {
  text-decoration: none; /* Alt çizgiyi kaldırır */
  color: var(--brand-navy); /* Yazıyı lacivert yapar */
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 1.5rem;
}

.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none; /* Madde işaretlerini siler */
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--brand-navy);
  font-weight: 600;
  transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--brand-red);
}

.btn-teklif {
  background-color: var(--brand-red);
  color: white !important;
  padding: 10px 20px;
  border-radius: 6px;
}

/* --- BANNER (AFİŞ) VE ÜÇGEN ANİMASYONU AYARI --- */
.page-banner {
  position: relative; /* İŞTE SIR BURADA: Üçgenleri bu kutuya hapseder */
  overflow: hidden; /* Dışarı taşan üçgenleri jilet gibi keser */
  background: linear-gradient(135deg, var(--brand-navy) 0%, #2a4066 100%);
  padding: 100px 20px;
  text-align: center;
  color: white;
}

.banner-content {
  position: relative;
  z-index: 2; /* Yazıların üçgenlerin üstünde kalıp net okunmasını sağlar */
}
/* --- HAYALET BOŞLUKLARI TEMİZLEYEN VE MESAFEYİ KISALTAN SON DOKUNUŞ --- */
main.products-detail-section {
  margin-top: 40px !important; /* O devasa boşluğu kibar bir seviyeye çektik */
  padding-top: 0 !important; /* Eski 150px'lik hayalet boşluğu kökünden sıfırladık */
}

main.products-detail-section .product-row:first-child {
  margin-top: 0 !important; /* Varsa ilk ürüne ait ekstra gizli boşluğu da sildik */
}
/* --- İLETİŞİM SAYFASI TASARIMI --- */
.contact-page-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 5%;
}

.contact-grid-layout {
  display: flex;
  gap: 60px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  padding: 50px;
}

/* Sol Kısım: Yazılar ve Butonlar */
.contact-info-side {
  flex: 1;
}

.contact-info-side h2 {
  color: var(--brand-navy);
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.contact-info-side > p {
  color: #666;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.action-btn {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.action-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.action-btn i {
  font-size: 2.5rem;
  margin-right: 20px;
}

.btn-text {
  display: flex;
  flex-direction: column;
}

.btn-text span {
  font-size: 1.2rem;
  font-weight: bold;
}

.btn-text small {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Uygulamalara Özel Renkler */
.whatsapp {
  background-color: #25d366;
}
.email {
  background-color: var(--brand-red);
}
.instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

/* Fiziksel Adres Bilgisi */
.physical-address {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-top: 30px;
  border-top: 2px dashed #eee;
}

.physical-address i {
  font-size: 2rem;
  color: var(--brand-navy);
}

.physical-address strong {
  color: var(--brand-navy);
  display: block;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.physical-address p {
  color: #666;
  line-height: 1.6;
}

/* Sağ Kısım: Harita (Iframe) */
.contact-map-side {
  flex: 1;
  min-height: 400px;
}

.contact-map-side iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
  .contact-grid-layout {
    flex-direction: column;
    padding: 30px;
    gap: 40px;
  }
  .contact-map-side {
    height: 400px;
  }
}
/* --- SABİT WHATSAPP BUTONU --- */
.floating-whatsapp {
  position: fixed;
  bottom: 40px; /* Ekranın altından mesafe */
  right: 40px; /* Ekranın sağından mesafe */
  background-color: #25d366; /* Orijinal WhatsApp Yeşili */
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 35px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000; /* Her şeyin üstünde görünmesi için */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.floating-whatsapp:hover {
  background-color: #128c7e; /* Üzerine gelince biraz koyulaşır */
  transform: scale(1.1);
  color: #fff;
}

/* Dikkat çekici nabız (dalga) animasyonu */
@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Mobilde butonu biraz daha küçültüp kenara yaklaştıralım */
@media (max-width: 768px) {
  .floating-whatsapp {
    width: 50px;
    height: 50px;
    font-size: 30px;
    bottom: 20px;
    right: 20px;
  }
}
/* --- NAVBAR SOL GRUP VE TELEFON İLAVESİ --- */
.nav-left-group {
  display: flex;
  align-items: center;
  gap: 30px; /* Logo ile telefon numarası arasındaki mesafe */
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-navy, #1a2942);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  padding-left: 30px;
  border-left: 2px solid #e0e0e0; /* Araya eklenen ince, şık ayırıcı çizgi */
  transition: color 0.3s ease;
}

.header-phone i {
  color: var(--brand-red, #d32f2f);
  font-size: 1.3rem;
  animation: ring-phone 2s infinite ease-in-out; /* Çalan telefon animasyonu */
}

.header-phone:hover {
  color: var(--brand-red, #d32f2f);
}

@keyframes ring-phone {
  0%,
  100% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(15deg);
  }
  20% {
    transform: rotate(-10deg);
  }
  30% {
    transform: rotate(5deg);
  }
  40% {
    transform: rotate(0deg);
  }
}

/* Mobilde ekranı daraltmasın diye telefonu gizliyoruz */
@media (max-width: 992px) {
  .header-phone {
    display: none;
  }
}
/* --- VİDEO BÖLÜMÜ TASARIMI --- */
.video-section {
  padding: 80px 5%;
  background-color: #f8f9fa; /* Ferah açık gri arka plan */
}
.video-container {
  max-width: 1000px;
  margin: 0 auto;
}
.video-header {
  text-align: center;
  margin-bottom: 40px;
}
.video-header h2 {
  color: #1a2942;
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.video-header p {
  color: #666;
  font-size: 1.1rem;
}
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Geniş ekran formatı (Sihirli Oran) */
  height: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* --- MÜŞTERİ YORUMLARI TASARIMI --- */
.testimonials-section {
  padding: 100px 5%;
  background-color: #ffffff;
}
.testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}
.testimonials-header h2 {
  color: #1a2942;
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.testimonials-header p {
  color: #666;
  font-size: 1.1rem;
}
.testimonials-grid {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.testimonial-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  flex: 1;
  position: relative;
  border-top: 4px solid #d32f2f; /* Üstte kırmızı jilet gibi bir şerit */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
.quote-icon {
  font-size: 3rem;
  color: rgba(211, 47, 47, 0.1); /* Soluk kırmızı tırnak işareti */
  position: absolute;
  top: 20px;
  right: 20px;
}
.testimonial-card p {
  font-style: italic;
  color: #555;
  line-height: 1.7;
  margin-bottom: 30px;
  font-size: 1.05rem;
}
.customer-info {
  display: flex;
  align-items: center;
  gap: 15px;
}
.customer-avatar {
  width: 50px;
  height: 50px;
  background-color: #1a2942;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.customer-info strong {
  display: block;
  color: #1a2942;
  font-size: 1.1rem;
}
.customer-info span {
  font-size: 0.85rem;
  color: #888;
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
  .testimonials-grid {
    flex-direction: column;
  }
}
/* --- FACEBOOK BUTONU TASARIMI --- */
.action-btn.facebook {
  background: linear-gradient(
    135deg,
    #1877f2,
    #0b5aeb
  ); /* Orijinal Facebook Mavisi ve hafif gradient */
  color: #ffffff;
}

.action-btn.facebook:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(24, 119, 242, 0.3); /* Mavi parlayan gölge efekti */
}
/* --- YORUM SLİDER TASARIMI --- */
.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.6s ease-in-out;
  transform: scale(0.95);
}
.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 10;
}
@media (max-width: 768px) {
  .service-card:nth-child(5):last-child {
    grid-column: 1 / -1; /* Mobilde son kartı tam genişlikte ortalar */
  }
}
/* --- HAMBURGER MENÜ AYARLARI --- */

/* --- HAMBURGER MENÜ AYARLARI --- */
.hamburger {
  display: none; /* Masaüstünde gizli kalmaya devam edecek */
  font-size: 1.6rem; /* İkonu biraz büyüttük */
  color: #ffffff; /* İkon rengini beyaz yaptık */
  background-color: #d32f2f; /* Kurumsal kırmızı arka plan */
  padding: 8px 14px; /* Etrafına boşluk verip tıklanabilir alanı genişlettik */
  border-radius: 8px; /* Köşeleri modern bir şekilde yuvarladık */
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3); /* Kırmızı tonlarında şık bir gölge */
  transition: all 0.3s ease; /* Tıklama hissiyatı için yumuşak geçiş */
}

/* Üzerine basıldığında/gelindiğinde verilecek tepki */
.hamburger:active {
  transform: scale(0.95); /* Basınca hafif küçülme efekti */
  background-color: #b71c1c; /* Biraz daha koyu bir kırmızı */
}

@media screen and (max-width: 768px) {
  .hamburger {
    display: block; /* Mobilde göster */
  }

  /* Ana menüyü mobilde gizle ve şekillendir */
  .nav-links {
    position: absolute;
    top: 70px; /* Navbar'ın yüksekliğine göre burayı ayarlayabilirsin */
    left: -100%; /* Ekranın solunda gizli dursun */
    flex-direction: column;
    background-color: #ffffff;
    width: 100%;
    text-align: center;
    transition: 0.4s all ease-in-out; /* Kayarak açılma efekti */
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    z-index: 999;
    display: flex; /* Alt alta dizilmeleri için */
  }

  /* Menü aktif olduğunda ekrana girsin */
  .nav-links.active {
    left: 0;
  }

  /* Mobilde menü elemanlarının aralarını aç */
  .nav-links a,
  .nav-links button {
    margin: 15px auto;
    width: fit-content;
  }
}
/* --- TECRÜBE ROZETİ CSS --- */
.experience-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px; /* İkon ile yazı arası boşluk */
  background: rgba(255, 255, 255, 0.1); /* Yarı saydam cam efekti */
  backdrop-filter: blur(5px); /* Arkasını hafif buzlandırır (Premium detay) */
  color: #ffffff; /* Yazı rengi beyaz */
  border: 1px solid rgba(255, 255, 255, 0.2); /* İnce zarif çerçeve */
  padding: 8px 20px;
  border-radius: 50px; /* Tam yuvarlak hap görünümü */
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2px; /* Harflerin arasını biraz açarak ağır bir hava kattık */
  margin-bottom: 25px;
}

.experience-badge i {
  color: #d32f2f; /* İkonu markanın kırmızısı yapıyoruz, efsane duracak */
  font-size: 1.1rem;
}

/* --- ANLAŞMALI ŞİRKETLER GRID CSS --- */
.partners-section {
  padding: 60px 20px;
  background-color: #f8f9fa; /* Hafif gri, logoları öne çıkarır */
  text-align: center;
}

.partners-section .section-title h2 {
  color: #1a2942;
  margin-bottom: 10px;
}

.partners-section .section-title p {
  color: #666;
  margin-bottom: 40px;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 35px;
  max-width: 1000px;
  margin: 0 auto;
}

.partners-grid img {
  height: 50px; /* Logoların yüksekliğini eşitle */
  object-fit: contain;
  transition: transform 0.3s ease; /* Büyüme animasyonunun yumuşak olması için */
}

.partners-grid img:hover {
  transform: scale(1.15);
}

@media screen and (max-width: 768px) {
  .partners-grid {
    gap: 25px;
  }
  .partners-grid img {
    height: 40px;
  }
}
/* =========================================
   INSTAGRAM WIDGET (Elfsight Instagram Feed)
========================================= */

/* Dış Alan ve Ortalama */
.instagram-kampanya-section {
  padding: 60px 20px;
  background-color: transparent;
}

.instagram-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

/* Başlık ve Ayraç Tasarımı */
.instagram-baslik {
  color: #1a2c4e; /* Aylanç Laciverti */
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.instagram-ayrac {
  width: 60px;
  height: 3px;
  background-color: #da291c; /* Aylanç Kırmızısı */
  margin: 0 auto 40px auto;
}

/* Kart Çerçevesi — ARTIK SABİT ORAN ZORLAMIYOR.
   Genişlik sınırlı (420px), yükseklik Elfsight'ın gönderdiği
   içeriğe göre otomatik ayarlanıyor. Böylece görsel oranı
   ne olursa olsun asla kırpılmaz. */
.aylanc-instagram-cerceve {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0px 15px 35px rgba(26, 44, 78, 0.1);
  border-top: 5px solid #da291c; /* Üst kırmızı şerit */
  overflow: hidden; /* artık güvenli: kutu her zaman içerik kadar büyür */
}

/* Elfsight İçeriğini Kutu Genişliğine Yay */
.elfsight-app-e361808d-4248-466f-9999-5b8620119d12 {
  width: 100%;
  display: block;
}

/* Elfsight'ın "Free" rozetini gizlemeyi dene — bkz. not, garanti değil */
.aylanc-instagram-cerceve a[href*="elfsight.com"],
.aylanc-instagram-cerceve [class*="powered-by"],
.aylanc-instagram-cerceve [class*="poweredby"] {
  display: none !important;
}

/* Mobilde kenar boşluğu bırak */
@media (max-width: 480px) {
  .aylanc-instagram-cerceve {
    max-width: 100%;
  }
  .instagram-baslik {
    font-size: 26px;
  }
}
