/* partials/_variables.css */
:root {
  --primary-color: #0056b3;
  --secondary-color: #e6f2ff;
  --accent-color: #28a745;
  --text-dark: #343a40;
  --text-light: #6c757d;
  --background-light: #ffffff;
  --background-gray: #f8f9fa;
  --border-color: #dee2e6;
  --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
  --font-primary: 'Poppins', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
}

/* partials/_global.css */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  background-color: var(--background-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main.main-content-wrapper {
  flex-grow: 1;
  padding-bottom: 50px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: 700;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--text-dark);
  font-weight: 600;
}

.text-block {
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: #004085;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--accent-color);
}

.btn-secondary:hover {
  background-color: #218838;
}

.content-section {
  padding: 80px 0;
}

.content-section.bg-gray {
  background-color: var(--background-gray);
}

/* partials/_header.css */
/* partials/_header.css - SON, TAM VE TEMİZLENMİŞ HALİ */

/* ==========================================================================
   Genel Header Stilleri
   ========================================================================== */
.site-header {
  background-color: #222222;
  padding: 15px 0;
  color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 100;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo img {
  height: 50px;
}

/* ==========================================================================
   Masaüstü Navigasyon ve Dropdown Stilleri (769px ve üzeri)
   ========================================================================== */
@media (min-width: 769px) {
  .hamburger-menu {
    display: none;
  }

  .menu-container {
    display: flex;
    align-items: center;
    position: static;
    width: auto;
    background: none;
    padding: 0;
    box-shadow: none;
  }

  .nav-links {
    display: flex;
    align-items: center;
    flex-direction: row;
  }

  .nav-links a,
  .dropbtn {
    color: white;
    text-decoration: none;
    font-weight: 600;
    margin-left: 20px;
    white-space: nowrap;
    transition: color 0.3s ease;
    padding: 5px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1em;
    cursor: pointer;
  }

  .nav-links a:hover,
  .dropdown:hover .dropbtn {
    color: var(--primary-color);
  }

  .nav-links a.active {
    color: var(--primary-color);
  }

  .dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    min-width: 250px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 100;
    border-radius: 0 0 5px 5px;
    border-top: 3px solid var(--primary-color);
    padding: 5px 0;
  }

  .dropdown-content a {
    color: white;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    margin: 0;
  }

  .dropdown-content a:hover {
    background-color: var(--primary-color);
    color: white !important;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .language-switcher {
    margin-left: 25px;
  }

  .language-switcher a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }

  .language-switcher a:hover {
    background-color: var(--primary-color);
  }
}

/* ==========================================================================
   Mobil Navigasyon Stilleri (768px ve altı) - AKORDİYON MENÜ GÜNCELLEMESİ
   ========================================================================== */
@media (max-width: 768px) {
  .hamburger-menu {
    display: block;
    background: none; border: none; color: white;
    font-size: 1.8rem; cursor: pointer; z-index: 1001;
  }

  .menu-container {
    display: none;
    position: absolute; top: 84px; left: 0;
    width: 100%;
    background-color: #2a2a2a;
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
  }
  .menu-container.open { display: block; }

  .nav-links {
    display: flex; flex-direction: column; align-items: center; width: 100%;
  }

  .nav-links > a, .dropdown {
    width: 90%; text-align: center;
  }

  /* ANA LİNKLER, ÜRÜNLER LİNKİ ve DİL DEĞİŞTİRİCİ İÇİN ORTAK STİL */
  .nav-links > a, .dropbtn, .language-switcher a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 5px;
    transition: background-color 0.2s ease;
  }
  .nav-links > a:hover, .dropbtn:hover {
    background-color: #3f3f3f;
  }
  .nav-links a.active { color: var(--primary-color); }

  /* "Ürünler" Butonu Özel Ayarları */
  .dropdown { padding: 0; }
  .dropbtn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .dropbtn::after {
    content: '▼';
    font-size: 0.7em;
    margin-left: 10px;
    transition: transform 0.3s ease;
  }

  /* Kategori Linkleri */
  .dropdown-content {
    display: block; max-height: 0; overflow: hidden;
    position: static; width: 100%; background-color: transparent;
    box-shadow: none; border: none; padding: 0;
    transition: max-height 0.4s ease-out;
  }
  .dropdown-content a {
    font-size: 0.9em; width: 85%; padding: 10px 20px; margin: 4px auto;
    background-color: rgba(255, 255, 255, 0.05); border-radius: 4px;
    color: #ddd; text-decoration: none; display: block;
    transition: background-color 0.2s ease;
  }
  .dropdown-content a:hover { background-color: #3f3f3f; color: white; }

  /* Akordiyon Açılma Hali */
  .dropdown.active .dropdown-content {
    max-height: 500px;
    margin-top: 5px;
  }
  .dropdown.active .dropbtn::after {
    transform: rotate(180deg);
  }

  /* Dil Değiştirici Butonu */
  .language-switcher {
    margin-top: 20px; padding-top: 20px;
    border-top: 1px solid #444; width: 90%;
    display: flex; justify-content: center;
  }
  .language-switcher a {
     border: 1px solid var(--primary-color);
  }
   .language-switcher a:hover {
     background-color: var(--primary-color);
   }
}

/* partials/_footer.css */
/* partials/_footer.css */
.site-footer {
  background-color: #222222;
  color: #fff;
  padding: 40px 20px 20px;
  font-size: 0.9rem;
}

.footer-flex {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding-bottom: 20px;
}

.footer-section {
  flex: 1;
  min-width: 280px;
  margin: 20px;
}

.footer-section h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-family: var(--font-heading);
}

.footer-section p {
  color: #ccc;
  line-height: 1.7;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 20px;
  color: #aaa;
}

/* partials/_components.css */
/* Kayan Duyuru Banner'ı */
.top-announcement-banner {
  background-color: var(--primary-color);
  color: white;
  overflow: hidden;
  padding: 10px 0;
  font-size: 1.1rem;
  font-weight: 600;
  white-space: nowrap;
}

.scrolling-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 20s linear infinite;
}

.top-announcement-banner:hover .scrolling-text {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Servis & Değer Kartları */
/* partials/_components.css dosyasındaki mevcut .service-card kurallarını güncelleyin/ekleyin */

.service-card {
  background-color: var(--background-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  overflow: hidden; /* Animasyonların taşmasını engeller */
  position: relative; /* Animasyonlar için referans noktası */
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.service-card .icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: transform 0.3s ease; /* İkonun dönüşü için yumuşak geçiş */
}

/* Üzerine gelince ikonu hafifçe döndür */
.service-card:hover .icon {
  transform: rotate(10deg) scale(1.1);
}

/* Kartın arkasına hafif bir animasyonlu desen ekleyelim */
.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 86, 179, 0.1), transparent 40%);
  transform: scale(0);
  transition: transform 0.6s ease;
  z-index: 0;
}

.service-card:hover::before {
  transform: scale(1);
}

/* Kart içeriğinin desenin üzerinde kalmasını sağla */
.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.service-card .icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Marka Kartları */
.brand-card {
  background-color: var(--background-gray);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 120px;
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-light);
  background-color: var(--secondary-color);
}

.brand-card h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

/* Modal ve QR Modal Pencereleri */
.modal,
.qr-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-content,
.qr-modal-content {
  background-color: var(--background-light);
  margin: auto;
  padding: 30px;
  border-radius: 10px;
  max-width: 600px;
  width: 100%;
  box-shadow: var(--shadow-medium);
  position: relative;
  animation: animatetop 0.4s;
}

.qr-modal-content {
  max-width: 90%;
  max-height: 90%;
  padding: 0;
  background: none;
}

@keyframes animatetop {
  from {
    top: -100px;
    opacity: 0
  }

  to {
    top: 0;
    opacity: 1
  }
}

.close-button,
.qr-close {
  color: var(--text-dark);
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.qr-close {
  top: 15px;
  right: 35px;
  color: white;
}

.close-button:hover,
.close-button:focus,
.qr-close:hover,
.qr-close:focus {
  color: var(--primary-color);
}

.qr-close:hover {
  color: #f00;
}

/* Ürün Listeleme Kartları (urunler.html) */
.product-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.product-item a {
  text-decoration: none;
  color: inherit;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-light);
}

.product-item img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  padding: 10px;
}

.product-item h3 {
  font-size: 1rem;
  padding: 15px 10px;
  font-weight: 600;
  margin-top: auto;
}

/* partials/_pages.css */

/* Anasayfa Bölümleri */
.services-overview,
.about-overview,
.news-section,
.call-to-action {
  padding: 80px 20px;
}

.services-overview {
  background-color: var(--background-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.about-overview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}

.about-overview.reverse {
  flex-direction: row-reverse;
}

.about-text,
.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
}

.news-item.with-qr {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
}

.news-text {
  flex: 1 1 60%;
}

.qr-wrapper {
  text-align: center;
}

.qr-code {
  width: 160px;
  height: auto;
  cursor: pointer;
  border-radius: 8px;
}

.call-to-action {
  background: var(--primary-color);
  color: #fff;
  text-align: center;
}

.call-to-action h2 {
  font-size: 2.5rem;
}

/* Hizmetler & Hakkımızda Sayfaları */
.service-detail-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 60px;
}

.service-detail-flex.reverse {
  flex-direction: row-reverse;
}

.service-detail-image,
.service-detail-text {
  flex: 1;
  min-width: 300px;
}

.service-detail-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
}

.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
}

.check-list li i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.2rem;
  margin-top: 3px;
}

.brands-section {
  padding: 80px 0;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

/* Ürünler Sayfası */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Ürün Detay Sayfası */
.containerurundetay {
  display: flex;
  flex-wrap: wrap;
  padding: 60px 20px;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.gallery {
  flex: 1 1 400px;
}

.details {
  flex: 1 1 500px;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-bottom: 15px;
}

.details h2 {
  font-size: 2rem;
  color: var(--primary-color);
}

.specs {
  background-color: var(--background-light);
  padding: 25px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-top: 20px;
}

.specs ul {
  list-style: none;
  padding: 0;
}

.specs ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.specs ul li:last-child {
  border-bottom: none;
}

.offer-button,
.nav-button,
.whatsapp-button {
  display: inline-block;
  margin-top: 25px;
  margin-right: 10px;
  background-color: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  padding: 12px 24px;
}

.offer-button:hover,
.nav-button:hover,
.whatsapp-button:hover {
  background-color: #218838;
}

/* İletişim Sayfası */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input,
textarea {
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
}

iframe {
  width: 100%;
  border: 0;
  margin-top: 40px;
  border-radius: 8px;
  min-height: 400px;
}

/* Genel Mobil Uyumluluk */
@media (max-width: 992px) {
  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {


  .about-overview,
  .service-detail-flex,
  .service-detail-flex.reverse,
  .containerurundetay {
    flex-direction: column;
    text-align: center;
  }
}

/* partials/_contact-page.css - KESİN DÜZELTME */

/* İletişim Sayfası Ana Yapısı */
.contact-info {
  margin-top: 40px;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Harita */
iframe {
  width: 100%;
  border: 0;
  margin-top: 40px;
  border-radius: 8px;
  min-height: 400px;
}

/* Navigasyon ve WhatsApp Butonları */
.nav-button,
.whatsapp-button {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  margin-right: 10px;
  transition: background-color 0.3s ease;
}

.nav-button:hover,
.whatsapp-button:hover {
  background-color: #004085;
}

.whatsapp-button {
  background-color: #25D366;
  /* WhatsApp Yeşili */
}

.whatsapp-button:hover {
  background-color: #1DA851;
}

/* İletişim Formu */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--text-dark);
  background-color: var(--background-gray);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form input:focus,
form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.2);
  outline: none;
}

form textarea {
  resize: vertical;
  min-height: 120px;
}


form button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-family: inherit;
  background: none;
  cursor: pointer;
}


form button.btn {

  background-color: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;

  /* YENİ YERLEŞİM Stilleri */
  width: 100%;
  /* Mobilde tam genişlik kaplasın */
  max-width: 500px;
  /* Masaüstünde çok geniş olmasını engelle */
  align-self: center;
  /* Butonu form içinde ortala */
  margin-top: 10px;
  /* Üstündeki elemanla arasına boşluk ekle */
}

form button.btn:hover {
  background-color: #004085;
  transform: translateY(-2px);
}

/* ==========================================================================
   Ürün Detay Sayfası - Resim Galerisi (Tiny Slider) Stilleri - SON AYAR
   ========================================================================== */

/* Konumlandırma için referans olacak dış katman */
/* Tiny Slider bu sınıfı otomatik oluşturur */
.tns-outer {
  position: relative;
  /* Kontrollerin resme çok yakın olması için boşluk ayarlandı */
  padding-bottom: 45px;
}

/* Slider içindeki resimler (değişiklik yok) */
.product-slider img {
  width: 100%;
  height: 350px;
  object-fit: contain;
  border-radius: 8px;
  background-color: #fff;
}

/* Slider Kontrol Okları (Konumları güncellendi) */
.tns-controls button {
  position: absolute;
  bottom: -20px;
  /* Okları kontrol alanının en altına yerleştir */
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  z-index: 10;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.tns-controls button:hover {
  background-color: var(--primary-color);
}

/* Slider Navigasyon Noktaları (Konumları güncellendi) */
.tns-nav {
  position: absolute;
  bottom: -10px;
  /* Dikeyde oklarla hizalı olacak şekilde ayarlandı */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* Okların yatay konumu (Masaüstü) */
.tns-controls button[data-controls="prev"] {
  /* Noktaların soluna konumlandır */
  left: 15%;
  transform: translateX(-180%);
  /* Değer azaltılarak noktalara yaklaştırıldı */
}

.tns-controls button[data-controls="next"] {
  /* Noktaların sağına konumlandır */
  right: 15%;
  transform: translateX(180%);
  /* Değer azaltılarak noktalara yaklaştırıldı */
}

/* Navigasyon noktaları stilleri (değişiklik yok) */
.tns-nav button {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border: none;
  border-radius: 50%;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.tns-nav button.tns-nav-active {
  background-color: var(--primary-color);
}

/* Mobil Cihazlar için Ok Konumları (değişiklik yok) */
@media (max-width: 768px) {
  .tns-controls button[data-controls="prev"] {
    left: 15px;
    transform: none;
    /* Mobil için transform sıfırlanır */
  }

  .tns-controls button[data-controls="next"] {
    right: 15px;
    transform: none;
    /* Mobil için transform sıfırlanır */
  }
}

/* partials/_pages.css dosyasının sonuna ekleyin */

/* Karşılaştırma Tablosu Stilleri */
.comparison-table-wrapper {
  overflow-x: auto;
  /* Küçük ekranlarda tabloyu yatayda kaydırılabilir yap */
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  box-shadow: var(--shadow-light);
}

.comparison-table thead {
  background-color: var(--primary-color);
  color: white;
  font-family: var(--font-heading);
}

.comparison-table th,
.comparison-table td {
  padding: 15px;
  text-align: left;
  border: 1px solid var(--border-color);
}

.comparison-table tbody tr:nth-child(even) {
  background-color: var(--background-gray);
}

.comparison-table tbody tr:hover {
  background-color: var(--secondary-color);
}

.comparison-table a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.comparison-table a:hover {
  text-decoration: underline;
}

/* partials/_components.css dosyasının sonuna ekleyin */

/* Kategori Kartı Stilleri (urunler.html) */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.category-card {
  background-color: var(--background-light);
  border-radius: 8px;
  box-shadow: var(--shadow-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.category-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.category-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.category-card-content p {
  color: var(--text-light);
  flex-grow: 1;
  margin-bottom: 20px;
}

/* partials/_pages.css dosyasının sonuna ekleyin */

/* Kategori Sayfası Resim Stili */
.category-image-wrapper {
  text-align: center;
  /* Resmi ortalar */
  margin-bottom: 40px;
  /* Resimle tablo arasına boşluk koyar */
}

.category-image-wrapper img {
  max-width: 100%;
  /* Resmin taşmasını engeller */
  width: 800px;
  /* Resme maksimum bir genişlik verir */
  border-radius: 8px;
  /* Köşeleri yuvarlatır */
  box-shadow: var(--shadow-light);
  /* Hafif bir gölge ekler */
}

/* partials/_pages.css dosyasının sonuna ekleyin */

/* Duyurular Sayfası Stilleri */
/* partials/_pages.css dosyasını güncelleyin */

/* Duyurular Sayfası Stilleri */
.announcement-list {
  max-width: 800px;
  margin: auto;
}

.announcement-item {
  background-color: var(--background-light);
  padding: 35px;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-light);
  border-radius: 8px;
  margin-bottom: 30px;
}

.announcement-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.announcement-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.announcement-summary {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 25px;
  line-height: 1.7;
}

.announcement-details {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
  font-size: 1rem;
  color: var(--text-dark);
}

.announcement-details li {
  margin-bottom: 10px;
}

.qr-wrapper {
  margin-top: 25px;
  text-align: center;
}

.qr-code {
  max-width: 180px;
  border-radius: 8px;
}

/* partials/_components.css dosyasının sonuna ekleyin */

/* Dikey Haber Bandı (Side News Ticker) */
.side-news-ticker {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 400px;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  color: white;
  border-radius: 8px;
  overflow: hidden;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.ticker-title {
  background-color: var(--primary-color);
  padding: 8px;
  font-weight: 600;
  text-align: center;
  font-family: var(--font-heading);
  position: relative;
  /* Bu satırı ekleyin */
  z-index: 2;
  /* Bu satırı ekleyin */
}

.ticker-list {
  list-style: none;
  padding: 0;
  margin: 0;
  height: 150px;
  /* Görünecek alanın yüksekliği */
}

.ticker-list li {
  padding: 10px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-list a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
}

.ticker-list a:hover {
  text-decoration: underline;
}

/* CSS Animasyonu */
.ticker-list {
  animation: ticker-scroll 15s linear infinite;
}

.side-news-ticker:hover .ticker-list {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }

  /* Öğelerin yarısına gelince başa döner */
}

/* Mobilde gizle */
@media (max-width: 768px) {
  .side-news-ticker {
    display: none;
  }
}

/* partials/_components.css dosyasının sonuna ekleyin */

/* ==========================================================================
   Kategori Kartı Stilleri (Anasayfa ve Ürünler Sayfası için Ortak)
   ========================================================================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.category-card {
  background-color: var(--background-light);
  border-radius: 8px;
  box-shadow: var(--shadow-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.category-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  /* Resmin kartı tam kaplamasını sağlar */
  border-bottom: 1px solid var(--border-color);
}

.category-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  /* İçeriğin dikeyde esneyerek butonu en altta tutmasını sağlar */
}

.category-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.category-card-content p {
  color: var(--text-light);
  flex-grow: 1;
  /* Paragrafın esnemesini sağlar */
  margin-bottom: 20px;
}

/* partials/_components.css dosyasının sonuna ekleyin */

/* Kategori kartı bir link olduğunda varsayılan stilleri sıfırla */
a.category-card {
  text-decoration: none;
  color: inherit;
  /* Normal metin rengini kullan */
}

/* partials/_components.css dosyasındaki bu bölümü güncelleyin */

/* Kategori kartı bir link olduğunda varsayılan stilleri sıfırla */
a.category-card {
  text-decoration: none;
  color: inherit;
}

/* YENİ KURAL: Üzerine gelindiğinde de alt çizgi olmamasını garantile */
a.category-card:hover {
  text-decoration: none;
}

/* partials/_pages.css dosyasının sonuna ekleyin */

/* ==========================================================================
   Ürünler Sayfası - Kategori Başlıkları Stili
   ========================================================================== */
.category {
  margin-top: 50px;
  /* Kategoriler arasına dikey boşluk ekler */
}

.category:first-of-type {
  margin-top: 0;
}

.category h2 {
  text-align: center;
  margin-bottom: 30px;
  /* Başlık ve ürün grid'i arasına boşluk */
}

/* Kategori başlığı içindeki linke stil verme */
.category h2 a {
  display: inline-block;
  /* Arka plan ve padding'in düzgün çalışması için */
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  padding: 12px 35px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  box-shadow: var(--shadow-light);
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* Üzerine gelince (hover) efekti */
.category h2 a:hover {
  background-color: #004085;
  /* Daha koyu mavi */
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}
/* partials/_pages.css dosyasının sonuna ekleyin */

/* ==========================================================================
   VİDEOLU HERO BÖLÜMÜ STİLLERİ
   ========================================================================== */
.video-hero {
  position: relative; /* İçerik ve video katmanlarının konumlanması için */
  overflow: hidden; /* Taşmaları engelle */
  background-color: #222; /* Video yüklenemezse görünecek renk */
}

.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Videonun alanı tam kaplamasını sağlar */
  transform: translate(-50%, -50%);
  z-index: 1; /* En alt katman */
}

.video-hero::after { /* Video üzerine karartma efekti */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 40, 80, 0.7); /* Yazıların okunabilirliği için */
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3; /* En üst katman */
  color: white;
  text-align: center;
}

/* partials/_pages.css dosyasının en başına ekleyin */

/* ==========================================================================
   PAGE HERO BÖLÜMÜ (STANDART VE VİDEOLU) - HİZALAMA DÜZELTMESİ
   ========================================================================== */

/* Tüm hero bölümleri için ortak temel stil */
.page-hero {
  background: linear-gradient(rgba(0, 86, 179, 0.8), rgba(0, 86, 179, 0.6)), url('https://via.placeholder.com/1920x400?text=Katech') no-repeat center center/cover;
  color: #fff;
  padding: 10px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Standart (resimli) hero arka planı */
.page-hero:not(.video-hero) {
  background: linear-gradient(rgba(0, 86, 179, 0.8), rgba(0, 86, 179, 0.6)), url('https://via.placeholder.com/1920x400?text=Katech') no-repeat center center/cover;
}

/* Video hero bölümü */
.video-hero {
  background-color: #222; /* Video yüklenemezse görünecek renk */
}

/* Video elementi */
.hero-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Videonun alanı tam kaplamasını sağlar */
  transform: translate(-50%, -50%);
  z-index: 1; /* En alt katman */
}

/* Video üzerine karartma efekti (yazıların okunabilirliği için) */
.video-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 40, 80, 0.7);
  z-index: 2;
}

/* Hero içindeki metin, buton vb. içeriklerin kapsayıcısı */
.hero-content {
  position: relative;
  z-index: 3; /* En üst katman */
  max-width: 900px; /* İçeriğin çok genişlemesini önle */
}

/* Hero içindeki başlık ve paragraflar */
.hero-content h1, .page-hero h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p, .page-hero p {
  font-size: 1.1rem;
  margin-bottom: 10px;
  opacity: 0.9;
}