/* ═══════════════════════════════════════════════════════════════
   SHARED HEADER STYLES
   Used across all pages for consistent navigation
   Font: Inter via Google Fonts
   Colors: #e89882 coral | #f28b71 salmon | #99d1c1 mint
═══════════════════════════════════════════════════════════════ */

/* ═══════════════════ NAVIGATION ═══════════════════ */
.hn-nav {
  position: relative;
  z-index: 100;
  padding: 20px 48px;
  background: transparent;
}
/* For pages with hero backgrounds - position absolute */
.hn-nav-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.hn-nav .navbar {
  padding: 0;
  background: transparent !important;
}
.hn-nav .navbar-brand img {
  height: 44px;
}
/* Light theme (for pages with dark backgrounds) */
.hn-nav-light .navbar-brand img {
  filter: brightness(0) invert(1);
}
.hn-nav-light .nav-link {
  color: rgba(255,255,255,0.95) !important;
}
.hn-nav-light .nav-link:hover,
.hn-nav-light .nav-link.active {
  color: #e89882 !important;
}
.hn-nav-light .navbar-toggler {
  border-color: rgba(255,255,255,0.5);
}
.hn-nav-light .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}
.hn-nav-light .dropdown-menu {
  background: rgba(17,24,39,0.95);
  border: none;
  border-radius: 8px;
}
.hn-nav-light .dropdown-item {
  color: rgba(255,255,255,0.85);
}
.hn-nav-light .dropdown-item:hover {
  background: rgba(255,255,255,0.1);
  color: #e89882;
}

/* Dark theme (for pages with light backgrounds) */
.hn-nav-dark .navbar-brand img {
  filter: none;
}
.hn-nav-dark .nav-link {
  color: #212832 !important;
}
.hn-nav-dark .nav-link:hover,
.hn-nav-dark .nav-link.active {
  color: #e89882 !important;
}
.hn-nav-dark .navbar-toggler {
  border: 2px solid #F1A501;
}
.hn-nav-dark .navbar-toggler-icon {
  filter: none;
}
.hn-nav-dark .dropdown-menu {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.hn-nav-dark .dropdown-item {
  color: #212832;
}
.hn-nav-dark .dropdown-item:hover {
  background: #f3f4f6;
  color: #e89882;
}

/* Common nav link styles */
.hn-nav .nav-link {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.35px;
  padding: 0 !important;
  margin: 0 16px;
  transition: color 0.2s;
}
.hn-nav .nav-link.active {
  border-top: none !important;
  border-bottom: 2px solid #e89882;
  padding-bottom: 2px !important;
}
.hn-nav .dropdown-item {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 10px 16px;
}

/* Login button */
.hn-nav-login {
  background: #e89882;
  border: none;
  border-radius: 9999px;
  color: #fff !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 28px;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  transition: background 0.2s;
  text-decoration: none !important;
  display: inline-block;
}
.hn-nav-login:hover {
  background: #d97b6a;
  color: #fff !important;
}

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 991px) {
  .hn-nav {
    padding: 16px 24px;
  }
  .hn-nav .navbar-toggler {
    border: 2px solid #F1A501;
    padding: 5px;
    background: transparent;
  }
  /* Light theme mobile */
  .hn-nav-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  .hn-nav-light .navbar-collapse {
    background: rgba(17,24,39,0.98);
    margin-top: 16px;
    border-radius: 12px;
    padding: 16px;
  }
  /* Dark theme mobile */
  .hn-nav-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23212832' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  .hn-nav-dark .navbar-collapse {
    background: #fff;
    margin-top: 16px;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }
  /* Common mobile styles */
  .hn-nav .navbar-nav {
    gap: 0;
  }
  .hn-nav .nav-link {
    margin: 0 !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  .hn-nav-light .nav-link {
    border-bottom-color: rgba(255,255,255,0.1);
  }
  .hn-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }
  .hn-nav .dropdown-menu {
    margin: 8px 0;
    padding: 8px 0;
  }
  .hn-nav-login {
    margin-top: 16px !important;
    margin-left: 0 !important;
    display: block;
    text-align: center;
  }
}
