/* ============================
   MOBILE + TABLET: Bootstrap Collapse Menüyü Gizle
   ============================ */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    display: none !important;
  }

  .navbar-toggler {
    display: none !important;
  }
  .navbar {
    justify-content: center !important;
  }

  .navbar .container-fluid {
    justify-content: center !important;
  }

  .navbar-brand {
    margin-left: auto;
    margin-right: auto;
    position: static !important;
    transform: none !important;
  }
}
/* ============================
/* ============================
   TABLET RESPONSIVE (768px - 1199.98px)
   ============================ */
@media (min-width: 768px) and (max-width: 1199.98px) {
  body {
    overflow-x: hidden;
  }

  .hero-banner {
    margin-top: 80px;
    position: relative;
  }

  .hero-banner .hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }

  .hero-banner .hero-content {
    top: 50%;
    right: 1rem;
    left: auto;
    transform: translateY(-50%);
    max-width: 45%;
    text-align: right;
    z-index: 2;
  }
  .hero-buttons {
  position: absolute;
  right: -1rem;
}

   .main-logo {
    height: 48px;
  }

  .navbar .container-fluid {
    padding: 0 1rem;
  }

  .navbar-nav .nav-link {
    font-size: 15px;
    padding: 0 10px;
  }

  .language-switcher {
    top: 1.5rem;
    left: 2rem;
  }

  .category-cards-section .row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .category-cards-section .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  /* Banner yazı boyutları */
  .hero-banner .hero-content h1 {
    font-size: 1.75rem; /* veya 28px */
    line-height: 1.3;
  }

  .hero-banner .hero-content p {
    font-size: 1rem; /* 16px */
    line-height: 1.4;
    margin-top: 0.5rem;
  }

  .custom-other-banner-btn,
  .custom-banner-btn {
    font-size: 14px;
    padding: 0.4rem 1.25rem;
    margin-right: 2rem !important;
    /* Yan yana dizilmeyi koru */
    white-space: nowrap;
  }
  /* Category Section Button Position */
  .category-card .btn {
  position: absolute;
  bottom: 15px; /* görselin altına yapıştırdım */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(255, 255, 255, 0.9); /* okunabilirlik için hafif beyaz zemin */
  backdrop-filter: blur(4px); /* modern tarayıcılar için efekt */
}
}
/* ============================
   iPad Pro (12.9" ve benzeri)
   ============================ */
@media screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (orientation: portrait),
  screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (orientation: landscape) {
  /* Örnek: Logo biraz küçült */
  .main-logo {
    height: 48px;
    left: 19rem;
  }

  /* Menü yazı boyutunu küçült */
  .navbar-nav .nav-link {
    font-size: 15px;
    padding: 0 12px;
  }
  .navbar-nav {
    position: relative;
    right: 0.5rem;
    gap: 0.5rem;
  }

  /* Dil bayraklarının pozisyonu */
  .language-switcher {
    top: 1.5rem;
    left: 2rem;
  }

  /* Banner üst boşluk */
  .hero-banner {
    margin-top: 85px;
  }
  /* Hamburger Menüyü Gizleme */
  .custom-hamburger,
  #sideMenu,
  #menuOverlay {
    display: none !important;
  }
  /* Toggle Menü için Collapse Menüyü kaldırma kodu*/
  .navbar-collapse {
    display: none !important;
  }

  .navbar-toggler {
    display: none !important;
  }

  .navbar {
    justify-content: center !important;
  }

  .navbar .container-fluid {
    justify-content: center !important;
  }

  .navbar-brand {
    margin-left: auto;
    margin-right: auto;
    position: static !important;
    transform: none !important;
  }
}
/* ============================
/* ============================
   MOBILE RESPONSIVE (max-width: 767.98px)
   ============================ */
@media (max-width: 767.98px) {
  .transparent-navbar {
    height: auto;
    padding: 0.75rem 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .main-logo {
    height: 40px;
  }

  .navbar-nav {
    background-color: #333333;
    padding: 1rem;
    border-radius: 8px;
  }

  .navbar-nav .nav-link {
    font-size: 14px;
    padding: 8px 0;
    text-align: left;
    color: #fdeedb !important;
  }

  .language-switcher {
    top: 1.5rem;
    left: 1rem;
  }
  .language-switcher img {
    width: 30px;
  }

  .hero-banner-mobile {
    margin-top: 72px;
  }
  .hero-banner-mobile .hero-content {
    bottom: 1rem !important;
  }
  .hero-banner-mobile .hero-image {
    width: 100%;
    height: auto;
    display: block;
  }
  .custom-other-banner-btn {
    padding: 0.5rem 2rem;
    margin-top: 1rem;
    margin-right: 0;
    opacity: 0.9;
  }
  .mobile-banner-text {
    position: absolute;
    bottom: 6.5rem; /* buton yüksekliği + boşluk */
    width: 100%;
    padding: 0 1.5rem;
    text-align: center;
    color: #fff;
    z-index: 2;
  }

  .mobile-banner-text h2 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    color: #5b2fdf;
  }

  .mobile-banner-text p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: #085165;
  }
  .testimonial-card {
    display: flex;
    flex-direction: column !important; /* yazı üstte, görsel altta */
    height: auto !important; /* yüksekliği serbest bırak */
  }

  .testimonial-text {
    max-width: 100% !important;
    order: 1; /* önce yazı */
  }

  .testimonial-image {
    order: 2; /* sonra görsel */
    height: 250px; /* mobilde sabit yükseklik */
  }

  .testimonial-image img {
    object-fit: cover;
    border-radius: 0 0 16px 16px;
    width: 100%;
    height: 100%;
  }
  .breadcrumb {
  flex-wrap: wrap !important;      /* satıra sığmıyorsa alta geçsin */
  overflow-wrap: break-word !important; /* uzun kelimeleri böl */
}

.breadcrumb a, 
.breadcrumb-item {
  white-space: normal !important; /* taşmayı engelle */
}

  
  .back-to-top {
  position: fixed;
  width: 30px;
  height: 30px;
}

/* Category Button Position */
.category-card .btn {
  position: absolute;
  bottom: 15px; /* görselin altına yapıştırdım */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(255, 255, 255, 0.9); /* okunabilirlik için hafif beyaz zemin */
  backdrop-filter: blur(4px); /* modern tarayıcılar için efekt */
}
/* Category Button Position End */
/* Product detail sectiondaki görseli mobilde kısalttım*/
.product-detail-section .product-media .pd-image-wrapper{ height: 320px; }
}

/* ============================
   MOBILE RESPONSIVE (max-width: 400px)
   Orta Boy Ekranlar (12 Pro, 13 Pro, 14 Pro, Pixel)
   ============================ */
@media (max-width: 400px) {
  
  .custom-hamburger {
    right: 1.5rem;
    top: 1.6rem;
    gap: 6px;
    scale: 1.1;
  }

  .custom-hamburger span {
    width: 22px;
    height: 2px;
  }
}
/* ============================
  End of Orta Boy Ekranlar (12 Pro, 13 Pro, 14 Pro, Pixel)
   ============================ */
/* ============================
   DESKTOP (Masaüstü): Hamburger Menü ve Side Menü Gizle
   ============================ */
@media (min-width: 1200px) {
  .custom-hamburger,
  #sideMenu,
  #menuOverlay {
    display: none !important;
  }
}
