/* 히어로 섹션 */
.services-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a73e8 100%);
    color: white;
    padding: 120px 0 140px;
    position: relative;
    overflow: hidden;
    margin-bottom: 70px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.services-hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 8s ease-in-out infinite;
}

.services-hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 10s ease-in-out infinite alternate;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.hero-title {
    font-weight: 800;
    font-size: 3.5rem;
    margin-bottom: 1.8rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.15);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-weight: 400;
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
    text-shadow: 0 2px 6px rgba(0,0,0,0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 카테고리 탭 */
.category-tabs {
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
    margin-top: -35px;
}

.category-tab {
    background-color: white;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 28px 22px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    height: 100%;
}

.category-tab:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.category-tab.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a73e8 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-5px);
}

.category-tab.active .category-icon {
    color: white;
    transform: scale(1.2);
}

.category-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: all 0.5s ease;
}

.category-name {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.category-count {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 600;
    background-color: rgba(0,0,0,0.05);
    border-radius: 30px;
    padding: 4px 12px;
    display: inline-block;
}

.category-tab.active .category-count {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
}

/* 제품/서비스 카드 */
.service-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    height: 100%;
    background: white;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-img {
    height: 280px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-body {
    padding: 35px;
}

.service-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a73e8 100%);
    color: white;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0, 123, 255, 0.2);
    letter-spacing: 0.5px;
}

.service-title {
    font-weight: 800;
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: #2c3e50;
    line-height: 1.4;
}

.service-desc {
    color: #6c757d;
    margin-bottom: 28px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.service-features {
    margin-bottom: 28px;
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 18px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background: white;
    padding: 12px 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.feature-item:hover {
    transform: translateX(8px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    border-left: 3px solid var(--primary-color);
}

.feature-icon {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.1rem;
}

.feature-text {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.service-price {
    font-weight: 800;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: baseline;
}

.price-period {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 600;
    margin-left: 10px;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.btn-details {
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
}

.btn-details:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a73e8 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.25);
}

/* 상세 페이지 스타일 */
.service-detail-section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.service-main-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    margin-bottom: 50px;
    width: 100%;
    height: 500px;
}

.service-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f8f9fa;
    padding: 30px;
    transition: transform 0.6s ease;
}

.service-main-image:hover img {
    transform: scale(1.05);
}

.service-info {
    background: white;
    border-radius: 24px;
    padding: 50px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-description {
    line-height: 1.9;
    color: #2c3e50;
    font-size: 1.15rem;
}

.service-description img {
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a73e8 100%);
    border: none;
    padding: 14px 35px;
    font-weight: 700;
    border-radius: 30px;
    transition: all 0.5s ease;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 123, 255, 0.25);
}

.btn-outline-secondary {
    border: 2px solid #dee2e6;
    padding: 14px 35px;
    font-weight: 700;
    border-radius: 30px;
    transition: all 0.4s ease;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.btn-outline-secondary:hover {
    background-color: #f8f9fa;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* 관련 제품 섹션 */
.related-services {
    padding: 40px 0;
}

.related-services h3 {
    font-weight: 800;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.related-services h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    transform: translateX(-50%);
    border-radius: 2px;
}

/* CTA 섹션 */
.cta-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.cta-card {
    background: white;
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(var(--primary-color-rgb), 0.05);
    z-index: 0;
}

.cta-section::before {
    top: -150px;
    right: -100px;
}

.cta-section::after {
    bottom: -150px;
    left: -100px;
}

.cta-title {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #2c3e50;
}

.cta-desc {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a73e8 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    display: inline-block;
    border: none;
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 123, 255, 0.25);
    color: white;
}

/* 제품/서비스 요청 섹션 */
.service-request-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.request-title {
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #2c3e50;
    text-align: center;
}

.request-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 40px;
    text-align: center;
}

.btn-request {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s ease;
    display: block;
    max-width: 350px;
    margin: 0 auto;
    text-align: center;
}

.btn-request:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a73e8 100%);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 123, 255, 0.2);
}

/* 프로젝트 의뢰 목록 */
.project-request-list {
    padding: 60px 0;
}

.project-request-list .table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.project-request-list .table-light th {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 2px solid #e9ecef;
    font-weight: 700;
    color: #495057;
    padding: 15px;
}

.project-request-list .table td {
    padding: 18px 15px;
    vertical-align: middle;
}

.project-request-list .badge {
    padding: 8px 12px;
    border-radius: 30px;
    font-weight: 600;
}

.project-request-list .alert-info {
    background-color: #e3f2fd;
    border-color: #bee5eb;
    color: #0c5460;
    border-radius: 12px;
    padding: 20px;
}

/* 섹션 타이틀 */
.section-title {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    color: #2c3e50;
}

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

/* 반응형 조정 */
@media (max-width: 991px) {
    .services-hero {
        padding: 100px 0 120px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .category-tabs {
        margin-top: -30px;
    }

    .category-tab {
        margin-bottom: 20px;
        height: auto;
    }

    .service-main-image {
        height: 400px;
    }

    .service-info {
        padding: 35px !important;
    }

    .cta-card {
        padding: 40px;
    }

    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 80px 0 100px;
    }

    .hero-title {
        font-size: 2.3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .category-tabs {
        margin-top: -25px;
        margin-bottom: 40px;
    }

    .category-tab {
        padding: 20px 15px;
    }

    .category-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .service-body {
        padding: 25px;
    }

    .service-title {
        font-size: 1.3rem;
    }

    .service-price {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .request-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .services-hero {
        padding: 60px 0 80px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .service-main-image {
        height: 350px;
    }

    .service-category {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    .btn-details, .btn-primary, .btn-outline-secondary, .btn-cta, .btn-request {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .cta-card {
        padding: 30px 20px;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .cta-desc {
        font-size: 1rem;
    }
}
