/**
 * Spotlight Hub - Common Header & Footer Stylesheet
 * Unified responsive navbar and footer for all frontend pages
 */

:root {
  --sp-primary-navy: #13223f;
  --sp-primary-navy-hover: #0c172c;
  --sp-accent-gold: #b4854b;
  --sp-accent-gold-hover: #9c713b;
  --sp-text-dark: #0f172a;
  --sp-text-muted: #64748b;
  --sp-bg-dark: #111827;
  --sp-bg-dark-sub: #1f2937;
}

/* -------------------------------------------------------------
   Top Navigation Bar
------------------------------------------------------------- */
.spotlight-navbar {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1040;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.spotlight-nav-brand img {
  height: 38px;
  max-height: 42px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.spotlight-nav-brand:hover img {
  transform: scale(1.02);
}

.nav-link-item {
  color: #475569;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 8px 14px;
  transition: all 0.2s ease;
  position: relative;
  border-radius: 8px;
}

.nav-link-item:hover {
  color: #0f172a;
  background-color: #f8fafc;
}

.nav-link-item.active {
  color: #0f172a;
  font-weight: 700;
}

.nav-link-item.active::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 14px;
  right: 14px;
  height: 2.5px;
  background: var(--sp-primary-navy);
  border-radius: 2px;
}

.nav-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f8fafc;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.2s ease;
  text-decoration: none;
  border: 1px solid #e2e8f0;
}

.nav-icon-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: translateY(-1px);
}

.nav-cta-btn {
  background: var(--sp-primary-navy);
  color: #ffffff !important;
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(19, 34, 63, 0.15);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-cta-btn:hover {
  background: var(--sp-primary-navy-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(19, 34, 63, 0.25);
  color: #ffffff;
}

/* -------------------------------------------------------------
   Mobile Offcanvas Drawer
------------------------------------------------------------- */
.spotlight-offcanvas {
  background: #0f172a;
  color: #f8fafc;
  width: 310px !important;
  border-left: 1px solid #1e293b;
}

.spotlight-offcanvas .btn-close-white {
  filter: invert(1) grayscale(100%) brightness(200%);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cbd5e1;
  text-decoration: none;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.mobile-nav-link i {
  font-size: 16px;
  width: 20px;
  text-align: center;
  color: #94a3b8;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.mobile-nav-link:hover i {
  color: var(--sp-accent-gold);
}

.mobile-nav-link.active {
  background: rgba(180, 133, 75, 0.18);
  color: #ffffff;
  border-left: 3px solid var(--sp-accent-gold);
  font-weight: 700;
}

.mobile-nav-link.active i {
  color: var(--sp-accent-gold);
}

/* -------------------------------------------------------------
   Footer
------------------------------------------------------------- */
.spotlight-footer {
  background: #111827;
  color: #e2e8f0;
  padding: 36px 0 24px;
  margin-top: 50px;
  border-top: 1px solid #1f2937;
  position: relative;
}

.footer-tagline {
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #cbd5e1;
  font-weight: 700;
  margin-top: 4px;
  display: block;
}

.footer-center-text {
  font-size: 13.5px;
  color: #f1f5f9;
  font-weight: 500;
  line-height: 1.5;
}

.footer-location {
  color: #f1f5f9 !important;
  font-size: 13px;
  font-weight: 500;
}

.footer-social-link {
  color: #ffffff;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social-link:hover {
  color: #ffffff;
  background: var(--sp-accent-gold);
  transform: translateY(-2px);
}

.footer-bottom-bar a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-bar a:hover {
  color: #f59e0b !important;
}

/* Fix for intl-tel-input in all pages */
.iti {
  width: 100% !important;
}
.iti__country-list {
  z-index: 999999 !important;
}
