/* Custom Styles for Hologram Marketing */

:root {
  --color-blue-accent: #DDEEFF;
  --color-green-accent: #DDF5E5;
  --color-lavender-accent: #EAE4FF;
  --color-sand-accent: #F7F1E8;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-tap-highlight-color: transparent;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Glassmorphism helpers */
.glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.85);
}

.glass-button {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(203, 213, 225, 0.7);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-button:hover {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.08);
}

/* Filter button active state */
.filter-btn.active {
  background-color: #0F172A !important;
  color: #FFFFFF !important;
  border-color: #0F172A !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

/* Form inputs clean line styling */
input:focus, select:focus, textarea:focus {
  outline: none;
}

/* Modal transitions */
#lightbox-modal, #quote-modal {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#lightbox-modal.hidden, #quote-modal.hidden {
  display: none !important;
}

#lightbox-modal:not(.hidden), #quote-modal:not(.hidden) {
  display: flex !important;
}

/* Mobile Drawer Overlay Transitions */
#mobile-drawer-overlay.active {
  opacity: 1 !important;
  pointer-events: auto !important;
  display: block !important;
}

#mobile-drawer-overlay.active #mobile-drawer-panel {
  transform: translateX(0) !important;
}

/* Floating quick bar visibility */
body.modal-open #mobile-quick-bar {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F8FAFC;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Touch-friendly tap targets (finger-sized hit areas on touch devices) */
@media (pointer: coarse) {
  footer li a,
  footer a[href^="tel:"],
  footer a[href^="mailto:"],
  footer a[href*="maps.google"] {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
  .filter-btn { min-height: 40px; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-marquee, .animate-float-slow, .animate-pulse, .animate-ping {
    animation: none !important;
  }
}

/* Visible keyboard focus for accessibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid #2563EB;
  outline-offset: 2px;
}
