.nav-inner {
  display: flex;
}

.logo {
  height: 60px;
  cursor: pointer;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-light);
  position: relative;
  text-decoration: none;
  font-weight: 600;
}

/* 确保所有状态都没有下划线 */
.nav-item:link,
.nav-item:visited,
.nav-item:hover,
.nav-item:active {
  text-decoration: none !important;
}

.nav-item:hover {
  background: rgba(0, 0, 0, 0);
}

.nav-item i {
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: all 0.3s;
}

.nav-item:hover::after {
  width: 100%;
  left: 0;
}

.mobile-menu.active {
  transform: rotate(90deg);
}

.mobile-menu {
  display: none;
  width: 40px;
  height: 40px;
  padding: 10px;
  cursor: pointer;
  transition: transform 0.3s;
  z-index: 1001;
}
.mobile-menu {
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu.active .hamburger .line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu.active .hamburger .line:nth-child(2) {
  opacity: 0;
}
.mobile-menu.active .hamburger .line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav-links {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .header {
    justify-content: space-between;
  }
  .nav-inner {
    padding: 1rem;
    flex-direction: column;
  }

  .mobile-menu {
    display: block;
  }
  .mobile-menu.active .line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-menu.active .line:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .order-button {
    bottom: 40px;
    right: 15px;
    padding: 8px 16px;
  }

  .order-icon {
      width: 16px;
      height: 16px;
      margin-right: 6px;
  }

  .order-text {
      font-size: 14px;
  }
  .nav-links {
    display: block;
    justify-content: space-between;
    width: 100%;
  }
  .nav-buttons {
    flex-direction: column;
    /* width: 100%; */
    float: left !important;
  }
}

/* 下单弹窗*/

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-container {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  width: 90%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.close-button {
  position: absolute;
  right: 16px;
  top: 16px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}

.close-button:hover {
  transform: scale(1.1);
}

.modal-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin-bottom: 24px;
}

.service-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card {
  display: flex;
  align-items: center;
  padding: 16px;
  border-radius: 12px;
  background: #f8f9fa;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-right: 16px;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-info h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 4px 0;
  color: #333;
}

.service-info p {
  font-size: 14px;
  color: #666;
  margin: 0;
}




.order-button {
  position: fixed;
  right: 20px;
  bottom: 80px;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background: linear-gradient(90deg, #168ff1 0%, #125eeb 100%);
  border-radius: 24px;
  box-shadow: 0 4px 8px rgba(255, 107, 34, 0.2);
  cursor: pointer;
  z-index: 999;
}

.order-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.order-text {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 500;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
  height: 50px;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary);
  border-color: var(--primary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

.nav-btn {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin: 5px 0;
}
:root {
  --primary: #1677ff;
  --primary-dark: #0958d9;
  --primary-light: #e6f4ff;
  --secondary: #f5f5f5;
  --text-dark: #333;
  --text-light-shifu: #666;
  --text-lighter: #999;
  --white: #fff;
  --border: #eaeaea;
  --success: #52c41a;
  --warning: #faad14;
  --danger: #ff4d4f;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-buttons {
  flex-direction: column;
  /*width: 100%;*/
  float: right;
}