/* ===========================================================
   ARES DOOR - Custom CSS (cho cases Tailwind không cover gọn)
   =========================================================== */

/* Hero slider transitions */
.hero-slide {
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 0;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

/* Hotline pill gradient (3 miền) */
.hotline-pill { background: linear-gradient(135deg, #046527 0%, #069D3A 50%, #50C878 100%); color: #fff; }

/* Mega menu dropdown */
.has-submenu > .submenu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}
.has-submenu:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Active nav underline */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 6px;
  height: 2px;
  background: #E30613;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s;
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

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

/* Lucide icon size helpers */
[data-lucide] { width: 1em; height: 1em; vertical-align: middle; }

/* Section title underline */
.section-divider {
  width: 60px;
  height: 3px;
  background: #E30613;
  margin: 14px auto;
}

/* Prose content from DB */
.ares-prose h2 { color: #1E2F7C; font-weight: 800; font-size: 24px; margin: 22px 0 10px; }
.ares-prose h3 { color: #1E2F7C; font-weight: 800; font-size: 18px; margin: 18px 0 8px; }
.ares-prose h4 { color: #1E2F7C; font-weight: 700; font-size: 16px; margin: 16px 0 6px; }
.ares-prose p { margin-bottom: 12px; line-height: 1.7; color: #374151; }
.ares-prose ul { padding-left: 24px; margin-bottom: 12px; }
.ares-prose ul li { list-style: disc; margin-bottom: 4px; color: #374151; line-height: 1.7; }
.ares-prose strong { color: #E30613; font-weight: 700; }

/* Form field reset */
input[type="text"], input[type="tel"], input[type="email"], input[type="password"],
input[type="number"], input[type="date"], input[type="datetime-local"],
select, textarea {
  font-family: inherit;
}

/* Topbar hidden on mobile (handled by Tailwind responsive) */
@media (max-width: 768px) {
  .hero-slide::before {
    background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.95) 60%);
  }
}
