/* 서비스 페이지 스타일 */

/* Hero Section */
.services-hero {
    position: relative;
    height: 500px;
    margin-top: 70px;
    overflow: hidden;
}

.services-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    z-index: 0;
}

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

.services-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 100%;
    color: white;
    text-align: center;
}

.services-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-text p {
    font-size: 1.2rem;
    margin: 30px auto 0;
    opacity: 0.9;
    line-height: 1.6;
}

/* Animated Text */
.animated-text-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 2rem;
    font-weight: 600;
}

.animated-text {
    color: var(--primary-light);
    position: relative;
}

.animated-text::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: white;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Services Categories */
.services-category {
    padding: 80px 0;
    background-color: white;
    position: relative;
}

.services-category:nth-child(even) {
    background-color: #f9f9f9;
}

.category-header {
    margin-bottom: 60px;
    text-align: center;
}

.category-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.category-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin: 0 20px;
    position: relative;
}

.title-divider {
    height: 2px;
    background-color: var(--primary);
    width: 80px;
}

.category-desc {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: white;
    font-size: 2.5rem;
}

.service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.service-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    margin-bottom: 25px;
    margin-top: auto;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--secondary);
}

.feature i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 0.9rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    margin-top: auto;
    transition: all 0.3s ease;
}

.service-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Image Divider */
.image-divider {
    background: linear-gradient(to right, var(--primary), var(--secondary)), url('../img/datacenter-bg.jpg');
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.divider-content {
    max-width: 800px;
    margin: 0 auto;
}

.divider-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.divider-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.highlight {
    color: var(--primary-light);
    font-weight: 700;
}

/* Service Process */
.service-process {
    padding: 100px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
}

.section-desc {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.process-step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background-color: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-icon {
    color: var(--primary);
    font-size: 2.5rem;
    margin: 20px 0;
}

.process-step h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.process-step p {
    color: var(--gray);
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: white;
}

.faq-container {
    max-width: 900px;
    margin: 60px auto 0;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    font-weight: 600;
}

.faq-icon {
    width: 30px;
    height: 30px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 0 20px;
    line-height: 1.6;
    color: var(--gray);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: 2;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 70px;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .services-hero {
        height: 450px;
    }
    
    .services-hero-content h1 {
        font-size: 3rem;
    }
    
    .animated-text-container {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .category-title h2 {
        font-size: 2.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .process-steps {
        flex-wrap: wrap;
    }
    
    .process-step {
        min-width: 220px;
    }
}

@media screen and (max-width: 768px) {
    .services-hero {
        height: 400px;
    }
    
    .services-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .animated-text-container {
        font-size: 1.5rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .category-title h2 {
        font-size: 2rem;
    }
    
    .title-divider {
        width: 50px;
    }
    
    .category-desc {
        font-size: 1.1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .divider-content h2 {
        font-size: 2rem;
    }
    
    .divider-content p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-desc {
        font-size: 1.1rem;
    }
    
    .process-step {
        min-width: 100%;
        margin-bottom: 30px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 576px) {
    .services-hero {
        height: 350px;
    }
    
    .services-hero-content h1 {
        font-size: 2rem;
    }
    
    .animated-text-container {
        font-size: 1.3rem;
    }
    
    .wave-divider svg {
        height: 50px;
    }
    
    .category-title h2 {
        font-size: 1.8rem;
    }
    
    .service-icon {
        height: 80px;
        font-size: 2rem;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .image-divider {
        padding: 60px 0;
    }
    
    .divider-content h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}