/* NexusSEO Deferred Styles */
/* Loaded after critical CSS */

/* ═══════════════════════════════════════════════════════
   DROPDOWN NAVIGATION MENUS
═══════════════════════════════════════════════════════ */

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-dropdown > a::after {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.nav-dropdown:hover > a::after {
  transform: rotate(-135deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: #0d1117;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
  background: #f8f9fa;
  border-left-color: #0f766e;
  color: #0f766e;
  font-weight: 600;
}

/* Locations dropdown grid on larger screens */
.locations-dropdown {
  min-width: 300px;
}

/* Mobile navigation sections */
.mobile-nav-section {
  list-style: none;
}

.mobile-section-title {
  display: block;
  padding: 1rem 1.5rem 0.5rem;
  font-weight: 700;
  color: #0f766e;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.mobile-submenu {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
}

.mobile-submenu li {
  list-style: none;
  margin: 0;
}

.mobile-submenu a {
  display: block;
  padding: 0.5rem 2rem 0.5rem 2rem;
  color: #4b5563;
  font-size: 0.9rem;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
}

.mobile-submenu a:hover {
  background: #f8f9fa;
  border-left-color: #0f766e;
  color: #0f766e;
  font-weight: 600;
}

/* Service card hover effects */
.content-box {
  transition: all 0.3s ease;
}

.content-box:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

/* Button hover effects */
.btn {
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(217, 119, 6, 0.3);
}

/* Link hover effects */
a {
  transition: color 0.3s ease;
}

/* Details elements (FAQ) */
details summary {
  cursor: pointer;
  user-select: none;
}

details[open] summary {
  margin-bottom: 1rem;
}

/* Additional responsive tweaks */
@media (max-width: 768px) {
  .content-box:hover {
    transform: none;
  }
}
