/* General styles */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    transition: background 0.5s ease-in-out;
    background: #FF9B9B; /* Initial background */
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-weight: bold;
}

.menu-icon {
    font-size: 28px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1000; /* Ensure menu is on top */
}


.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: #f8c6c6;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease-in;
    padding-top: 50px;
    z-index: 999; /* Ensure sidebar is on top */
}


/* Close button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

/* Sidebar links */
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.sidebar ul li {
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.sidebar ul li.active {
    text-decoration: underline;
}


.hotpot-title {
    font-family: "Faster One", sans-serif;
    font-weight: 400;
    font-size: 28px;
    position: fixed; /* Ensure it's always on top */
    top: 15px;
    right: 20px;
    z-index: 1100; /* Ensure it's above other elements */
    background: rgba(255, 255, 255, 0); /* Optional: Avoid background interference */
    padding: 5px 10px;
}

/* Background shapes container */
.background-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
}

/* Top background shape (menu icon 下方) */
.top-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

/* Bottom background shape (hotpot 下方) */
.bottom-bg {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: auto;
}


/* Move everything down except the menu bar and title */
main {
    margin-top: 100px; /* Move all content down */
}


.hotpot-container {
    position: relative;
    width: 100%;
    max-width: 350px; /* Keep the container size */
    height: 250px; /* Fixed height */
    margin: 50px auto 0; /* Move the container down */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Remove border */
    border: none;
}

/* Move images down inside the container */
.hotpot-images {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    align-items: flex-end; /* Align images to the bottom */
}

/* Ensure images fit properly */
.hotpot {
    width: 100%;
    height: 100%;
    flex: 0 0 100%;
    object-fit: contain;
}

/* Style for H2 (HOTPOT) */
h2 {
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 36px; /* Increase font size */
    font-weight: 700; /* Make it bold */
    text-align: center; /* Ensure it's centered */
    margin-top: 20px;
}

/* Hotpot selector */
.hotpot-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    position: relative;
}

/* Hotpot selector container */
.hotpot-selector .selector {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hotpot selector icons */
.hotpot-selector .selector img {
    width: 60px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

/* White underline for active icon */
.hotpot-selector .selector.active::after {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    background-color: white;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}


/* Default button style */
.history-btn {
    background-color: #f4a8a8;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 60px;
    
    /* Change text color to white */
    color: white;

    /* Apply Fredoka One font */
    font-family: 'Fredoka One', sans-serif;

    /* Add shadow for 3D effect */
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.2);
    
    /* Smooth transition */
    transition: all 0.2s ease-in-out;
}

/* Hover effect - slight lift */
.history-btn:hover {
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

/* Active (click) effect */
.history-btn:active {
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3); /* Reduce shadow to simulate press */
    transform: translateY(3px); /* Move button down slightly */
    color: #FFD700; /* Change text color on click */
}



body.history-page {
    background: white !important;
}


.orange-circle {
    width: 259.88px;
    height: 259.88px;
    border-radius: 50%;
    border: 4.5px solid #FF7F00;
    background-color: transparent;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    transform-origin: center center;
    transition: transform 2.4s ease-in-out;
}


.expand-orange-circle {
    transform: translate(-50%, -50%) scale(1.5); /* 放大 1.5 倍但仍然居中 */
}

.heritage-text {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    position: absolute;
    top: calc(42% - 160px); /* 让它在 hotpot-left 和 hotpot-right 上方 */
    left: 50%;
    transform: translate(-50%, -50%) scale(0); /* 初始隐藏，缩小为 0 */
    font-size: 40px;
    font-weight: bold;
    color: #000000;
    opacity: 0; /* 初始不可见 */
    transition: transform 2.4s ease-in-out, opacity 2.4s ease-in-out;
}

.expand-heritage-text {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;}


/* 初始状态 */
.hotpot-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transform-origin: center center;
    opacity: 0;
    transition: transform 2.4s ease-in-out, opacity 2.4s ease-in-out;
  }
  
  /* 改成 .expand-heritage-text，而不是 .show-text */
  .hotpot-info.expand-heritage-text {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  

.hotpot-origin {
    color: #F94F4F;
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: normal; 
    margin: 0 0 15px; /* 让文字和按钮之间留一点间距 */
}

.explore-btn {
    /* 你已有的设计 */
    border-radius: 151.5px;
    background: #F94F4F;
    box-shadow: 0px 4px 4px rgba(0,0,0,0.25);
    color: #FFFFFF; 
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Frank Ruhl Libre', serif;
    padding: 10px 30px;
    transition: transform 0.2s, box-shadow 0.2s;
    /* 新增：往右、往下留空间 */
    margin-top: 20px;   /* 往下移一些 */
}


.explore-btn:hover {
    box-shadow: 0px 6px 6px rgba(0,0,0,0.25);
    transform: translateY(-2px);
}
.explore-btn:active {
    box-shadow: none;
    transform: translateY(2px);
}


.hotpot-left {
    position: absolute;
    width: 165.1px;
    height: 232px;
    top: 50%;
    left: 50%;
    /* 让它位于圆心左侧一些，-60% 可自行调整 */
    transform: translate(-90%, -50%);
    transform-origin: center center;

    /* 过渡动画，left 和 transform 都要过渡 */
    transition: left 2.4s ease-in-out, transform 2.4s ease-in-out;
}


/* 点击后：移到你目前想要的最终位置 + 放大 */
.expand-hotpot-left {
    left: calc(50% - 230px);         /* 你现有的终点位置 */
    transform: translate(-100%, -50%) scale(1.5);
}


.hotpot-right {
    position: absolute;
    width: 136px;
    height: 214px;
    top: 50%;
    left: 50%;
    /* 位于圆心右侧一些，-40% 是往左偏移40%，可自行调节 */
    transform: translate(5%, -50%);
    transform-origin: center center;

    /* 同样要过渡 left 和 transform */
    transition: left 2.4s ease-in-out, transform 2.4s ease-in-out;
}


/* 点击后：移到你目前想要的最终位置 + 放大 */
.expand-hotpot-right {
    left: calc(60% + 95px);          /* 你现有的终点位置 */
    transform: translate(0%, -50%) scale(1.5);
}


.history2-btn {
    position: fixed;
    bottom: 20px;
    transform: translateX(-50%);
}

.split-screen {
    display: none;            /* 初始隐藏 */
    width: 100%;
    height: 100vh;            /* 全屏高度 */
    position: relative;       /* 让内部元素可绝对定位 */

    top: 0;
    left: 0;
}



.left-pane {
    /* 你已有的浮动/宽度可以去掉，用 Flex 替代 */
    float: left;        /* ← 可以删掉或注释掉 */
    width: 50%;         /* 保留左右分栏宽度 */
    height: 100%;
    background: #FFFFFF; 
  
    /* 关键：Flex布局，垂直排布 */
    display: flex;
    flex-direction: column;
    justify-content: space-around; /* 让 3 个元素在垂直方向均匀分布，保证上下距离相等 */
    align-items: center;           /* 水平居中 */
  }

  .timeline {
    background: #FFC69A;       /* 矩形背景 */
    width: 466px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 47px;       /* 圆角 */
    padding: 20px 30px;        /* 内间距让文字和图片别贴边 */
    display: inline-flex;       /* 让文字和 triangle 并排对齐 */
    align-items: center;        /* 垂直居中对齐 */
    justify-content: center;
  }

  .timeline-text {
    color: #000;                                   /* 文字颜色黑 */
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);   /* 阴影 */
    font-family: "Frank Ruhl Libre", serif;        /* 指定字体 */
    font-size: 45px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    margin-right: 15px; /* 给文字与 triangle 之间留点空 */
  }

  .triangle {
    width: 80px;  /* 你可调整尺寸 */
    height: auto;
  }

  .boatmen {
    width: 507px;
    height: 516px;
    flex-shrink: 0;
    /* 如果想柔和地消失，可用 opacity 动画 */
    transition: opacity 0.3s ease-in;
  }
  
  .fade-out {
    opacity: 0;
    transition: opacity 0.3s ease-in;
  }

  #boatmen2 {
    display: none; 
    width: 507px; 
    height: 516px;
    /* ... 跟 boatmen1 一样大小 */
    transition: opacity 0.3s ease-in;
  }
  
  .boatmen-container {
    position: relative;
    /* 维持父元素的宽高，若想固定大小，可手动加 width/height */
    display: inline-block; 
  }

  .info-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 570.75px;
    height: 600px;
    flex-shrink: 0;
    background: #FCF6E0;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  
    /* 过渡动画 */
    transition: transform 0.3s ease-in, opacity 0.3s ease-in;
    
    /* 关键：使用 Flex 居中并让文字自动换行 */
    display: flex;
    flex-direction: column;      /* 垂直方向排布 */
    justify-content: center;     /* 垂直居中 */
    align-items: center;         /* 水平居中 */
    text-align: center;          /* 文字水平居中 */
    
    /* 若需内边距可加一下，避免文字贴边 */
    padding: 40px;  
    box-sizing: border-box;
  }
  

  .boatmen-text {
    color: #FF6F00;
    font-family: "Frank Ruhl Libre", serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0; /* 避免默认 <p> 外边距 */
  }
  

  .boatmen-container:hover #boatmen1 {
    opacity: 0; 
    pointer-events: none;
  }
  .boatmen-container:hover #info-circle1 {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  
  /* boatmen2 与 boatmen1 同样大小 */
.boatmen2 {
    width: 507px;
    height: 516px;
    display: none; /* 默认隐藏 */
    position: relative; /* 若需要绝对定位也可 */
    /* 让它跟 boatmen1 一样的 style */
    transition: opacity 0.3s ease-in;
  }
  
  .info-circle2 {
    position:absolute; 
    top:50%; left:50%;
    transform: translate(-50%,-50%) scale(0);
    opacity:0;
    transition: transform 0.3s ease-in, opacity 0.3s ease-in;
    /* 其他跟 info-circle 相同 */
  }
  
  .boatmen-container:hover #boatmen2 {
    opacity: 0;
    pointer-events: none;
  }
  .boatmen-container:hover #info-circle2 {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  
  /* 第三阶段的船工图，初始先隐藏 */
.boatmen3 {
  width: 507px;
  height: 516px;
  display: none; /* 默认不显示 */
  position: relative;
  transition: opacity 0.3s ease-in;
}

/* 第三阶段的 info-circle3 */
.info-circle3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0); /* 初始缩放为0，不可见 */
  opacity: 0;
  transition: transform 0.3s ease-in, opacity 0.3s ease-in;

  /* 其他和 info-circle2 相同 */
  width: 570.75px;
  height: 600px;
  background: #FCF6E0;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;  
  box-sizing: border-box;
}

  .arrow {
    width: 160px;  /* 你可按需调整尺寸 */
    height: auto;
  }

  
/* 橙色大标题（冒号前） */
.orange-title {
  color: #FF6A00;
  font-family: "Holtwood One SC";
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 25px 0 8px;  /* 适当上下留白，可自行微调 */
}

/* 黑色正文（冒号后） */
.black-text {
  color: #000;
  font-family: "Bangla MN";
  font-size: 25px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;   /* 行高稍作提升，可自行微调 */
  margin: 0 0 20px;   /* 段落与下一标题的间距 */
}




.right-pane {
  display: flex;
  flex-direction: column;    /* 垂直排布 */
  justify-content: center;   /* 垂直居中(可根据需求酌情修改) */
  align-items: flex-start;   /* 左对齐文字 */
  padding: 40px;             /* 给右侧留一些内边距 */
  box-sizing: border-box;
    float: right;
    width: 50%;
    height: 100%;
    background: #FFF7EC;      /* 右边 #FFF7EC */
}

/* 让旧内容在动画完毕后彻底隐藏 */
.hidden {
    display: none !important;
}

.center-hotpot-left {
    left: 40% !important; /* 比50%稍左一些 */
    transform: translate(30%, -50%) scale(1) !important;
    transition: transform 2.4s ease-in-out, opacity 2.4s ease-in-out;
  }
  
  .center-hotpot-right {
    left: 65% !important; /* 比50%稍右一些 */
    transform: translate(-130%, -48%) scale(1.05) !important;
    transition: transform 2.4s ease-in-out, opacity 2.4s ease-in-out;
  }
  

/* 2) 淡出 */
.fade-out {
    opacity: 0;
    transition: opacity 1s ease-in-out;  /* 1秒淡出，你可改 */
}

.final-hotpot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: auto;
    transform: translate(-50%, -50%) scale(1);
    transform-origin: center center;
    opacity: 0;
    z-index: 9999; /* 提高层级 */
    transition:
      opacity 1s ease-in-out,
      transform 0.3s ease-in;
  }
  
  .show-final {
    /* 不再改 transform，避免和 shrink-up 冲突 */
    opacity: 1;
  }
  
  .shrink-up {
    transform: translate(-50%, calc(-50% - 80px)) scale(0.5);
  }
  

  .split-screen2 {
    width: 100%;
    height: 1196px;  /* 固定高度 1196px */
    display: none;
    overflow: hidden;/* 如果不需要左右滚动，可按需保留/移除 */
  }
  
  /* 左半部分 */
  .split2-left {
    width: 50%;
    height: 100%;
    background: #FFF7EC;
    /* 需要的话可加文字样式、内边距 etc. */
    display: flex;
    flex-direction: column;   /* 垂直排布 */
  align-items: center;      /* 水平居中 */
  justify-content: flex-start; /* 垂直方向从上开始 */
    
  }

  .left-content {
    position: relative; /* 重要：让里面的绝对定位基于这块 */
    width: 100%;
    /* 你已有的对齐/布局其他代码可保持不变 */
  }

  .borders-group {
    position: absolute; 
    top: 400px; /* 例如统一往下 150px */
    left: 0;    /* 让它从 left-content 左边开始 or 其它合适位置 */
    width: 100%; /* 确保内部的 city-border 绝对定位依旧参照这里 */
  }
  
  .city-border {
    position: absolute;
    width: 238px;
    height: 83px;
    border-radius: 47px;
    border: 4px solid #FF8A8A;
    background: #FFC69A;
  
    /* 让文字居中 */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  
    /* 文字外观 */
    color: #000; 
    font-family: "Agbalumo", sans-serif;
    font-size: 35px;
    font-weight: 400;
  
    /* 关键：动画放大 */
    transform-origin: center center;
    transition: transform 0.4s ease;
  }
  
  /* 当它处于展开状态 => 放大2.5倍 */
  .city-border.expanded {
    transform: scale(2.5);
  }

  .city-expanded-text {
    font-family: "Alkalami", serif;
    font-size: 10px;
    color: #333;
    line-height: 1.4;
    margin: 0; /* etc. */
  }
  
  .city-expanded-text .highlight {
    color: #FF8400;
    font-weight: 700;
  }
  

  

    /* 右侧3个 */
.city-r1 {
  top: 20px;                 /* 离 .left-content 顶部 80px */
  left: 400px;               /* 往右移动(假设 .reminder-line 大约居中) */
}
.city-r2 {
  top: 260px;                /* 再往下 140px */
  left: 400px;
}
.city-r3 {
  top: 500px;
  left: 400px;
}

/* 左侧3个 */
.city-l1 {
  top: 140px;                /* 比右边稍微错落 */
  left: 100px;               /* 在 reminder-line 左边 */
}
.city-l2 {
  top: 380px;
  left: 100px;
}
.city-l3 {
  top: 620px;
  left: 100px;
}

  
  .hotpot-note {
    width: 590px;
    color: #FF6A00;
    font-family: "Frank Ruhl Libre";
    font-size: 38px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    
    /* 可选：若想文字居中或留白，额外加 margin */
    margin: 20px auto 0;
    text-align: center;
}

.hotpot-reminder {
  position: relative;
  width: 638px;
  height: 83px;
  flex-shrink: 0;
  border-radius: 47px;
  border: 5px solid #FFA844;
  background: #FFCECE;

  /* 让内部文字居中 */
  display: flex;
  align-items: center;
  justify-content: center;

  /* 如果要它紧贴 .hotpot-note，可以视情况加一些 margin-top */
  margin: 20px auto 0; /* 让它水平居中，并与上面留空白 */

  /* 文字样式（根据你需要自行调整） */
  color: #000;
  font-family: "Agbalumo", system-ui; /* 或你想用的字体 */
  font-size: 24px;               /* 可自行调整 */
  font-weight: 700;              /* 加粗 */
}

.reminder-line {
  position: absolute;
  width: 8px;
  height: 844px;
  background: #FF8A8A;

  /* 让线的顶端贴在 hotpot-reminder 的底部中央 */
  bottom: -900px;       /* 从容器底部算起 */
  left: 50%;            /* 水平居中 */
  transform: translateX(-50%);
}

  /* 右半部分 */
  .split2-right {
    width: 50%;
    height: 100%;
    background: #fff; /* 纯白 */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* 外层: rightContent (可选：用于额外布局) */
.rightContent {
  display: flex;        /* 如果想让内部在水平方向也居中 */
  justify-content: center;
  align-items: center;
  /* 根据需求，可以加 margin/padding 让其与 .split2-right 顶部/左右留白 */
}

/* 长方形容器: 688×341, 4px border #FFC69A, 背景白 */
.stat-box {
  width: 688px;
  height: 341px;
  flex-shrink: 0;
  border: 4px solid #FFC69A;
  background: #FFF;

  /* 让内部文字居中对齐，可选 */
  display: flex;
  justify-content: center; 
  align-items: center;
  box-sizing: border-box;
  padding: 20px;  /* 给文字四周留空隙，避免贴边 */
}

/* 文字 (黑色、Alkalami 35px、权重400) */
.stat-text {
  width: 657px;          /* 你截图里 "width:657px" */
  color: #000;           /* 黑色 */
  font-family: "Alkalami", serif;
  font-size: 35px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;             /* 去掉默认段落间距 */
  text-align: left;      /* 也可改 'center' 或别的 */
}

/* 强调金额/数字: 橙色 #FF8400, 同字体 */
.money-highlight {
  color: #FF8400;
  font-family: "Alkalami", serif;
  font-size: 35px;
  font-weight: 400;
  font-style: normal;
  line-height: normal;
}

.go-to-history2-btn {
  /* 尺寸、背景、边框与 .hotpot-reminder 类似 */
  width: 638px;
  height: 83px;
  border-radius: 47px;
  border: 5px solid #FFA844; 
  background: #FFCECE;

  /* 让文字居中 */
  display: flex;
  align-items: center;
  justify-content: center;

  /* 文字样式，可适当微调 */
  color: #000;
  font-family: "Agbalumo", system-ui;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;

  /* 如果要让它水平居中 */
  margin: 30px auto;
  
  /* Hover / Active 效果(可选) */
  transition: transform 0.2s, box-shadow 0.2s;
}
.go-to-history2-btn:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}
.go-to-history2-btn:active {
    box-shadow: none;
    transform: translateY(2px);
}

/* 1) 整个页面背景图 */
.history2-body {
  margin: 0;
  padding: 0;
  /* 用背景覆盖全屏 */
  background: url("assets/img/chongqingBa.png") no-repeat center center;
  background-size: cover;
  min-height: 100vh; /* 确保页面高度至少占满屏幕 */
}

/* 2) 容器：用于居中、定位长方形、熊猫、箭头等 */
.history2-container {
  width: 100%;
  max-width: 1200px; /* 示例：限制内容区域宽度 */
  margin: 0 auto;    /* 水平居中 */
  position: relative;
  padding-top: 80px; /* 给顶部留点空间，防止和头部冲突 */
  /* 可根据需要再增加 margin-bottom 等 */
}

/* 3) 中间长方形(info-rectangle) */
.info-rectangle {
  width: 803.25px;             /* 对应Figma */
  height: 315px;
  border: 2.25px solid #000;   /* 黑色边框 */
  background: rgba(255, 211, 166, 0.91); 
  margin: 0 auto;              /* 让它在容器内水平居中 */
  display: flex;
  align-items: center;         /* 垂直居中文字 */
  justify-content: center;     /* 水平居中文字 */
  box-sizing: border-box;
}
.info-text {
  font-size: 20px;
  color: #333;  /* 示例：文字颜色 */
  text-align: center;
  width: 90%;   /* 避免文字贴边，可根据需要调整 */
}

/* 专门给这句文字用的类，覆盖 .info-text 里默认的 font-size=20px */
.cooking-intro {
  /* Figma 数据示例：45px, 字体 'Agbalumo', 颜色黑 */
  font-family: 'Agbalumo', sans-serif; 
  font-size: 38px;     
  color: #000;       
  line-height: normal;   /* 或你想要的行高 */

  /* 如果你想让它和 .info-text 的属性叠加，则可以保留 text-align:center 等 */
  /* 你也可以在这里加 margin, width 等，但一般 info-rectangle 会负责布局 */
}

/* 给那两个关键字变红色 */
.highlighted-red {
  color: #FF3131;
}


/* 4) 熊猫图片(panda-pic) */
.panda-pic {
  width: 343px; 
  height: 515px;
  flex-shrink: 0;
  /* 示例：使用 background-image 显示图, 后续可在JS中替换 url() */
  background: url("assets/img/pandaRecipe.png") no-repeat center center;
  background-size: contain;

  /* 让它在长方形右侧 - 简单做绝对定位 */
  position: absolute;
  top: 30px;   /* 相对容器顶部的距离，可自行调整 */
  right: -50px; /* 相对容器右侧的距离 */
}

/* 5) 箭头组 (arrow-group) */
.arrow-group {
  width: 176px;
  height: 66px;
  margin: 20px auto 0; /* 让它在父容器内居中，且与上方留点空 */
  position: relative;  /* 内部箭头可绝对定位 */
  /* 如果有一整张“左右箭头”拼在一起的背景图，也可用 background */
  /* background: url("assets/img/arrowGroup.png") no-repeat center center; */
}

/* 箭头：左、右 */
.arrow-left,
.arrow-right {
  width: 50px;  
  height: 66px; 
  position: absolute;
  top: 0;
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer; /* 鼠标变成小手 */
}

/* 左箭头放在容器左边 (示例：可替换背景图片) */
.arrow-left {
  left: 0;
  background-image: url("assets/img/arrowLeft.png");
}

/* 右箭头放在容器右边 (示例：可替换背景图片) */
.arrow-right {
  right: 0;
  background-image: url("assets/img/arrowRight.png");
}


#chongqingBa2-section {
  width: 1515px;
  height: 764px;
  margin: 50px auto; /* 让它水平居中，并与上方留一点空隙 */
  background: url("assets/img/chongqingBa2.png") no-repeat center center;
  background-size: cover;
  /* 如果想让它紧跟在其他内容后面出现，不需要额外JS隐藏 */
}

/* ========== final-page 样式 ========== */
.final-page {
  width: 100%;
  max-width: 1200px; /* 你可以根据需求调整 */
  margin: 50px auto; /* 让它居中，并与上面留距离 */
  position: relative;
  text-align: center; 
  padding: 40px 20px; 
  box-sizing: border-box;
}

/* 大标题三行 */
.end-title {
  font-size: 80px; 
  margin: 20px 0 10px;
  margin-left: -600px;
  color: #EF4C00;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.pinyin-end {
  font-size: 50px; 
  color: #EF4C00;
  margin: 5px 0;
  margin-left: -600px;
}
.cn-end {
  font-size: 50px;
  color: #EF4C00;
  margin: 5px 0 20px;
  margin-left:-600px;
}

/* 椭圆按钮: Leave a feedback (右上角) */
.feedback-btn-end {
  position: absolute;
  top: 200px; 
  right: -20px;
  width: 450px;
  height: 81px;
  border-radius: 47px;
  border: 5px solid #000; 
  background: #F9F2E2;
  border-radius: 40px; /* 椭圆 */
  padding: 10px 20px;
  cursor: pointer;
  font-size: 45px;

 
}

.feedback-btn-end:hover {
  background: #979182;  /* 按需改成你喜欢的颜色 */
}

/* 熊猫 + Thanks for watching */
.panda-end-wrapper {
  display: inline-block;
  position: relative;
  margin: 30px auto;
}
.panda-end {
  width: 355px; /* 依需要调整 */
  display: block;
  margin-left: -500px;
}


/* 右侧导航 */
.end-nav {
  position: absolute;
  top: 100px; 
  right: 20px;
  font-size: 60px;
}

.end-nav a:hover {
  color: #D23232; /* 你想变得更深的颜色 */
}

.end-nav ul {
  list-style: none; 
  margin-top: 280px;
  padding: 0;
  text-align: right;
}
.end-nav li {
  margin: 10px 0;
}
.end-nav a {
  color: #F94F4F; 
  text-decoration: none;
  font-weight: bold;
  font-size: 50px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
 
}

/* Back to top 圆形按钮 */
.back-to-top-end {
  position: fixed;
  bottom: 30px; 
  right: 30px;
  width: 60px; 
  height: 60px;
  background: #fff;
  border: 2px solid #000;
  border-radius: 50%;
  color: #000;
  font-size: 8px;
  text-align: center;
  line-height: 56px; /* 让文字垂直居中 */
  text-decoration: none;
  cursor: pointer;
}
.back-to-top-end:hover {
  background: #000;
  color: #fff;
}

/* 底部版权文字 */
.end-footer {
  margin-top: 40px;
  margin-left: -950px;
  font-size: 14px;
  color: #333;
}


/************************************/
/*  1) 重新定义 bodyR  避免覆盖其他页面 */
/************************************/
.bodyR {
  /* font-family: Arial, sans-serif; */
  background: #fff; /* 如果要特定背景，可改这里 */
  color: #000;
  /* 如果你要 margin/padding 也在这里加 */
}

/************************************/
/*  2) 顶部导航 main-headerR, nav-menuR */
/************************************/
.main-headerR {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  
}
.logoR {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  font-family: "Faster One", sans-serif;
}
.nav-menuR ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  
}
.nav-menuR li a {
  text-decoration: none;
  color: #000;
  font-size: 24px;
  font-weight: 500;
  transition: color 0.2s;
  font-family: "Frank Ruhl Libre", serif;;
}
.nav-menuR li a:hover {
  color: #ff7a7a; /* 悬停变深 */
}

/************************************/
/*  3) 主容器: .restaurant-containerR */
/************************************/
.restaurant-containerR {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* 顶对齐 */
  max-width: 1200px;
  margin: 60px auto; 
  padding: 0 40px;
  /* 你也可加一些背景/渐变 */
}

/************************************/
/*  4) 左侧文字: left-contentR, etc. */
/************************************/
.left-contentR {
  width: 45%; 
}
.rest-titleR {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}
.rest-priceR {
  font-size: 24px;
  margin-bottom: 20px;
  color: #ff6060;
}
.rest-descR {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}
.reserve-btnR {
  background: #F94F4F;
  color: #fff;
  font-size: 18px;
  padding: 14px 28px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.2s;
}
.reserve-btnR:hover {
  background: #d93a3a; /* 悬停加深 */
}

/************************************/
/*  5) 右侧图片: .right-imagesR, etc. */
/************************************/
.right-imagesR {
  width: 50%; 
  display: flex;
  margin-left: 250px; 
  align-items: center;
}
.big-circleR {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-bottom: 30px;
  margin-right: 50px; 
}
.small-circlesR {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.small-circleR {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;

}
