/* ============================================
   IQ-Coupling — Stitch Export (cleaned)
   Arctiq Hydraulics AS
   ============================================ */

body {
  font-family: 'Inter', sans-serif;
  background-color: #0d131f;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.glass-panel {
  background: rgba(47, 53, 66, 0.6);
  backdrop-filter: blur(20px);
}

.text-glow {
  text-shadow: 0 0 30px rgba(173, 199, 247, 0.3);
}

/* ---- Image Placeholders ---- */
.img-placeholder {
  background: #0A1520;
  border: 1px dashed #3DA8E0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3DA8E0;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
  min-height: 200px;
  width: 100%;
  height: 100%;
}

.img-placeholder-hero {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.img-placeholder-inline {
  aspect-ratio: 1 / 1;
}

.img-placeholder-card {
  min-height: 160px;
}

/* ---- Smooth scroll ---- */
html { scroll-behavior: smooth; }

/* ---- Sidebar hover effect ---- */
#sidebar a:hover { transform: translateX(2px); }

/* ---- Mobile bottom bar safe area ---- */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  #mobilebar { padding-bottom: env(safe-area-inset-bottom); }
}

/* ---- Responsive typography clamp fallbacks ---- */
@media (max-width: 480px) {
  .text-glow { text-shadow: 0 0 15px rgba(173, 199, 247, 0.2); }
}

/* ---- Mobilebar scroll expansion ---- */
#mobilebar {
  transition: padding 0.2s ease, max-height 0.2s ease, height 0.2s ease;
}

/* ---- Touch target minimum sizes ---- */
#mobilebar a { min-width: 44px; min-height: 44px; }
#sidebar a { min-width: 44px; min-height: 44px; }

/* ---- Prevent overflow ---- */
body { overflow-x: hidden; overscroll-behavior: none; }
main { overflow-x: hidden; }
html { overscroll-behavior: none; }

/* ---- Image responsive fallback ---- */
img { max-width: 100%; height: auto; }

/* ---- Hide hero logo on desktop ---- */
@media (min-width: 768px) {
  .hero-logo-mobile { display: none !important; }
}

/* ---- Focus styles for accessibility ---- */
a:focus-visible, button:focus-visible {
  outline: 2px solid #adc7f7;
  outline-offset: 2px;
}
