/* --- Header Shell --- */
.header {
  background-color: #ffffff;
  height: 90px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* --- Logo (Left) --- */
.logo-box {
  display: flex;
  align-items: center;
  height: 200px;
}
.logo-img {
  height: 90px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
}

/* --- Right Side Actions (Button + Hamburger) --- */
.right-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* --- The Always-Visible Button --- */
.call-btn {
  background-color: var(--accent-red);
  color: white;
  text-decoration: none;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 5px;
  font-size: 0.9rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* --- Desktop Navigation --- */
.nav-menu {
display: flex;
list-style: none;
align-items: center;
margin-right: 20px;
}

.nav-menu li {
position: relative;
}

.nav-menu a {
color: var(--primary-navy);
text-decoration: none;
padding: 10px 15px;
font-weight: 600;
font-size: 1.2rem;
transition: 0.3s;
}

.nav-menu a:hover {
opacity: 0.8;
}

/* Desktop Dropdown Content */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  border-radius: 4px;
}

.dropdown-content a {
color: #333 !important;
display: block;
padding: 12px 20px;
border-bottom: 1px solid #eee;
}

.dropdown-content a:hover {
background: #f9f9f9;
color: var(--accent-red) !important;
}

.dropdown:hover .dropdown-content {
display: block;
}

/* --- Mobile Toggle --- */
#menu-toggle { display: none; }

.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;

  background: none;
  border: none;
  padding: 4px;
  -webkit-tap-highlight-color: transparent;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--primary-navy);
  position: absolute;
  transition: 0.3s;


}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { top: 16px; }

/* Animate to X when menu is open */
.hamburger.is-open span:nth-child(1) { transform: rotate(45deg);  top: 8px; }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: rotate(-45deg); top: 8px; }

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 900px) {

  .logo-img {
    height: 55px;
    width: auto;
    margin-right: 10px;
  }


  .nav-menu {
    display: none; /* Hide standard nav */
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding-bottom: 30px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    align-items: stretch;
  }

  .nav-menu.is-open { display: flex; }

  .hamburger { display: block; }

  .nav-menu li {
    width: 100%;
    text-align: left;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-menu a {
    padding: 20px 30px;
    display: block;
    font-size: 1.05rem;
    border-radius: 0;
    border-bottom: 1px solid #f0f0f0;
  }
}