/* 长兴岛官网自定义样式 */

/* 顶部岛屿选择区域 */
.island-hero {
    background: linear-gradient(135deg, #4A90D9 0%, #5BA3E8 50%, #6BB6F7 100%);
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}

.island-hero .container,
.island-hero > .container {
    max-width: 1800px !important;
    width: 95% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.island-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.island-cards {
    display: flex;
    justify-content: center;
    gap: 80px;
    position: relative;
    z-index: 1;
    flex-wrap: nowrap;
    max-width: 1800px !important;
    width: 100% !important;
    margin: 0 auto;
}

.island-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    max-width: 800px;
    text-decoration: none;
    display: block;
    color: inherit;
}

.island-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.island-card-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.island-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.island-card:hover .island-card-image img {
    transform: scale(1.05);
}

.island-card-title {
    padding: 25px 20px;
    text-align: center;
    background: #fff;
}

.island-card-title h3 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* 岛屿详情区域 */
.island-detail {
    padding: 100px 0;
    background: #fff;
}

.island-detail-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.island-detail-wrapper.reverse {
    flex-direction: row-reverse;
}

.island-detail-image {
    flex: 0 0 45%;
    max-width: 500px;
}

.island-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.island-detail-content {
    flex: 1;
}

.island-name {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.island-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin-bottom: 25px;
    line-height: 1.4;
}

.island-desc {
    font-size: 15px;
    color: #999;
    line-height: 1.8;
    max-width: 500px;
}

/* 上海长兴岛区域特殊样式 */
.island-shanghai {
    background: #f8f9fa;
}

/* 自定义页脚样式 */
.custom-footer {
    background: linear-gradient(135deg, #2E5C8A 0%, #3A7AB8 100%);
    padding: 50px 0 40px;
    color: #fff;
}

.custom-footer-content {
    text-align: center;
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-links-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links-list a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links-list a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-divider {
    width: 80%;
    max-width: 600px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 25px auto;
}

.footer-contact-info {
    font-size: 16px;
    line-height: 2;
}

.footer-contact-info p {
    margin: 5px 0;
}

/* 响应式设计 */
@media (max-width: 991px) {
    .island-hero {
        padding: 60px 0 80px;
    }
    
    .island-cards {
        gap: 30px;
        flex-wrap: wrap;
    }
    
    .island-card {
        width: 100%;
        max-width: 420px;
        flex: 0 0 auto;
    }
    
    .island-card-image {
        height: 260px;
    }
    
    .island-detail-wrapper,
    .island-detail-wrapper.reverse {
        flex-direction: column;
        gap: 40px;
    }
    
    .island-detail-image {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }
    
    .island-detail {
        padding: 60px 0;
    }
    
    .island-name {
        font-size: 26px;
    }
    
    .island-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .island-hero {
        padding: 40px 0 60px;
    }
    
    .island-card-title h3 {
        font-size: 22px;
    }
    
    .island-name {
        font-size: 22px;
    }
    
    .island-subtitle {
        font-size: 18px;
    }
    
    .island-detail {
        padding: 40px 0;
    }
    
    .footer-links-list {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-links-list a {
        font-size: 16px;
    }
}
