/* Riza Direct Services LLC — supplemental styles beyond Tailwind utilities */

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Hero carousel (scrollable, with images) ---------- */

.hero-carousel {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.hero-carousel.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.hero-carousel::-webkit-scrollbar {
  display: none;
}

.hero-carousel {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 20, 25, 0.8);
  pointer-events: none;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: rgba(38, 42, 48, 0.7);
  border: 1px solid rgba(68, 73, 52, 0.5);
  color: #e0e2ea;
  transition: all 0.25s ease;
}

.hero-arrow:hover {
  background: rgba(38, 42, 48, 0.95);
  border-color: #c9f231;
  box-shadow: 0 0 15px rgba(201, 242, 49, 0.15);
}

.hero-arrow-prev {
  left: 16px;
}

.hero-arrow-next {
  right: 16px;
}

@media (min-width: 768px) {
  .hero-arrow-prev {
    left: 40px;
  }
  .hero-arrow-next {
    right: 40px;
  }
}

.carousel-dot {
  cursor: pointer;
}

/* ---------- Buttons / interactive glow (per design system) ---------- */

.glow-hover {
  transition: box-shadow 0.25s ease, transform 0.15s ease;
}

.glow-hover:hover {
  box-shadow: 0 0 15px rgba(201, 242, 49, 0.35);
  transform: translateY(-1px);
}

/* ---------- Mobile menu ---------- */

#mobile-menu.open {
  max-height: 480px;
}

/* ---------- Nav active link ---------- */

a[data-nav].nav-active {
  color: #c9f231;
  border-bottom-color: #c9f231;
}

/* ---------- Contact form ---------- */

.field-error {
  min-height: 1rem;
  margin-top: 0.375rem;
  font-size: 12px;
  line-height: 16px;
  color: #ffb4ab;
}

input.invalid,
select.invalid,
textarea.invalid {
  border-color: #ffb4ab !important;
}

#submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

#form-status.success {
  color: #c9f231;
}

#form-status.error {
  color: #ffb4ab;
}
