/* 顶部栏样式 */
.top-bar {
    font-size: 0.9rem;
}

.social-icons a {
    color: #333;
    margin-left: 15px;
    text-decoration: none;
}

.social-icons a:hover {
    color: #007bff;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: #333 !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .top-bar {
        text-align: center;
    }
    
    .social-icons {
        margin-top: 10px;
    }
} 

/* Hero Carousel */
.carousel-item {
    height: 80vh;
    min-height: 400px;
    background: no-repeat center center scroll;
    background-size: cover;
}

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

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.service-card {
    padding: 2rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

/* Products Section */
.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

/* Comments Section */
.comment-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.comment-text {
    font-style: italic;
}

/* Footer */
footer {
    margin-top: 2rem;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #007bff !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-item {
        height: 50vh;
    }
    
    .carousel-caption {
        padding: 1rem;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
}
p{
    margin-bottom: 1.2em;
}
h4{
    margin-bottom: 1.6rem;
}