/* ===== HEADER / NAV ===== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.header-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-logo svg {
  width: 36px;
  height: 36px;
  color: #f1ad63;
}

.header-logo-text {
  font-size: 18px;
  font-weight: 800;
  color: #424242;
  letter-spacing: 1px;
}

.header-logo-text span {
  color: #f1ad63;
}

/* Nav left */
.nav-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  height: 100%;
  flex: 1;
  padding-right: 150px;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #2f2f2f;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
  color: #424242;
  background: #f5f5f5;
}

.nav-link svg {
  width: 18px;
  height: 18px;
}

/* Dropdown fleet */
.fleet-dropdown {
  position: relative;
}

.fleet-dropdown::after {
  content: "";
  position: absolute;
  left: -24px;
  right: -24px;
  top: 100%;
  height: 16px;
}

.fleet-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  transform: translateY(8px);
  width: min(380px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.fleet-dropdown:hover .fleet-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.fleet-dropdown-menu-header {
  padding: 8px 20px 12px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 4px;
}

.fleet-dropdown-menu-header h4 {
  font-size: 13px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 4px;
}

.fleet-dropdown-menu-header a {
  font-size: 14px;
  color: #f1ad63;
  text-decoration: none;
  font-weight: 600;
}

.fleet-dropdown-menu-header a:hover {
  text-decoration: underline;
}

.fleet-all-link {
  display: block;
  text-align: center;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #f1ad63;
  text-decoration: none;
  border-top: 1px solid #f0f0f0;
  margin-top: 4px;
  padding-top: 12px;
}

.fleet-all-link:hover {
  background: #fdf6e3;
}

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  height: 100%;
  flex: 1;
  padding-left: 150px;
}

.header-booking-group {
  display: flex;
  align-items: stretch;
}

.header-phone-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid #dfdfdf;
  border-right: none;
  border-radius: 5px 0 0 5px;
  background: transparent;
  color: #3a3a3a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-right .btn {
  min-height: 34px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  border-radius: 0 5px 5px 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #555;
  transition: all 0.2s;
}

.lang-switch:hover {
  border-color: #f1ad63;
  color: #f1ad63;
}

.lang-dropdown {
  position: relative;
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 72px;
  padding: 6px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  z-index: 20;
}

.lang-dropdown-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: #3a3a3a;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: left;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}

.lang-dropdown-item:hover {
  background: #f5f5f5;
  color: #f1ad63;
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}

.mobile-toggle:hover {
  background: #f5f5f5;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  color: #333;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-inner {
  background: #fff;
  padding: 24px;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
}

.mobile-menu-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.mobile-lang-select {
  min-height: 34px;
  padding: 0 18px 0 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f1ad63;
  font-size: 14px;
  font-weight: 600;
}

.mobile-menu-inner .nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px;
  font-size: 19px;
  font-weight: 500;
  border-radius: 10px;
  margin-bottom: 4px;
}

.mobile-menu-inner .nav-link::before {
  content: "";
  width: 4px;
  height: 26px;
  flex: 0 0 4px;
  border-radius: 999px;
  background: #f1ad63;
}

.mobile-menu-phone {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
  color: #3a3a3a;
  font-size: 18px;
  font-weight: 500;
}

.mobile-menu-phone svg {
  width: 18px;
  height: 18px;
  color: #f1ad63;
}

@media (max-width: 1280px) {
  .header-inner {
    padding: 0 18px;
    gap: 18px;
  }

  .header-logo {
    position: static;
    transform: none;
  }

  .nav-left {
    gap: 4px;
    padding-right: 96px;
  }

  .nav-right {
    gap: 8px;
    padding-left: 96px;
  }

  .nav-link {
    padding: 8px 12px;
    font-size: 14px;
  }

  .header-phone-chip,
  .nav-right .btn,
  .lang-switch {
    font-size: 13px;
  }

  .header-phone-chip {
    padding: 0 12px;
  }

  .nav-right .btn {
    padding: 0 18px;
  }
}

@media (max-width: 1180px) {
  .header-phone-chip {
    display: none;
  }

  .nav-right .btn {
    border-radius: 5px;
  }
}

@media (max-width: 1024px) {
  .nav-left,
  .nav-right > .nav-link,
  .lang-dropdown {
    display: none;
  }

  .nav-right {
    flex: none;
    padding-left: 0;
    gap: 0;
  }

  .header-booking-group {
    display: flex;
  }

  .header-phone-chip {
    display: inline-flex;
  }

  .nav-right .btn {
    min-height: 38px;
    padding: 0 16px;
    font-size: 13px;
    border-radius: 0 5px 5px 0;
  }

  .mobile-toggle {
    display: block;
    margin-left: 8px;
  }

  .header-logo {
    margin-right: auto;
  }

  .header-inner {
    justify-content: flex-start;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .header-phone-chip {
    display: none;
  }

  .nav-right .btn {
    border-radius: 5px;
  }
}

@media (max-width: 420px) {
  .header-booking-group {
    display: none;
  }

  .mobile-menu-phone {
    font-size: 16px;
  }
}
