/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 40px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #8b5a2b;
}

.header-actions {
    display: flex;
    align-items: center;
}

.cart-icon {
    position: relative;
    text-decoration: none;
    color: #333;
    margin-left: 20px;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #8b5a2b;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 英雄区域 */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=fashion%20runway%20elegant%20minimalist%20design&image_size=landscape_16_9');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #8b5a2b;
    color: white;
}

.btn-primary:hover {
    background-color: #6b451a;
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

.btn-outline {
    background-color: transparent;
    color: #8b5a2b;
    border: 1px solid #8b5a2b;
}

.btn-outline:hover {
    background-color: #8b5a2b;
    color: white;
}

/* 产品展示 */
.products-section {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.product-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-title {
    font-size: 18px;
    font-weight: bold;
    margin: 20px;
    color: #333;
}

.product-price {
    font-size: 16px;
    font-weight: bold;
    margin: 0 20px 20px;
    color: #8b5a2b;
}

.product-card .btn {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
    text-align: center;
}

.section-footer {
    text-align: center;
}

/* 品牌故事 */
.story-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.story-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.story-text {
    flex: 1;
    min-width: 300px;
}

.story-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

.story-image {
    flex: 1;
    min-width: 300px;
}

.story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* 联系我们 */
.contact-section {
    padding: 80px 0;
    background-color: white;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 16px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Georgia', serif;
}

.form-group textarea {
    resize: vertical;
}

/* 页脚 */
.footer {
    background-color: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    display: block;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-description {
    font-size: 14px;
    color: #ccc;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #ccc;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-social h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #8b5a2b;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-copyright {
    font-size: 14px;
    color: #ccc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-list {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .story-content,
    .contact-content {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 15px 0;
    }

    .logo {
        font-size: 20px;
    }

    .hero {
        margin-top: 60px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .products-section,
    .story-section,
    .contact-section {
        padding: 60px 0;
    }
}

/* 产品页面 */
.products-page {
    padding: 120px 0 80px;
    background-color: white;
}

.filter-section {
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: bold;
    color: #333;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Georgia', serif;
}

/* 产品详情页面 */
.product-detail-page {
    padding: 120px 0 80px;
    background-color: white;
}

.product-detail-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.product-detail-image {
    flex: 1;
    min-width: 300px;
}

.product-detail-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.product-detail-info {
    flex: 1;
    min-width: 300px;
}

.product-detail-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.product-detail-price {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #8b5a2b;
}

.product-detail-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #555;
}

.product-detail-size {
    margin-bottom: 20px;
}

.product-detail-size h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.size-options {
    display: flex;
    gap: 10px;
}

.size-option {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-option:hover {
    border-color: #8b5a2b;
    color: #8b5a2b;
}

.size-option.selected {
    background-color: #8b5a2b;
    color: white;
    border-color: #8b5a2b;
}

.product-detail-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.quantity-input {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    padding: 12px 16px;
    background-color: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background-color: #e0e0e0;
}

.quantity-value {
    padding: 12px 20px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-size: 16px;
    min-width: 60px;
    text-align: center;
}

/* 购物车页面 */
.cart-page {
    padding: 120px 0 80px;
    background-color: white;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.cart-table th,
.cart-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.cart-table th {
    font-weight: bold;
    color: #333;
    background-color: #f9f9f9;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.cart-item-size {
    font-size: 14px;
    color: #666;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-quantity input {
    width: 60px;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

.cart-item-remove {
    background-color: transparent;
    border: none;
    color: #8b5a2b;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cart-item-remove:hover {
    color: #6b451a;
}

.cart-total {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.cart-total-label {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.cart-total-value {
    font-size: 24px;
    font-weight: bold;
    color: #8b5a2b;
}

.cart-actions {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

/* 品牌故事页面 */
.story-page {
    padding: 120px 0 80px;
    background-color: white;
}

.story-page-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-page-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #555;
}

.story-page-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 40px;
}

.story-page-values {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.value-item {
    text-align: center;
}

.value-icon {
    width: 80px;
    height: 80px;
    background-color: #f9f9f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #8b5a2b;
}

.value-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.value-description {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* 联系页面 */
.contact-page {
    padding: 120px 0 80px;
    background-color: white;
}

.contact-page-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-page-info {
    flex: 1;
    min-width: 300px;
}

.contact-page-info h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.contact-page-info p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;
}

.contact-page-form {
    flex: 1;
    min-width: 300px;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* 滚动效果 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}