/* Banner Swiper Styles */
#bannerSwiper {
    width: 100%;
    height: auto !important; /* Override fixed height/100vh from .fban */
    overflow: hidden;
    position: relative;
}

#bannerSwiper .swiper-slide {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    /* Ensure slides stretch to match the tallest one (flexbox default) */
    display: flex; 
    justify-content: center;
    align-items: flex-start;
}

/* Banner Image Styles */
#bannerSwiper .swiper-slide img {
    height: auto;
    display: block;
    object-fit: cover;
}

/* Ensure video covers the slide */
#bannerSwiper .swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

/* Ensure content is above video */
/* Revert to absolute positioning to match original layout and overlay on image */
#bannerSwiper .swiper-slide .evwz {
    z-index: 2;
    position: absolute; 
    /* Original styles from xiutu.css will handle top/left/width */
    /* .evwz { position: absolute; bottom: 160px; ... } */
    height: auto; 
}

/* Pagination Customization */
#bannerSwiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

#bannerSwiper .swiper-pagination-bullet-active {
    background: #fff;
}
.title-top{
    margin-top: 100px;
}

.price {
    color:#1ed18b;
    font-size: 35px;
    font-weight: bold;;
}

.price img {
    display: block;
    height: 40px; /* Adjust height to match text */
    width: auto;
    vertical-align: middle;
}

/* Business Grid Styles */
.remodeling-list.business-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    padding-top: 50px;
}

.remodeling-list.business-grid li {
    /* 4 columns: (100% - 3 gaps) / 4.  gap=20px. 3*20=60. 60/4=15 */
    width: calc(25% - 15px);
    flex-grow: 1; /* Allows items to fill remaining space (crucial for the last row) */
    margin-bottom: 0; /* Handled by gap */
    
    /* Frosted Glass Effect */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    
    padding: 30px 20px;
    box-sizing: border-box;
    border-radius: 15px;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    transition: all 0.3s ease;
}

.remodeling-list.business-grid li:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Reset margin overrides from xiutu.css */
.remodeling-list.business-grid li:nth-child(2n+2) .huancommonleft,
.remodeling-list.business-grid li:nth-child(2n+2) .remodeling-text {
    margin: 0;
}

.business-item-icon {
    font-size: 36px;
    color: #1ed18b;
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    background: rgba(30, 209, 139, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.remodeling-list.business-grid li:hover .business-item-icon {
    background: #1ed18b;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(30, 209, 139, 0.6);
}

.business-item-num {
    font-size: 40px;
    color: rgba(30, 209, 139, 0.4);
    font-weight: bold;
    line-height: 1;
    margin-bottom: 15px;
    font-family: 'Arial', sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.business-item-title {
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.business-item-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 4px;
    height: 16px;
    background: #1ed18b;
    border-radius: 2px;
    box-shadow: 0 0 5px #1ed18b;
}

.business-item-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Play Button Style */
.pic.hoe {
    cursor: pointer;
    position: relative;
}

.pic.hoe .play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    z-index: 10;
    pointer-events: none; /* Let clicks pass through to .pic.hoe */
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.pic.hoe:hover .play-btn {
    background: rgba(30, 209, 139, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
    border-color: #1ed18b;
}

/* Footer QR Codes */
.foot-qr-codes {
    float: right;
    display: flex;
    gap: 30px;
    position: relative; /* Ensure it's a positioning context if needed */
    z-index: 10;
}

.foot-qr-codes .footewm {
    text-align: center;
    color: #fff; /* Assuming footer text is white */
    /* Reset potential conflicting styles from xiutu.css */
    position: relative !important; 
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    float: none !important;
    width: auto !important; /* Allow content to define width or set specific */
}

.foot-qr-codes .footewm img {
    width: 100px; /* Adjust size as needed */
    height: 100px;
    display: block;
    margin-bottom: 10px;
    background: #fff; /* Placeholder background */
    margin: 0 auto 10px; /* Center image */
}

.foot-qr-codes .footewm p {
    font-size: 14px;
    color: #afafaf; /* Matching typical footer text color */
    margin: 0;
}

@media screen and (max-width: 1024px) {
    .foot-qr-codes {
        float: none;
        justify-content: center;
        margin-top: 30px;
    }
    
    /* Fix mobile scrolling issue */
    .all {
        overflow: visible !important;
        height: auto !important;
    }
}

/* Responsive */
@media screen and (max-width: 1200px) {
    .remodeling-list.business-grid li {
        width: calc(33.33% - 14px); /* 3 columns */
    }
}

@media screen and (max-width: 900px) {
    .remodeling-list.business-grid li {
        width: calc(50% - 10px); /* 2 columns */
    }
    .ffbtnarea .ffbtn{
        margin-left: 0px;
        margin-top: 15px;
    }
    .title-top img{
        width: 100%;
    }
    .fshipin{
        padding-top: 50px;
    }
    #bannerSwiper .swiper-slide img{
        height:500px;
    }
    .hasani .title-top strong{
        margin-top: 100px;
        margin-bottom: 0px;
    }
    .ffbtnarea{
        margin-top: 50px;
    }
}

@media screen and (max-width: 600px) {
    .remodeling-list.business-grid li {
        width: 100%; /* 1 column */
    }
}



/* 列表页专用样式 */
.inner-banner {
    height: 350px;
    background: url('/skin/images/banner2.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 50px;
}
.inner-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}
.inner-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}
.inner-text h1 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 2px;
}
.inner-text p {
    font-size: 16px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.news-list-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -25px;
}
.news-item-col {
    width: 33.33%;
    padding: 0 25px;
    margin-bottom: 50px;
    box-sizing: border-box;
}

/* 仿照首页 #sw14 样式 */
.news-card {
    display: block;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
}

.news-card .pic {
    position: relative;
    width: 100%;
    height: 232px;
    overflow: hidden;
    border-radius: 0;
}

.news-card .pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.news-card:hover .pic img {
    opacity: 1;
    transform: scale(1.04);
}

.news-card .pic a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.news-card .pic .play-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 18px;
    z-index: 10;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.news-card:hover .pic .play-btn {
    background: rgba(30, 209, 139, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
    border-color: #1ed18b;
}

.news-card .news-info {
    display: block;
}

/* Text container */
.news-card-link {
    display: block;
    text-decoration: none;
}

.news-card h3 {
    font-size: 20px;
    color: #fff;
    line-height: 40px;
    margin-top: 20px;
    margin-bottom: 0;
    font-weight: normal;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: color 0.3s;
}

.news-card:hover h3 {
    color: #1ed18b;
}

.news-card .date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.2);
    line-height: 24px;
    margin-top: 6px;
}

/* 分页样式 */
.pages {
    text-align: center;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.pages a, .pages span {
    display: inline-block;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
}
.pages a:hover, .pages a.page-num-current, .pages span.page-num-current {
    background: #1ed18b;
    color: #fff;
    border-color: #1ed18b;
}

@media screen and (max-width: 1200px) {
    .container { width: 96%; }
}
@media screen and (max-width: 900px) {
    .news-item-col { width: 50%; }
}
@media screen and (max-width: 600px) {
    .news-item-col { width: 100%; }
    .inner-banner { height: 200px; }
    .inner-text h1 { font-size: 28px; }
}

/* 文章详情页样式 */
.news-detail {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 10px;
    color: #fff;
}

.news-detail-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
}

.news-detail-title {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-detail-meta {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.news-detail-meta span {
    margin: 0 10px;
}

.news-content {
    line-height: 1.8;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.news-content p {
    margin-bottom: 20px;
}

.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 20px 0;
}

.news-nav {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.7);
}

.news-nav a {
    color: #fff;
    transition: color 0.3s;
}

.news-nav a:hover {
    color: #1ed18b;
}

@media screen and (max-width: 768px) {
    .news-detail {
        padding: 20px;
    }
    .news-detail-title {
        font-size: 24px;
    }
    .news-nav {
        flex-direction: column;
        gap: 10px;
    }
}

/* 联系我们页面样式 */
.contact-wrapper {
    padding: 0;
}

.contact-info-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px 40px;
}

.contact-card {
    width: 25%;
    padding: 0 15px;
    box-sizing: border-box;
    text-align: center;
}

.contact-card .icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: rgba(30, 209, 139, 0.1);
    color: #1ed18b;
    font-size: 36px;
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.contact-card:hover .icon {
    background: #1ed18b;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(30, 209, 139, 0.6);
}

.contact-card h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: bold;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

.contact-content {
    display: flex;
    gap: 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
}

.contact-map {
    flex: 1;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
}

.contact-form-section {
    width: 400px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-sizing: border-box;
}

.contact-form-section h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: #fff;
    box-sizing: border-box;
    transition: all 0.3s;
}

.form-textarea {
    height: 120px;
    resize: none;
}

.form-input:focus, .form-textarea:focus {
    border-color: #1ed18b;
    background: rgba(255, 255, 255, 0.15);
    outline: none;
}

.code-input {
    width: 60%;
    display: inline-block;
    vertical-align: middle;
}

.code-img {
    width: 35%;
    height: 42px;
    vertical-align: middle;
    cursor: pointer;
    border-radius: 5px;
    margin-left: 4%;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #1ed18b;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.submit-btn:hover {
    background: #16b978;
    transform: translateY(-2px);
}

@media screen and (max-width: 1024px) {
    .contact-content {
        flex-direction: column;
    }
    .contact-map {
        height: 300px;
    }
    .contact-form-section {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .contact-card {
        width: 50%;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 480px) {
    .contact-card {
        width: 100%;
    }
}