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

:root {
    --primary-color: #722f37;
    --secondary-color: #c9a961;
    --dark-color: #2c2c2c;
    --light-color: #f5f5f5;
    --text-color: #333;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 10%;
}

/* 轮播图样式 */
.hero-carousel {
    position: relative;
    width: 100%;
    margin-top: 60px;
    overflow: hidden;
}

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

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem 4rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    animation: fadeInUp 1s ease;
    max-width: 80%;
}

.carousel-caption h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.5rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background: var(--white);
    transform: scale(1.2);
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 15%;
    /* gap: 3rem; */
    box-sizing: border-box;
}

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

.logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.logo a {
    color: var(--dark-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo a:hover {
    opacity: 0.8;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    /* gap: 1.2rem; */
    margin-left: auto;
    /* margin-right: 1rem; */
}

.nav-menu a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 0.8rem;
    border-radius: 5px;
    position: relative;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 80%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.language-selector {
    background: rgba(114, 47, 55, 0.05);
    border: 1px solid rgba(114, 47, 55, 0.1);
    color: var(--dark-color);
    padding: 0.5rem .5rem;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.language-selector:hover {
    background: rgba(114, 47, 55, 0.1);
}

.language-selector option {
    background: var(--white);
    color: var(--dark-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(114, 47, 55, 0.05);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.hamburger-icon {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hamburger-text {
    font-size: 14px;
    color: var(--dark-color);
    font-weight: 500;
}

/* 页面头部样式 - 使用img标签，无遮罩 */
.page-header {
    position: relative;
    width: 100%;
    height: 500px; /* 默认高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 77px;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-header .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    padding: 2rem 1rem;
    width: 100%;
}

/* 确保文字清晰可见，添加轻微文字阴影 */
.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.3;
}

.page-header p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    line-height: 1.5;
}

.page-content {
    padding: 5rem 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-top: -2rem;
    margin-bottom: 3rem;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.page-btn:hover,
.page-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

/* 产品卡片样式 */
.products-section {
    padding: 0 10%;
    margin-top: 5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    padding: 1.5rem;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.product-card h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.product-name {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-desc {
    color: #666;
    font-size: 0.9rem;
}

/* 查看全部按钮 */
.view-all {
    text-align: center;
    margin-top: 3rem;
}

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

/* 特色酒庄展示 */
.featured-wineries {
    padding: 5rem 0;
    background: var(--light-color);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 1rem auto;
    border-radius: 2px;
}

.winery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.winery-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    padding: 2rem;
}

.winery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.winery-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.winery-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.winery-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

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

/* 新闻中心 */
.news-section {
    padding: 5rem 0;
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    color: var(--primary-color);
    /* font-size: 1.4rem; */
    margin-bottom: 1rem;
    /* 1. 将对象作为弹性伸缩盒子模型显示 */
    display: -webkit-box;
    /* 2. 设置伸缩盒对象的子元素的排列方式为垂直 */
    -webkit-box-orient: vertical;
    /* 3. 限制在一个块元素显示的文本的行数 */
    -webkit-line-clamp: 3;
    /* 4. 隐藏超出部分 */
    overflow: hidden;
    /* 可选：添加text-overflow让效果更好 */
    text-overflow: ellipsis;
}

.news-excerpt {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 0.8rem;
    /* 1. 将对象作为弹性伸缩盒子模型显示 */
    display: -webkit-box;
    /* 2. 设置伸缩盒对象的子元素的排列方式为垂直 */
    -webkit-box-orient: vertical;
    /* 3. 限制在一个块元素显示的文本的行数 */
    -webkit-line-clamp: 2;
    /* 4. 隐藏超出部分 */
    overflow: hidden;
    /* 可选：添加text-overflow让效果更好 */
    text-overflow: ellipsis;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.news-date {
    color: #999;
    font-size: 0.9rem;
}

.read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-color);
}

/* 酒庄详情 */
.winery-detail {
    padding: 0 0 5rem;
    background: var(--light-color);
}

.winery-detail.alternate {
    background: var(--white);
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.detail-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.detail-text h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 1.5rem 0 1rem;
}

.detail-text p {
    color: #555;
    line-height: 2;
    margin-bottom: 1rem;
    text-align: justify;
}

/* 产品中心样式（首页） */
.products-section-home {
    padding: 5rem 0;
    background: var(--white);
}

.products-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    min-height: 400px;
}

/* 加载状态 */
.loading-state,
.error-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #999;
}

.loading-state i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.loading-state p,
.error-state p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.error-state i {
    font-size: 3rem;
    color: #ff6b6b;
    margin-bottom: 1rem;
    display: block;
}

.error-state button {
    margin-top: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
}

.error-state button:hover {
    background: #5a252c;
}

.product-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-align: center;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper {
    background: var(--white);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    border: 1px solid #f0f0f0;
}

.product-image-wrapper img {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
    display: block;
}

.product-title {
    color: #8B0000;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    padding: 0 0.5rem;
}

.btn-more-products {
    background: #8B4576;
    color: var(--white);
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-more-products:hover {
    background: #6B3460;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 118, 0.3);
}

/* 页脚样式 */
.footer {
    background: #2a2a2a;
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 280px;
}

.footer-logo {
    width: 380px;
    height: auto;
    object-fit: contain;
}

.footer-brand-text h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.footer-brand-text p {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

.footer-qr {
    flex-shrink: 0;
}

.footer-qr img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    background: var(--white);
    padding: 8px;
    border-radius: 4px;
}

.footer-address {
    flex: 1;
    min-width: 280px;
    text-align: right;
}

.footer-address p {
    color: #999;
    line-height: 1.8;
    margin: 0.5rem 0;
    font-size: 0.85rem;
}

.footer-address .address-cn {
    color: #bbb;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-link {
    color: #d4a0a0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 响应式设计 */

/* 中等屏幕优化 - 1024px及以下 */
@media (max-width: 1024px) {
    /* Banner中等屏幕优化 */
    .page-header {
        height: 450px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .page-header .hero-content {
        padding: 1.8rem 1rem;
    }
}

@media (max-width: 768px) {
    .navbar .container{
        padding: .8rem 5%;
        gap: 1rem;
    }
    /* Banner自适应高度调整 - 平板端 */
    .page-header {
        height: 400px; /* 平板端固定高度 */
    }

    /* Banner文字大小调整 - 平板端 */
    .page-header h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .page-header .hero-content {
        padding: 1.8rem 1.2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    /* Footer响应式 - 平板端 */
    .footer-main {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-brand {
        flex-direction: column;
        min-width: auto;
    }

    .footer-logo {
        width: 100%;
    }

    .footer-brand-text h3 {
        font-size: 1.2rem;
    }

    .footer-qr img {
        width: 100px;
        height: 100px;
    }

    .footer-address {
        text-align: center;
        min-width: auto;
    }

    .footer-address p {
        font-size: 0.8rem;
    }

    .hamburger {
        display: flex;
        cursor: pointer;
        padding: 5px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 55px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: all 0.3s ease;
        padding: 1.5rem 0;
        gap: 0;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 15px 15px;
        max-height: calc(100vh - 55px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 0;
        padding: 0;
    }

    .nav-menu a {
        display: block;
        /* display: flex;
        align-items: center;
        justify-content: center; */
        padding: 1rem 2rem;
        color: var(--dark-color) !important;
        font-size: 16px;
        font-weight: 500;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        position: relative;
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }

    .nav-menu a:hover {
        background: rgba(114, 47, 55, 0.05);
        color: var(--primary-color) !important;
    }

    .nav-menu a.active {
        color: var(--primary-color) !important;
        background: rgba(114, 47, 55, 0.08);
    }

    .nav-menu a.active::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--primary-color);
    }

    .nav-menu a::after {
        display: none;
    }

    /* 移动端搜索选项 - 在移动端显示 */
    .mobile-search-item {
        display: block !important;
    }

    .mobile-search-link {
        color: var(--primary-color) !important;
        font-weight: 600 !important;
    }

    .mobile-search-link i {
        margin-right: 8px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .detail-content {
        grid-template-columns: 1fr;
    }

    /* 搜索框样式已移除 */
    /* .search-box input {
        width: 100px;
    } */

    .winery-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container{
        padding: 0 5%;
    }
    .products-section{
        padding: 0;
    }
    .winery-detail{
        padding: 0 5%;
    }
    /* Banner自适应高度调整 - 手机端 */
    .page-header {
        height: 350px; /* 手机端固定高度，实现裁切效果 */
    }

    /* Banner文字大小调整 - 手机端 */
    .page-header h1 {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
        line-height: 1.3;
    }

    .page-header p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .page-header .hero-content {
        padding: 1.2rem 0.8rem;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .btn-primary {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    /* 搜索框已移除，移动端通过汉堡菜单访问搜索页面 */
    /* .search-box {
        display: none;
    } */

    /* Footer响应式 - 手机端 */
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-main {
        gap: 1.5rem;
    }

    .footer-logo {
        width: 100%;
    }

    .footer-brand-text h3 {
        font-size: 1rem;
    }

    .footer-brand-text p {
        font-size: 0.75rem;
    }

    .footer-qr img {
        width: 80px;
        height: 80px;
    }

    .footer-address p {
        font-size: 0.7rem;
        line-height: 1.6;
    }

    .footer-link {
        font-size: 0.8rem;
    }
}

/* 超小屏幕优化 - 375px及以下 */
@media (max-width: 375px) {
    /* Banner超小屏幕优化 */
    .page-header {
        height: 300px; /* 小屏手机固定高度，强化裁切效果 */
    }

    .page-header h1 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .page-header p {
        font-size: 0.85rem;
    }

    .page-header .hero-content {
        padding: 1rem 0.6rem;
    }
}

/* Hero区域样式（保留作为备用） */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('https://images.unsplash.com/photo-1506377247377-2a5b3b417ebb?w=1600') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 60px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn-primary:hover {
    background: #b8944f;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 响应式设计 - 轮播图 */
@media (max-width: 768px) {
    .carousel-caption {
        padding: 1.5rem 2rem;
        bottom: 10%;
        max-width: 90%;
    }

    .carousel-caption h1 {
        font-size: 1.8rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .prev-btn {
        left: 15px;
    }

    .next-btn {
        right: 15px;
    }

    .dot {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .carousel-caption {
        padding: 1rem 1.5rem;
        bottom: 8%;
    }

    .carousel-caption h1 {
        font-size: 1.3rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* 响应式设计 - 产品中心 */
@media (max-width: 1200px) {
    .products-showcase {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .product-image-wrapper {
        min-height: 200px;
    }

    .product-title {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .products-showcase {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product-image-wrapper {
        min-height: 250px;
    }

    .product-title {
        font-size: 0.9rem;
    }
}

/* ========================================
   产品详情页样式
   ======================================== */

/* 产品详情布局 */
.product-detail-section {
    padding: 7rem 0 5rem;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

/* 左侧主信息区 */
.product-main-info {
    background: var(--white);
}

.product-title-section {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.product-title-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
}

/* 产品详情内容区 */
.product-detail-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-image-main {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-main img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.product-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    padding: 0.8rem;
    background: #fafafa;
    border-radius: 5px;
    border-left: 3px solid var(--primary-color);
}

.info-label {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 100px;
    flex-shrink: 0;
}

.info-value {
    color: #666;
    line-height: 1.6;
    flex: 1;
}

/* 产品轮播图 */
.product-gallery {
    margin-bottom: 3rem;
}

.gallery-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #f9f9f9;
}

.gallery-images {
    display: flex;
    transition: transform 0.3s ease;
}

.gallery-img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    display: none;
}

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

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-btn:hover {
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-btn.prev-btn {
    left: 20px;
}

.gallery-btn.next-btn {
    right: 20px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1rem;
}

.gallery-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-dots .dot.active {
    background: var(--primary-color);
}

/* 产品描述 */
.product-description-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px dashed #ddd;
}

.description-title {
    font-size: 1.5rem;
    color: var(--white);
    background: var(--primary-color);
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.description-content {
    line-height: 2;
    color: #666;
}

.description-content p {
    margin-bottom: 1rem;
}

/* 右侧边栏 */
.product-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sidebar-section h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.sidebar-section h4 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin: 1rem 0 0.5rem;
}

.sidebar-section p {
    color: #666;
    line-height: 1.8;
    font-size: 0.9rem;
}

/* 关于我们 */
.about-logo {
    text-align: center;
    margin: 1rem 0;
}

.about-logo img {
    max-width: 150px;
}

/* 二维码 */
.1764154767539987 {
    text-align: center;
}

.1764154767539987 img {
    max-width: 100%;
    border-radius: 10px;
}

/* 最新记事 */
.latest-news .news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-item {
    padding: 1rem;
    background: #fafafa;
    border-radius: 5px;
    border-left: 3px solid var(--secondary-color);
}

.news-item p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666;
}

/* 响应式 - 产品详情页 */
@media (max-width: 1024px) {
    .navbar .container{
        padding: .8rem 3%;
    }
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-detail-content {
        grid-template-columns: 1fr;
    }

    .product-image-main img {
        max-height: 400px;
    }

    .product-sidebar {
        border-top: 2px solid #eee;
        padding-top: 2rem;
    }
}

@media (max-width: 768px) {
    .product-title-section h2 {
        font-size: 1.5rem;
    }

    .product-image-main img {
        max-height: 300px;
    }

    .info-item {
        flex-direction: column;
    }

    .info-label {
        min-width: auto;
        margin-bottom: 0.3rem;
    }

    .gallery-img {
        height: 300px;
    }

    .gallery-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .description-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .product-detail-section {
        padding: 7rem 0 3rem;
    }

    .product-title-section h2 {
        font-size: 1.3rem;
    }

    .product-image-main {
        padding: 1rem;
    }

    .product-image-main img {
        max-height: 250px;
    }

    .info-item {
        padding: 0.6rem;
    }

    .gallery-img {
        height: 250px;
    }

    .gallery-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

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

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

    .sidebar-section {
        padding: 1rem;
    }
}

/* 新闻详情页样式 */
.news-detail-container {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

/* 主内容区 */
.news-detail-main {
    flex: 0 0 70%;
    max-width: 70%;
}

.news-detail-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    line-height: 1.4;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--light-color);
}

.news-detail-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.news-detail-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* 新闻详情内容中的图片响应式样式 */
.news-detail-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem auto;
    border-radius: 8px;
}

/* 响应式适配：平板端 */
@media (max-width: 1024px) {
    .news-detail-content img {
        max-width: 100%;
        margin: 1.2rem auto;
    }
}

/* 响应式适配：移动端 */
@media (max-width: 768px) {
    .news-detail-content img {
        max-width: 100%;
        margin: 1rem auto;
        border-radius: 6px;
    }
}

/* 响应式适配：小屏手机 */
@media (max-width: 480px) {
    .news-detail-content img {
        max-width: 100%;
        margin: 0.8rem auto;
        border-radius: 4px;
    }
}

.news-detail-image {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.news-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 侧边栏 */
.news-detail-sidebar {
    flex: 0 0 30%;
    max-width: 30%;
}

.sidebar-section {
    background: var(--white);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.sidebar-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-left: 0.8rem;
    border-left: 3px solid var(--primary-color);
    font-weight: 600;
}

.sidebar-about-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.sidebar-about-logo img {
    width: 120px;
    height: auto;
}

.sidebar-about-text {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.sidebar-qr {
    text-align: center;
}

.sidebar-qr img {
    width: 100%;
    max-width: 200px;
    height: auto;
}

.sidebar-news-list {
    list-style: none;
}

.sidebar-news-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-color);
}

.sidebar-news-item:last-child {
    border-bottom: none;
}

.sidebar-news-item a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.6;
    transition: var(--transition);
    display: block;
}

.sidebar-news-item a:hover {
    color: var(--primary-color);
}

/* 返回按钮 */
.back-to-news {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.back-to-news:hover {
    color: var(--secondary-color);
}

/* 新闻详情页响应式适配 */
@media (max-width: 1024px) {
    .news-detail-container {
        gap: 2rem;
    }

    .news-detail-main {
        flex: 0 0 65%;
        max-width: 65%;
    }

    .news-detail-sidebar {
        flex: 0 0 35%;
        max-width: 35%;
    }

    .news-detail-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .news-detail-container {
        flex-direction: column;
        gap: 2rem;
    }

    .news-detail-main {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .news-detail-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .news-detail-title {
        font-size: 1.4rem;
    }

    .news-detail-content {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .news-detail-title {
        font-size: 1.2rem;
    }

    .news-detail-content {
        font-size: 0.9rem;
    }

    .sidebar-section {
        padding: 1rem;
    }

    .sidebar-title {
        font-size: 1rem;
    }
}
