/* Mobile-first professional UX: hamburger slide-out drawer on the right and clean layout. */
.mobile-menu-toggle { display: none; }
.mobile-drawer { display: none; }
.mobile-backdrop { display: none; }

@media (max-width: 820px) {
  body { overflow-x: hidden; }
  .public header, .catalog-header, .detail-header {
    position: sticky; top: 0; z-index: 50; min-height: 72px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.98); box-shadow: 0 4px 20px rgba(9,32,68,.08);
  }
  .public header .logo-brand, .catalog-header .logo-brand, .detail-header .logo-brand { width: 140px; height: 36px; }
  .public header .head-actions, .catalog-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; margin-right: 12px; }
  .public header .phone, .catalog-phone { display: none; }
  .public header .primary, .catalog-cta, .detail-cta { min-height: 38px; padding: 8px 12px; font-size: 11.5px; border-radius: 9px; white-space: nowrap; }

  /* Hide horizontal inline nav on mobile */
  .public header nav, .catalog-header nav, .detail-header nav { display: none !important; }

  /* Hamburger Menu Toggle Button (Sağ üstte üç çizgi) */
  .mobile-menu-toggle {
    display: flex !important; flex-direction: column; justify-content: space-between; width: 34px; height: 26px; background: transparent; border: 0; cursor: pointer; padding: 0; z-index: 60;
  }
  .mobile-menu-toggle span {
    display: block; width: 100%; height: 3px; background: var(--dnavy, #092044); border-radius: 3px; transition: transform .25s ease, opacity .2s ease;
  }
  .mobile-menu-toggle.open span:nth-child(1) { transform: translateY(11.5px) rotate(45deg); }
  .mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-11.5px) rotate(-45deg); }

  /* Right-side slide-out drawer menu */
  .mobile-drawer {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: #fff; z-index: 55; box-shadow: -10px 0 40px rgba(9,32,68,.18); padding: 84px 28px 36px; display: flex !important; flex-direction: column; gap: 4px; transition: right .3s cubic-bezier(.4,0,.2,1); overflow-y: auto;
  }
  .mobile-drawer.open { right: 0; }
  .mobile-drawer a {
    font-size: 15.5px; font-weight: 700; color: #092044; text-decoration: none; padding: 14px 0; border-bottom: 1px solid #edf2f7; display: flex; align-items: center; justify-content: space-between;
  }
  .mobile-drawer a::after { content: '›'; font-size: 18px; color: #1094a7; font-weight: 800; }
  .mobile-drawer .drawer-cta {
    margin-top: 14px; background: #092044; color: #fff; text-align: center; justify-content: center; padding: 14px; border-radius: 11px; font-weight: 800;
  }
  .mobile-drawer .drawer-cta::after { display: none; }

  /* Backdrop overlay */
  .mobile-backdrop {
    position: fixed; inset: 0; background: rgba(9,32,68,.45); z-index: 52; opacity: 0; pointer-events: none; transition: opacity .25s ease; display: block !important;
  }
  .mobile-backdrop.open { opacity: 1; pointer-events: auto; }

  /* Hero & Content adjustments for mobile */
  .hero { min-height: 560px !important; background: linear-gradient(180deg,#f9feff 0%,#e6f8fa 100%) !important; padding-bottom: 30px; }
  .hero::before { inset: auto 0 0 !important; height: 260px !important; opacity: 1 !important; background: url('assets/hero-products/01-water-chef.png') center bottom / auto 240px no-repeat !important; }
  .hero::after { display: none !important; }
  .hero-copy { inset: 0 18px auto !important; padding-top: 24px !important; }
  .hero h1 { max-width: 320px; font-size: clamp(32px,9.2vw,39px) !important; line-height: 1.1 !important; margin-bottom: 12px !important; }
  .hero p { max-width: 310px; font-size: 13.5px !important; }
  .hero-copy .hero-buttons { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
  .hero-copy .hero-buttons a { min-height: 46px; display: flex; justify-content: center; align-items: center; text-align: center; padding: 8px 6px; font-size: 11.5px; border-radius: 9px; }
  .trust { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0 14px; }
  .trust span { font-size: 11.5px; padding: 12px 4px; text-align: center; }
  .section, .about, .contact { padding-left: 18px !important; padding-right: 18px !important; }
  .section-head { display: block; }
  .section-head > p { margin-top: 10px; font-size: 13.5px; line-height: 1.6; }
  .section h2, .about h2, .contact h2 { font-size: 28px !important; letter-spacing: -.6px !important; }
  .solutions { gap: 24px !important; }
  .solution-image { min-height: 220px; }
  .about { gap: 20px; }
  .about-card { min-height: 190px; }
  .contact { gap: 22px; }
  .contact-actions { width: 100%; }
  .contact-actions a { width: 100%; justify-content: center; min-height: 48px; }
  .faq { padding: 48px 18px !important; }
  .faq summary { font-size: 14.5px; padding: 17px 30px 17px 0; }
  .faq details p { font-size: 12.5px; }
  .site-footer { padding: 36px 18px !important; gap: 24px !important; }
  .public footer { padding: 18px; display: flex; flex-direction: column; gap: 8px; text-align: center; }
  .whatsapp-float { right: 16px !important; bottom: 16px !important; width: 52px; height: 52px; padding: 0 !important; border-radius: 50% !important; justify-content: center; box-shadow: 0 8px 24px rgba(34,183,90,.35); }
  .whatsapp-float b { display: none; }
  .catalog-hero { padding: 38px 18px; }
  .catalog-hero h1 { font-size: 32px; }
  .catalog-image { height: 160px; }
}
