body 
{
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #000000, #1a1a1a, #2a2a2a); /* 黑色渐变背景 */
    color: #e0e0e0; /* 银色文字 */
    box-shadow: inset 0 0 100px rgba(212, 175, 55, 0.1);
}

header 
{
    background: linear-gradient(145deg, #000000 0%, #1a1a1a 100%); /* 黑色渐变 */
    color: #FFD700; /* 金色文字 */
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3); /* 金色阴影 */
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

/* 通用动画样式 */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px); /* 初始位置向上 */
    }
    60% {
        opacity: 1;
        transform: translateY(5px); /* 中途稍微下移，增加弹性效果 */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* 最终位置 */
    }
}

/* 分页容器样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.pagination a, .pagination span.ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    background: #2a2a2a;
    color: #C0C0C0;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.pagination a:hover {
    background: #D4AF37;
    color: #1a1a1a;
}

.pagination a.active {
    background: #D4AF37;
    color: #1a1a1a;
    font-weight: 600;
}

.pagination span.ellipsis {
    background: transparent;
    color: #777;
    cursor: default;
}

/* 手机端适配：如果屏幕太窄，自动换行或缩小间距 */
@media (max-width: 600px) {
    .pagination {
        gap: 5px;
        flex-wrap: wrap;
    }
    .pagination a, .pagination span {
        min-width: 35px;
        height: 35px;
        padding: 0 10px;
        font-size: 13px;
    }
}

/* Logo */
.logo {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeIn 0.5s forwards;
    animation-delay: 0.1s; /* Logo 的延迟 */
	max-height: 80px;
    padding: 15px 0;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

/* h2 样式 */
h2 {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeIn 0.5s forwards;
    animation-delay: 0.2s;
    color: #FF0000; /* h2 的字体颜色（红色） */
}

h3 
{
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeIn 0.5s forwards;
    animation-delay: 0.3s;
    color: #FFFFFF; /* h3 的字体颜色（绿色） */
}

h4
{
    font-size: 2.5rem;
  	color: var(--gold);
  	margin-bottom: 40px;
	letter-spacing: 2px;
  	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  	position: relative;
  	display: inline-block;
}

h4::after 
{
	content: '';
 	position: absolute;
  	bottom: -10px;
  	left: 50%;
  	transform: translateX(-50%);
  	width: 380px;
  	height: 3px;
  	background: linear-gradient(to right, transparent, #C8C8C8, transparent);
}

/* h5 样式 */
h5 {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeIn 0.5s forwards;
    animation-delay: 0.5s;
    color: #FFA500; /* h5 的字体颜色（橙色） */
}

h6
{
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeIn 0.5s forwards;
    animation-delay: 0.3s;
    color: #2A00FF;
	font-size: 18px;
}


nav {
    display: flex;
    justify-content: center; /* 居中对齐 */
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 半透明黑色 */
    backdrop-filter: blur(5px); /* 背景模糊效果 */
    z-index: 900; /* 低于菜单但高于其他内容 */
    display: none; /* 默认隐藏 */
}

.toggle {
    display: none; /* 默认不显示，直到小屏幕 */
    font-size: 24px; /* 可以根据需要调整 */
    cursor: pointer; /* 鼠标悬停时显示为手形 */
    padding: 10px; /* 内边距 */
    color: #ecf0f1; /* 按钮颜色 */
    position: absolute; /* 绝对定位以放置在左上角 */
    top: 10px; /* 距离顶部的距离 */
    left: 10px; /* 距离左侧的距离 */
    z-index: 1000; /* 确保按钮位于其他内容之上 */
}

.toggle.active {
    transform: rotate(45deg); /* 旋转按钮变成“打叉”效果 */
}

#nav-menu {
    display: flex; /* 默认显示导航菜单 */
    flex-direction: row; /* 默认水平排列 */
}

.nav {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    perspective: 1000px;
}

.nav li {
    display: flex;
    align-items: center;
    margin: 12px;
    width: calc(33.33% - 24px);
    opacity: 0;
    transform: translateY(20px) rotateX(15deg);
    animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    transition: all 0.4s ease;
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border-radius: 8px;
    padding: 8px 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3),
                inset 0 0 0 1px rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.nav li::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 215, 0, 0.1) 0%,
        transparent 50%,
        rgba(255, 215, 0, 0.1) 100%
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.nav li:hover {
    transform: translateY(-8px) rotateX(5deg);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4),
                inset 0 0 0 1px rgba(255, 215, 0, 0.4);
}

.nav li:hover::before {
    opacity: 1;
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; top: -100%; }
    100% { left: 100%; top: 100%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px) rotateX(15deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* 延迟动画 */
.nav li:nth-child(1) { animation-delay: 0.1s; }
.nav li:nth-child(2) { animation-delay: 0.2s; }
.nav li:nth-child(3) { animation-delay: 0.3s; }
.nav li:nth-child(4) { animation-delay: 0.4s; }
.nav li:nth-child(5) { animation-delay: 0.5s; }
.nav li:nth-child(6) { animation-delay: 0.6s; }

/* 导航链接 - 奢华文字效果 */
.nav a {
    color: #e0e0e0;
    text-decoration: none;
    margin-left: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
}

.nav a:hover {
    color: #FFD700;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(to right, #FFD700, #D4AF37);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* 导航图标 - 金色特效 */
.nav-icon {
    width: 26px;
    height: 26px;
    margin-right: 12px;
    
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.nav li:hover .nav-icon {
    filter: brightness(0) invert(0.9) drop-shadow(0 0 5px rgba(255, 215, 0, 0.7));
    transform: rotateY(15deg) scale(1.1);
}

nav a {
    color: #ecf0f1; /* 链接颜色为浅色 */
    text-decoration: none;
    margin-left: 5px; /* 为文本和图标之间留出空间 */
    font-weight: bold; /* 加粗文本 */
    transition: color 0.3s; /* 平滑的颜色过渡 */
}

nav a:hover {
    color: #c0392b; /* 悬停时变为红色 */
}



main {
    padding: 20px;
}

.visitors-title 
{
    text-align: center; /* 标题居中 */
    margin: 0;
	width: 200px; /* 设置标题的最大宽度为200px */
    background: linear-gradient(145deg, #FFD700 0%, #D4AF37 100%); /* 金色渐变 */
	font-size: 8px; /* 字体大小 */
    font-weight: bold; /* 加粗 */
    border-radius: 5px; /* 添加圆角 */
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    position: relative; /* 使这个元素保持在流中 */
    top: 0; /* 确保它紧贴 header */
	padding: 2px 5px;
	
}

.visitors-title h2
{
    color: black;
}

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 50%, #996515 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 
        0 6px 15px rgba(212, 175, 55, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    display: none;
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 10px 25px rgba(212, 175, 55, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    animation: pulse 1.5s infinite;
}

.back-to-top:active {
    transform: scale(0.95);
}

.back-to-top i {
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* 金色脉动动画 */
@keyframes pulse {
    0% {
        box-shadow: 
            0 0 0 0 rgba(255, 215, 0, 0.7),
            inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    }
    70% {
        box-shadow: 
            0 0 0 12px rgba(255, 215, 0, 0),
            inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    }
    100% {
        box-shadow: 
            0 0 0 0 rgba(255, 215, 0, 0),
            inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    }
}
@keyframes border-animation {
    0% {
        border-color: #FF5733;
    }
    25% {
        border-color: #33FF57;
    }
    50% {
        border-color: #3357FF;
    }
    75% {
        border-color: #F1C40F;
    }
    100% {
        border-color: #FF5733; /* 重新回到红色 */
    }
}

#image-gallery {
    margin: 20px 0; /* 上下间距 */
    text-align: center; /* 居中对齐标题 */
}

.image-grid {
    display: flex; /* 使用Flexbox布局 */
    flex-wrap: wrap; /* 允许换行 */
    justify-content: center; /* 水平居中对齐 */
}

.image-insurance {
    margin: 20px auto;
    max-width: 1000px;
    perspective: 1000px;
}

.image-item {
    margin: 10px; /* 每张图片之间的间距 */
    width: 320px; /* 图片宽度 */
    perspective: 1000px; /* 创建3D视角 */
}

/* 为每一张图片设置不同的边框颜色和动画 */
.image-item img,
.image-insurance img {
    width: 100%; /* 图片自适应 */
    height: auto; /* 保持比例 */
    border-radius: 5px; /* 添加圆角 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7); /* 强化阴影效果 */
    transition: transform 0.3s, box-shadow 0.3s; /* 添加平滑过渡效果 */
}

.image-item:nth-child(1) img {
    border: 5px solid transparent; /* 初始透明边框 */
    animation: border-animation 12s linear infinite; /* 旋转灯动画 */
}

.image-item:nth-child(2) img {
    border: 5px solid transparent; /* 初始透明边框 */
    animation: border-animation 12s linear infinite; /* 旋转灯动画 */
}

.image-item:nth-child(3) img {
    border: 5px solid transparent; /* 初始透明边框 */
    animation: border-animation 12s linear infinite; /* 旋转灯动画 */
}

.image-item:nth-child(4) img {
    border: 5px solid transparent; /* 初始透明边框 */
    animation: border-animation 12s linear infinite; /* 旋转灯动画 */
}

.image-item:hover img,
.image-insurance:hover img {
    transform: translateY(-15px) rotateY(5deg); /* 立体效果：向上移动并稍微旋转 */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9); /* 加强阴影效果 */
}

.image-item:nth-child(1) img,
.image-item:nth-child(2) img,
.image-item:nth-child(3) img,
.image-item:nth-child(4) img,
.image-insurance img {
    border: 5px solid transparent;
    animation: border-animation 12s linear infinite;
}

:root 
{
  --gold: #D4AF37;      /* 金色 */
  --silver: #C0C0C0;    /* 银色 */
  --black: #121212;     /* 深黑色 */
  --dark-gray: #1E1E1E; /* 深灰色 */
  --light-gray: #E5E5E5;/* 浅灰色 */
}

#cars {
  margin: 80px 0;
  padding: 20px 0;
  background: linear-gradient(to bottom, var(--black), var(--dark-gray));
  text-align: center;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

#cars h2 {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  position: relative;
  display: inline-block;
}

#cars h2::after 
{
	content: '';
 	position: absolute;
  	bottom: -10px;
  	left: 50%;
  	transform: translateX(-50%);
  	width: 380px;
  	height: 3px;
  	background: linear-gradient(to right, transparent, #C8C8C8, transparent);
}

.car-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  max-width: 1400px;
  margin: 0 auto;
}

/* 默认状态下，每行显示三张 */
.car-item {
    background: linear-gradient(145deg, var(--dark-gray), var(--black));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin: 0; /* 移除外边距，确保无缝连接 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: calc(30% - 20px); /* 默认宽度为30% */
    transition: all 0.4s ease;
	position: relative;
	overflow: hidden;
}

.car-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
  z-index: 0;
}

.car-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
  border-color: var(--gold);
}

.click-icon {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 8px;
  border-radius: 50%;
  z-index: 10;
  transition: all 0.3s ease;
}

.click-icon:hover {
  background-color: var(--gold);
  transform: scale(1.1);
}

.click-icon i {
  color: var(--black);
  font-size: 16px;
}

/* 设置图片大小 */
.car-item img {
    width: 100%; /* 自适应宽度 */
    height: auto; /* 保持比例 */
    object-fit: cover;
  	border-radius: 5px;
  	margin-bottom: 15px;
  	transition: all 0.4s ease;
  	position: relative;
  	z-index: 1;
  	border: 1px solid rgba(255,255,255,0.1);
}

.car-item:hover img {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.car-item h3 {
  color: var(--silver);
  font-size: 1.2rem;
  margin: 10px 0 5px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.car-item p {
  color: var(--light-gray);
  font-size: 0.9rem;
  margin: 5px 0;
  line-height: 1.4;
}

.car-item p:last-of-type {
  color: var(--gold);
  font-weight: 500;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9); /* 更深的黑色背景 */
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 30px;
    max-width: 90%;
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%); /* 黑色渐变背景 */
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 
                0 0 0 1px rgba(255, 215, 0, 0.3); /* 金色边框效果 */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}

.image-grid2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
    margin-bottom: 20px;
}

.modal img {
    max-width: 500px; /* 设置最大宽度为500px */
    max-height: 377px; /* 设置最大高度为377px */
	border-radius: 12px;
    width: auto; /* 自动宽度以保持比例 */
    height: auto; /* 自动高度以保持比例 */
    margin: 10px 0; /* 每张图片之间的间距 */
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	 box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.image-grid2 img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3); /* 金色辉光效果 */
    border-color: rgba(255, 215, 0, 0.5); /* 悬停时金色边框更明显 */
}

.modal-content h3 {
    color: #FFD700; /* 金色标题 */
    margin: 15px 0;
    font-size: 26px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.modal-content p {
    color: #e0e0e0; /* 浅灰色文字 */
    margin: 10px 0;
    line-height: 1.6;
}

.modal-content a {
    color: #25D366; /* WhatsApp图标颜色 */
    margin: 0 10px; /* 左右间距 */
    font-size: 24px; /* 图标大小 */
}

.close {
    position: absolute;
    right: 25px;
    top: 15px;
    color: #FFD700; /* 金色关闭按钮 */
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2000;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.close:hover,
.close:focus {
    color: #D4AF37; /* 更深的金色 */
    transform: scale(1.1);
}

.contact-info {
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%); /* 深灰色渐变背景 */
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3),
                inset 0 0 0 1px rgba(255, 215, 0, 0.2); /* 内嵌金色边框 */
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.contact-info h3 {
    font-size: 24px;
    color: #FFD700; /* 金色 */
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3); /* 金色下划线 */
    padding-bottom: 10px;
}

.contact-info p {
    font-size: 16px;
    color: #d0d0d0; /* 浅灰色 */
    margin: 8px 0;
}

.contact-info a {
    margin: 0 15px;
    display: inline-block;
}

/* 为 WhatsApp 图标的链接添加上边距 */
.contact-info a:first-of-type {
    margin-top: 15px; /* 可以调整这个值以改变距离 */
}

.contact-info img {
    width: 50px; /* 稍大的图标 */
    height: 50px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.contact-info img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.4)); /* 金色辉光 */
}

.contact-info p:first-of-type {
    color: #D4AF37; /* 金色 */
    font-weight: bold;
    font-size: 18px;
    margin-top: 15px;
}

.heart {
    color: grey; /* 默认颜色 */
    font-size: 36px; /* 调整♥的大小 */
    text-decoration: none; /* 去掉下方的线条 */
    cursor: pointer; /* 鼠标移上去时显示为手型 */
    transition: transform 0.2s ease; /* 添加平滑的过渡效果 */
}

.heart.active {
    color: red; /* 亮灯颜色 */
    animation: heartbeat 0.6s ease; /* 点击时启动动画 */
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.4);
    }
    60% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

#choosecar {
    margin: 20px 0;
    text-align: center;
    padding: 0 15px;
}

#choosecar .cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 始终3列 */
    gap: 40px; /* 图片间距 */
    max-width: 900px; /* 3*250 + 2*20间隙 + padding */
    margin: 0 auto;
}

#choosecar .car-item {
    width: 100%;
    position: relative;
    aspect-ratio: 250/150; /* 保持图片比例 */
}

#choosecar .car-item img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s, box-shadow 0.3s;
    object-fit: cover;
	position: relative;
}

#choosecar .car-item:hover img {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9);
}

#choosecar .visitor-number {
    position: absolute;
    bottom: 0; /* 始终贴底 */
    left: 0;
    right: 0; /* 如果需要宽度100% */
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 0 0 5px 5px; /* 只圆角底部 */
    font-size: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

#choosecar .visitor-number .fa {
    font-size: 14px;
    color: #FFD700; /* 金色图标 */
}

#choosecar-slide {
    max-width: 950px; /* 匹配图片总宽度 */
    margin: 30px auto;
    position: relative;
}

#choosecar-slide h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    color: #FFD700;
    text-align: center;
    margin-bottom: 25px;
}

#choosecar-slide .slide-container {
    position: relative;
	background: rgba(20, 20, 20, 0.7);
    padding: 15px 40px;
	overflow: hidden;
}

#choosecar-slide .slide-wrapper {
    display: flex;
    transition: transform 0.6s ease;
	position: relative;
    z-index: 1;
}

#choosecar-slide .slide-item {
    flex: 0 0 250px; /* 固定宽度 */
    height: 150px; /* 固定高度 */
    margin: 0 10px;
    position: relative;
    flex-shrink: 0; /* 防止缩小 */
}

#choosecar-slide .slide-item:hover {
    transform: translateY(-5px);
}

#choosecar-slide .slide-button {
    border: none;
    background: none;
    padding: 0;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

#choosecar-slide .slide-item img {
    width: 250px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255,215,0,0.3);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

#choosecar-slide .slide-item:hover img {
    box-shadow: 0 12px 25px rgba(0,0,0,0.5);
    border-color: rgba(255,215,0,0.6);
}

#choosecar-slide .visitor-number {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: #FFD700;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 导航箭头 */
#choosecar-slide .slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: rgba(30,30,30,0.9);
    color: #FFD700;
    border: 1px solid rgba(255,215,0,0.4);
    border-radius: 50%;
    cursor: pointer;
	font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
	z-index: 100;
}

#choosecar-slide .slide-arrow:hover {
    background: rgba(255,215,0,0.2);
    color: white;
}

#choosecar-slide .prev { left: 5px; }
#choosecar-slide .next { right: 5px; }

#additional-images {
    margin: 20px 0; /* 上下间距 */
    text-align: center; /* 居中对齐标题 */
}

.additional-image-grid {
    display: flex; /* 使用Flexbox布局 */
    flex-wrap: wrap; /* 允许换行 */
    justify-content: center; /* 水平居中对齐 */
}

.additional-image-item {
    margin: 10px; /* 每张图片之间的间距 */
    width: 120px; /* 图片宽度 */
    height: 120px; /* 图片高度 */
}

.additional-image-item img {
    width: 100%; /* 图片自适应 */
    height: 100%; /* 保持比例 */
    border-radius: 5px; /* 添加圆角 */
}

#privacy-policy {
    padding: 40px;
    background-color: #f9f9f9;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px;
}

.pphead h2 {
    color: #c0392b;
    text-align: center;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: bold;
}

.pphead2 {
    color: #2C3E50; /* 副标题的颜色 */
    text-align: center;
    margin-bottom: 20px;
    font-size: 20px; /* 副标题字体大小 */
    font-weight: normal;
}

.ppc p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    text-align: justify;
}

.stock-notice {
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 15px;
    margin: 20px 0;
    text-align: center;
    border-radius: 5px;
}

.stock-notice h4 {
    color: #FFD700;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.stock-notice p {
    color: #ccc;
    margin: 0;
}

footer {
    background: linear-gradient(145deg, #000000 0%, #0d0d0d 100%); /* 深黑渐变 */
    color: #e0e0e0; /* 银色文字 */
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-section {
    flex: 1;
    margin: 0 20px;
    position: relative;
}

.footer-section:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -20px;
    top: 0;
    height: 100%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 215, 0, 0.3), transparent); /* 金色分隔线 */
}

.footer-section h1 {
    color: #FFD700; /* 金色标题 */
    font-size: 22px;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    padding-bottom: 10px;
}

.footer-section h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 1px;
    background: linear-gradient(to right, transparent, #FFD700, transparent); /* 金色下划线 */
}

.footer-section h4 
{
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeIn 0.5s forwards;
    animation-delay: 0.4s;
    color: #9CD5FF;
	text-align: center; /* 让文本居中 */
    font-size: 24px; /* 根据需要调整字体大小 */
    font-weight: bold;
	margin-bottom: 20px; /* 增加和图片之间的间距 */
	width: 100%;
}

.footer-section p,
.footer-section h5 {
    text-align: center; /* 强制居中对齐 */
    margin: 15px auto; /* 统一垂直间距 */
    max-width: 80%; /* 防止文本过宽 */
    color: #e0e0e0; /* 银色文字 */
    position: relative; /* 为装饰元素准备 */
}

/* 特别美化<h5> */
.footer-section h5 {
    color: #FFD700 !important; /* 金色文字 */
    font-size: 18px;
    margin-top: 30px; /* 与上方内容间距 */
    margin-bottom: 15px;
    padding-bottom: 8px; /* 为下划线留空间 */
}

/* 为<h5>添加与<h1>相同的装饰线 */
.footer-section h5::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 1px;
    background: linear-gradient(to right, transparent, #FFD700, transparent); /* 金色渐变线 */
}

/* 段落<p>特殊样式 */
.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    padding: 0 10px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* 地址文本特殊处理 */
.footer-section p:first-of-type {
    font-style: italic;
    color: #c0c0c0; /* 浅银色 */
    margin-bottom: 25px; /* 与Follow Us间距 */
}

.follow-images {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.follow-images img {
    width: 40px;
    height: 40px;
    transition: all 0.3s;
    filter: grayscale(30%) brightness(0.8);
}

.follow-images img:hover {
    transform: scale(1.1);
    filter: grayscale(0%) drop-shadow(0 0 5px #FFD700); /* 金色发光效果 */
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    min-width: 180px;
}

.footer-section ul li {
    margin: 10px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer-section ul li img {
    margin-right: 10px; /* 图标与文字之间的间距 */
    width: 24px; /* 调整图标大小 */
    height: 24px;
}

.footer-section ul li a {
    display: inline-flex;
    align-items: center;
    width: 180px; /* 固定宽度 */
    padding: 8px 15px;
    background-color: rgba(30, 30, 30, 0.5); /* 深灰背景 */
    border-radius: 6px;
    border-left: 3px solid #FFD700; /* 金色左侧边框 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
	font-family: 'Montserrat', 'Arial', sans-serif; /* 更现代的字体 */
    font-size: 15px;
    font-weight: 600; /* 中等加粗 */
    letter-spacing: 0.5px; /* 字母间距 */
    text-transform: uppercase; /* 全部大写 */
    color: #e0e0e0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
    padding-left: 40px; /* 为图标留出空间 */
	text-decoration: none;
}

.footer-section ul li a span {
    flex-grow: 1;
    text-align: left;
    min-width: 80px; /* 确保最短文字也有足够空间 */
}

/* 悬停效果 */
.footer-section ul li a:hover {
    transform: translateX(5px);
    background-color: rgba(40, 40, 40, 0.7);
    border-left-color: #D4AF37;
	color: #FFD700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.footer-section ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 40px;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #FFD700, transparent);
    transition: width 0.3s ease;
}

.footer-section ul li a:hover::after {
    width: calc(100% - 40px);
}

.copyright {
    color: #999; /* 深灰色文字 */
    font-size: 12px;
    margin-top: 30px;
    text-align: center;
    width: 100%;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.1); /* 淡金色分隔线 */
}

@media (max-width: 576px) {
	.image-insurance {
        max-width: 100%;
        padding: 0 15px;
    }
	
	.image-item {
        width: 100%;
        margin: 10px 0;
    }
    
    #image-gallery {
        margin: 10px 0;
    }
	
    #choosecar .cars-grid {
        gap: 8px;
    }
    
    #choosecar .visitor-number {
        font-size: 9px;
        padding: 2px 4px;
        border-radius: 0 0 3px 3px;
    }
	
	#choosecar-slide .slide-container {
        padding: 10px 30px;
    }
    
    #choosecar-slide .slide-item {
        flex: 0 0 150px;
        height: 90px;
        margin: 0 5px;
    }
    
    #choosecar-slide .slide-item img {
        width: 150px;
        height: 90px;
    }
    
    #choosecar-slide .slide-arrow {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
	.image-insurance {
        max-width: 600px;
    }
	
    .toggle {
        display: block; /* 小屏幕时显示切换按钮 */
    }

    #nav-menu {
        display: none; /* 默认隐藏导航菜单 */
    }

    #nav-menu.active {
        display: flex; /* 当添加active类时显示菜单 */
    }

    .car-item {
        width: calc(50% - 20px);
    max-width: 377px;
    }
	
	  
  .car-item img {
    height: auto;
  }
  
  #cars h3 {
    font-size: 1rem;
  }

    .image-item {
        width: calc(50% - 20px); /* 每行显示两张，减去间距 */
    }
	
	
	
	.modal-content {
        padding: 20px;
        margin: 15% auto;
    }
    
    .image-grid2 img {
        width: 100%;
    }
    
    .contact-info h3 {
        font-size: 20px;
    }
    
    .close {
        right: 15px;
        font-size: 35px;
    }
	
	#choosecar .cars-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* 确保3列 */
        gap: 10px;
        max-width: 100%;
        padding: 0 10px;
    }
    
    #choosecar .car-item img {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    }
	
	#choosecar-slide .slide-item {
        flex: 0 0 180px;
        height: 108px;
        margin: 0 6px;
    }
    
    #choosecar-slide .slide-item img {
        width: 180px;
        height: 108px;
    }
    
    #choosecar-slide .visitor-number {
        font-size: 10px;
        padding: 2px 8px;
    }
	
	#privacy-policy {
        padding: 20px;
    }

    .pphead h2 {
        font-size: 24px;
    }

    .pphead2 {
        font-size: 16px;
    }

    .ppc p {
        font-size: 14px;
    }

    footer {
        flex-direction: column;
    }
    
    .footer-section {
        margin: 20px 0;
        width: 100%;
    }
    
    .footer-section:not(:last-child)::after {
        content: none;
    }
	
	.footer-section ul {
        min-width: 160px;
    }
    .footer-section ul li a {
        font-size: 13px;
        padding-left: 35px;
    }
    
    .footer-section h1 {
        font-size: 20px;
    }
	
	.footer-section p,
    .footer-section h5 {
        max-width: 100%; /* 小屏幕上使用全宽 */
    }
    
    .footer-section h5 {
        margin-top: 20px;
        font-size: 16px;
    }
    
    .footer-section p {
        font-size: 13px;
    }
	
	.back-to-top {
        bottom: 20px;
        right: 20px;
        width: 30px;
        height: 30px;
    }
    
    .back-to-top i {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
	header {
        position: relative;
        z-index: 100;
        overflow: visible !important;
        min-height: 60px;
    }
	
    .toggle {
        display: block; /* 小屏幕时显示切换按钮 */
    }

    #nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; /* 从 header 底部开始 */
        left: 0;
        width: 80%;
        background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
        padding: 10px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    #nav-menu.active {
        display: flex; /* 当添加active类时显示菜单 */
    }

    .nav {
        flex-direction: column;
        align-items: stretch; /* 拉伸填充宽度 */
        width: 90%;
        padding: 0 15px;
    }

    .nav li {
        width: 100%;
        margin: 8px 0;
        padding: 12px 20px;
        box-sizing: border-box;
        transform: none !important;
        animation: none !important;
        opacity: 1 !important;
    }
	
	.nav a {
        font-size: 16px;
        white-space: nowrap;
    }

    .nav-icon {
        margin-right: 15px;
    }

    .car-item {
        width: calc(50% - 10px); /* 每行显示两张，去掉边距 */
        padding: 0; /* 去掉内边距，确保无缝连接 */
    }
	
	.image-insurance {
        max-width: 800px;
    }
	
  #cars h3 {
    font-size: 1rem;
  }

    .image-item {
        width: calc(50% - 20px); /* 每行显示两张，减去间距 */
    }
	
	
	
	.modal-content {
        padding: 25px;
        margin: 10% auto;
    }

    .close {
        right: 15px; /* 调整关闭按钮位置 */
        font-size: 30px; /* 调整关闭按钮大小 */
    }

    #choosecar .image-grid2 img {
        width: calc(50% - 20px); /* 小屏幕下每行显示2张图片 */
    }
	
	#choosecar-slide .slide-item {
        flex: 0 0 220px; /* 缩小宽度 */
        height: 132px; /* 保持比例 250:150 = 220:132 */
        margin: 0 8px;
    }
    
    #choosecar-slide .slide-item img {
        width: 220px;
        height: 132px;
    }
    
    #choosecar-slide .slide-arrow {
        width: 30px;
        height: 30px;
    }
	
	.contact-info {
        padding: 20px;
    }
	
	.cars-grid {
        gap: 15px;
        max-width: 800px;
    }
	
	#privacy-policy {
        padding: 30px;
        margin: 15px auto;
    }

    .pphead h2 {
        font-size: 26px;
    }

    .pphead2 {
        font-size: 18px;
    }

    .ppc p {
        font-size: 15px;
    }

    footer {
        padding: 10px 20px; /* 调整上下内边距 */
    }

    .footer-section {
        margin: 0 15px;
    }
    
    .footer-section:not(:last-child)::after {
        right: -15px;
    }
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.car-item {
  animation: fadeIn 0.6s ease forwards;
}

.car-item:nth-child(1) { animation-delay: 0.1s; }
.car-item:nth-child(2) { animation-delay: 0.2s; }
.car-item:nth-child(3) { animation-delay: 0.3s; }
.car-item:nth-child(4) { animation-delay: 0.4s; }
.car-item:nth-child(5) { animation-delay: 0.5s; }
.car-item:nth-child(6) { animation-delay: 0.6s; }
.car-item:nth-child(7) { animation-delay: 0.7s; }
.car-item:nth-child(8) { animation-delay: 0.8s; }
.car-item:nth-child(9) { animation-delay: 0.9s; }
