/* 全局样式重置与基础配置（现代化 + 保持品牌红色调） */
:root {
  --primary: #d32f2f;          /* 更明亮的现代红 */
  --secondary: #ffb300;        /* 温暖的金色点缀 */
  --dark: #212121;
  --light: #ffffff;
  --gray: #757575;
  --white: #ffffff;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.12); /* 更现代的柔和阴影 */
  --transition: all 0.25s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  color: var(--dark);
  line-height: 1.6;
  background-color: #fafafa; /* 更轻的灰白背景，偏现代感 */
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: #a71c1c;
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--dark);
}

.btn-secondary:hover {
  background: #e69500;
  transform: translateY(-2px);
}

/* 全站栏目区块节奏：与联系页「Get In Touch」等板块标题上下留白一致 */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.7rem; /* 标题更大，更有气势 */
  color: var(--primary);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 2px;
  background: var(--primary);
}

/* 头部样式（现代化：悬浮白色导航 + 轻阴影） */
.header {
  background: var(--white);
  border-bottom: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  background: #fdfdfd;
  color: var(--dark);
  padding: 8px 0;
  font-size: 0.9rem;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info span {
  margin-right: 20px;
}

.contact-info i {
  color: var(--primary);
  margin-right: 6px;
}

.social-links a {
  margin-left: 15px;
  font-size: 1.1rem;
  color: var(--gray);
}

.social-links a:hover {
  color: var(--primary);
}

.header-main {
  padding: 20px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 70px;
  margin-right: 15px;
}

.logo-text h1 {
  font-size: 2.2rem;
  color: var(--primary);
  font-weight: 700;
}

.logo-text p {
  font-size: 0.9rem;
  color: var(--gray);
}

.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
}

.nav-item {
  margin-left: 30px;
  position: relative;
}

.nav-link {
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 14px;
  display: inline-block;
  border-radius: 999px; /* 胶囊按钮 */
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background-color: rgba(211, 47, 47, 0.08);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary);
}


/* 响应式基础配置 */
@media (max-width: 992px) {
  .section-title h2 {
    font-size: 2.2rem;
  }
  
  .logo-text h1 {
    font-size: 1.8rem;
  }
  
  .nav-item {
    margin-left: 20px;
  }
}

@media (max-width: 768px) {
  .header-top .container {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-info {
    margin-bottom: 10px;
  }
  
  .header-main .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  .nav-list {
    justify-content: center;
  }
  
  .nav-item {
    margin: 0 10px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    margin-bottom: 40px;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .mobile-menu-btn {
    display: block;
    position: absolute;
    top: 25px;
    right: 20px;
  }
  
  .nav {
    display: none;
    width: 100%;
    margin-top: 20px;
  }
  
  .nav.active {
    display: block;
  }
  
  .nav-list {
    flex-direction: column;
    text-align: center;
  }
  
  .nav-item {
    margin: 10px 0;
  }
  
  .section {
    padding: 40px 0;
  }

  /* 手机端统一栏目标题节奏：参考 Contact 页 "Get In Touch" 的上下间隔 */
  .section-title {
    margin-top: 24px;
    margin-bottom: 32px;
  }
  
  .section-title h2 {
    margin: 0;
    font-size: 1.8rem;
  }

  .section-title .menu-categories {
    margin-top: 18px;
  }
}




/* 核心：Home和Business Hours水平排列容器 */
.home-hours-container {
  display: flex;
  align-items: center; /* 垂直居中对齐 */
  justify-content: space-between; /* 两端分布，可改center/space-around */
  gap: 30px; /* 板块间间距 */
  width: 100%;
  max-width: 1200px; /* 限制最大宽度，和contact页一致 */
  margin: 40px auto; /* 上下间距+水平居中 */
  padding: 0 20px;
}

/* Home板块样式优化 */
.home-section {
  flex: 1; /* 等分宽度 */
  background: var(--white);
  border-radius: 16px;
  padding: 40px 40px 32px;
  box-shadow: var(--shadow);
  border: none;
}

/* Business Hours板块样式优化（和contact页样式统一） */
.business-hours-section {
  flex: 1; /* 等分宽度 */
  background: var(--white);
  border-radius: 16px;
  padding: 40px 40px 32px;
  box-shadow: var(--shadow);
  border: none;
}

/* 响应式适配：小屏幕垂直排列 */
@media (max-width: 768px) {
  .home-hours-container {
    flex-direction: column;
    align-items: stretch; /* 拉伸占满宽度 */
  }
  
  .home-section, .business-hours-section {
    width: 100%;
  }
}

/* 补充：Business Hours列表样式（和contact页统一） */
.business-hours-section ul {
  list-style: none;
  padding: 0;
}

.business-hours-section ul li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 1.1rem;
}

.business-hours-section ul li:last-child {
  border-bottom: none;
}

.business-hours-section h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}

 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        /* Logo + 导航菜单样式 */
       
        .logo img {
            height: 60px; /* 根据实际 Logo 尺寸调整 */
        }
        .nav-menu {
            display: flex;
            gap: 30px;
        }
        .nav-menu a {
            text-decoration: none;
            color: #333;
            font-size: 18px;
            font-weight: 500;
            text-transform: uppercase; /* 英文大写 */
        }
        .nav-menu a:hover {
            color: #e63946;
        }
        /* 轮播图容器样式 */
        .carousel-container {
            position: relative;
            width: 100%;
            height: 500px; /* 轮播图高度，可调整 */
            overflow: hidden;
        }
        /* 轮播图片容器 */
        .carousel-slides {
            display: flex;
            width: 300%; /* 3张图 = 300% */
            height: 100%;
            transition: transform 0.5s ease;
        }
        /* 单张轮播图样式 */
        .carousel-slide {
            width: 100%;
            height: 100%;
        }
        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* 保持图片比例，填充容器 */
        }
        /* 轮播控制按钮 */
        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background-color: rgba(0,0,0,0.5);
            color: #fff;
            border: none;
            font-size: 24px;
            cursor: pointer;
            z-index: 10;
        }
        .prev-btn {
            left: 20px;
        }
        .next-btn {
            right: 20px;
        }
        /* 轮播指示器（小圆点） */
        .carousel-indicators {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
        }
        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: rgba(255,255,255,0.7);
            cursor: pointer;
        }
        .indicator.active {
            background-color: #e63946;
        }
        /* 响应式适配 */
        @media (max-width: 768px) {
            .carousel-container {
                height: 300px;
            }
            .header-top {
                flex-direction: column;
                gap: 10px;
                padding: 10px;
            }
            .nav-menu {
                gap: 15px;
            }
        }
        /* ========== 新增/修改：轮播图相关样式 ========== */
.carousel-container {
  position: relative; /* 作为子元素绝对定位的容器 */
  width: 100%;
  overflow: hidden; /* 保持轮播容器原有特性 */
}
.carousel-slide {
  position: relative;
}
.carousel-slide img {
  width: 100%; /* 确保图片铺满轮播容器 */
  height: auto; /* 保持图片比例 */
  filter: brightness(0.7); /* 图片变暗（70%亮度，可调整0.1-1） */
}
/* ========== 底部样式（现代深色底部） ========== */
.footer {
  background: #111111;
  color: #f5f5f5;
  padding: 60px 0 20px;
  width: 100%;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

/* Business Hours / Quick Links / Contact Info 的顺序保持不变 */
.footer-hours {
  order: 1; /* 控制显示顺序：第一个 */
}
.footer-links {
  order: 2; /* Quick Links 第二个 */
}
.footer-contact {
  order: 3; /* Contact Info 第三个 */
}
.footer-social {
  order: 4; /* Follow Us 第四个 */
}

.footer-column h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.footer-column a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-column a:hover {
  color: var(--primary);
}

.footer-hours ul li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-hours ul li:last-child {
  border-bottom: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: #bdbdbd;
}

.footer-bottom p {
  margin: 0;
}

.footer-accessibility-link {
  color: #e0e0e0;
  text-decoration: none;
  white-space: nowrap;
}

.footer-accessibility-link:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

