/* ============================================================================
   V CARE Technical Services L.L.C. — Custom styles
   (Only what Tailwind utility classes can't do conveniently lives here.)
   ============================================================================ */

:root {
  --brand-red: #E11D2A;
  --brand-red-dark: #B91220;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Poppins", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Visible, accessible focus state (brand red) ----------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--brand-red);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link --------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--brand-red);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Active nav link --------------------------------------------------------- */
.nav-link.is-active {
  color: var(--brand-red);
  font-weight: 600;
}
.nav-link { position: relative; }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--brand-red);
  border-radius: 2px;
}

/* Scroll fade-in animation ------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* FAQ accordion ----------------------------------------------------------- */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-item.open .faq-answer { max-height: 600px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform .3s ease; }

/* Mobile menu slide ------------------------------------------------------- */
#mobile-menu {
  transition: transform .3s ease, opacity .3s ease;
}

/* Hero gradient (used where no real image is supplied) -------------------- */
.hero-gradient {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(225,29,42,.20), transparent 60%),
    linear-gradient(135deg, #0B0B0D 0%, #16161A 60%, #2a0a0d 100%);
}

/* Hero with the real Dubai skyline photo (home page) ----------------------- */
.hero-photo {
  background:
    linear-gradient(100deg, rgba(11,11,13,.88) 0%, rgba(11,11,13,.72) 45%, rgba(43,10,13,.55) 100%),
    url("../images/hero-dubai.jpg") center 30% / cover no-repeat;
}

/* Generic image placeholder skeleton ------------------------------------- */
.img-placeholder {
  background:
    repeating-linear-gradient(45deg, rgba(225,29,42,.06) 0 12px, rgba(0,0,0,.04) 12px 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: .8rem;
  letter-spacing: .02em;
}

/* Floating action buttons ------------------------------------------------- */
.fab { box-shadow: 0 8px 24px -6px rgba(0,0,0,.35); }

/* Utility for line clamping (fallback if plugin not present) -------------- */
.clamp-2 { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.clamp-3 { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
