/* 宅舞团体页面样式 */

.dance-group-page {
    background: url('../images/home/bg.png') center top no-repeat;
    background-size: cover;
    background-attachment: fixed;
  
}

/* 导航栏 */
.dance-group-page .header {
    background: #5D81FC;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.dance-group-page .header.scrolled {
    background: rgba(60, 60, 60, 0.85);
    backdrop-filter: blur(10px);
}

/* 主内容区 */
.group-section {
    padding: 0;
    height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.group-container {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* 左侧印章logo */
.group-logo {
    position: absolute;
    left: 60px;
    bottom: 80px;
    z-index: 10;
}

.group-logo img {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

/* 中间团体图片 - 全屏 */
.group-image {
    width: 100%;
    height: 100%;
    position: relative;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.group-image img {
   
    max-width: 100%;
    max-height: 100%;
    display: block;
}

/* 右侧信息区 */
.group-info {
    position: absolute;
    left: 260px;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    z-index: 10;
}

.group-title img {
    width: 450px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.group-bottom {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
}

.group-social {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

.social-label {
  font-family: 'YouSheFont';
    font-size: 35px;
    color: #000000;
    white-space: nowrap;
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icon {
    display: block;
    transition: transform 0.3s ease;
}

.social-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.social-icon:hover {
    transform: translateY(-4px);
}

.contact-btn {
    padding: 12px 40px;
    background: #5B7FFF;
    color: #FFFFFF;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(91, 127, 255, 0.5);
    white-space: nowrap;
}

.contact-btn:hover {
    background: #4A6FEE;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 127, 255, 0.6);
}

.contact-btn:active {
    transform: translateY(0);
}

/* 详情弹窗模态框 */
.detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.detail-modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 100px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 48px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 48px;
    height: 48px;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    opacity: 0.7;
}

.modal-content img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.modal-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    align-items: center;
}

.modal-btn {
    padding: 12px 30px;
    background: #5B7FFF;
    color: #FFFFFF;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.modal-btn:hover {
    background: #4A6FEE;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 127, 255, 0.4);
}

.modal-btn:active {
    transform: translateY(0);
}

.img-dialog{
    width: 1400px;
    max-width: 90%;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}
.img-dialog .con{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 50%;
    padding: 40px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    background: linear-gradient(0deg, 
  #000000 0%, 
  #00000090 10%, 
  #00000060 30%, 
  #00000030 60%, 
  #00000000 100%
);
}
.img-dialog .modal-title{
    
  font-family: 'YouSheFont';
  font-size: 48px;
  margin-bottom: 20px;
}
.img-dialog .modal-desc{
    font-size: 20px;
}
#modalImage{
    aspect-ratio: 1400/700;
    width: 100%;
}

/* 响应式布局 */
@media (max-width: 1400px) {
 
    
    
    .group-info {
        left: 210px;
        bottom: 40px;
        gap: 18px;
    }
    
    .group-title img {
        width: 380px;
    }
    
    .group-bottom {
        gap: 25px;
    }
    
    .social-icon img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 1200px) {
    .group-logo {
        left: 30px;
        bottom: 50px;
    }
    
    .group-logo img {
        width: 130px;
    }
    
    .group-info {
        left: 180px;
        bottom: 50px;
        gap: 15px;
    }
    
    .group-title img {
        width: 320px;
    }
    
    .group-bottom {
        gap: 20px;
    }
    
    .social-label {
        font-size: 16px;
    }
    
    .social-icon img {
        width: 38px;
        height: 38px;
    }
    
    .contact-btn {
        padding: 10px 35px;
        font-size: 15px;
    }
}
@media (max-width: 768px) {
    .group-logo{
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        left: 20px;
        bottom: 10px;
        
    }
    .group-logo img{
        width: 50px !important;
    }
    .group-section{
        height: auto;
    }
     .img-dialog{
        overflow: visible;
    }
    .img-dialog .con{
        
        background: initial;
        min-height: unset;
        position: relative;
        padding: 10px 0;
    }
    .img-dialog .modal-title{
        font-size: 16px;
        margin-bottom: 10px;
    }
    .img-dialog .modal-desc{
        font-size: 14px;
    }
    .modal-controls{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        
        bottom: 20px;
        gap: 10px;
        justify-content: center;
    }
    .modal-content {
        padding: 40px 10px 80px;
    }

    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 36px;
        width: 36px;
        height: 36px;
    }


    .modal-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
        
    .group-info {
        left: 70px;
        bottom: 10px;
        gap: 5px;
    }
    
    .group-title img {
        width: auto;
        max-height: 20px ;
    }
    .group-social{
        gap: 0px;
    }
    
    .group-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0px;
    }
    
    .social-label {
        font-size: 12px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon img {
        width: 20px;
        height: 20px;
        
    }
    
    .contact-btn {
        padding: 5px 20px;
        font-size: 12px;
    }
}


