/* Banner Group */
.banner-group {
    margin: 50px 10px 15px;
    background: #fff;
    border-radius: 12px 12px 0 0; /* 只保留顶部圆角 */
    overflow: hidden;
    position: relative;
}

/* Banner Slider */
.banner-slider {
    position: relative;
    height: 280px; /* 减小高度 */
    overflow: hidden;
    touch-action: none; /* 修复轮播图滑动问题 */
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    transition: opacity 0.5s ease-in-out;
}

.slider-item.active {
    display: block;
    opacity: 1;
}

.banner {
    height: 100%; /* 让banner占满整个slider-item */
}

/* 轮播图指示器样式 */
.slider-indicators {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    z-index: 10;
}

.slider-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-indicator.active {
    background-color: #fff;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.slider-item.active {
    display: block;
}

.banner {
    height: 100%;
}

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


/* Property Highlight */
.property-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    color: #333;
    padding: 8px 0; /* 进一步减少内边距 */
    border-radius: 0; /* 确保没有圆角 */
}

/* Price Container with Call Button */
.price-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
}

.call-button {
    display: flex;
    align-items: center;
    background-color: #FF5A5F;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.call-button:hover {
    background-color: #FF3B40;
    transform: scale(1.05);
}

.call-button img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
    filter: brightness(0) invert(1); /* 将图标变为白色 */
}

.highlight-info {
    padding: 0 20px;
}

.highlight-info h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.specs {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.price {
    font-size: 18px;
}

.price .total {
    margin-right: 10px;
}

.price .amount {
    color: #ff6b6b;
    font-weight: bold;
    font-size: 24px;
}

/* 调整highlight-info的样式 */
.highlight-info {
    padding: 0 0px;
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-info h2 {
    font-size: 17px; /* 稍微减小字体 */
    margin-bottom: 4px;
    color: #333;
}

.specs {
    font-size: 12px; /* 稍微减小字体 */
    color: #666;
    margin-bottom: 4px;
}

.price {
    font-size: 16px;
}

.price .total {
    color: #333;
}

/* Quick Nav Section */
.quick-nav {
    padding: 20px 0;
}

.nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.icon-circle img {
    width: 30px;
    height: 30px;
}

.purple { background-color: #a366ff; } /* 紫色更深 */
.coral { background-color: #ff6666; }  /* 珊瑚色更深 */
.yellow { background-color: #ffcc00; } /* 黄色更深 */
.blue { background-color: #4da9ff; }   /* 蓝色更深 */

/* 品牌房开栏目相关样式已移除 */

/* Featured Properties Section */
.featured-properties {
    padding: 20px 10px;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-left: 5px;
}

.property-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.property-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.price-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 90, 95, 0.9);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.location-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.property-info {
    padding: 10px 15px; /* 减少上下内边距 */
}

.property-name {
    font-size: 17px; /* 稍微减小字体 */
    font-weight: bold;
    color: #333;
    margin-bottom: 6px; /* 减少底部间距 */
}

.property-price {
    margin-bottom: 6px; /* 减少底部间距 */
}

.price-label {
    font-size: 13px; /* 稍微减小字体 */
    color: #666;
}

.price-value {
    font-size: 15px; /* 稍微减小字体 */
    color: #FF5A5F;
    font-weight: bold;
}

.property-meta {
    margin-bottom: 6px; /* 减少底部间距 */
}

.property-validity {
    font-size: 12px;
    color: #666;
    margin-bottom: 3px; /* 减少底部间距 */
}

.property-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px; /* 减少标签之间的间距 */
    margin-top: 3px; /* 减少顶部间距 */
}

.tag {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    color: #fff;
    font-weight: bold;
}

.tag-blue { background-color: #3498db; }
.tag-green { background-color: #2ecc71; }
.tag-purple { background-color: #9b59b6; }
.tag-orange { background-color: #e67e22; }
.tag-teal { background-color: #1abc9c; }
.tag-pink { background-color: #e84393; }
.tag-yellow { background-color: #f1c40f; }

.property-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 10px;
}

/* 滚动文案样式 */
.property-slogan {
    position: relative;
    height: 20px;
    overflow: hidden;
    margin-top: 6px;
    margin-bottom: 12px;
}

/* 楼盘卡片按钮样式 */
.property-buttons {
    display: flex;
    gap: 10px;
    padding-top: 5px;
    border-top: 1px solid #f0f0f0;
}

.property-buttons .btn {
    flex: 1;
    padding: 8px 0;
    font-size: 14px;
    font-weight: normal;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-appointment {
    background-color: #FF5A5F;
    color: white;
    border: none;
}

.btn-appointment, .btn-review {
    position: relative;
    padding: 8px 15px;
}

/* 安心服务栏目样式 */
.secure-service {
    margin-bottom: 20px;
}

.service-content {
    background-color: #4A90E2;
    border-radius: 8px;
    padding: 12px 20px;
    color: #fff;
    display: flex;
    align-items: center;
}

.secure-service .section-title {
    margin: 0;
    margin-right: 15px;
    padding-left: 0;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    white-space: nowrap;
}

.service-box {
    flex-grow: 1;
    height: 48px; /* 增加高度以适应两行文字 */
    overflow: hidden;
    position: relative;
}

.service-scroll {
    height: 144px; /* 3 items * 48px height */
    animation: scroll-service 15s infinite linear;
}

.service-item {
    display: flex;
    align-items: center;
    height: 48px;
    padding-right: 15px;
}

.service-item span {
    font-size: 14px;
    color: #fff;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 40px; /* 约等于 line-height * 2 */
}

@keyframes scroll-service {
    0%, 33.33% {
        transform: translateY(0);
    }
    33.34%, 66.66% {
        transform: translateY(-48px);
    }
    66.67%, 99.99% {
        transform: translateY(-96px);
    }
    100% {
        transform: translateY(0);
    }
}

.service-box:hover .service-scroll {
    animation-play-state: paused;
}

.btn-view-detail {
    background-color: #fff;
    color: #4A90E2;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    margin-left: 15px;
    transition: background-color 0.3s, color 0.3s;
    min-width: 50px;
    text-align: center;
}

.btn-view-detail:hover {
    background-color: #e6e6e6;
    color: #3a78c0;
}

/* 页脚样式 */
.footer {
    background-color: #fff;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid #eee;
    position: relative;
    z-index: 99;
}

.footer-nav {
    text-align: center;
    margin-bottom: 25px;
}

.footer-link {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    margin: 0 15px;
    transition: color 0.3s;
    font-weight: 500;
}

.footer-link:hover {
    color: #4A90E2;
}

.footer-divider {
    color: #999;
    margin: 0 5px;
}

.contact-info {
    text-align: center;
    margin-bottom: 25px;
}

.contact-info p {
    font-size: 15px;
    color: #555;
    font-weight: 500;
}

.disclaimer {
    font-size: 12px;
    color: #777;
    text-align: justify;
    margin-bottom: 25px;
    line-height: 1.6;
    padding: 0 20px;
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: #888;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}

.footer-bottom p {
    margin: 5px 0;
}

/* 按钮样式 */
.btn-appointment, .btn-review {
    padding: 8px 15px;
    font-size: 14px;
    margin: 5px 0;
    white-space: nowrap;
}

.btn-review {
    background-color: #fff;
    color: #FF5A5F;
    border: 1px solid #FF5A5F;
}

.btn-appointment:hover {
    background-color: #ff4448;
    transform: translateY(-1px);
}

.btn-review:hover {
    background-color: #fff5f5;
    transform: translateY(-1px);
}

.slogan-container {
    position: absolute;
    width: 100%;
    animation: scroll-y 12s infinite;
}

.slogan-text {
    height: 20px;
    font-size: 12px;
    color: #666;
    margin: 0;
    text-align: left;
    font-style: italic;
    display: flex;
    align-items: center;
}

.slogan-text::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 5px;
    background: url('../image/rp.png') no-repeat center center;
    background-size: contain;
    vertical-align: middle;
}

@keyframes scroll-y {
    0%, 30% {
        transform: translateY(0);
    }
    33.33%, 63.33% {
        transform: translateY(-20px);
    }
    66.66%, 96.66% {
        transform: translateY(-40px);
    }
    100% {
        transform: translateY(-60px);
    }
}

/* 克隆第一条文案到最后，实现无缝循环 */
.slogan-container {
    /* 其他样式保持不变 */
}

/* Action Buttons */
.action-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    padding: 8px 20px;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.1);
}

/* 为底部内容添加内边距，防止被固定按钮遮挡 */
.footer {
    padding-bottom: 80px !important;
}

.btn {
    padding: 10px 25px;
    border-radius: 25px;
    border: none;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.find-house {
    background-color: #FF5A5F;
    color: white;
}

.online-consult {
    background-color: #fff;
    color: #FF5A5F;
    border: 1px solid #FF5A5F;
}

/* 楼盘卡片布局 */
.property-main {
    display: flex;
    justify-content: space-between;
}

.property-content {
    flex: 1;
    padding-right: 15px;
}

/* 楼盘卡片按钮 */
.property-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 15px;
}

.property-buttons .btn {
    padding: 8px 15px;
    font-size: 14px;
    margin: 5px 0;
    white-space: nowrap;
}

.btn-appointment {
    background-color: #FF5A5F;
    color: white;
}

.btn-review {
    background-color: #fff;
    color: #FF5A5F;
    border: 1px solid #FF5A5F;
}

/* 调整楼盘信息布局 */
.property-item {
    display: flex;
    flex-direction: column;
}

.property-image {
    width: 100%;
}

.property-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-name {
    margin-bottom: 10px;
}

.property-price {
    margin-bottom: 10px;
}

.property-meta {
    margin-bottom: 10px;
}

.property-slogan {
    flex: 1;
}

/* Contact Float */
.contact-float {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 100;
}

.phone-circle {
    width: 50px;
    height: 50px;
    background: #FF5A5F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255,90,95,0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.phone-circle:hover {
    transform: scale(1.1);
}

.phone-circle img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* 移除了phone-bubble样式 */

/* 底部查看全部按钮区域 */
.view-all-section {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    margin-top: 30px;
}

.btn-view-all {
    background-color: #fff;
    color: #FF5A5F;
    border: 1px solid #FF5A5F;
    padding: 10px 40px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background-color: #FF5A5F;
    color: #fff;
}

/* 底部额外空白区域，确保浮动按钮不遮挡内容 */
.bottom-spacing {
    height: 100px; /* 增加高度，确保内容不被遮挡 */
    width: 100%;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .footer {
        padding: 20px 0;
    }
    
    .footer-link {
        font-size: 14px;
        margin: 0 8px;
    }
    
    .disclaimer {
        padding: 0 15px;
        font-size: 11px;
    }
    
    .contact-info p {
        font-size: 14px;
    }
    
    .footer-bottom {
        padding-top: 15px;
    }
}