/* ==================== 响应式设计 ==================== */
@media screen and (max-width: 1400px) {
  .header-section {
    height: 50vh;
  }
  .header-content {
    width: 125%;
  }
}

@media screen and (max-width: 1024px) {
  .header-content {
    width: 135%;
  }
  .header-section {
    height: 45vh;
  }
  .header-title {
    font-size: 48px;
  }

  .header-subtitle {
    font-size: 24px;
  }

  .section-title {
    font-size: 36px;
  }

  .food-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
  }
}

@media screen and (max-width: 768px) {
  .header-bg {
    background-image: url("../images/banner-wap.jpg");
  }
  .header-section {
    height: 40vh;
  }

  .header-title {
    font-size: 36px;
  }

  .header-subtitle {
    font-size: 20px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: var(--spacing-sm);
  }

  .intro-content p {
    font-size: 16px;
  }

  .food-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .carousel-image {
    height: 250px;
    min-height: 250px;
  }

  .carousel-item {
    min-height: 430px;
  }

  .carousel-content {
    min-height: 180px;
  }

  .food-image {
    height: 200px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 40px;
    height: 40px;
  }

  .swiper-button-prev img,
  .swiper-button-next img {
    width: 16px;
    height: 16px;
  }

  .swiper-button-prev {
    left: 5px;
  }

  .swiper-button-next {
    right: 5px;
  }

  .steam {
    width: 15px !important;
    height: 22px !important;
  }
}

@media screen and (max-width: 480px) {
  .header-section {
    height: 30vh;
  }
  .header-content {
    top: 56%;
    width: 175%;
  }

  .header-title {
    font-size: 28px;
  }

  .header-subtitle {
    font-size: 16px;
  }
  .section:first-child {
    padding-top: var(--spacing-md);
  }
  .section-title {
    font-size: 24px;
  }

  .section {
    padding: var(--spacing-md) 0;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  .intro-content p {
    font-size: 14px;
  }

  .carousel-content h3,
  .section-traditional .food-content h3,
  .section-western .food-content h3 {
    font-size: 20px;
  }

  .carousel-content p,
  .section-traditional .food-content p,
  .section-western .food-content p {
    font-size: 14px;
  }

  .section-western .food-content {
    padding: var(--spacing-sm);
  }

  .section-western .food-image {
    height: 310px;
  }

  .carousel-item {
    min-height: 400px;
  }

  .carousel-image {
    height: 200px;
    min-height: 200px;
  }

  .carousel-content {
    min-height: 200px;
  }

  .section-western .food-image {
    height: 270px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 36px;
    height: 36px;
  }

  .swiper-button-prev img,
  .swiper-button-next img {
    width: 14px;
    height: 14px;
  }

  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 4px;
  }

  .swiper-pagination-bullet-active {
    width: 20px;
  }

  .footer-line {
    font-size: 14px;
  }

  .scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 30px;
    right: 30px;
  }

  .scroll-to-top img {
    width: 20px;
    height: 20px;
  }
}

@media screen and (max-width: 480px) {
  .scroll-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }

  .scroll-to-top img {
    width: 18px;
    height: 18px;
  }
}
