/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局样式 */
body {
    font-family: 'Montserrat', sans-serif;
    color: #222222;
    line-height: 1.6;
}

/* 自定义按钮样式 - 统一所有按钮外观 */
/* 修改后的.btn-primary样式 - 更窄更高 */

.btn-primary {
    display: inline-block;
    background-color: #c8102e; /* 主色调红色 */
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 24px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    /*box-shadow: 0 0 15px #e7da99*/

}

.btn-primary:hover {
    background-color: #a60d25; /* 稍深的红色 */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    display: inline-block;
    background-color: #f8b62d; /* 辅助色金色 */
    color: #222222;
    padding: 0.75rem 1.5rem;
    border-radius: 24px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #e6a31a; /* 稍深的金色 */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* 布局和间距类 */
.section-padding {
    padding: 60px 0;
}

/* 导航栏样式 */
#navbar {
    transition: background-color 0.3s ease, padding 0.3s ease;
}

#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}


/* 移动端按钮宽度限制 */
@media (max-width: 768px) {
    /* 针对英雄区域的两个主要按钮 */
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        /* 限制最大宽度，使其不那么宽 */
        max-width: 500px;
        /* 让按钮在容器内居中 */
        margin-left: auto;
        margin-right: auto;
        /* 可根据需要调整内边距 */
        padding-left: 2rem;
        padding-right: 2rem;

    .hibachi-cards {
    grid-template-columns: repeat(3, 1fr);
  }
    }
    
    /* 确保按钮容器使用正确的类名 */
    .hero-buttons {
        /* 移动端按钮垂直排列时增加间距 */
        gap: 0.65rem;
    }
}

/* 如果需要单独调整Book Now按钮 */
@media (max-width: 768px) {
    a.btn-primary.book-now-mobile {
        max-width: 280px;
        /* 可选：调整字体大小适应窄按钮 */
        font-size: 1.2rem;
    }
}



/* 文本阴影 */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 画廊样式 */
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}



/* 动画和过渡效果 */
.transition-custom {
    transition: all 0.3s ease;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }
    
    .btn-primary, .btn-secondary {
        padding: 1.2rem 1.4em;
        font-size: 1rem;
    }

    .grid-cols-3 {
        grid-template-columns: 1fr;
    }
    
    .section-padding {
        padding-top: 60px;
        padding-bottom: 20px;
    }
}

/* 强制隐藏/显示菜单的样式 */
#mobile-menu.hidden {
    display: none !important;
}

/* 确保按钮可点击 */
#menu-toggle {
    cursor: pointer !important;
    z-index: 9999 !important;
}

/* 修复导航栏固定时的页面偏移 */
body {
    padding-top: 80px; /* 根据导航栏高度调整 */
}





/* 卡片容器 - 响应式布局 */
.card-container {
  display: grid;
  grid-template-columns: 1fr; /* 手机端单列 */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* 卡片基础样式 */
.card {
  background-color: #ab2418; /* 目标红色 */
  color: white;
  border-radius: 24px;
  padding: 30px 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  text-align: center; /* 所有卡片内容居中 */
}

/* 卡片图标样式 */
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  margin-bottom: 20px;
  font-size: 28px;
}

/* 卡片标题样式 */
.card-title {
  font-size: 22px;
  font-weight:normal;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

/* 卡片文本标题样式 */
.card-title-text {
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.7;
  text-align: center;
}

/* 卡片文本行间距 */
.card-title-textbottom {
  padding: 24px 2px 10px 2px;
  line-height: 1.7;
}


/* 卡片文本样式 */
.card-text {
  font-size: 15px;
  margin-bottom: 12px;
  line-height: 1.7;
  text-align: left;
}

/* 列表基础样式 */
.card-list {
  list-style-position: inside;
  list-style-type: disc;
  text-align: left;
}

.card-list li {
  font-size: 15px;
  margin-bottom: 2px;
  padding-left: 5px;
}

/* 第二张卡片的双列列表 - 仅在桌面端生效 */
.two-column-list {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 15px 0 20px;
}

/* 按钮样式 */
.group-special-btn {
  background-color: #000;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 24px;
  margin-top: 10px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  text-transform: uppercase;
}

.group-special-btn:hover {
  opacity: 0.9;
}

/* 桌面端样式 (768px以上) */
@media (min-width: 768px) {
  .card-container {
    grid-template-columns: repeat(3, 1fr); /* 三列布局 */
  }
  
  /* 保持文本居中 */
  .card {
    text-align: center;
  }
  
  /* 第二张卡片的双列列表在桌面端显示 */
  .two-column-list {
    display: flex;
  }
}

/* 移动端样式 (767px以下) */
@media (max-width: 767px) {
  /* 移动端列表恢复单列 */
  .two-column-list {
    display: block;
  }
  
  .card {
    padding: 25px 20px;
  }
  
  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .card-title {
    font-size: 22px;
  }
  
  .card-text, .card-list li {
    font-size: 14px;
  }
  
  .group-special-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}
    

/* 分隔符区域样式 */
.separator-section {
    background-color: #ffffff;
}

.separator-line {
    height: 1px;
    background-color: #939393;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.7;
}

.separator-text h3 {
    font-size: 18px;
    color: #535353;
    line-height: 1.5;
    max-width: 900px;
    text-align: center;
    padding:0 10px 20px 30px;

}
 



/*预定信息*/
.booking-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 18px;
    color: #c8102e; /* 可根据实际调整颜色 */
    margin-bottom: 30px;
    font-weight: bold;
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.region-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.region-name {
    font-size: 22px;
    margin: 10px 0;
    font-weight: bold;
}

.region-img {
    width: 100%;
    border-radius: 24px;
    margin-bottom: 15px;
    aspect-ratio: 16/9; /* 保持图片比例 */
    object-fit: cover;
}

.book-btn {
    background-color: #c8102e;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 24px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.book-btn:hover {
    background-color: #a50d24; /* 深色 hover 效果 */
}

/* 移动端适配 */
@media (max-width: 768px) {
    .region-grid {
        grid-template-columns: 1fr;
    }
}



/* 黑色信息模块样式 - 精确控制文字细节 */
.middle-black-section {
    background-color: #000000; /* 纯黑色背景 */
    color: #ffffff; /* 主文字白色 */
    padding: 45px 20px;
    margin: 40px 0; /* 与上下模块保持明显间距 */
}

.middle-black-section .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.middle-black-section .content-wrapper {
    text-align: center;
}

/* 主标题样式 */
.middle-black-section h2 {
    font-size: 26px; /* 精确控制标题大小 */
    font-weight: 700;
    margin-bottom: 22px;
    line-height: 1.5; /* 优化行高确保可读性 */
    color: #ffffff; /* 纯白标题 */
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.3px; /* 微调字间距 */
}

/* 描述文本样式 */
.middle-black-section p {
    font-size: 16px; /* 描述文字精确大小 */
    color: #d1d1d1; /* 浅灰色文字，非纯白色 */
    margin-bottom: 28px;
    line-height: 1.65; /* 优化行高 */
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

/* 关键词列表样式 */
.keywords-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 22px; /* 关键词间距精确控制 */
}

.keywords-list span {
    font-size: 14px; /* 关键词文字大小 */
    color: #b3b3b3; /* 比描述文字更深的灰色 */
    line-height: 1.7;
    letter-spacing: 0.2px;
}

/* 移动端响应式调整 - 精确适配小屏幕 */
@media (max-width: 768px) {
    .middle-black-section {
        padding: 35px 15px;
        margin: 30px 0;
    }
    
    .middle-black-section h2 {
        font-size: 22px; /* 移动端标题缩小 */
        margin-bottom: 18px;
        line-height: 1.45;
    }
    
    .middle-black-section p {
        font-size: 15px; /* 移动端描述文字调整 */
        margin-bottom: 22px;
    }
    
    .keywords-list {
        gap: 12px 18px;
    }
    
    .keywords-list span {
        font-size: 13px; /* 移动端关键词缩小 */
        color: #bcbcbc; /* 移动端关键词颜色微调 */
    }
}

/* 平板设备适配 */
@media (min-width: 769px) and (max-width: 1024px) {
    .middle-black-section h2 {
        font-size: 24px;
    }
}