/* ====== HERO 区 ====== */
.hero-img-bg {
  background-image: url("../image/hokkin-mee/Background\ hero.jpg");
  position: relative;
  height: 450px;
  background-size: cover;
  background-position: center;
  width: 100%;
  display: flex;
  align-items: center;
}

body {
  background-color: #fde2cf;
  margin: 0;
  padding: 0;
}

h5 {
  font-size: 24px;
  color: #ababab;
  font-family: "Open Sans";
  font-weight: 300;
}

img {
  max-width: 100%;
  height: auto;
}

.hero-section {
  position: relative;
  background-repeat: no-repeat;
}

.hero-image img {
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.hero-deco {
  position: absolute;
  top: 30%;
  right: 7%;
  z-index: 3;
}

.hero-text {
  padding: 0;
}

.hero-text h1 {
  font-size: 60px;
  line-height: 1.2;
  color: #f8a720;
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

.scroll-cta {
  position: absolute;
  left: 80%;
  top: 88%;
}

.deco-dots {
  position: absolute;
  top: clamp(30px, 4%, 50px);
  right: clamp(30px, 4%, 50px);
  display: flex;
  gap: clamp(15px, 1.5%, 20px);
  z-index: 3;
}

.deco-dots span {
  width: clamp(15px, 1.5%, 20px);

  background-color: #f8a720;
  border-radius: 50%;
  display: block;
}

/* Intro Section */
.intro-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 50px 0;
  gap: 40px;
  position: relative;
  margin: auto;
  box-sizing: border-box;
  width: 100%;
}

.intro-left {
  flex: 1;
  position: relative;
}

.intro-box {
  background-color: #f8a720;
  padding: 25px;
  border-radius: 10px;
  position: relative;
  border-radius: 16px;
  border-width: 0px 0px 4px 4px;
  border-style: solid;
  border-radius: 8px;
}

.intro-deco2 {
  position: absolute;
  top: -9%;
  right: 4%;
}

.intro-box p {
  color: #222;
  line-height: 1.6;
  font-size: 16px;
  margin: 0;
}

.intro-deco {
  position: absolute;
  top: -20px;
  left: 80%;
  transform: translateX(-50%);
}

.intro-deco img {
  width: 100px;
  height: auto;
}

.intro-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-right img {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  object-fit: cover;
}

.note-content {
  background-color: #fde2cf;
  border-color: #642714;
}

/* ========== FOOD HISTORY SECTIONS ========== */
.flex-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.history {
  display: flex;
  margin: auto;
  max-width: 1440px;
}

.note-content {
  position: relative;
}

.intro-deco3 {
  position: absolute;
  top: -14%;
  left: 4%;
}

.background-yellow {
  width: 60%;
  /* margin-left: 110px; */
}

.background-yellow .note-content {
  background-color: #f8a720;
  border-radius: 10px;
  border-left: 2px solid #642714;
  border-bottom: 2px solid #642714;
}

.half-round-png {
  min-width: 300px;
}

.half-round-png img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
}

.ingredients {
  margin: auto;
  max-width: 1440px;
}

/* ========== 比较部分 ========== */
.comparison-section {
  margin: auto;
  max-width: 1440px;
}

.comparison-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  align-items: center;
}

.comparison-left {
  flex: 1;
  display: flex;
  justify-content: center;
}

.comparison-left img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  object-fit: cover;
}

.comparison-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.comparison-item {
  width: 100%;
}

.comparison-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.comparison-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
}

.comparison-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.comparison-text {
  flex: 1;
}

.comparison-box {
  border-radius: 8px;
}

.comparison-box.penang {
  background-color: #f8a720;
  border-left: 2px solid #642714;
  border-bottom: 2px solid #642714;
}

.comparison-box.kl {
  background-color: #f8a720;
  color: #fde2cf;
  border-left: 2px solid #642714;
  border-bottom: 2px solid #642714;
}

.comparison-box p {
  font-size: 16px;
  line-height: 1.5;
}

.hokkien-mee-sm-container {
  display: none;
}

.history-small {
  display: none;
}

.intro-title {
  padding: 30px 0;
  margin: 0;
}

/* 响应式设计 */

@media screen and (max-width: 1360px) {
  .flex-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0;
    padding: 30px 70px;
  }

  .background-yellow {
    width: 60%;
    margin-left: 0;
  }

  .half-round-png {
    width: 20%;
  }
}

@media screen and (max-width: 1180px) {
  .hero-img-bg {
    height: auto;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-text {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    padding: 0;
  }

  .hero-text h1 {
    font-size: 48px;
    text-align: left;
  }

  .hokkien-mee-sm-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: -50px;
  }

  .hokkien-mee-bg {
    margin: 0 0;
    background-color: #ed6325;
    border-radius: 100% 0 0 100%;
  }

  .hokkien-mee-bg img {
    height: 200px;
    width: 230px;
  }

  .hokkien-mee-row {
    justify-content: space-between;
  }

  .hokkien-mee-container {
    padding: 5% 0 5% 0;
  }

  .intro-section {
    flex-direction: column;
    padding: 0;
  }

  .intro-box {
    margin: 0;
  }

  .intro-right img {
    display: none;
  }

  .comparison-container {
    flex-direction: row;
  }

  .comparison-left img {
    max-width: 100%;
  }

  h5 {
    font-size: 12px;
  }

  .background-yellow {
    width: 60%;
    height: 100%;
    margin-left: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .background-yellow .note-content {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
  }

  .half-round-png {
    width: 20%;
  }

  .half-round-png img {
    width: 100%;
  }

  .flex-content {
    padding: 0;
  }
}

@media screen and (max-width: 950px) {
  .background-yellow {
    width: 50%;
    height: 100%;
    margin-left: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .background-yellow .note-content {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
  }

  .half-round-png {
    width: 20%;
  }

  .half-round-png img {
    width: 100%;
  }

  .flex-content {
    padding: 0;
  }
}

@media (max-width: 768px) {
  .hero-img-extend {
    width: 100%;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-img-bg {
    height: 350px;
  }

  .half-round-png {
    order: -1;
    width: 100%;
  }

  .half-round-png img {
    max-width: 100%;
  }

  .cultural-summary p {
    font-size: 16px;
  }

  .restaurant-info h3 {
    font-size: 28px;
  }

  .history {
    display: flex;
  }

  .comparison-container {
    flex-direction: column;
  }

  .background-yellow {
    width: 100%;
    padding-top: 20px;
  }

  .half-round-png {
    width: 100%;
  }

  .half-round-png img {
    width: 100%;
  }

  .history-large {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .hokkien-mee-sm-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: -20px;
  }
}

@media screen and (max-width: 468px) {
  .hero-text h1 {
    font-size: 28px;
  }

  .hero-img-bg {
    height: 250px;
  }

  .intro-box p {
    font-size: 14px;
  }

  .restaurant-info h3 {
    font-size: 24px;
  }

  .restaurant-info p {
    font-size: 14px;
  }

  .history-large {
    display: none;
  }
}

/* ========== 文化总结部分 ========== */
.cultural-summary {
  background-color: #f8a720;
  text-align: center;
  margin: auto;
  max-width: 1440px;
}

.cultural-summary p {
  font-size: 18px;
  line-height: 1.6;
  color: #222;
  margin: 0;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 400;
}

/* ========== 推荐店铺展示 ========== */
.featured-restaurant {
  background-color: #ed6325;
  padding: 0;
  display: flex;
  flex-direction: column;
  margin: auto;
  max-width: 1440px;
}

.restaurant-image {
  width: 100%;
  overflow: hidden;
}

.restaurant-image img {
  width: 100%;

  object-fit: cover;
}

.restaurant-info {
  text-align: center;
  color: white;
}

.restaurant-info h3 {
  font-size: 36px;
  margin: 0 0 20px 0;
  color: white;
  font-weight: bold;
}

.restaurant-info p {
  font-size: 16px;
  margin: 0 0 30px 0;
  color: white;
  line-height: 1.5;
}