/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background-color: #fff;
    padding: 40px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.company-info {
    flex: 1;
}

.company-name {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.company-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* 图片展示区样式 */
.image-section {
    padding: 60px 0;
    background-color: #fff;
    margin-top: 20px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.image-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-item:hover img {
    transform: scale(1.05);
}

/* 查询区域样式 */
.search-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    margin-top: 20px;
}

.search-container {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    border-color: #4CAF50;
}

.search-btn {
    padding: 15px 30px;
    font-size: 16px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background-color: #45a049;
}

.error-message {
    text-align: center;
    color: #f44336;
    margin-top: 15px;
    font-size: 14px;
    display: none;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close:hover {
    color: black;
}

/* 轮播图样式 */
.carousel {
    position: relative;
    margin: 20px 0;
}

.carousel-inner {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-item {
    display: none;
}

.carousel-item.active {
    display: block;
}

.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: contain;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 1;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.carousel-control-icon {
    font-size: 24px;
}

.carousel-indicators {
    text-align: center;
    margin-top: 15px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #4CAF50;
}

/* 新功能提示样式 */
.new-feature-section {
    padding: 60px 0;
    background-color: #f0f8ff;
    margin-top: 20px;
    text-align: center;
}

.new-feature-text {
    font-size: 36px;
    font-weight: bold;
    color: #4CAF50;
    text-align: center;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    /* 头部样式 */
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .logo img {
        width: 80px;
        height: 80px;
    }

    .company-name {
        font-size: 24px;
    }

    .company-description {
        font-size: 14px;
    }

    /* 图片展示区样式 */
    .image-section {
        padding: 40px 0;
    }

    .image-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .image-item img {
        height: 200px;
    }

    /* 查询区域样式 */
    .search-section {
        padding: 40px 0;
    }

    .search-container {
        flex-direction: column;
        max-width: 100%;
    }

    .search-input {
        padding: 12px 16px;
        font-size: 14px;
    }

    .search-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* 弹窗样式 */
    .modal-content {
        margin: 20% auto;
        width: 95%;
    }

    .carousel-item img {
        height: 300px;
    }

    /* 新功能提示样式 */
    .new-feature-section {
        padding: 40px 0;
    }

    .new-feature-text {
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    /* 头部样式 */
    .header {
        padding: 20px 0;
    }

    .company-name {
        font-size: 20px;
    }

    /* 图片展示区样式 */
    .image-section {
        padding: 30px 0;
    }

    .image-item img {
        height: 150px;
    }

    /* 查询区域样式 */
    .search-section {
        padding: 30px 0;
    }

    /* 弹窗样式 */
    .modal-content {
        margin: 30% auto;
    }

    .carousel-item img {
        height: 250px;
    }

    /* 新功能提示样式 */
    .new-feature-section {
        padding: 30px 0;
    }

    .new-feature-text {
        font-size: 20px;
    }
}