/* 公共样式 - 上海岩峤信息科技有限公司 */

/* 轮播图样式 */
.carousel {
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-inner img {
    width: 100%;
}

/* 导航样式 */
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
}

.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.welcome-text {
    font-weight: 600;
}

.nav-container {
    background: #f8f8f8;
}

.nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav li {
    flex: 0.66;
    text-align: center;
    margin-right: 10px;
}

.nav li:last-child {
    margin-right: 0;
}

.nav li a {
    display: block;
    padding: 15px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.nav li.current {
    background: #fc7611;
}

.nav li.current a {
    color: white;
}

.nav li:hover,
.nav li.dropdown:hover {
    background: #eee;
    transition: background 0.3s ease;
}

.nav li:hover a,
.nav li.dropdown:hover>a {
    color: black;
    transition: color 0.3s ease;
}

.nav li.current:hover {
    background: #fc7611;
}

.nav .dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 100;
    width: 100%;
    margin-top: 0;
    border-top: none;
    border-radius: 0 0 4px 4px;
}

.dropdown:hover {
    background: #fc7611;
}

.dropdown:hover>a {
    color: white;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* 彻底覆盖Bootstrap下拉菜单样式 */
.nav-container .nav>li>.dropdown-menu>li:hover,
.nav-container .nav>li>.dropdown-menu>li:focus {
    background-color: #fc7611 !important;
}

.nav-container .nav>li>.dropdown-menu>li:hover>a,
.nav-container .nav>li>.dropdown-menu>li:focus>a {
    color: black !important;
    background-color: #fc7611 !important;
}

.nav-container .nav>li>.dropdown-menu>li>a {
    padding: 10px 20px !important;
    transition: none !important;
    color: #333 !important;
    background-color: white !important;
    text-align: left !important;
    padding-left: 15px !important;
}

.nav-container .nav>li>.dropdown-menu>li>a:hover,
.nav-container .nav>li>.dropdown-menu>li>a:focus {
    transition: none !important;
}

/* 内容区域样式 */
.container-fluid {
    padding: 30px 0;
}

.container-fluid p:not(footer p) {
    font-size: 16px;
    line-height: 2;
    text-indent: 0;
    padding-left: 2em;
}

/* 页脚样式 */
footer {
    background-color: #f8f8f8;
    padding: 10px 0;
    margin-top: 15px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    min-height: 80px;
}

footer p {
    font-size: 16px;
    line-height: normal;
}

/* 解决方案面板样式 */
.solution-panel {
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.panel-header {
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

/* 通用样式 */
.img-thumbnail {
    transition: all 0.3s;
    margin-bottom: 15px;
}

/* 确保行内列等高 */
.row {
    display: flex;
    flex-wrap: wrap;
}

.row>[class*='col-'] {
    display: flex;
    flex-direction: column;
}

.img-thumbnail:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

h3 {
    margin-top: 0;
    padding-bottom: 10px;
}

/* 联系页面样式 */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s;
}

.contact-item:hover {
    background-color: #f5f5f5;
}

.contact-item img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    object-fit: contain;
}

.contact-item h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 16px;
}

.contact-item p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-item img {
        margin-right: 0;
        margin-bottom: 10px;
    }
}