/* Genel Ayarlar */
body {
  font-family: Cambria, "Times New Roman", Georgia, serif;
  margin: 0;
  padding: 40px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-sizing: border-box;
}

/* Tüm başlıklar için Cambria fontu */
h1, h2, h3, h4, h5, h6 {
  font-family: Cambria, "Times New Roman", Georgia, serif;
}

/* Linkler ve butonlar için */
a, button, .read-more, .navbar a {
  font-family: Cambria, "Times New Roman", Georgia, serif;
}

main {
  flex: 1;
}

/* =========================
   CONTAINER & PADDING DÜZENLEMELERİ - SOLA YASLI
========================= */
.header-container, .footer-container,
main, section, .page-content,
.articles-section, .references-section {
  max-width: 1200px;
  margin: 0;
  padding: 20px 0;
  box-sizing: border-box;
  width: 100%;
}

/* =========================
   HEADER 
========================= */
.site-header {
  background-color: #ffffff;
  border-bottom: 2px solid #9C1A32;
  padding: 10px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.navbar a {
  color: #9C1A32;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #800020;
}

/* Header İletişim Satırı */
.header-contact {
  text-align: center;
  background-color: #fff;
  padding: 10px 0;
  font-size: 14px;
  margin-top: 5px;
  border-top: 1px solid #ddd;
}

.header-contact a {
  color: #555;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 500;
}

.header-contact a i {
  margin-right: 5px;
  color: #555;
}

.header-contact a:hover {
  color: #9C1A32;
}

/* =========================
   MAKALELER
========================= */
.articles-section {
  padding: 40px 0;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #9C1A32;
  font-weight: bold;
}

.articles-container {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.article-card {
  flex: 1 1 calc(33.333% - 20px);
  max-width: 300px;
  background: #fff;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  padding: 15px;
}

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.article-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

/* Devamını Oku Butonu */
.read-more {
  display: inline-block;
  padding: 8px 15px;
  margin-top: 10px;
  background-color: #9C1A32;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.read-more:hover {
  background-color: #800020;
}

/* =========================
   REFERANSLAR
========================= */
.references-section {
  padding: 40px 0;
}

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

.ref-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.ref-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.ref-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.references-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
  margin: 40px 0;
}

.reference-item {
  flex: 1 1 200px;
  max-width: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.reference-item img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}

/* Docs Sayfası Başlıkları için */
.docs-page h1, .docs-page h2 {
  margin-left: 30px;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background-color: #9C1A32;
  color: #fff;
  padding: 30px 0;
  width: 100%;
  box-sizing: border-box;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-left, .footer-center, .footer-right {
  flex: 1 1 200px;
  margin: 10px 0;
}

.footer-icon {
  margin-right: 8px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #ffd700;
}

.footer-left h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

/* =========================
   DİFÜZÖR GALERİSİ
========================= */
.difuzor-galeri {
  display: flex;
  justify-content: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  padding: 20px 0;
  width: 100%;
}

.galeri-item {
  max-width: 220px;
  text-align: center;
}

.thumbnail-img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid #ddd;
  transition: all 0.3s ease-in-out;
}

.thumbnail-img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* =========================
   CONTACT SAYFASI WHATSAPP İKONU DÜZENLEMESİ
========================= */
/* WhatsApp ikonu boyutu düzeltme */
img[src*="Whatsap"] {
    width: 45px !important;
    height: 45px !important;
    vertical-align: middle;
    margin-left: 8px;
}

/* İletişim kutusu içindeki hizalamayı düzelt */
.d-flex.align-items-center.bg-white.rounded.p-3 {
    min-height: 60px;
    align-items: center;
    display: flex !important;
    flex-wrap: wrap;
}

/* Telefon numarası ve WhatsApp'ı yan yana hizala */
.d-flex.align-items-center.bg-white.rounded.p-3 > span {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}
/* =========================
   HAMBURGER MENÜ MOBİL STİLLERİ
========================= */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .header-contact {
        font-size: 12px;
        padding: 8px 0;
    }
    
    .header-contact a {
        margin: 0 8px;
    }
    
    /* Navbar'ı tamamen gizle */
    .navbar:not(.active) {
        display: none;
    }
}

/* Desktop'ta hamburger butonunu gizle */
@media (min-width: 769px) {
    .hamburger-menu {
        display: none !important;
    }
    
    .navbar-overlay {
        display: none !important;
    }
}