:root {
    --primary-color: #1e3799;
    --secondary-color: #4a69bd;
    --text-color: #333;
    --light-bg: #f4f4f4;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /*margin-top: -50px;*/
}

/* 导航栏样式 */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

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

/* 首页横幅样式 */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/assets/images/商品图片/酒/冰魄/冰魄1.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 55, 153, 0.8), rgba(74, 105, 189, 0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInDown 1s ease;
}

.hero .slogan {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    animation: fadeIn 1.5s ease;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-button.primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

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

/* 各部分通用样式 */
section {
    padding: 5rem 0;
}

section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* 业务范围样式 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.1);
}

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

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* 联系我们样式 */
.contact-section {
    padding: 60px 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-card .info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.contact-card .info p {
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.5;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-card {
        padding: 20px;
    }
}

/* 商品展示样式 */
.products-section {
    background-color: var(--light-bg);
}

.product-categories {
    margin-top: 2rem;
}

.category {
    margin-bottom: 3rem;
}

.category h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

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

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-card h4 {
    padding: 1rem 1rem 0.5rem;
    margin: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.product-card p {
    padding: 0 1rem 1rem;
    color: var(--text-color);
    margin: 0;
}

/* 团队照片展示样式 */
.team-section {
    background-color: var(--white);
}

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

.photo-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.photo-card:hover {
    transform: translateY(-5px);
}

.photo-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.photo-card p {
    padding: 1rem;
    text-align: center;
    background: var(--white);
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .slogan {
        font-size: 1.4rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-card,
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .product-grid,
    .photo-grid {
        grid-template-columns: 1fr;
    }
}

/* 产品分类导航样式 */
.product-nav {
    background: var(--white);
    padding: 1rem 0;
    margin-top: 80px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.category-nav {
    background: white;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    position: sticky;
    top: 60px;
    z-index: 100;
}

.category-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-list a {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.category-list a:hover,
.category-list a.active {
    background: var(--primary-color);
    color: white;
}

.product-category {
    padding: 60px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.product-category:last-child {
    border-bottom: none;
}

.product-category h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.category-content {
    margin-top: 40px;
}

/* 品牌区块样式 */
.brand-section {
    margin-bottom: 60px;
}

.brand-section:last-child {
    margin-bottom: 0;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.brand-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    padding: 10px;
    background: white;
    border-radius: 10px;
}

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

.brand-info p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1.1rem;
}

/* 产品网格样式 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-images {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

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

.product-info p {
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.5;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .brand-header {
        flex-direction: column;
        text-align: center;
    }

    .brand-logo {
        width: 100px;
        height: 100px;
    }

    .brand-info h3 {
        font-size: 1.8rem;
    }

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

/* 页面通用样式 */
.about-page, .team-page, .contact-page {
    padding-top: 100px;
    min-height: calc(100vh - 60px);
}

/* 关于我们页面样式 */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.about-content h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.company-strategy ul {
    list-style: none;
    padding-left: 0;
}

.company-strategy li {
    margin: 1rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.company-strategy li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* 团队页面样式 */
.team-gallery {
    padding: 2rem 0;
}

.team-page .photo-info {
    padding: 1.5rem;
    background: var(--white);
}

.team-page .photo-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* 首页特色样式 */
.features-section {
    background-color: var(--light-bg);
    padding: 5rem 0;
}

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

.feature-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.feature-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.1);
}

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

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.service-more {
    text-align: center;
    margin-top: 3rem;
}

.more-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.more-button:hover {
    background-color: var(--secondary-color);
}

/* 品牌展示样式 */
.brand-section {
    margin-bottom: 4rem;
}

.brand-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.brand-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-right: 1rem;
}

.brand-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.brands-container {
    margin-top: 3rem;
}

/* 产品展示页面布局 */
.products-container {
    display: flex;
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    position: relative;
}

/* 左侧目录样式 */
.category-sidebar {
    width: 200px;
    background: var(--white);
    box-shadow: 2px 0 15px rgba(0,0,0,0.05);
    position: fixed;
    height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 100;
    border-right: 1px solid rgba(0,0,0,0.05);
    padding: 1.5rem 0;
}

.sidebar-content {
    padding: 0 1rem;
}

.sidebar-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(30, 55, 153, 0.1);
    font-size: 1.2rem;
    font-weight: 600;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    background: transparent;
}

.category-list a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 0;
    width: 3px;
    background: var(--primary-color);
    border-radius: 0 3px 3px 0;
    transition: height 0.3s ease;
}

.category-list a:hover {
    background: rgba(30, 55, 153, 0.03);
    color: var(--primary-color);
    padding-left: 1.2rem;
}

.category-list a:hover::before {
    height: 70%;
}

.category-list a.active {
    background: rgba(30, 55, 153, 0.05);
    color: var(--primary-color);
    padding-left: 1.2rem;
}

.category-list a.active::before {
    height: 70%;
}

/* 右侧内容区样式 */
.products-content {
    flex: 1;
    margin-left: 200px;
    padding: 2rem;
}

/* 品牌展示样式 */
.brand-section {
    margin-bottom: 4rem;
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.brand-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-bg);
}

.brand-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-right: 1.5rem;
}

.brand-header h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
}

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

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

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

.product-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

/* 分类标题样式 */
.category-section {
    margin-bottom: 4rem;
}

.category-section:last-child {
    margin-bottom: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

/* 滚动条样式优化 */
.category-sidebar::-webkit-scrollbar {
    width: 6px;
}

.category-sidebar::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 3px;
}

.category-sidebar::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.category-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .products-container {
        flex-direction: column;
    }

    .category-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        box-shadow: none;
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .products-content {
        margin-left: 0;
    }

    .brand-header {
        flex-direction: column;
        text-align: center;
    }

    .brand-logo {
        margin: 0 0 1rem 0;
    }

    .category-list {
        flex-wrap: wrap;
        gap: 15px;
    }

    .category-list a {
        padding: 6px 15px;
        font-size: 0.9rem;
    }

    .product-category {
        padding: 40px 0;
    }

    .product-category h2 {
        font-size: 2rem;
    }
}

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

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

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

/* 页面头部样式 */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/assets/images/商品图片/酒/冰魄/冰魄1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 55, 153, 0.8), rgba(74, 105, 189, 0.8));
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInDown 1s ease;
}

.page-header p {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease forwards;
}

.slide-in {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideIn 1s ease forwards 0.3s;
}

.scale-in {
    opacity: 0;
    transform: scale(0.95);
    animation: scaleIn 1s ease forwards 0.6s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 导航栏激活状态 */
.nav-links a.active {
    color: #b21f1f;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #b21f1f;
}

/* 团队风采页面样式 */
.team-section {
    padding: 60px 0;
}

.team-gallery .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-card-body {
    padding: 20px;
}

.team-card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.team-card-body p {
    color: var(--text-color);
    opacity: 0.8;
}

/* 业务范围页面样式 */
.category-nav {
    background: white;
    padding: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    position: sticky;
    top: 60px;
    z-index: 100;
}

.category-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-list a {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.category-list a:hover,
.category-list a.active {
    background: var(--primary-color);
    color: white;
}

.product-category {
    padding: 60px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.product-category:last-child {
    border-bottom: none;
}

.product-category h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 2.5rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .category-list {
        flex-wrap: wrap;
        gap: 15px;
    }

    .category-list a {
        padding: 6px 15px;
        font-size: 0.9rem;
    }

    .product-category {
        padding: 40px 0;
    }

    .product-category h2 {
        font-size: 2rem;
    }
}

/* 左侧悬浮导航 */
.floating-nav {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.floating-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: white;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 10px 5px;
}

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

.floating-nav a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: var(--text-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

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

.floating-nav a::after {
    content: attr(title);
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.floating-nav a:hover::after {
    opacity: 1;
    visibility: visible;
}

/* 产品网格布局 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

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

.product-info p {
    color: var(--text-color);
    opacity: 0.8;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .floating-nav {
        display: none; /* 在移动端隐藏悬浮导航 */
    }
}

/* 产品图片轮播 */
.product-images {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .image-nav {
    opacity: 1;
}

.image-nav.prev {
    left: 10px;
}

.image-nav.next {
    right: 10px;
}

.price {
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 10px;
    font-size: 1.2rem;
}

.error-message {
    color: #dc3545;
    text-align: center;
    padding: 20px;
    font-size: 1.1rem;
}

.no-products {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

/* 品牌标题样式 */
.brand-title {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0 20px;
    padding: 0 20px;
}

.brand-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.brand-title h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
}

/* 调整产品网格在品牌下的间距 */
.product-grid {
    margin-bottom: 40px;
}

/* 最后一个产品网格不需要底部间距 */
.product-grid:last-child {
    margin-bottom: 0;
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #1e3799, #4a69bd);
    color: var(--white);
    padding: 2rem 0;
    margin-top: 3rem;
    position: relative;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}

.footer .container {
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

.footer a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    position: relative;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: #f0f0f0;
    text-decoration: underline;
}

.footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: width 0.3s ease;
}

.footer a:hover::after {
    width: 100%;
}

.footer .dev-info {
    background-color: rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.8rem;
    margin-top: 0.5rem;
    display: inline-block;
}

.footer .copyright {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.footer .dev-credit {
    font-size: 0.95rem;
} 