/* ----------------------------------
   ROOT VARIABLES
---------------------------------- */
:root {
  --primary: #bd970a;
  --dark: #0a1a2a;
  --white: #ffffff;
  --muted: #e5e7eb;
  --accent: #d2930b;
  --transition: 0.3s ease;
}

/* ----------------------------------
   HEADER BASE
---------------------------------- */
#site-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.21);
  backdrop-filter: blur(12px);
  z-index: 9999;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

body {
  padding-top: 114px;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: auto;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ----------------------------------
   TOPBAR
---------------------------------- */
.topbar {
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  background: var(--dark);
  padding: 6px 5%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar .contact {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar .contact i {
  color: var(--primary);
  margin-right: 4px;
  font-size: 14px;
}

.topbar .social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar .social a {
  color: var(--white);
  font-size: 15px;
  transition: 0.3s;
}

.topbar .social a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

/* ----------------------------------
   NAVBAR
---------------------------------- */
.navbar {
  background: #ffffff96;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

/* LOGO */
.logo img {
  height: 60px;
  transform: scale(2);
  transform-origin: center;
  transition: var(--transition);
}

#site-header.scrolled .logo img {
  height: 55px;
  transform: scale(1.8);
}

/* ----------------------------------
   NAV LINKS (DESKTOP)
---------------------------------- */
.nav-links ul {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 600;
  padding: 10px 4px;
  text-decoration: none;
  color: var(--dark) !important;
  transition: 0.2s;
}

/* Hover Style */
.nav-links a:hover {
  color: var(--primary) !important;
}

/* ACTIVE LINK */
.nav-links a.active {
  color: #FFD700 !important;
  font-weight: 700;
}

/* ----------------------------------
   DROPDOWN MENU
---------------------------------- */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  flex-direction: column;
  min-width: 220px;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 99;
  display: flex;
}

.dropdown a {
  display: block;
  padding: 12px 14px;
  color: var(--dark);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown a:last-child {
  border-bottom: none;
}

.dropdown a:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--primary);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ----------------------------------
   CTA BUTTON
---------------------------------- */
.btn-quote {
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.btn-quote:hover {
  background: var(--primary);
}

/* ----------------------------------
   SCROLL EFFECT
---------------------------------- */
#site-header.scrolled {
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

#site-header.scrolled .topbar {
  height: 0;
  padding: 0;
  overflow: hidden;
}

/* ----------------------------------
   MOBILE MENU
---------------------------------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 34px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10001;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background: var(--dark);
  transition: 0.32s ease;
  border-radius: 4px;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ----------------------------------
   MOBILE RESPONSIVE
---------------------------------- */
@media (max-width: 900px) {

  .cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  /* FULLSCREEN MENU */
  .nav-links {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0a1a2a; /* dark navy */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.5s;
    opacity: 0;
    pointer-events: none;
  }

  .nav-links.active {
    top: 0;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 28px;
  }

  /* WHITE TEXT FOR MOBILE MENU */
  .nav-links a {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff !important;
  }

  /* ACTIVE MOBILE ITEM */
  .nav-links a.active {
    color: #FFD700 !important;
  }

  /* DROPDOWN INSIDE MOBILE MENU */
  .has-dropdown .dropdown {
    display: none;
    position: static;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
  }

  .has-dropdown.open .dropdown {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .has-dropdown .dropdown a {
    color: #dcdcdc !important;
  }

  .has-dropdown .dropdown a:hover {
    color: var(--primary);
  }
}
