body {
    background: #f2f2f2;
    font-family: Arial, sans-serif;
}
.footertext {
    font-family: Arial, sans-serif;
    font-size: 12px;
}
.swiper {
    width: 100%;
    height: 342px;
    margin: 10px auto;
}
.swiper-slide {
    background: #f2f2f2;
    width: 520px; /* öndeki kartın genişliği */
    height: 342px; /* öndeki kartın yüksekliği */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    /*box-shadow: 0 8px 25px rgba(0,0,0,0.25);*/
    transition: all 0.6s ease;
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* sadece aktif slide tıklanabilir */
.swiper-slide a {
    pointer-events: none;
    display: block;
    width: 100%;
    height: 100%;
}
.swiper-slide-active a {
    pointer-events: auto;
}

/* aktif slide net */
.swiper-slide-active {
    filter: blur(0);
    opacity: 1;
    z-index: 5;
}

/* yanlardakiler biraz küçük + bulanık */
.swiper-slide-next,
.swiper-slide-prev {
    filter: blur(4px);
    opacity: 0.9;
    z-index: 4;
}

/* daha dıştakiler daha küçük + daha bulanık */
.swiper-slide-next + .swiper-slide,
.swiper-slide-prev + .swiper-slide {
    /*filter: blur(5px);
    opacity: 0.6;*/
    z-index: 3;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .swiper {
      height: 330px;
  }
  .swiper-slide {
      width: 100%;
      height: 300px;
  }
}
@media (max-width: 480px) {
  .swiper {
      height: 250px;
  }
  .swiper-slide {
      width: 100%;
      height: 220px;
  }
}

.bg-renk {background: #f2f2f2;}

/* Marquee */
.marquee-box {
    width: 100%;
    height: 110px;
    overflow: hidden;
    position: relative;
    background: #f2f2f2;
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.marquee-track {
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 18px;
    will-change: transform;
}

.gold-item img {
    width: 152px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.gold-item {
    display: inline-flex;
    align-items: center;
}


/* === BOŞ DURUMU === */
.emptyBox {
    grid-column: 1 / -1;
    padding: 40px 20px;
    text-align: center;
    font-size: 16px;
    color: #888;
    background: #f9f9f9;
    border-radius: 10px;
    border: 2px dashed #ddd;
}

.reklamList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(470px, 1fr));
    /*gap: 20px;*/
}

.reklamCard {
    max-width: 100%;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.reklamCard img {
    width: 100%;
    height: auto;
    border-radius: 6px;/
}

.nav-search input {
  min-width: 180px;
}

@media (max-width: 768px) {
  .nav-search {
    width: 70%;
  }

  .nav-search input {
    width: 70%;
  }
}

/* Haberler listesi */
.haber-list li {
  padding: 8px 12px;
}

.haber-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Haber link */
.haber-link {
  display: block;
  width: 100%;
  font-size: 14px;
  color: #212529;              /* Bootstrap dark */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s ease;
  text-decoration: none;
}

/* Son 3 haber */
.haber-hot {
  color: #dc3545 !important;   /* Bootstrap danger */
  font-weight: 600;
}

/* Hover mutlaka çalışır */
.haber-link:hover {
  color: #0d6efd !important;   /* Bootstrap primary */
  text-decoration: underline;
}

/* Rozet + tarih */
.haber-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6c757d;
}

/* Desktop’ta yan yana */
@media (min-width: 768px) {
  .haber-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .haber-link {
    max-width: 70%;
  }
}

.kartvizit-link {
  display: block;
  width: 100%;
  font-size: 14px;
  color: #212529;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .2s ease;
  text-decoration: none;
}

.kartvizit-link:hover {
  color: #0d6efd;
  text-decoration: underline;
}

/* Kartvizit link */
.kartvizit-link {
  max-width: 170px;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #212529;
  transition: color .2s ease;
}

.kartvizit-link:hover {
  color: #0d6efd;
  text-decoration: underline;
}

/* En çok tıklananlar */
.hit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Sol grup */
.hit-left {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0; /* ÇOK ÖNEMLİ */
  flex: 1;
}

/* Firma adı */
.kartvizit-link {
  display: block;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #212529;
}

/* Hit badge sabit kalsın */
.hit-badge {
  flex-shrink: 0;
  font-size: 12px;
  background: #e9ecef;
  padding: 3px 6px;
  border-radius: 6px;
}

/* Mobilde daha da güvenli */
@media (max-width: 576px) {
  .kartvizit-link {
    max-width: 150px;
  }
}

/* Medal icons */
.medal {
  font-size: 14px;
}

.medal.gold {
  color: #f4c430; /* altın */
}

.medal.silver {
  color: #adb5bd; /* gümüş */
}

.medal.bronze {
  color: #cd7f32; /* bronz */
}

/* Trend icons */
.trend {
  font-size: 13px;
}

.trend.up {
  color: #198754; /* yeşil */
}

.trend.down {
  color: #dc3545; /* kırmızı */
}


/* KARTVİZİT DETAY */
.kartvizit-detay {
  border-radius: 16px;
  overflow: hidden;
}

.kartvizit-header {
  background: linear-gradient(135deg, #111827, #1f2933);
  color: #fff;
  padding: 30px 28px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.kartvizit-logo img {
  width: 100%;
  height: auto !important;
  object-fit: cover;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
}

.kartvizit-info {
  flex: 1;
}

.firma-adi {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.firma-meta span {
  display: inline-block;
  margin-right: 15px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.firma-sosyal a {
  color: #ffc107;
  margin-right: 10px;
  font-size: 1.2rem;
}

.firma-sosyal a:hover {
  color: #fff;
}

.kartvizit-puan {
  text-align: center;
  min-width: 110px;
}

.puan-circle {
  width: 64px;
  height: 64px;
  background: #ffc107;
  color: #000;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.firma-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;   /* SATIR KIRILMASIN */
  margin-bottom: 4px;
}

.firma-tel i {
  flex-shrink: 0;        /* ikon yukarı kaçmasın */
  font-size: 16px;
}


/* TELEFON SATIRI – GENEL */
.firma-tel a {
  color: #fff;            /* beyaz */
  text-decoration: none;
}

/* HOVER */
.firma-tel a:hover {
  color: #fff;               /* beyaz */
  text-decoration: underline;
}

/* MOBİL AYAR */
@media (max-width: 576px) {
  .firma-tel {
    justify-content: center; /* ortala */
  }
}

/* MOBİL */
@media (max-width: 768px) {
  .kartvizit-header {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .firma-meta span {
    display: block;
    margin-bottom: 5px;
  }
}
@media (max-width: 768px) {
  .kartvizit-header {
    align-items: flex-start;
  }

  .kartvizit-info {
    width: 100%;
  }
}
@media (max-width: 576px) {
  .firma-tel a {
    font-size: 15px;
  }
}

.firma-galeri .galeri-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.firma-galeri img {
  width: 100%;
  height: 160px;      /* SABİT YÜKSEKLİK */
  object-fit: cover; /* KIRP AMA BOZMA */
  transition: transform .3s ease;
}

.firma-galeri img:hover {
  transform: scale(1.08);
}

.benzerTekSwiper {
  width: 100%;
}

.benzer-tek-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: #fff;
}

.benzer-tek-card img {
  width: 100%;
  height: auto;          /* SABİT YÜKSEKLİK YOK */
  max-height: 260px;     /* masaüstü */
  object-fit: contain;  /* KESME YOK */
  background: #f5f5f5;  /* boşluklar kötü görünmesin */
  border-radius: 10px;
}

.benzer-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  border-radius: 0 0 10px 10px;
}

.benzer-overlay span {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* oklar */
.benzerTekSwiper .swiper-button-next,
.benzerTekSwiper .swiper-button-prev {
  color: #fff;
  text-shadow: 0 0 5px rgba(0,0,0,.6);
}
.benzerTekSwiper .swiper-slide {
  display: flex;
  justify-content: center;
}

/* SLIDE hizalama */
.benzerTekSwiper .swiper-slide {
  display: flex;
  justify-content: center;
}

/* MANUEL OKLAR */
.custom-prev,
.custom-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  text-shadow: 0 0 5px rgba(0,0,0,.6);
}

/* SOL - SAĞ */
.custom-prev {
  left: 10px;
}
.custom-next {
  right: 10px;
}

/* Mobilde biraz küçült */
@media (max-width: 576px) {
  .custom-prev,
  .custom-next {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .benzer-tek-card img {
    max-height: 200px;
  }
}