/* ===============================================
   NAVBAR — Desktop + Mobile (same style)
   Hover / active = mint underline + dark text (same as original desktop)
   =============================================== */

.navbar {
  background: var(--navbar);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(93, 173, 226, 0.25);
  border-radius: 25px 25px 0 0;
}

.nav-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 1.6rem;
  color: var(--white);
}

.logo-text small {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 1px;
  color: #EAF5FF;
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

/* Same as your original desktop hover / active */
.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--mint);
  color: var(--text);
  transform: scale(1.09);
}

/* Enquire button */
.navbar .btn-primary,
.navbar .btn-enquire {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 11px 20px;
  font-size: 0.9rem;
}

/* Hamburger — hidden on desktop */
.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ========== TABLET ========== */
@media (max-width: 1024px) {
  .nav-container {
    padding: 12px 20px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 0.88rem;
  }
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
  .nav-container {
    padding: 10px 14px;
    gap: 10px;
  }

  .logo {
    font-size: 1.1rem;
    min-width: 0;
  }

  .logo-icon {
    font-size: 1.35rem;
  }

  .logo-text small {
    font-size: 0.55rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navbar);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
    box-shadow: 0 10px 24px rgba(44, 62, 80, 0.18);
    border-radius: 0 0 16px 16px;
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 20px;
    border-bottom: 2px solid transparent; /* ready for mint underline */
    font-size: 0.95rem;
    transform: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  }

  /* Mobile: same colors as desktop — mint underline + dark text */
  .nav-links a:hover,
  .nav-links a.active {
    border-bottom-color: var(--mint);
    color: var(--text);
    background: rgba(255, 255, 255, 0.14);
    transform: none; /* no scale in vertical menu */
  }

  .navbar .btn-primary,
  .navbar .btn-enquire {
    padding: 10px 14px;
    font-size: 0.82rem;
  }
}

/* ========== SMALL PHONE ========== */
@media (max-width: 400px) {
  .nav-container {
    padding: 8px 10px;
  }

  .logo-text small {
    display: none;
  }

  .navbar .btn-primary,
  .navbar .btn-enquire {
    padding: 9px 12px;
    font-size: 0.78rem;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}
