.navbar {
    background-color: #1a202c;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    text-decoration: none;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* 轮播图样式 */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 400px;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 1rem;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev {
    left: 1rem;
}

.next {
    right: 1rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    margin: 0 0.5rem;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.indicator.active {
    background: white;
}

/* 案例展示样式 */
.case-card {
    transition: transform 0.3s ease;
}

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

.case-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* 表单样式 */
#feedbackForm input,
#feedbackForm textarea {
    border: 1px solid #ddd;
}

#feedbackForm button {
    transition: background-color 0.3s ease;
}

/* 页脚样式 */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.contact-item a {
    text-decoration: none !important;
    color: inherit !important;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1a202c;
        flex-direction: column;
        padding: 1rem;
        display: none;
    }

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

    .nav-links li {
        margin: 0.5rem 0;
    }

    .menu-toggle {
        display: block;
    }

    .carousel {
        height: 300px;
    }

    .grid md:grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .grid md:grid-cols-2 lg:grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .grid md:grid-cols-4 {
        grid-template-columns: 1fr 1fr;
    }
}