/* =========================================================
   SAMSUN ÇARŞI - E-TİCARET TEMASI (FINAL STYLE)
   ========================================================= */

/* --- 1. FONTLAR VE CSS DEĞİŞKENLERİ --- */
@import url("https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  /* --- FONTLAR (SEMANTIC NAMING) --- */
  --font-body: "Poppins", sans-serif;
  --font-heading: "Jost", sans-serif;

  /* --- RENKLER (SEMANTIC NAMING) --- */
  --brand-primary: #0071bc; /* Ana Kurumsal Mavi */
  --brand-secondary: #09bfad; /* Tamamlayıcı Turkuaz */
  --brand-action: #ff3366; /* Eylem Rengi */

  --text-main: #333333;
  --text-muted: #666666;

  --bg-soft: #f8f9fa;
  --border-color: #eeeeee;
}

/* --- 2. GENEL AYARLAR --- */
body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --- 3. TİPOGRAFİ ÖZELLEŞTİRMELERİ --- */
h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.nav-link,
.btn,
.offcanvas-title,
.wh-header,
.page-header h1,
.camp-tag {
  font-family: var(--font-heading);
  letter-spacing: -0.5px;
}

/* --- 4. HEADER & NAVİGASYON --- */
.top-bar {
  background-color: var(--brand-action);
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 5px 20px;
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: -1px;
  font-size: 1.6rem;
}

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: #444;
  padding: 10px 15px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--brand-action);
}

.offcanvas-header {
  border-bottom: 1px solid var(--border-color);
}
.offcanvas-body .nav-link {
  font-size: 1.1rem;
  color: var(--text-main);
}

/* --- 5. HERO SLIDER (BANNER) DÜZELTİLMİŞ AYARLAR --- */

/* Genel Ayarlar */
.hero-slider-item {
  position: relative;
  width: 100%;
  /* Sabit yükseklik VERMİYORUZ, içerik kadar uzasın */
}

.hero-img {
  width: 100%;
  height: auto; /* KİLİT NOKTA BURASI: Yüksekliği otomatik ayarla */
  display: block;
}

/* MASAÜSTÜ GÖRÜNÜM (992px ve üzeri) */
@media (min-width: 992px) {
  .hero-img {
    /* Masaüstü resminin orijinal en/boy oranını korur */
    /* Eğer resim 1920x600 ise oran yaklaşık 3.2'dir */
    aspect-ratio: 1920 / 600;
    object-fit: contain; /* Resmi asla kesme, kutuya sığdır */
  }
}

/* MOBİL GÖRÜNÜM (991px ve altı - Tablet ve Telefon) */
@media (max-width: 991px) {
  .hero-img {
    /* Mobil resmin orijinal en/boy oranını korur */
    aspect-ratio: 800 / 860;
    object-fit: contain;
  }
}

/* --- 6. ÖZELLİK KUTULARI (FEATURES) --- */
.feature-box {
  height: 100%;
  color: white;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.bg-f1 {
  background-color: #ff6b6b;
}
.bg-f2 {
  background-color: #ff9f43;
}
.bg-f3 {
  background-color: #00d2d3;
}
.bg-f4 {
  background-color: #ff4757;
}

/* --- 7. BANNERLAR --- */
.banner-img-container {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.banner-img-container img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.banner-img-container:hover img {
  transform: scale(1.08);
}

/* --- 8. SLIDER YAPISI (MARKALAR) --- */
.slider-track,
.gallery-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 5px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.slider-track::-webkit-scrollbar,
.gallery-track::-webkit-scrollbar {
  display: none;
}

.brand-logo-box {
  min-width: 140px;
  height: 80px;
  border: 1px solid var(--border-color);
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  /* Burada padding yok, flex center ortalıyor. */
}
.brand-logo-box img {
  /* DEĞİŞİKLİK BURADA: %80 yerine %95 yaptık */
  max-width: 95%; /* Kenarlara çok daha yaklaşsın */
  max-height: 95%; /* Üst ve alta çok daha yaklaşsın */
  object-fit: contain; /* Resim orantısını asla bozma, sığdır */

  filter: grayscale(100%);
  opacity: 0.6;
  transition: 0.3s;
}
.brand-logo-box:hover {
  border-color: var(--brand-primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.brand-logo-box:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* --- 9. FOOTER --- */
footer {
  background-color: var(--brand-primary);
  color: white;
  font-size: 0.9rem;
}
.footer-logo span {
  color: #8ecae6;
}

.working-hours-card {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);

  /* YENİ EKLENEN AYARLAR (DARALTMA) */
  max-width: 320px; /* Kutuyu daraltır (İstediğin kadar küçültebilirsin) */
  margin: 0 auto; /* Kutuyu bulunduğu sütunda ortalar */
  width: 100%; /* Mobilde ekranın tamamını kaplamaya çalışsın ama max-width'i geçemesin */
}
.wh-header {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 12px;
  font-weight: 700;
  font-size: 1.1rem;
}
.wh-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 15px; /* Standart boşluğa geri döndük */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.wh-row.dark {
  background-color: rgba(0, 0, 0, 0.2);
}
.wh-row.light {
  background-color: rgba(255, 255, 255, 0.2);
}

/* --- 10. DİĞER SAYFALAR İÇİN ORTAK STİLLER --- */
.page-header {
  background-color: var(--bg-soft);
  padding: 50px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
}
.page-header h1 {
  color: var(--brand-primary);
  font-weight: 700;
}
.page-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 10px;
}

/* Kurumsal Yeşil Alan */
section[style*="--samsun-teal"] {
  background-color: var(--brand-secondary) !important;
}

/* Hakkımızda, Markalar ve İletişim... */
.gallery-item {
  min-width: 300px;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img {
  transform: scale(1.1);
}

/* Markalar Arama */
.search-container {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-color);
}
.search-box input {
  border-radius: 50px;
  padding-left: 50px;
  border: 2px solid #ddd;
  height: 55px;
}
.search-box input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(0, 113, 188, 0.1);
}
.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 1.2rem;
}

.brand-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: all 0.3s;
  background: #fff;
  padding-bottom: 20px;
}
.brand-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.brand-card-img {
  height: 160px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--bg-soft);
}
.brand-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}
.brand-card:hover .brand-card-img img {
  transform: scale(1.1);
}
.floor-badge {
  background-color: var(--bg-soft);
  color: var(--brand-primary);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 5px;
  display: inline-block;
}

/* Kampanyalar */
.campaign-card {
  border: 1px solid var(--border-color);
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.campaign-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.camp-img-box {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.camp-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.campaign-card:hover .camp-img-box img {
  transform: scale(1.1);
}
.camp-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--brand-action);
  color: #fff;
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 700;
  z-index: 2;
}
.camp-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.camp-btn {
  margin-top: auto;
  color: var(--brand-primary);
  font-weight: 600;
}
.camp-btn:hover {
  color: var(--brand-action);
}

/* İletişim */
.map-section iframe {
  filter: grayscale(20%);
}
.contact-col h3 {
  border-bottom: 3px solid var(--brand-primary);
  padding-bottom: 10px;
  margin-bottom: 20px;
  display: inline-block;
  font-size: 1.3rem;
}
.contact-col i {
  width: 25px;
  color: var(--brand-primary);
  text-align: center;
}
.bank-table {
  border: 1px solid #dee2e6;
  margin-bottom: 0;
}
.bank-table th {
  background-color: #e9ecef;
  font-weight: 700;
}
.bank-name-row td {
  background-color: var(--bg-soft);
  color: var(--brand-primary);
  font-weight: 600;
}
.warning-text {
  color: #dc3545;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 15px;
}

/* --- KOPYALAMA BUTONU TASARIMI (MOBİL UYUMLU DÜZELTME) --- */
.btn-copy-custom {
  border: none;
  background-color: transparent;
  color: #999;

  /* Şekli tam yuvarlak zorlamak için kritik ayarlar: */
  width: 36px;
  height: 36px;
  min-width: 36px; /* Mobilde asla daralmasın */
  min-height: 36px; /* Mobilde asla basıklaşmasın */
  padding: 0; /* Bootstrap'ın varsayılan padding'ini sil (ÇOK ÖNEMLİ) */
  flex-shrink: 0; /* Flex yapısında sıkışmayı önle */

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
  font-size: 1.1rem;
}

/* Üzerine gelince belirginleşsin */
.btn-copy-custom:hover {
  background-color: var(--bg-soft);
  color: var(--brand-primary);
  transform: scale(1.1);
}

/* Kopyalandıktan sonraki yeşil hal */
.btn-copy-custom.copied {
  background-color: #198754 !important;
  color: white !important;
}

/* =========================================================
   11. MARKALAR SAYFASI & FİLTRELEME SİSTEMİ
   ========================================================= */

/* --- ARAMA VE FİLTRE KONTEYNERİ --- */
.filter-container {
  background-color: var(--bg-soft); /* #f8f9fa */
  border-radius: 12px;
  padding: 25px;
  border: 1px solid var(--border-color); /* #eeeeee */
  margin-bottom: 30px;
}

/* --- FORM ELEMANLARI (Input ve Select) --- */
.filter-container .form-control-lg,
.filter-container .form-select-lg {
  font-size: 1rem;
  padding: 15px 20px;
  border-radius: 50px; /* Modern yuvarlak hatlar */
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  height: auto; /* Yükseklik çakışmalarını önler */
}

.filter-container .form-control-lg:focus,
.filter-container .form-select-lg:focus {
  border-color: #aaa;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
  outline: none;
}

/* Arama İkonu Konumu */
.search-input-wrapper {
  position: relative;
}

.search-input-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none; /* Tıklamayı engelle */
}

/* --- TEMİZLE BUTONU --- */
#clearBtnArea {
  display: none; /* Başlangıçta gizli */
  margin-top: 15px;
  text-align: center;
}

#clearFilters {
  font-size: 0.9rem;
  padding: 8px 20px;
  border-radius: 50px;
  transition: all 0.3s;
}

#clearFilters:hover {
  background-color: #dc3545;
  color: white;
}

/* --- MARKA KARTLARI (GÜNCELLENMİŞ) --- */
/* Not: Mevcut .brand-card stilini eziyoruz veya güncelliyoruz */

.brand-card {
  border: 1px solid var(--border-color);
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: #ddd;
}

/* Kart Resim Alanı */
.brand-card-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: #fff;
  border-bottom: 1px solid #fafafa;
}

.brand-card-img img {
  max-height: 160px;
  max-width: 90%;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.brand-card:hover .brand-card-img img {
  transform: scale(1.08);
}

/* Kart Gövdesi (Yazı Alanı) */
.brand-card-body {
  padding: 15px;
  flex-grow: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

/* Bilgi Satırları (Kat ve Reyon) */
.info-item {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  line-height: 1.4;
}

.info-item i {
  width: 18px;
  margin-right: 4px;
  opacity: 0.7;
}

/* Renkli İkonlar */
.info-item i.fa-building {
  color: var(--brand-primary);
}
.info-item i.fa-tags {
  color: #f0ad4e; /* Sarı ton */
}

/* --- SONUÇ BULUNAMADI ALANI --- */
#noResult {
  display: none;
  text-align: center;
  padding: 50px 0;
}

#noResult i {
  color: var(--text-muted);
  opacity: 0.5;
  margin-bottom: 15px;
}

/* =========================================================
   12. YATAY KAYDIRMALI KAMPANYA ALANI (STORY MOD)
   ========================================================= */

/* --- KAPLAYICI ALAN --- */
.scrolling-wrapper {
  display: flex; /* Yan yana diz */
  gap: 15px; /* Kartlar arası boşluk */
  overflow-x: auto; /* Yatayda taşarsa kaydır */
  padding-bottom: 15px; /* Kaydırma çubuğu için alt boşluk */
  scroll-behavior: smooth; /* Yumuşak kaydırma */

  /* Kaydırma çubuğunu gizle (Opsiyonel - Daha temiz görünüm için) */
  -webkit-overflow-scrolling: touch; /* Mobilde akıcı kaydırma */
  scrollbar-width: none; /* Firefox için gizle */
}

/* Chrome/Safari için kaydırma çubuğunu gizle */
.scrolling-wrapper::-webkit-scrollbar {
  display: none;
}

/* --- KART TASARIMI --- */
.promo-card {
  /* Mobilde kartın sabit genişliği (Ekrana 1.5 kart sığsın diye) */
  flex: 0 0 160px; /* Genişlik 160px olsun, küçülmesin */
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.promo-card a {
  display: block;
  width: 100%;
  height: 100%;
}

.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Resmi kutuya doldur */
  aspect-ratio: 3 / 4; /* HAFİF DİKEY FORMAT (3 birim en, 4 birim boy) */
  display: block;
  transition: transform 0.5s;
}

/* Hover Efekti */
.promo-card:hover {
  transform: translateY(-5px);
}
.promo-card:hover img {
  transform: scale(1.05);
}

/* Kart üzerindeki yazı alanı (Opsiyonel) */
.promo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 20px 10px 10px 10px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
}

/* --- MASAÜSTÜ GÖRÜNÜMÜ (Responsive Ayarı) --- */
@media (min-width: 992px) {
  .scrolling-wrapper {
    display: grid; /* Grid sistemine geç */
    /* Ekrana sığdığı kadar kolon aç (Otomatik) veya sabit sayı verelim */
    grid-template-columns: repeat(4, 1fr); /* Yan yana 4 tane */
    overflow-x: visible; /* Kaydırmayı kapat */
    padding-bottom: 0;
  }

  .promo-card {
    flex: none; /* Mobil ayarını iptal et */
    width: auto; /* Genişlik otomatik */
  }
}

/* Kampanya Kartı Üzerindeki Yazı Stili */
.promo-text {
  color: #fff;
  display: block;

  /* İnce Yazı Ayarı */
  font-weight: 400;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);

  /* MASAÜSTÜ VARSAYILAN AYARLAR */
  font-size: 1.1rem;
  line-height: 1.3;
  letter-spacing: -0.2px;

  /* Uzun metinleri sınırla */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* MOBİL GÖRÜNÜM (991px ve altı) */
@media (max-width: 991px) {
  .promo-text {
    font-size: 0.8rem !important;
    font-weight: 500;
    line-height: 1.25;
  }

  .promo-overlay {
    /* 1. DEĞİŞİKLİK: Yükseklik düşürüldü (%55 -> %40) */
    height: 40% !important;

    /* Hizalama: Yazıyı en alta it */
    align-items: flex-end !important;

    /* 2. DEĞİŞİKLİK: Alt boşluk biraz daha kısıldı (15px -> 10px) */
    padding-bottom: 10px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

/* =========================================================
   13. KAMPANYALAR & YENİ SEZON SAYFASI
   ========================================================= */

/* KART GENEL YAPISI */
.campaign-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.campaign-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* RESİM ALANI (DİKEY - 3:4 POSTER MODU) */
.camp-img-box {
  width: 100%;
  height: auto; /* Önceden kalan 220px sınırını kaldırıyoruz */
  aspect-ratio: 3 / 4; /* 600x800 tam olarak bu orandır (Genişlik 3, Yükseklik 4) */
  position: relative;
  overflow: hidden;
  background-color: var(--bg-soft);
}

.camp-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
  transition: transform 0.5s ease;
}

.campaign-card:hover .camp-img-box img {
  transform: scale(1.05); 
}

/* ETİKET (BADGE) */
.camp-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  color: #fff;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* İÇERİK ALANI */
.camp-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #f0f0f0;
}

.camp-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.camp-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* =========================================================
   14. HAKKIMIZDA SAYFASI ÖZEL STİLLERİ
   ========================================================= */

/* Galeri Butonları (Sağ/Sol Oklar) */
.gallery-btn {
    width: 50px; 
    height: 50px;
    transition: all 0.3s ease;
    border: 1px solid #eee; /* Hafif bir sınır ekledik */
    z-index: 10; /* Resimlerin üzerinde kalsın */
}

.gallery-btn:hover {
    background-color: var(--brand-primary) !important;
    transform: translateY(-50%) scale(1.1); /* Hafif büyüme */
    border-color: var(--brand-primary);
}

.gallery-btn:hover i {
    color: #fff !important;
}

/* Galeri Rayı (Track) - Yan yana dizilim için */
.gallery-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 15px 5px; /* Üstten alttan boşluk (gölge kesilmesin diye) */
    scrollbar-width: none; /* Firefox için barı gizle */
    -ms-overflow-style: none; /* IE/Edge için */
}

.gallery-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari için barı gizle */
}

/* Galeri Elemanı (Kart) */
.gallery-item {
    flex: 0 0 auto; /* Resimlerin sıkışmasını engeller */
    width: 300px;
    height: 300px;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-8px); /* Hafif yukarı kalkma efekti */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.1); /* Resim içi zoom efekti */
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .gallery-item {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    
    /* Hakkımızda içerik metnini mobilde küçült */
    .card-body .fs-5 {
        font-size: 0.95rem !important; /* Masaüstünde 1.25rem idi, burada düşürdük */
        line-height: 1.6 !important;   /* Satır arasını mobilde biraz daha sıkılaştırdık */
        text-align: justify;           /* Mobilde metni iki yana yasla (daha düzenli durur) */
    }

    /* "HAKKIMIZDA" Ana Başlığını mobilde küçült */
    .page-header h1 {
        font-size: 2rem !important;
    }

    /* "Biz kimiz?" altındaki slogan başlığı küçült */
    .card-body h2 {
        font-size: 1.3rem !important;
        line-height: 1.3 !important;
    }

    /* Kartın iç boşluğunu mobilde azalt (Ekrana sığsın) */
    .card-body {
        padding: 1.5rem !important;
    }
}

/* =========================================================
   16. MOBİL UYUMLULUK (ANASAYFA KURUMSAL YAZI ALANI)
   ========================================================= */

@media (max-width: 768px) {
    /* Anasayfadaki "Keyif, Eğlence..." yazan renkli alanın başlığı */
    section.text-white h2.fw-bold {
        font-size: 1.4rem !important; /* Başlığı mobilde küçült */
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }

    /* Altındaki açıklama metinleri (.lead sınıfı dahil) */
    section.text-white p.lead,
    section.text-white p {
        font-size: 0.95rem !important; /* Okunabilir boyuta çek */
        line-height: 1.6 !important;
        opacity: 0.9 !important;       /* Mobilde biraz daha net görünsün */
        text-align: justify;           /* Metni iki yana yasla */
    }
}
