/* 姣奈商贸 - 鞋子企业网站 响应式样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== 顶部导航 ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #c0392b;
}

.logo span {
    color: #333;
    font-size: 14px;
    font-weight: normal;
    margin-left: 8px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    font-size: 15px;
    transition: color 0.3s;
    padding: 5px 0;
}

.nav-list a:hover {
    color: #c0392b;
}

/* 汉堡按钮 - 手机端显示 */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: #333;
}

/* ========== Banner ========== */
.banner {
    margin-top: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.banner h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.banner p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    background: #c0392b;
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    transition: background 0.3s;
}

.btn:hover {
    background: #e74c3c;
}

/* ========== 产品展示 ========== */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #c0392b;
    margin: 15px auto 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-img {
    height: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.product-info {
    padding: 15px;
    text-align: center;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.product-info .price {
    color: #c0392b;
    font-size: 18px;
    font-weight: bold;
}

/* ========== 关于我们 ========== */
.about {
    background: #f9f9f9;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #c0392b;
}

.about-text p {
    margin-bottom: 15px;
    color: #666;
}

.about-img {
    height: 300px;
    background: #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #999;
}

/* ========== 优势 ========== */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-item {
    padding: 20px;
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-item p {
    color: #888;
    font-size: 14px;
}

/* ========== 联系我们 ========== */
.contact {
    background: #2c3e50;
    color: #fff;
}

.contact .section-title {
    color: #fff;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-item p {
    color: #bbb;
}

/* ========== 页脚 ========== */
.footer {
    background: #1a252f;
    color: #888;
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
}

/* ========================================
   手机适配 - 屏幕宽度小于 768px
   ======================================== */
@media screen and (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        border-bottom: 1px solid #eee;
    }

    .nav-list a {
        display: block;
        padding: 15px 20px;
    }

    .menu-toggle {
        display: block;
    }

    .banner {
        padding: 60px 0;
    }

    .banner h1 {
        font-size: 26px;
    }

    .banner p {
        font-size: 15px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    /* 产品 - 手机两列 */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-img {
        height: 150px;
        font-size: 36px;
    }

    .product-info h3 {
        font-size: 14px;
    }

    .product-info .price {
        font-size: 16px;
    }

    /* 关于我们 - 手机单列 */
    .about-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-img {
        height: 200px;
    }

    /* 优势 - 手机两列 */
    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-icon {
        font-size: 36px;
    }

    .feature-item h4 {
        font-size: 16px;
    }

    /* 联系 - 手机单列 */
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 超小屏幕 - 小于 480px */
@media screen and (max-width: 480px) {
    .banner h1 {
        font-size: 22px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 14px;
    }

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

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