/* =========================
   ROOT / THEME
========================= */
:root {
  --bg-dirty-white: #f7f7f7;
  --text-dark: #333;
  --text-gray: #666;
  --border-soft: #e5e5e5;
}

/* =========================
   RESET
========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, Arial, sans-serif;
  background: #fff;
  color: var(--text-dark);
}

/* =========================
   HERO SLIDER
========================= */
.bg-hero-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.bg-hero-slider-track {
  display: flex;
  height: 100%;
  transition: transform .6s ease;
}

.bg-hero-slide {
  flex: 0 0 100%;
}

.bg-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* =========================
   SLIDER OKLARI (FINAL CLEAN)
========================= */

.bg-hero-slider {
  position: relative;
  overflow: hidden;
}

.bg-hero-prev,
.bg-hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;

  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.5);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
}

.bg-hero-prev { left: 15px; }
.bg-hero-next { right: 15px; }
/* =========================
   PRODUCT GRID
========================= */
.bgwoclineibrahim_products {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.bgwoclineibrahim_card {
  flex: 1 1 calc(33.333% - 20px);
  max-width: 360px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 15px;
  text-align: center;
}

.bgwoclineibrahim_card img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* =========================
   GALERI (STABLE)
========================= */
.askimslayfox_wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 60px auto;
}

.askimslayfox_title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 25px;
}

.askimslayfox_container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
  gap: 20px;
}

.askimslayfox_item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.askimslayfox_item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: .3s;
}

.askimslayfox_item:hover img {
  transform: scale(1.05);
  filter: brightness(.7);
}

.askimslayfox_comment {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
}

/* =========================
   MODAL (CLEAN FIX)
========================= */
.askimslayfox_modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.askimslayfox_modal.active {
  display: flex;
}

.askimslayfox_modal_content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
}

.askimslayfox_modal img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

/* =========================
   X BUTTON (SAGLAM FIX)
========================= */
.askimslayfox_close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 100000;
}

/* =========================
   MODAL ARROWS (FIXED CENTER)
========================= */
.askimslayfox_nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100000;

  width: 45px;
  height: 45px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.5);
  color: #fff;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
}

.askimslayfox_prev {
  left: 10px;
}

.askimslayfox_next {
  right: 10px;
}

/* =========================
   MOBILE FIX
========================= */
/* Tablet */
@media (max-width: 1024px) {
  .bg-hero-slider {
    width: 100%;
    height: auto;   /* 500px yerine otomatik */
  }
  .bg-hero-slider-track {
    height: auto;   /* track de otomatik */
  }
  .bg-hero-slide {
    flex: 0 0 100%;
  }
  .bg-hero-slide img {
    width: 100%;
    height: auto;   /* resim genislige göre yükseklik alir */
    object-fit: cover;
  }
  .bg-hero-prev,
  .bg-hero-next {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
.askimslayfox_modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.askimslayfox_modal.active {
  display: flex;
}

.askimslayfox_modal_content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
}

.askimslayfox_modal img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}
/* Mobil */
@media (max-width: 768px) {
  .bg-hero-slider {
    width: 100%;
    height: auto;
  }
  .bg-hero-slider-track {
    height: auto;
  }
  .bg-hero-slide {
    flex: 0 0 100%;
  }
  .bg-hero-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }
  .bg-hero-prev,
  .bg-hero-next {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
.askimslayfox_modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.askimslayfox_modal.active {
  display: flex;
}

.askimslayfox_modal_content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
}

.askimslayfox_modal img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}
/* Küçük mobil */
@media (max-width: 480px) {
  .bg-hero-slider {
    width: 100%;
    height: auto;
  }
  .bg-hero-slider-track {
    height: auto;
  }
  .bg-hero-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .bg-hero-prev,
  .bg-hero-next {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
.askimslayfox_modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.askimslayfox_modal.active {
  display: flex;
}

.askimslayfox_modal_content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
}

.askimslayfox_modal img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}