/* Services页面专属样式 - 黑底白字 */

/* Services Header with Background */
.services-header {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.header-content .page-title {
    background-color: var(--black);
    padding: 1rem 3rem;
    display: inline-block;
}

/* Services Icons Section */
.services-icons {
    padding: 6rem 0;
    background-color: var(--black);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
}

.service-icon svg {
    /* width: 100%; */
    width: 65px;
    height: 100%;
    margin: auto;
}

.service-item h3 {
    font-size: 1.125rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.service-item p {
    font-size: 0.813rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* What We Do Section */
.what-we-do-dark {
    padding: 6rem 0;
    text-align: center;
    background-color: #0a0a0a;
}

.section-subtitle {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-weight: 300;
}

.services-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: left;
}

.services-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.938rem;
    line-height: 1.6;
    font-weight: 300;
}

.services-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
}

.services-note {
    max-width: 700px;
    margin: 0 auto;
    font-size: 0.938rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    font-weight: 300;
}

/* Gallery Images */
.services-gallery,
.final-service-image {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    position: relative;
}

.gallery-image {
    width: 100%;
    height: 100%;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeIn 1.2s ease forwards;
    animation-delay: 0.5s;
}

/* Why Choose Section */
.why-choose-dark {
    padding: 6rem 0 8rem;
    text-align: center;
    background-color: var(--black);
}

.benefits-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.benefits-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.938rem;
    line-height: 1.6;
    font-weight: 300;
}

.benefits-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
}

/* Image hover effects */
.services-gallery:hover img,
.final-service-image:hover img {
    transform: scale(1.05);
    transition: transform 10s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Staggered animations */
.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }

.service-item.fade-up {
    animation: fadeUp 0.8s ease forwards;
}

.services-list li,
.benefits-list li {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

.services-list li:nth-child(1) { animation-delay: 0.1s; }
.services-list li:nth-child(2) { animation-delay: 0.2s; }
.services-list li:nth-child(3) { animation-delay: 0.3s; }
.services-list li:nth-child(4) { animation-delay: 0.4s; }
.services-list li:nth-child(5) { animation-delay: 0.5s; }
.services-list li:nth-child(6) { animation-delay: 0.6s; }

.benefits-list li:nth-child(1) { animation-delay: 0.1s; }
.benefits-list li:nth-child(2) { animation-delay: 0.2s; }
.benefits-list li:nth-child(3) { animation-delay: 0.3s; }
.benefits-list li:nth-child(4) { animation-delay: 0.4s; }
.benefits-list li:nth-child(5) { animation-delay: 0.5s; }

/* 响应式设计 */
@media (max-width: 768px) {
    .services-header {
        height: 40vh;
    }
    
    .header-content .page-title {
        font-size: 2.5rem;
        padding: 0.75rem 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-gallery,
    .final-service-image {
        height: 40vh;
    }
    
    .services-list,
    .benefits-list {
        padding: 0 1rem;
    }
    
    .services-list li,
    .benefits-list li {
        font-size: 0.875rem;
    }
}