/* ============================================================
   NAVBAR & FOOTER — FREELANCERS CONSULTING GROUP
   ============================================================ */

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: all 0.4s ease;
}
.navbar.scrolled {
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(184,134,11,0.15);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.navbar-logo-icon {
  width: 42px;
  height: 42px;
  position: relative;
  flex-shrink: 0;
}
.navbar-logo-text .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #D4A017;
  letter-spacing: 0.12em;
  display: block;
  line-height: 1.1;
}
.navbar-logo-text .brand-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: #AAAAAA;
  text-transform: uppercase;
  display: block;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.navbar-nav a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #CCCCCC;
  transition: color 0.25s ease;
  position: relative;
}
.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: #B8860B;
  transition: width 0.3s ease;
}
.navbar-nav a:hover { color: #D4A017; }
.navbar-nav a:hover::after { width: 100%; }

/* Services dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(16,16,16,0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(184,134,11,0.18);
  border-radius: 12px;
  padding: 12px;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all 0.3s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  color: #BBBBBB;
  transition: all 0.2s ease;
  letter-spacing: 0.04em;
  text-transform: none;
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover { background: rgba(184,134,11,0.1); color: #D4A017; }
.nav-dropdown-menu a .menu-icon {
  width: 28px;
  height: 28px;
  background: rgba(184,134,11,0.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Lang switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.lang-switch button {
  padding: 4px 8px;
  border-radius: 4px;
  color: #888;
  transition: all 0.2s ease;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-family: 'Inter', sans-serif;
}
.lang-switch button.active { color: #D4A017; background: rgba(184,134,11,0.1); }
.lang-switch button:hover { color: #D4A017; }
.lang-switch span { color: #444; }

/* CTA button in nav */
.navbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #B8860B, #D4A017);
  color: #0A0A0A;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}
.navbar-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(184,134,11,0.35); }

/* Burger mobile */
.navbar-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.navbar-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #D4A017;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.navbar-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-burger.open span:nth-child(2) { opacity: 0; }
.navbar-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.navbar-mobile {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0; bottom: 0;
  background: rgba(8,8,8,0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 24px;
  gap: 8px;
  overflow-y: auto;
  z-index: 999;
}
.navbar-mobile.open { display: flex; }
.navbar-mobile a {
  font-size: 1.1rem;
  font-weight: 500;
  color: #CCCCCC;
  padding: 12px 0;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s ease;
}
.navbar-mobile a:hover { color: #D4A017; }
.navbar-mobile .mobile-sub { padding-left: 16px; font-size: 0.95rem; color: #888; }
.navbar-mobile .mobile-sub:hover { color: #D4A017; }

/* ─── WHATSAPP FLOAT ─────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
  animation: pulse-gold 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,0.7); }
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: #080808;
  border-top: 1px solid rgba(184,134,11,0.15);
  padding: 80px 0 0;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .brand-desc {
  font-size: 0.88rem;
  color: #777;
  line-height: 1.8;
  margin: 20px 0 28px;
  max-width: 280px;
}
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(184,134,11,0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}
.social-link:hover {
  border-color: #B8860B;
  color: #D4A017;
  background: rgba(184,134,11,0.08);
}
.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #D4A017;
  margin-bottom: 24px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: #777;
  transition: color 0.2s ease;
}
.footer-col ul li a:hover { color: #D4A017; }
.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-contact-item .icon { color: #B8860B; font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item span { font-size: 0.85rem; color: #777; line-height: 1.6; }
.footer-bottom {
  max-width: 1280px;
  margin: 60px auto 0;
  padding: 24px 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 0.78rem; color: #555; }
.footer-bottom .footer-links { display: flex; gap: 24px; }
.footer-bottom .footer-links a { font-size: 0.78rem; color: #555; transition: color 0.2s ease; }
.footer-bottom .footer-links a:hover { color: #B8860B; }

/* ─── RESPONSIVE FOOTER & NAVBAR ────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .navbar-inner { padding: 0 20px; }
  .navbar-nav, .navbar-cta, .lang-switch { display: none; }
  .navbar-burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 0 20px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; padding: 24px 20px; }
  .whatsapp-float { bottom: 20px; right: 20px; }
}
