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

/* 主要变量 */
:root {
    --primary-color: #005826; /* 深绿色 - 网球场颜色 */
    --secondary-color: #3a8952; /* 较浅的绿色 */
    --accent-color: #ff9500; /* 橙色 - 突出显示 */
    --light-color: #f4f4f4; /* 浅灰色背景 */
    --dark-color: #333; /* 深色文本 */
    --white-color: #fff; /* 白色 */
    --gray-color: #888; /* 灰色文本 */
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* 阴影效果 */
}

/* 基本样式 */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box; /* Ensure padding is included in width */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* 导航栏样式 */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

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

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

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.book-btn a {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
}

.book-btn a:hover {
    background-color: var(--secondary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* 首页横幅样式 - 静态版本 */
.banner {
    position: relative;
    height: 100vh;
    width: 100%;
    background: url('../images/banner.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.banner-content {
    position: relative;
    color: var(--white-color);
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.banner-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* 设施轮播样式 */
.carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    text-align: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

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

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: var(--white-color);
}

/* 场地卡片轮播样式 */
.court-carousel {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.court-carousel-track {
    height: 100%;
}

.court-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.court-slide.active {
    opacity: 1;
}

.court-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.court-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 0.8rem;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.court-carousel:hover .court-carousel-btn {
    opacity: 1;
}

.court-carousel-btn.prev {
    left: 10px;
}

.court-carousel-btn.next {
    right: 10px;
}

.court-carousel-btn:hover {
    background: var(--primary-color);
}

.court-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 5px;
    z-index: 10;
}

.court-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.court-dot.active {
    background: var(--white-color);
}

/* 关于我们部分 */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.about-image {
    flex: 1;
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

/* 设施部分 */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.facility-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-10px);
}

.facility-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.facility-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* 预订部分 */
.booking-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.booking-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    width: 200px;
}

.booking-btn:hover {
    transform: translateY(-10px);
    background-color: var(--primary-color);
    color: var(--white-color);
}

.booking-btn i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.booking-btn:hover i {
    color: var(--white-color);
}

.booking-btn span {
    font-size: 1.2rem;
    font-weight: 600;
}

/* 场地部分 */
.courts-tabs {
    display: none;
}

.courts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    display: none;
}

.courts-grid.active {
    display: grid;
}

.court-card {
    background-color: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.court-image {
    height: 200px;
    overflow: hidden;
}

.court-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.court-card:hover .court-image img {
    transform: scale(1.1);
}

.court-info {
    flex-grow: 1;
    padding-left: 10px;
}

.court-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.court-info p {
    color: var(--gray-color);
    margin-bottom: 15px;
}

/* 位置部分 */
.location-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.map-container {
    flex: 3;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.address-info {
    flex: 2;
}

.address-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.address-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.address-info i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* 联系我们部分 */
.contact-container {
    display: flex;
    gap: 50px;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    padding: 15px;
    background-color: rgba(0, 88, 38, 0.1);
    border-radius: 50%;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.social-media {
    flex: 1;
    text-align: center;
}

.social-media h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* 页脚样式 */
footer {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo h2 {
    font-size: 2rem;
    color: var(--white-color);
}

.footer-logo p {
    color: var(--gray-color);
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: var(--gray-color);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .location-container {
        flex-direction: column;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }
    
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    #navbar .container {
        padding: 10px 15px;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        flex-direction: column;
        padding: 0;
        max-height: 0;
        border-top: 0; /* Start with no border */
        overflow: hidden;
        box-shadow: none; /* Start with no shadow */
        transition: max-height 0.3s ease, padding 0.2s ease, border-top 0.1s ease, box-shadow 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        max-height: 300px; /* Fixed height is more reliable */
        padding: 20px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: var(--shadow);
    }
    
    .nav-links li {
        margin: 10px 0;
        opacity: 0.7;
        transition: opacity 0.2s ease;
    }
    
    .nav-links.active li {
        opacity: 1;
    }
    
    .banner-content h1 {
        font-size: 2.2rem;
    }
    
    .banner-content p {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .footer-links ul {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .booking-btn {
        width: 100%;
    }
    
    .courts-tabs {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-btn {
        width: 100%;
        border-bottom: none;
        border-left: 3px solid transparent;
        text-align: left;
        padding-left: 20px;
    }
    
    .tab-btn.active {
        border-bottom-color: transparent;
        border-left-color: var(--primary-color);
    }
    
    .social-icons {
        flex-wrap: wrap;
    }
}

/* 图片库样式 */
.facilities-gallery {
    margin-top: 50px;
}

.gallery-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* 场地图片浏览按钮 */
.court-image {
    position: relative;
}

.court-gallery-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.court-card:hover .court-gallery-btn {
    opacity: 1;
}

.view-more-btn {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.view-more-btn:hover {
    background-color: var(--primary-color);
}

.court-gallery {
    display: none;
}

.court-gallery.active {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
    padding: 15px;
    background-color: var(--light-color);
    border-radius: 8px;
}

/* 图片库样式 */
.gallery-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.gallery-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-grid.active {
    display: grid;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 200px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* 为图片库页面的轮播添加样式 */
.gallery-carousel {
    display: none;
}

.gallery-carousel.active {
    display: block;
}

.full-width {
    max-width: 1000px;
}

.full-width .carousel-img {
    height: 500px;
}

/* 场地区域样式 */
.courts-content {
    display: none;
}

.courts-content.active {
    display: block;
}

/* 场地示意图区域优化 */
.court-diagram {
    margin-bottom: 40px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.diagram-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.diagram-img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.diagram-caption {
    font-style: italic;
    margin-top: 15px;
    color: #666;
    font-size: 0.95rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .court-diagram {
        max-width: 100%;
    }
}

/* 预订列表样式 */
.courts-booking-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* 单个场地预订项目 */
.court-booking-item {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.court-booking-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 场地预订项目样式调整 */
.court-booking-item .btn {
    margin-left: 15px;
    white-space: nowrap;
    min-width: 120px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
}

.court-booking-item .btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 88, 38, 0.2);
}

/* 预订按钮图标动画 */
.court-booking-item .btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.court-booking-item .btn:hover i {
    transform: scale(1.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .courts-booking-list {
        grid-template-columns: 1fr;
    }
    
    .court-booking-item {
        flex-direction: column;
        text-align: center;
    }
    
    .court-booking-item .btn {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        white-space: normal;
        min-width: auto;
        justify-content: center;
    }
}

/* 场地分组标题 */
.court-group {
    margin-bottom: 40px;
}

.court-group-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

/* 移除之前的选项卡相关样式 */
.courts-tabs {
    display: none;
}

/* 轮播图样式 - 添加到styles.css文件末尾 */

/* 基础轮播容器 */
.facilities-gallery {
    margin: 40px 0;
}

.gallery-title {
    text-align: center;
    margin-bottom: 20px;
}

.carousel-container {
    position: relative;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 轮播图片项 */
.carousel-slides {
    display: flex;
    overflow: hidden;
    height: 600px;
    background: #000;
}

.carousel-slide {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
}

/* 添加通用的伪元素样式 */
.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: blur(10px) brightness(0.5);
    z-index: 1;
}

/* 确保为每个轮播项正确设置背景 */
.carousel-slide:nth-child(1)::before {
    background-image: url('../images/gallery/1.jpg');
}
.carousel-slide:nth-child(2)::before {
    background-image: url('../images/gallery/2.jpg');
}
.carousel-slide:nth-child(3)::before {
    background-image: url('../images/gallery/3.jpg');
}
.carousel-slide:nth-child(4)::before {
    background-image: url('../images/gallery/4.jpg');
}
.carousel-slide:nth-child(5)::before {
    background-image: url('../images/gallery/5.jpg');
}

/* 调整轮播高度 */
.carousel-slides {
    display: flex;
    overflow: hidden;
    height: 600px;
    background: #000;
}

/* 调整图片尺寸 */
.carousel-slide img {
    max-height: 550px;
    max-width: 90%;
    object-fit: contain;
    border: 3px solid rgba(255,255,255,0.3);
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    position: relative;
    z-index: 2;
}

/* 标题样式 */
.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    padding: 10px;
    background: rgba(0,0,0,0.5);
    z-index: 2;
    font-weight: 600;
}

/* 导航按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.8);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

/* 指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 3;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

/* 教练团队样式 */
.coach-profile {
    margin-bottom: 50px;
}

.coach-top-row {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.coach-image {
    flex: 0 0 300px;
}

.coach-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.coach-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.coach-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.coach-title {
    font-size: 1rem;
    color: var(--gray-color);
    font-weight: 500;
    margin-left: 10px;
}

.coach-credentials {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.credential {
    background-color: rgba(0, 88, 38, 0.05);
    padding: 8px 15px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
}

.credential i {
    color: var(--primary-color);
    margin-right: 10px;
}

.coach-description {
    background-color: rgba(0, 88, 38, 0.02);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.coach-description p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.coach-description p:last-child {
    margin-bottom: 0;
}

.coach-info .btn {
    align-self: flex-start;
}

@media (max-width: 768px) {
    .coach-top-row {
        flex-direction: column;
    }
    
    .coach-image {
        margin-bottom: 20px;
        width: 100%;
    }
}

/* 媒体查询适配移动设备 */
@media (min-width: 768px) {
    .coach-image {
        max-width: 350px;
    }
} 