/* =====================================================
   MOBILE RESPONSIVE — skyltprogram.se
   ===================================================== */

/* === HAMBURGER BUTTON === */
.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 60;
  flex-shrink: 0;
}
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* === MOBILE NAV MENU === */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(13,13,13,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #222;
  padding: 20px 24px 28px;
  gap: 4px;
  z-index: 49;
  transform: translateY(-110%);
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1);
}
.mobile-nav.open {
  transform: translateY(0);
}
.mobile-nav a {
  font-size: 17px !important;
  color: #888 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid #1a1a1a !important;
  transition: color 0.15s ease !important;
}
.mobile-nav a:last-child {
  border-bottom: none !important;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  color: #fff !important;
}

@media (max-width: 767px) {

  /* === HAMBURGER visible on mobile === */
  .hamburger-btn {
    display: flex !important;
  }
  .mobile-nav {
    display: flex !important;
  }

  /* === GRID LAYOUTS → single column === */
  .col-2,
  .col-3,
  .col-4,
  .col-contact {
    grid-template-columns: 1fr !important;
  }

  .col-footer {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px !important;
  }

  /* === SECTION PADDING === */
  .sec-pad {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }

  /* === ALL SECTION padding reduction === */
  section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* === HERO === */
  .hero-section {
    padding: 48px 16px 40px !important;
  }

  /* === BUTTONS === */
  .btn-stack {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .btn-stack a,
  .btn-stack button {
    width: 100% !important;
    justify-content: center !important;
  }

  /* === NAV phone button text hide === */
  .nav-phone-text {
    display: none !important;
  }

  /* === GALLERY === */
  .col-gallery {
    grid-template-columns: 1fr !important;
  }
  .col-gallery > div {
    height: 260px !important;
  }

  /* === STATS CARDS === */
  .col-stats {
    grid-template-columns: 1fr 1fr !important;
  }

  /* === MARQUEE shrink === */
  #marquee-track span {
    margin-right: 32px !important;
  }

  /* === COOKIE BANNER === */
  #cookie-banner {
    bottom: 0 !important;
    border-radius: 16px 16px 0 0 !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    padding: 20px !important;
  }

  /* === FOOTER bottom row === */
  .footer-bottom {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center !important;
  }

  /* === BRANCH CARDS === */
  .col-branch {
    grid-template-columns: 1fr !important;
  }

  /* === STEP connector hide === */
  .step-connector {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .col-footer {
    grid-template-columns: 1fr !important;
  }
  .col-stats {
    grid-template-columns: 1fr !important;
  }
}
