/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    text-decoration: none;
    color: #000;
    transition: color 0.3s ease;
}

.navbar-scrolled .logo {
    color: #fff;
}

.nav-center {
    display: flex;
    gap: 30px;
}

.nav-center a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.navbar-scrolled .nav-center a {
    color: #fff;
}

.nav-center a:hover {
    color: #1a73e8;
}

.nav-right {
    display: flex;
    gap: 20px;
}

.nav-right a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.navbar-scrolled .nav-right a {
    color: #fff;
}

.nav-right a:hover {
    color: #1a73e8;
}

/* Hero区域 */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=Nike%20professional%20athlete%20running%20fast%20on%20track%20field%20dynamic%20action%20shot%20professional%20photography&image_size=landscape_16_9');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.hero-content {
    text-align: center;
    z-index: 2;
    color: #fff;
}

.hero-content h1 {
    font-size: 6rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -2px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: transparent;
    color: #fff;
}

.btn-sm {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-sm:hover {
    background-color: #333;
}

/* 精选系列 */
.featured {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.featured h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.featured-item {
    background-color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.featured-image {
    margin-bottom: 20px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.featured-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.featured-item p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
}

/* 系列展示 */
.collection {
    padding: 80px 0;
}

.collection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.collection-item {
    position: relative;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.collection-image {
    height: 100%;
    overflow: hidden;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-item:hover .collection-image img {
    transform: scale(1.1);
}

.collection-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
}

.collection-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.collection-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 300;
}

/* 特惠区域 */
.sale {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.sale h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: #ff0000;
}

.sale-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.sale-item {
    background-color: #fff;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.sale-item:hover {
    transform: translateY(-10px);
}

.sale-image {
    position: relative;
    margin-bottom: 20px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sale-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff0000;
    color: #fff;
    padding: 5px 15px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 20px;
}

.sale-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sale-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.original-price {
    font-size: 1.1rem;
    color: #666;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.sale-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ff0000;
    margin-bottom: 20px;
}

/* 品牌故事 */
.about {
    padding: 80px 0;
    background-color: #000;
    color: #fff;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.about-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
    font-weight: 300;
}

.about .btn {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

.about .btn:hover {
    background-color: transparent;
    color: #fff;
}

/* 页脚 */
footer {
    background-color: #000;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    font-size: 12px;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-center {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .nav-right {
        gap: 15px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .featured h2,
    .sale h2,
    .about-content h2 {
        font-size: 2rem;
    }
    
    .collection-grid {
        grid-template-columns: 1fr;
    }
    
    .collection-content h2 {
        font-size: 2rem;
    }
    
    .collection-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .sale-grid {
        grid-template-columns: 1fr;
    }
}
