/* Local Fractional — Custom Styles */

/* Brand color utilities */
.bg-navy { background-color: #1a2332; }
.text-navy { color: #1a2332; }
.bg-brand-blue { background-color: #2b6cb0; }
.text-brand-blue { color: #2b6cb0; }
.bg-brand-green { background-color: #38a169; }
.text-brand-green { color: #38a169; }
.text-body { color: #1a202c; }
.text-secondary { color: #4a5568; }
.bg-light { background-color: #f7fafc; }
.border-brand-blue { border-color: #2b6cb0; }

/* Typography */
.font-heading { font-family: 'DM Sans', sans-serif; }
.font-body { font-family: 'Inter', sans-serif; }

/* Video hero */
.hero-video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #ffffff;
}

.hero-video-sticky {
  position: relative;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-video-sticky video,
.hero-video-sticky img.hero-poster {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  background: rgba(26, 35, 50, 0.55);
}

/* Sticky nav */
#main-nav {
  transition: box-shadow 0.2s ease;
}

.nav-scrolled {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Dropdown menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  min-width: 240px;
  z-index: 50;
  padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.625rem 1.25rem;
  color: #1a202c;
  text-decoration: none;
  font-size: 0.875rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.dropdown-menu a:hover {
  background-color: #f7fafc;
  color: #2b6cb0;
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: white;
  z-index: 100;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 1.5rem;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  display: none;
}

.mobile-nav-overlay.open {
  display: block;
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Service tier cards */
.tier-card {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 2rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.tier-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #2b6cb0;
}

.tier-card.featured {
  border-color: #2b6cb0;
  border-width: 2px;
  box-shadow: 0 4px 12px rgba(43, 108, 176, 0.12);
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid #e2e8f0;
}

.faq-question {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-weight: 600;
  color: #1a202c;
}

.faq-question:hover {
  color: #2b6cb0;
}

.faq-answer {
  display: none;
  padding: 0 0 1.25rem 0;
}

.faq-answer.open {
  display: block;
}

.faq-arrow {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-arrow.open {
  transform: rotate(180deg);
}

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #2b6cb0;
  outline-offset: 2px;
}
