/* /assets/css/style.css */
/* WEBLINE SOFT v3.3 - Logo Boyutları, Profesyonel Görünüm ve Gelişmiş Responsive Güncellemesi */

/* =========================================================================
   --- YENİ: YATAY KAYMAYI (TAŞMAYI) KESİN ENGELLEYEN GLOBAL KODLAR ---
   ========================================================================= */
html, body {
  overflow-x: hidden !important; /* Sağa sola kaymayı %100 yasaklar */
  max-width: 100%; /* Sayfa genişliğinin cihaz ekranını aşmasını engeller */
  width: 100%;
}
* {
  box-sizing: border-box; /* Tüm iç boşlukları genişliğe dahil eder, taşmaları engeller */
}
img {
  max-width: 100%; /* Sitedeki hiçbir resmin ekranı dışa taşırmaması için */
  height: auto;
}
h1, h2, h3, h4, h5, h6, p, a {
  word-wrap: break-word; /* Çok uzun kelimelerin taşmasını engeller */
  overflow-wrap: break-word;
}

/* --- 1. Temel Ayarlar ve Yeni Renk Paleti (MOR AĞIRLIKLI) --- */
:root {
  /* ANA LOGO GRADIENT TANIMI (Mordan Maviye) */
  --wl-primary-gradient: linear-gradient(to right, #6f42c1, #007BFF); 
  
  /* Gradient'in ana tonları (MOR BASKIN) */
  --wl-primary: #6f42c1; /* Gradient'in mor başlangıç rengi (ANA RENK) */
  --wl-primary-dark: #5a37a0; /* Morun koyu tonu */
  --wl-primary-light: #f4e6ff; /* Morun çok açık tonu (Lavanta) */
  --wl-primary-blue: #007BFF; /* Gradient'in mavi bitiş rengi (İkincil renk) */

  --wl-dark: #2c3e50;
  --wl-body-text: #566776;
  --wl-light: #f8f9fa;
  --wl-white: #ffffff;
  --wl-gray: #e9ecef;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--wl-body-text);
  line-height: 1.7;
  background-color: var(--wl-white);
  overflow-x: hidden !important; /* Garanti kural */
}

/* --- 2. Genel Yardımcı Sınıflar ve Butonlar --- */
.bg-light-primary { background-color: var(--wl-primary-light); }
.text-primary-color { color: var(--wl-primary); }

.btn {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-primary {
  background: var(--wl-primary-gradient);
  border: none; 
  color: var(--wl-white);
}
.btn-primary:hover {
  background: var(--wl-primary-dark);
  border-color: var(--wl-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(111, 66, 193, 0.25);
}

.btn-outline-primary {
  border-color: var(--wl-primary);
  color: var(--wl-primary);
}
.btn-outline-primary:hover {
  background: var(--wl-primary-gradient);
  border-color: var(--wl-primary);
  color: var(--wl-white);
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(111, 66, 193, 0.2);
}

.btn-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--wl-dark); 
    color: var(--wl-white) !important;
    border-radius: 50%; 
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem; 
    margin-left: 0;
}
@media (min-width: 992px) {
    .btn-cart-icon { margin-left: 10px; }
}
.btn-cart-icon:hover {
    background: var(--wl-primary-gradient);
    color: var(--wl-white) !important;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.25);
    transform: scale(1.05);
}

/* --- 3. Preloader --- */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: #ffffff; z-index: 99999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.5s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
.loader-container { text-align: center; }
.loader-logo {
    width: 150px; margin-bottom: 20px;
    animation: pulse 1s infinite alternate; 
}
@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

/* --- 4. Bölüm Başlıkları --- */
.section-title {
  margin-bottom: 4rem;
  text-align: center;
}
.section-title h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--wl-dark);
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 1rem;
  display: inline-block;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: var(--wl-primary-gradient);
  border-radius: 2px;
}
.section-title p {
  font-size: 1.15rem;
  color: #6c757d;
  max-width: 650px;
  margin: 0 auto;
}

/* --- 5. Header / Navbar --- */
.topbar {
    background-color: var(--wl-dark) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.topbar .ticker-wrap { overflow: hidden; height: 1.5em; position: relative; }
.topbar .ticker-move { display: flex; width: max-content; animation: ticker 15s linear infinite; }
.topbar .ticker-item { padding: 0 2rem; white-space: nowrap; line-height: 1.5em; }
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

.topbar-right-content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}
.topbar-link {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.9rem;
  font-weight: 500;
}
.topbar-link:hover { color: var(--wl-white) !important; }
.topbar-link i {
  color: var(--wl-primary);
  font-size: 0.8rem;
}
.topbar-divider {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 5px;
}

.navbar-main {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background: var(--wl-white);
  transition: all 0.3s ease;
}
.navbar-main.sticky-top {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}
.navbar-main .navbar-brand img {
  max-height: 75px; 
  margin-right: 15px;
  transition: all 0.3s ease; 
}
.navbar-main.sticky-top .navbar-brand img {
  max-height: 60px; 
}
.navbar-main .navbar-nav .nav-link {
    font-weight: 600;
    color: var(--wl-dark);
    font-size: 1rem; 
    padding: 10px 14px; 
    transition: color 0.3s;
}
.navbar-main .navbar-nav .nav-link:hover,
.navbar-main .navbar-nav .nav-link.active {
  color: var(--wl-primary);
}
.navbar-main .navbar-nav .dropdown-menu {
  border: 1px solid var(--wl-gray);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-radius: 0.5rem;
}
.navbar-main .navbar-nav .dropdown-item {
  font-weight: 500;
  transition: all 0.2s;
  padding: 10px 20px;
}
.navbar-main .navbar-nav .dropdown-item:hover {
  background-color: var(--wl-primary-light);
  color: var(--wl-primary-dark);
  padding-left: 25px; 
}

.navbar-right-group {
    display: flex;
    align-items: center;
    gap: 10px; 
}
.navbar-toggler { border-color: rgba(0,0,0,0.1); }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(44, 62, 80, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- 6. Hero Slider --- */
.hero-slider .swiper-slide {
  height: 90vh; 
  min-height: 550px;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
  position: relative;
}
.hero-slider .swiper-slide::after {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(75deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 100%);
}
.hero-slider .slide-content {
  position: relative; z-index: 2;
  color: var(--wl-white);
  max-width: 700px;
}
.hero-slider .slide-content .ust-baslik {
  font-size: 1rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  background: var(--wl-primary-gradient);
  padding: 7px 18px; display: inline-block;
  border-radius: 4px; margin-bottom: 1.5rem;
}
.hero-slider .slide-content h1 {
  font-size: 3.8rem; font-weight: 800;
  margin-bottom: 1.5rem; line-height: 1.2;
}
.hero-slider .slide-content p {
  font-size: 1.25rem; margin-bottom: 2.5rem; max-width: 90%;
}
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next { color: var(--wl-white); opacity: 0.6; transition: opacity 0.3s; }
.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover { opacity: 1; }

/* --- 7. Hizmet Kutuları --- */
.hizmet-kutu {
  background: var(--wl-white);
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--wl-gray); 
  transition: all 0.3s ease;
  height: 100%; display: block; 
  text-decoration: none;
}
.hizmet-kutu:hover {
  transform: translateY(-10px);
  border-color: var(--wl-white); 
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08); 
}
.hizmet-kutu .ikon {
  font-size: 3.5rem; color: var(--wl-primary);
  margin-bottom: 25px; line-height: 1;
}
.hizmet-kutu h4 { font-size: 1.4rem; font-weight: 600; color: var(--wl-dark); margin-bottom: 15px; }
.hizmet-kutu p { font-size: 1rem; color: var(--wl-body-text); }

/* --- 8. İstatistikler --- */
.stats-section { background-color: var(--wl-dark) !important; }
.stats-section .counter-number {
    font-size: 3.5rem; font-weight: 700;
    color: var(--wl-primary); line-height: 1.2;
}
.stats-section .lead { font-size: 1.1rem; color: rgba(255, 255, 255, 0.8); }

/* --- 9. PROFESYONEL YAZILIM KARTI --- */
.yazilimlar-section .swiper-slide { height: auto; }
.yazilim-card-pro {
    background: var(--wl-white); border: 1px solid var(--wl-gray);
    border-radius: 10px; overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: all 0.25s ease-in-out; 
    height: 100%; display: flex; flex-direction: column;
}
.yazilim-card-pro:hover {
    border-color: var(--wl-primary); box-shadow: 0 10px 30px rgba(0,0,0,0.12); 
    transform: translateY(-8px); 
}
.yazilim-pro-image { 
    position: relative; display: block;
    aspect-ratio: 16/9; overflow: hidden;
}
.yazilim-pro-image .card-img-top {
    width: 100%; height: 100%; object-fit: cover;
    border-bottom: 1px solid var(--wl-gray); transition: transform 0.4s ease;
}
.yazilim-card-pro:hover .card-img-top { transform: scale(1.05); }
.yazilim-pro-image .product-badge {
    position: absolute; top: 15px; right: 15px;
    background: var(--wl-primary-gradient); color: white;
    padding: 5px 12px; font-size: 0.8rem; font-weight: 700;
    border-radius: 5px; z-index: 10; text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.yazilim-card-pro .card-body {
    padding: 20px 25px 25px 25px; display: flex; flex-direction: column; flex-grow: 1; 
}
.yazilim-card-pro .card-kategoriler { margin-bottom: 10px; min-height: 25px; }
.yazilim-card-pro .card-kategoriler .badge {
    font-size: 0.75rem; font-weight: 500; padding: 0.4em 0.8em;
    background-color: var(--wl-light) !important; color: var(--wl-body-text) !important;
    border: 1px solid var(--wl-gray);
}
.yazilim-card-pro .card-title {
    font-size: 1.35rem; font-weight: 700; color: var(--wl-dark); margin-bottom: 10px;
}
.yazilim-card-pro .card-title a { color: var(--wl-dark); text-decoration: none; transition: color 0.2s ease; }
.yazilim-card-pro .card-title a:hover { color: var(--wl-primary); }
.yazilim-card-pro .card-text { font-size: 0.95rem; line-height: 1.6; flex-grow: 1; min-height: 40px; }

.kart-footer-aksiyon {
    margin-top: auto; padding-top: 15px; border-top: 1px dashed var(--wl-gray);
}
.fiyat-eski { font-size: 0.9rem; font-weight: 400; color: #6c757d; height: 20px; margin-bottom: 2px; }
.fiyat-eski del { margin-left: 5px; }
.fiyat-eski .discount-badge { 
    background-color: #dc3545; color: #fff; padding: 3px 6px;
    border-radius: 5px; font-size: 0.8rem; font-weight: 700;
    display: inline-block; vertical-align: middle; margin-right: 5px;
}
.fiyat-ve-ikonlar-satiri {
    display: flex; justify-content: space-between; align-items: center; 
    flex-wrap: wrap; gap: 10px; 
}
.fiyat-icerik { flex-shrink: 1; }
.fiyat-yeni {
    font-size: 1.6rem; font-weight: 800; color: var(--wl-dark);
    line-height: 1.2; display: flex; justify-content: flex-start; 
    align-items: baseline; flex-wrap: nowrap; 
}
.kdv-badge-pro { 
    font-size: 0.7rem; font-weight: 600; color: var(--wl-body-text);
    text-transform: uppercase; margin-left: 5px; white-space: nowrap;
}
.kart-ikonlari { display: flex; align-items: center; flex-shrink: 0; }
.kart-goruntulenme {
    font-size: 0.95rem; font-weight: 500; color: var(--wl-body-text);
    margin-right: 10px; white-space: nowrap;
}
.kart-goruntulenme i { color: var(--wl-primary); margin-right: 5px; font-size: 0.9rem; }

.btn-icon-incele { 
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; background-color: var(--wl-light);
    border: 1px solid var(--wl-gray); color: var(--wl-dark);
    border-radius: 50%; text-decoration: none; transition: all 0.25s ease-in-out; 
    font-size: 1.3rem; transform: scale(0.95); opacity: 0.8; 
}
.yazilim-card-pro:hover .btn-icon-incele {
    background: var(--wl-primary-gradient);
    border-color: var(--wl-primary); color: var(--wl-white);
    transform: scale(1.1); opacity: 1; 
}
/* Eski stilleri temizle */
.yazilim-card { display: none; }
.yazilim-card-kurumsal { display: none; }
.kart-aksiyon-alt { display: none; }
.fiyat-bolumu .btn-sm { display: none; }

/* --- 10. Müşteri Yorumları --- */
.yorum-slider .swiper-slide { padding: 10px; }
.yorum-card {
  background: var(--wl-white); border: 1px solid var(--wl-gray);
  border-radius: 10px; padding: 40px 35px 35px 35px; 
  text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); 
  position: relative; transition: all 0.3s ease; height: 100%;
}
.yorum-card:hover { box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); }
.yorum-card::before {
    content: "\f10d"; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; top: -15px; left: 50%;
    transform: translateX(-50%); font-size: 3rem;
    color: var(--wl-primary); opacity: 0.1; line-height: 1;
}
.yorum-card .yorum-puan { margin-bottom: 10px; }
.yorum-card .yorum-puan .fa-star { color: #ffc107; font-size: 1.1rem; }
.yorum-card .yorum-metni {
  font-style: normal; font-size: 1.05rem; font-weight: 500;
  margin: 20px 0; color: var(--wl-dark); min-height: 100px; 
}
.yorum-card .yorum-yapan img {
  width: 70px; height: 70px; border-radius: 50%; object-fit: cover; margin-bottom: 10px;
  border: 3px solid var(--wl-primary-dark);
}
.yorum-card .yorum-yapan h5 { font-weight: 700; color: var(--wl-dark); margin-bottom: 2px; }
.yorum-card .yorum-yapan span { font-size: 0.9rem; color: var(--wl-body-text); }

/* --- 11. Referans Logoları --- */
.referans-slider .swiper-slide { display: flex; justify-content: center; align-items: center; height: 100px; }
.referans-slider img { max-height: 60px; width: auto; opacity: 0.6; filter: grayscale(100%); transition: all 0.3s ease; }
.referans-slider img:hover { opacity: 1; filter: grayscale(0%); }

/* --- 12. Footer --- */
.site-footer {
  background-color: var(--wl-dark); color: #adb5bd;
  padding-top: 5rem; padding-bottom: 2rem;
}
.site-footer .footer-logo { max-width: 200px; margin-bottom: 1.5rem; }
.site-footer h5 { color: var(--wl-white); font-weight: 600; margin-bottom: 1.5rem; }
.site-footer ul { padding-left: 0; list-style: none; }
.site-footer ul li { margin-bottom: 0.75rem; }
.site-footer ul li a { color: #adb5bd; text-decoration: none; transition: all 0.3s ease; }
.site-footer ul li a:hover { color: var(--wl-white); padding-left: 5px; }
.site-footer .sosyal-medya 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(--wl-white);
  text-decoration: none; margin-right: 10px; transition: all 0.3s ease;
}
.site-footer .sosyal-medya a:hover { 
  background: var(--wl-primary-gradient); color: var(--wl-white); 
}
.site-footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem; margin-top: 2rem;   
  text-align: center; font-size: 0.9rem;
}

/* Footer E-Bülten */
.footer-ebulten-box {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: none;
}
.footer-ebulten-box .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff; border-radius: 8px 0 0 8px !important;
}
.footer-ebulten-box .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15); color: #fff;
    border-color: var(--wl-primary); box-shadow: none;
}
.footer-ebulten-box .form-control::placeholder { color: rgba(255, 255, 255, 0.5); }
.footer-ebulten-box .btn-primary {
    border-radius: 0 8px 8px 0 !important; margin-left: -1px;
    background: var(--wl-primary-gradient); border-color: var(--wl-primary); box-shadow: none; 
}
.footer-ebulten-box .btn-primary:hover {
    background: var(--wl-primary-dark); border-color: var(--wl-primary-dark);
}
#ebultenMesajAlani .text-success { color: var(--wl-primary) !important; }
#ebultenMesajAlani .text-danger { color: #ff8a8a !important; }


/* =========================================================================
   --- 13. WHATSAPP FLOAT BUTON (GÖRÜNMEZLİK SORUNU ÇÖZÜLDÜ) ---
   ========================================================================= */
.whatsapp-float {
  position: fixed; 
  bottom: 30px; 
  right: 30px;
  width: 60px; 
  height: 60px; 
  background-color: #25D366; 
  color: #FFF; 
  border-radius: 50%; 
  box-shadow: 2px 2px 12px rgba(0,0,0,0.25);
  z-index: 1000; 
  display: flex; 
  justify-content: center; 
  align-items: center;
  text-decoration: none; 
  transition: all 0.3s ease;
}

/* İkonun Kendisi */
.whatsapp-float i, .whatsapp-float svg {
  font-size: 35px;
  line-height: 1 !important;
  margin: 0;
  padding: 0;
  text-align: center; 
}

.whatsapp-float:hover { 
  transform: scale(1.1); 
  color: #FFF; 
}


/* --- 14. Alt Sayfa Stilleri --- */
.page-header-mini {
  background-color: var(--wl-dark); color: white;
  padding: 4rem 0; text-align: center;
}
.page-header-mini h1 { font-weight: 700; }
.page-header-mini .breadcrumb {
  background: none; padding: 0; margin: 0; justify-content: center;
}
.page-header-mini .breadcrumb-item a { color: var(--wl-primary); text-decoration: none; }
.page-header-mini .breadcrumb-item.active { color: var(--wl-gray); }

.sticky-sidebar-wrapper { position: sticky; top: 80px; }

.yazilim-fiyat-box {
  background: var(--wl-white); border: 1px solid var(--wl-gray);
  border-radius: 10px; padding: 30px; margin-bottom: 20px; 
}
.teknik-bilgi-box {
  background: var(--wl-white); border: 1px solid var(--wl-gray);
  border-radius: 10px; padding: 20px 30px; margin-bottom: 20px;
}
.teknik-bilgi-box h5 {
    font-weight: 600; color: var(--wl-dark);
    border-bottom: 1px solid var(--wl-gray);
    padding-bottom: 10px; margin-bottom: 15px;
}
.teknik-bilgi-box ul { list-style: none; padding-left: 0; }
.teknik-bilgi-box ul li {
    padding: 5px 0; border-bottom: 1px dashed var(--wl-gray); font-size: 0.95rem;
}
.yazilim-fiyat-box .fiyat { font-size: 2.2rem; font-weight: 700; color: var(--wl-primary); }
.yazilim-fiyat-box .fiyat-container { display: flex; flex-direction: column; align-items: center; margin-bottom: 15px; }
.yazilim-fiyat-box .fiyat-main-line {
    font-size: 3rem; font-weight: 800; color: var(--wl-dark); line-height: 1.1; margin-bottom: 5px;
}
.yazilim-fiyat-box .fiyat-eski-line { display: flex; align-items: center; font-size: 1rem; color: #999; }
.yazilim-fiyat-box .fiyat-eski-line .eski-fiyat { text-decoration: line-through; margin-right: 10px; font-weight: 500; }
.yazilim-fiyat-box .fiyat-eski-line .discount-percentage {
    background-color: #dc3545; color: #fff; padding: 2px 8px; border-radius: 4px; font-weight: 700; font-size: 0.8rem; margin-left: 5px; 
}
.yazilim-fiyat-box .kdv-badge {
    background: var(--wl-primary-gradient) !important; border: none !important; color: var(--wl-white) !important;
    font-weight: 700; font-size: 0.7rem; padding: 3px 6px; border-radius: 4px; margin-left: 5px;
}
.yazilim-fiyat-box .btn { border-radius: 10px; font-weight: 600; padding: 14px 30px; }
.yazilim-kategoriler .badge {
  font-size: 0.9rem; font-weight: 500; padding: 0.5em 1em;
  background-color: var(--wl-primary-light) !important; color: var(--wl-primary-dark) !important; border: 1px solid var(--wl-primary);
}
.yazilim-tabs .nav-link { font-size: 1.1rem; font-weight: 600; color: var(--wl-body-text); }
.yazilim-tabs .nav-link.active { color: var(--wl-primary); border-color: var(--wl-primary) var(--wl-primary) #fff; }
.sss-accordion .accordion-item { border-color: var(--wl-gray); }
.sss-accordion .accordion-button { font-weight: 600; font-size: 1.1rem; color: var(--wl-dark); }
.sss-accordion .accordion-button:not(.collapsed) { background-color: var(--wl-primary-light); color: var(--wl-dark); box-shadow: none; }
.sss-accordion .accordion-button:focus { box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.25); }
.galeri-slider { border: 1px solid var(--wl-gray); border-radius: 10px; overflow: hidden; }
.galeri-slider .swiper-slide { aspect-ratio: 16 / 9; }
.galeri-slider .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }
.galeri-slider .swiper-pagination-bullet-active { background-color: var(--wl-primary); }

/* --- 15. Blog Sayfaları --- */
.blog-card {
  border: none; border-radius: 10px; overflow: hidden;
  background: var(--wl-white); transition: all 0.3s ease;
  height: 100%; display: flex; flex-direction: column;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}
.blog-card:hover { box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); transform: translateY(-8px); }
.blog-card .card-img-container { aspect-ratio: 16 / 9; overflow: hidden; }
.blog-card .card-img-top { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .card-img-top { transform: scale(1.05); }
.blog-card .card-body { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-card .card-meta { font-size: 0.85rem; color: #6c757d; margin-bottom: 10px; }
.blog-card .card-meta span { margin-right: 15px; }
.blog-card .card-meta i { color: var(--wl-primary); margin-right: 5px; }
.blog-card .card-title { font-size: 1.3rem; font-weight: 600; margin-bottom: 1rem; }
.blog-card .card-title a { color: var(--wl-dark); text-decoration: none; transition: color 0.3s; }
.blog-card .card-title a:hover { color: var(--wl-primary); }
.blog-card .card-text { flex-grow: 1; }
.blog-card .btn-outline-primary { padding: 8px 20px; font-size: 0.9rem; align-self: flex-start; box-shadow: none; }
.blog-card .btn-outline-primary:hover { box-shadow: none; }

.sidebar-widget {
  background: var(--wl-white); border: 1px solid var(--wl-gray);
  border-radius: 10px; padding: 25px; margin-bottom: 2rem;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
}
.sidebar-widget.arama-widget { background-color: var(--wl-light); border: none; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05); }
.sidebar-widget .sidebar-counts { font-size: 0.95rem; color: var(--wl-body-text); }
.sidebar-widget .sidebar-counts p { line-height: 1.4; }
.sidebar-widget h4 {
  font-size: 1.4rem; font-weight: 700; color: var(--wl-dark); margin-bottom: 1.5rem; border-bottom: 3px solid var(--wl-primary);
  padding-bottom: 10px; display: inline-block;
}
.sidebar-widget ul { list-style: none; padding-left: 0; }
.sidebar-widget ul li a {
  color: var(--wl-body-text); text-decoration: none; transition: all 0.3s; display: flex; justify-content: space-between; align-items: center; 
  padding: 10px 5px; border-bottom: 1px dashed var(--wl-gray); font-weight: 500; border-radius: 5px; 
}
.sidebar-widget ul li a:hover { color: var(--wl-primary); background-color: var(--wl-primary-light); border-color: transparent; transform: translateX(0); }
.sidebar-widget ul li a .badge { background-color: var(--wl-gray); color: var(--wl-dark); border-radius: 5px; }
.sidebar-widget ul li a:hover .badge { background-color: var(--wl-primary); color: var(--wl-white); }
.sidebar-widget.kategori-widget ul li.active-filter a {
    color: var(--wl-white) !important; background: var(--wl-primary-gradient) !important;
    border-color: var(--wl-primary) !important; border-radius: 5px; font-weight: 600 !important;
}
.sidebar-widget.kategori-widget ul li.active-filter a .badge { background-color: var(--wl-primary-dark) !important; color: var(--wl-white) !important; }

.sidebar-widget .tag-cloud a {
  display: inline-block; background-color: var(--wl-light); border: 1px solid var(--wl-gray); color: var(--wl-body-text);
  padding: 6px 14px; border-radius: 20px; margin: 5px; text-decoration: none; transition: all 0.3s; font-size: 0.9rem;
}
.sidebar-widget .tag-cloud a:hover { background: var(--wl-primary-gradient); color: var(--wl-white); border-color: var(--wl-primary); }

.blog-detail-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 1rem 0; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.blog-detail-content h1, .blog-detail-content h2, .blog-detail-content h3, .blog-detail-content h4 { font-weight: 700; color: var(--wl-dark); margin-top: 2rem; margin-bottom: 1rem; }
.blog-detail-content blockquote { border-left: 4px solid var(--wl-primary); padding: 1rem 1.5rem; background-color: var(--wl-light); font-style: italic; font-size: 1.1rem; margin: 1.5rem 0; }
.pagination {
  --bs-pagination-color: var(--wl-primary); --bs-pagination-hover-color: var(--wl-primary-dark); --bs-pagination-focus-color: var(--wl-primary);
  --bs-pagination-active-bg: var(--wl-primary); --bs-pagination-active-border-color: var(--wl-primary); --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.25);
}

/* --- 16. Müşteri Portalı --- */
.list-group-item-action {
    color: var(--wl-body-text); padding: 1rem 1rem; transition: all 0.2s; border-left: 5px solid transparent;
}
.list-group-item-action:hover {
    background-color: var(--wl-light) !important; color: var(--wl-dark) !important; border-left: 5px solid var(--wl-gray) !important;
}
.list-group-item-action.active, .list-group-item-action.active:hover {
    background-color: var(--wl-primary-light) !important; color: var(--wl-dark) !important; border-left: 5px solid var(--wl-primary) !important; font-weight: 600;
}
.list-group-item-action.active i { color: var(--wl-primary); }
.portal-container { border: 1px solid var(--wl-gray) !important; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07) !important; }
.portal-sidebar .list-group-flush { padding-top: 0 !important; padding-bottom: 0 !important; }
.portal-content { min-height: 70vh; }

/* --- 17. PROFESYONEL GİRİŞ/KAYIT SAYFALARI --- */
body.auth-page-kurumsal {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 2rem; background-size: cover; background-position: center;
  background-repeat: no-repeat; position: relative;
}
body.auth-page-kurumsal::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(44, 62, 80, 0.7); z-index: 0; }
.auth-wrapper-kurumsal { position: relative; z-index: 1; width: 100%; max-width: 450px; display: flex; flex-direction: column; align-items: center; }
.auth-logo-kurumsal { display: block; margin-bottom: 2rem; }
.auth-logo-kurumsal img { 
    max-height: 120px; width: auto; object-fit: contain; transition: all 0.3s ease; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
}
.auth-logo-kurumsal img:hover { transform: scale(1.03); }
.auth-box-kurumsal {
  width: 100%; background: var(--wl-white); border: 1px solid var(--wl-gray); border-radius: 0.75rem; 
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); padding: 2.5rem;
}
.auth-box-kurumsal .auth-title { font-size: 1.8rem; font-weight: 700; color: var(--wl-dark); text-align: center; margin-bottom: 0.5rem; }
.auth-box-kurumsal .auth-subtitle { text-align: center; color: var(--wl-body-text); margin-bottom: 2rem; }
.auth-box-kurumsal .form-control { border-radius: 0.5rem; }
.auth-box-kurumsal .form-floating > .form-control:focus ~ label { color: var(--wl-primary); }
.auth-box-kurumsal .form-control:focus { border-color: var(--wl-primary); box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.25); }
.auth-box-kurumsal .btn-primary { padding: 0.75rem; font-size: 1rem; font-weight: 600; border-radius: 0.5rem; }
.auth-box-kurumsal .btn-primary:hover { background: var(--wl-primary-dark); border-color: var(--wl-primary-dark); }
.auth-box-kurumsal .btn-primary:focus { box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.5); }
.auth-footer-links { text-align: center; margin-top: 1.5rem; color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; }
.auth-footer-links a { color: var(--wl-white); text-decoration: none; }
.auth-footer-links a:hover { text-decoration: underline; }

/* --- 18. Sepet ve Görsel Stilleri --- */
.sepet-gorsel { width: 80px; height: 60px; object-fit: cover; border-radius: 5px; border: 1px solid var(--wl-gray); }
.sepet-adet-input { max-width: 70px; text-align: center; }
.sepet-adet-input[type='number'] { -moz-appearance: textfield; }
.sepet-adet-input::-webkit-outer-spin-button, .sepet-adet-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sayfa-ana-gorsel-container { max-height: 450px; overflow: hidden; border-radius: 0.75rem; margin-bottom: 2.5rem; background-color: var(--wl-light); }
.sayfa-ana-gorsel-container img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }

/* Dashboard İstatistik Kartları */
.card-stats { border: 1px solid var(--admin-border); transition: all 0.2s ease; }
.card-stats:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.07); }
.card-stats .card-title { font-size: 0.8rem; letter-spacing: 0.5px; font-weight: 700; }
.card-stats .h2 { font-size: 1.75rem; line-height: 1.1; font-weight: 700; }
.card-stats .icon-shape { font-size: 1.25rem; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: white; border-radius: 50%; }
.card-stats .icon-shape.bg-soft-primary { background: var(--wl-primary-gradient); } 
.card-stats .icon-shape.bg-soft-info { background-color: var(--wl-primary-blue); } 
.card-stats .icon-shape.bg-soft-warning { background-color: var(--wl-primary-dark); } 
.card-stats .icon-shape.bg-soft-danger { background-color: var(--wl-dark); } 


/* =========================================================================
   --- 19. RESPONSIVE (MOBİL) AYARLAR - GELİŞTİRİLMİŞ VE KONSOLİDE EDİLMİŞ ---
   ========================================================================= */

/* --- TABLET VE MOBİL ORTAK (Maks 991.98px) --- */
@media (max-width: 991.98px) {
  /* Menü Kutusu */
  .navbar-main .navbar-collapse {
    background-color: var(--wl-white); padding: 15px; border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); margin-top: 10px;
  }
  
  /* Menü İçindeki Aksiyon Butonları (Giriş/Kayıt/Sepet) */
  .navbar-main .collapse .d-flex {
    flex-direction: column; align-items: stretch !important; 
    padding-top: 15px; border-top: 1px solid var(--wl-gray); 
    margin-top: 10px; gap: 10px;
  }
  .navbar-main .d-flex .btn {
    width: 100%; text-align: center; padding: 12px 15px; 
    font-size: 1rem; margin-right: 0 !important; margin-bottom: 0; 
    border-radius: 8px !important; 
  }
  .navbar-main .collapse .btn-cart-icon {
     margin-top: 5px;
     width: 100%; border-radius: 8px; 
     padding: 12px 0;
  }
  
  /* Sticky Sidebar (Mobilde iptal edilir) */
  .sticky-sidebar-wrapper {
      position: static !important; 
      top: auto;
  }
}

/* --- KÜÇÜK MOBİL EKRANLAR (Maks 767.98px) --- */
@media (max-width: 767.98px) {
  
  /* --- YENİ EKLENDİ: Header Logo Mobil Boyutlandırması --- */
  .navbar-main .navbar-brand img {
      max-height: 50px !important;
      max-width: 65vw;
      object-fit: contain;
  }
  .auth-logo-kurumsal img {
      max-height: 80px; 
      max-width: 100%;
  }

  /* Topbar'ı mobilde gizle */
  .topbar-right-content { display: none; }
  
  /* Başlıklar ve Yazılar */
  .section-title { margin-bottom: 2.5rem; }
  .section-title h2 { font-size: 2.2rem; }
  .section-title p { font-size: 1.05rem; }
  
  /* Hero Slider Yüksekliği ve Yazıları */
  .hero-slider .swiper-slide { min-height: 400px; height: 60vh; }
  .hero-slider .slide-content h1 { font-size: 2.2rem; }
  .hero-slider .slide-content p { font-size: 1.1rem; }
  
  /* Hizmet ve Giriş Kutuları boşlukları */
  .hizmet-kutu { padding: 30px 20px; }
  .auth-box-kurumsal { padding: 1.5rem; }
  
  /* Alt Bilgi (Footer) Ortalaması */
  .site-footer { text-align: center; }
  .site-footer .footer-logo { margin: 0 auto 1.5rem auto; display: block; }
  .site-footer .sosyal-medya { display: flex; justify-content: center; gap: 10px; margin-top: 10px;}
  .site-footer .sosyal-medya a { margin-right: 0; }

  /* =================================================================
     MOBİLDE WHATSAPP BUTONU BOYUT OPTİMİZASYONU
     ================================================================= */
  .whatsapp-float {
    width: 50px; 
    height: 50px;
    bottom: 20px; 
    right: 20px;
  }
  .whatsapp-float i, .whatsapp-float svg { 
    font-size: 28px; 
  }
}

/* --- MİNİ EKRANLAR VE KART DÜZENİ (Maks 480px) --- */
@media (max-width: 480px) {
  /* Ürün Kartlarındaki Fiyat ve Sepet Alanının Kusursuz Ortalanması */
  .fiyat-ve-ikonlar-satiri {
      justify-content: center;
      flex-direction: column;
      gap: 15px;
  }
  .fiyat-icerik {
      width: 100%; 
      text-align: center;
  }
  .fiyat-yeni {
      justify-content: center; 
  }
  .kart-ikonlari {
      width: 100%;
      justify-content: center; 
  }
}