/* ==========================================================================
   IThink Kft. - Finomhangolt egyedi kiegészítések Tailwind CSS mellé
   Mobile-first reszponzív szemlélet, érintőképernyős ergonómia
   ========================================================================== */

/* Background Subtle Grid */
.bg-grid {
  position: fixed;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

#ambient-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Custom Pulsing Dot */
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

@keyframes spinSlow {
  100% { transform: rotate(360deg); }
}

.animate-spin-slow {
  animation: spinSlow 12s linear infinite;
}

/* Custom Range Input - Mobile Touch Friendly Thumb (min 24px) */
.custom-range {
  width: 100%;
  accent-color: #0ea5e9;
  cursor: pointer;
  height: 8px;
  background: #1e293b;
  border-radius: 4px;
  touch-action: manipulation;
}

.custom-range::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
  cursor: pointer;
  -webkit-appearance: none;
}

.custom-range::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
  cursor: pointer;
  border: none;
}

/* Glassmorphism helpers */
.glass-panel {
  background: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(51, 65, 85, 0.6);
}

.glass-panel:hover {
  border-color: rgba(56, 189, 248, 0.4);
}

/* Kiosk Bezel - Mobile Adaptive */
.kiosk-mockup {
  background: #020617;
  border-radius: 1rem;
  border: 4px solid #1e293b;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.8), 0 15px 35px rgba(0, 0, 0, 0.6);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .kiosk-mockup {
    border-width: 8px;
    min-height: 440px;
  }
}

/* Timeline Connector */
.timeline-stem::before {
  content: '';
  position: absolute;
  top: 14px;
  bottom: 24px;
  left: 11px;
  width: 2px;
  background: #334155;
}


/* Strict Hungarian Text - NO English Capitalization */
body {
  text-transform: none !important;
  -webkit-tap-highlight-color: transparent;
}

/* Mobile Safari Input Zoom Prevention: input font size >= 16px */
@media (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* Touch target helpers */
button, a, input, select {
  touch-action: manipulation;
}

/* Mobile Menu Drawer - Global Viewport Overlay */
#mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 99999;
}

/* Gallery & Lightbox Styles */
.gallery-thumb {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 2px solid #1e293b;
  transition: all 0.2s ease-in-out;
}

.gallery-thumb.active {
  border-color: #10b981 !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.45);
}

.gallery-thumb:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
}

