/* 首页样式 - Retics模板风格轮播图 */
.banner-slider {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    margin-bottom: 0;
    margin-top: -80px;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f5f5f0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.banner-slide.active {
    opacity: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.banner-content-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.banner-content {
    text-align: center;
    color: white;
    z-index: 4;
    position: relative;
}

.banner-content h1 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
    letter-spacing: 0;
    line-height: 1.2;
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
    color: #ffffff;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 45px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.2);
    animation: fadeInUp 1.2s ease-out;
    font-weight: 400;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0;
    color: #ffffff;
}

.banner-content .btn {
    animation: fadeInUp 1.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 轮播控制按钮 - Retics风格 */
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 0;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.banner-nav:hover {
    background: #DFB163;
    border-color: #DFB163;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 20px rgba(223, 177, 99, 0.3);
}

.banner-nav span {
    font-size: 28px;
    color: #252531;
    font-weight: bold;
    line-height: 1;
    transition: color 0.3s;
}

.banner-nav:hover span {
    color: #ffffff;
}

.banner-nav.prev {
    left: 30px;
}

.banner-nav.next {
    right: 30px;
}

/* 轮播指示器 - Retics风格 */
.banner-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: #DFB163;
    border-color: #DFB163;
    width: 40px;
    box-shadow: 0 2px 10px rgba(223, 177, 99, 0.5);
}

/* 响应式设计 - Retics风格 */
@media (max-width: 768px) {
    .banner-slider {
        height: 500px;
        margin-top: 0;
    }
    
    .banner-content h1 {
        font-size: 36px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .banner-nav {
        width: 40px;
        height: 40px;
    }
    
    .banner-nav span {
        font-size: 24px;
    }
    
    .banner-nav.prev {
        left: 15px;
    }
    
    .banner-nav.next {
        right: 15px;
    }
    
    .community-list,
    .case-list {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .case-cover,
    .community-cover {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .banner-content h1 {
        font-size: 28px;
    }
    
    .banner-content p {
        font-size: 14px;
    }
    
    .case-info,
    .community-info {
        padding: 20px;
    }
    
    .case-list,
    .community-list {
        grid-template-columns: 1fr;
    }
}

/* 案例列表 - Retics风格 */
.case-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

.case-item {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.case-item a {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.case-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(223, 177, 99, 0.02);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.case-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: rgba(223, 177, 99, 0.3);
}

.case-item:hover::before {
    opacity: 1;
}

.case-cover {
    position: relative;
    overflow: hidden;
    height: 300px;
    z-index: 2;
    background: #f5f5f5;
}

.case-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: block;
    position: relative;
    z-index: 1;
}

.case-item:hover .case-cover img {
    transform: scale(1.08);
}

.case-info {
    padding: 30px;
    position: relative;
    z-index: 2;
    background: white;
}

.case-info h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #252531;
    line-height: 1.4;
    letter-spacing: 0;
    font-family: "Montserrat", sans-serif;
}

.case-meta {
    color: #666;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.case-meta span {
    padding: 8px 16px;
    background: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0;
    font-size: 13px;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
}

.case-item:hover .case-meta span {
    background: rgba(223, 177, 99, 0.1);
    color: #DFB163;
    border-color: rgba(223, 177, 99, 0.3);
}

/* 设计师列表 */
.designer-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.designer-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.designer-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
}

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

.designer-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.designer-title {
    color: #8b7355;
    font-size: 14px;
    margin-bottom: 5px;
}

.designer-exp {
    color: #666;
    font-size: 12px;
}

/* 公司列表 */
.company-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.company-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.company-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.company-desc {
    color: #666;
    font-size: 14px;
}

/* 资讯列表 */
.news-list {
    display: grid;
    gap: 20px;
}

.news-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    gap: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-cover {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
}

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

.news-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.news-summary {
    color: #666;
    margin-bottom: 10px;
}

.news-meta {
    color: #999;
    font-size: 12px;
}

.news-meta span {
    margin-right: 15px;
}

/* 小区列表 - Retics风格 */
.community-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

.community-item {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.community-item a {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.community-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(223, 177, 99, 0.02);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.community-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: rgba(223, 177, 99, 0.3);
}

.community-item:hover::before {
    opacity: 1;
}

.community-cover {
    position: relative;
    height: 300px;
    overflow: hidden;
    z-index: 2;
    background: #f5f5f5;
}

.community-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: block;
    position: relative;
    z-index: 1;
}

.community-item:hover .community-cover img {
    transform: scale(1.08);
}

.community-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #DFB163;
    color: white;
    padding: 8px 16px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(223, 177, 99, 0.3);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.community-info {
    padding: 30px;
    position: relative;
    z-index: 2;
    background: white;
}

.community-info h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #252531;
    letter-spacing: 0;
    font-family: "Montserrat", sans-serif;
}

.community-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.community-meta {
    color: #DFB163;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 10px 20px;
    background: rgba(223, 177, 99, 0.1);
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.community-item:hover .community-meta {
    color: #ffffff;
    background: #DFB163;
}

