/* ==========================================================================
   1. MOBİL CİHAZLAR (Telefonlar - 767px ve altı)
   ========================================================================== */
@media only screen and (max-width: 767px) {
  body {
    font-size:18px !important;
  }

  .impa-kodu {
    font-size:20px !important;
    padding:1rem 2rem !important;
  }

  .impa-ara .ara {
    bottom:17px !important;
    right:15px;
    width:26px;
  }

  .btn {
    font-size: 0.95rem !important;
  }

  .container {
    width: 100%;
    padding: 0 15px;
  }

  h1 {
    font-size: 32px;
  }

  .lead {
    font-size:18px !important;
  }
  .hide-mobile {
    display: none !important;
  }

  .header-section {
    border-radius:0 0 2rem 2rem;
    min-height:auto;

    margin-bottom:0 !important;
  }

  .nav-logo img {
    height:80px !important;
    width:auto !important;
  }

  .anasayfa-hakkimizda h4 {
    font-size:18px;
  }

  h2 {
    font-size:24px;
  }

  .anasayfa-hakkimizda .marker-underline {
    font-size:24px;
  }

  .anasayfa-cta-buttons {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1rem !important;
  }
  .anasayfa-cta-buttons .btn,
  .anasayfa-cta-buttons .katalog {
    margin: 0 !important;
  }
  .anasayfa-cta-buttons .me-3 {
    margin-right: 0 !important;
  }

  /* app.css: bölüm aralığı; 2rem çok sıkışıktı */
  .mt-8 {
    margin-top: 3.5rem !important;
  }

  .mmt-5 {
    text-align:center !important;
    margin-top:3rem !important;
    margin-bottom:3rem !important;
  }

  .kategori-kart h3 {
    font-size:18px !important;
  }

  /* ----- app.css ile uyum: header / hero ----- */
  header.site-header--hero {
    min-height: auto;
    padding-bottom: 4.5rem;
  }

  header.site-header--hero::after {
    width: 175%;
    height: clamp(5rem, 24vw, 9rem);
    transform: translate(-50%, 46%);
  }

  header.site-header--compact {
    min-height: auto;
    padding-bottom: 1.25rem;
  }

  header.site-header--hero h2 {
    font-size: 1.65rem !important;
    line-height: 1.25;
  }

  header.site-header .logo {
    height: 24px !important;
  }

  header.site-header .site-navbar-toggler {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    width: auto !important;
    height: auto !important;
  }

  header.site-header .site-nav .nav-link {
    font-size: 0.95rem !important;
  }

  .alt-kategori-btn:hover {
    transform: none;
    box-shadow: none;
  }

  .footer-links a:hover {
    padding-left: 0.5rem;
  }

  /* ----- hizmet alanları ----- */
  .hizmetlerimiz {
    min-height: auto;
    padding-top: 4.5rem;
    padding-bottom: 5.5rem;
  }

  .hizmetlerimiz::before {
    width: 175%;
    height: clamp(5rem, 24vw, 9rem);
    transform: translate(-50%, -46%);
  }

  .hizmetlerimiz::after {
    width: 175%;
    height: clamp(5rem, 24vw, 9rem);
    transform: translate(-50%, 48%);
  }

  .hizmetlerimiz .pt-8 {
    padding-top: 2rem !important;
  }

  .hizmetlerimiz .row.mt-6 {
    margin-bottom: 1.5rem;
  }

  .hizmet-kart img {
    height: 220px;
  }

  .hizmet-kart h3 {
    font-size: 1.05rem !important;
    padding: 0 0.75rem 1.25rem !important;
  }

  /* ----- başlıklar (baslik / baslik2) ----- */
  h1.baslik,
  .baslik2 {
    font-size: 1.65rem !important;
    line-height: 1.2;
    padding-bottom: 1.25rem !important;
  }

  h1.baslik:before,
  .baslik2:before {
    width: 72px;
    height: 5px;
  }

  /* ----- ürün grupları kartları ----- */
  .urun-grup-kart--one-cikan h3 {
    font-size: 1.2rem !important;
  }

  .urun-gruplari-kucuk .urun-grup-kart h3 {
    font-size: 0.82rem !important;
    line-height: 1.3 !important;
  }

  .urun-gruplari .urun-grup-kart:hover .urun-grup-kart-kutu {
    transform: none;
  }

  .urun-listesi .urun-kart:hover .urun-kart-kutu {
    transform: none;
  }

  .urun-kart-baslik {
    font-size: 0.85rem;
    padding: 0.65rem 0.75rem !important;
  }

  /* ----- footer (site-footer app.css) ----- */
  .site-footer {
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
  }

  .footer-overlay {
    border-radius: 0;
  }

  .site-footer .footer-main {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .site-footer .py-xl-6 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .site-footer .footer-lead {
    max-width: none;
    font-size: 0.9rem !important;
  }

  .site-footer .footer-title {
    margin-top: 0.25rem;
    margin-bottom: 0.75rem !important;
  }

  .site-footer .footer-links a,
  .site-footer .footer-legal a,
  .site-footer a.footer-contact-value {
    font-size: 0.9rem !important;
  }

  .site-footer .footer-bottom .container {
    text-align: center;
  }

  .site-footer .footer-bottom .d-flex.flex-md-row {
    flex-direction: column !important;
  }

  .site-footer .footer-legal {
    justify-content: center !important;
  }

  .alt-logo img {
    height:140px;
    width:auto !important;
  }

  .alt-logo {
    margin-top:-70px;
  }
  iframe {
    border-radius:2rem 2rem 0 0 !important;
  }
  .header-hero {
    margin-top:3rem !important;
  }

  /* ----- Mobil Ürün Grupları Kart Dikey Yığılımı (col-12) ----- */
  .urun-gruplari .urun-grup-kart-kutu {
    flex-direction: column !important;
    align-items: center !important;
    padding: 1.5rem !important;
  }

  .urun-gruplari .urun-grup-kart-foto {
    width: 100% !important;
    height: auto !important;
    max-width: 270px !important;
    height: 270px !important;
    margin-bottom: 1.5rem !important;
    flex-shrink: 0 !important;
  }

  .urun-gruplari .urun-grup-kart-icerik {
    margin-left: 0 !important;
    text-align: center !important;
    width: 100% !important;
    align-items: center !important;
  }

  .urun-gruplari .urun-grup-kart-icerik h3 {
    text-align: center !important;
    font-size: 1.25rem !important;
  }

  .urun-gruplari .urun-grup-kart-icerik p {
    text-align: center !important;
  }

  /* ----- Mobil Breadcrumb Yatay Slider Kaydırma ----- */
  .site-breadcrumb {
    overflow: hidden !important;
    width: 100% !important;
    margin-bottom: 1.25rem !important;
  }
  
  .site-breadcrumb .breadcrumb {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 6px !important;
    scrollbar-width: none !important; /* Firefox */
  }

  .site-breadcrumb .breadcrumb::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari, Opera */
  }

  .site-breadcrumb .breadcrumb-item {
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
  }
}

/* ==========================================================================
   2. TABLETLER (768px ile 1024px arası)
   ========================================================================== */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  body {
    font-size:18px !important;
  }

  .btn {
    font-size: 0.95rem !important;
  }

  .container {
    width: 100%;
    padding: 0 15px;
  }

  h1 {
    font-size: 42px;
  }
  .impa-kodu {
    font-size:20px !important;
    padding:1rem 2rem !important;
  }

  .impa-ara .ara {
    bottom:17px !important;
    right:15px;
    width:26px;
  }
  .lead {
    font-size:18px !important;
  }
  .hide-mobile {
    display: none !important;
  }

  .header-section {
    border-radius:0 0 2rem 2rem;
    min-height:auto;
    padding-bottom:1.5rem;
    margin-bottom:0 !important;
  }

  .nav-logo img {
    height:80px !important;
    width:auto !important;
  }

  .anasayfa-hakkimizda h4 {
    font-size:18px;
  }

  h2 {
    font-size:34px;
  }

  .anasayfa-hakkimizda .marker-underline {
    font-size:34px;
  }

  .mt-8 {
    margin-top: 4rem !important;
  }

  .header-hero {
    margin-top: 3rem !important;
  }

  .mmt-5 {
    text-align:center !important;
    margin-top:3rem !important;
    margin-bottom:3rem !important;
  }

  .kategori-kart h3 {
    font-size:18px !important;
  }

  header.site-header--hero {
    min-height: 55vh;
  }

  header.site-header--compact {
    min-height: auto;
    clip-path: none;
  }

  h1.baslik,
  .baslik2 {
    font-size: 1.85rem !important;
  }

  .site-footer {
    border-radius: 1.5rem 1.5rem 0 0;
  }

  .footer-overlay {
    border-radius: 1.5rem 1.5rem 0 0;
  }

  .site-footer .footer-main {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .site-footer .footer-links a,
  .site-footer .footer-legal a,
  .site-footer a.footer-contact-value {
    font-size: 0.95rem !important;
  }

  iframe {
    border-radius:2rem 2rem 0 0 !important;
  }

  .alt-logo img {
    height:140px;
    width:auto !important;
  }

  .alt-logo {
    margin-top:-70px;
  }
}

/* ==========================================================================
   3. DİZÜSTÜ BİLGİSAYARLAR VE KÜÇÜK EKRANLAR (1025px ile 1380px arası)
   ========================================================================== */
@media only screen and (min-width: 1025px) and (max-width: 1380px) {
  /* Küçük ekranlı laptoplar ve orta boy monitörler için */
  .container {
    width: 1170px;
  }

  .sidebar {
    width: 25%;
  }
}

/* ==========================================================================
   OPSİYONEL: ÇOK KÜÇÜK EKRANLAR (320px ve altı)
   ========================================================================== */
@media only screen and (max-width: 320px) {
  /* Eski veya çok küçük ekranlı telefonlar için ekstrem ayarlar */
  body {
    font-size: 12px;
  }
}