/*
==============================================
Services Page Styles
서비스소개 페이지 스타일
==============================================
*/

/* 기본 래퍼 */
.services-page-wrapper {
    margin-top: 0;
    padding: 0;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 헤더 및 탭 영역 - 1900*400px 배경 이미지 최적화 */
.services-header-menu {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/services-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    padding: 80px 0 0;
    margin-top: 0;
    min-height: 280px;
}

.page-header-content {
    text-align: center;
    color: #fff;
    margin-bottom: 50px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #fff;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 탭 메뉴 스타일 */
.services-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    background: #fff;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

.tab-btn {
    background: #fff;
    border: 1px solid #dee2e6;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
    flex: 1;
    text-align: center;
    min-width: 120px;
    position: relative;
    color: #333;
    line-height: normal;
}

.tab-btn:hover:not(.active) {
    background: #f8f9fa;
    color: #00BCD4;
    transform: translateY(-1px);
}

.tab-btn.active {
    background: #00BCD4;
    color: #fff;
    border-color: #00BCD4;
    box-shadow: 0 2px 5px rgba(0, 188, 212, 0.3);
}

.tab-btn:not(:last-child) {
    border-right: none;
}

/* 탭 알림 메시지 */
.tab-notice {
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    margin: 10px;
    text-align: center;
}

.tab-notice p {
    color: #856404;
    margin: 0;
    font-size: 0.9rem;
}

/* 콘텐츠 영역 - 고객센터와 동일한 스타일 */
.services-content {
    background: #fff;
    min-height: 500px;
    padding: 40px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 0 0 10px 10px;
    border: 1px solid #dee2e6;
    border-top: none;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.3s ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 서비스 콘텐츠 영역 */
.service-detail-section {
    max-width: 100%;
}

.service-content-area {
    max-width: 100%;
    line-height: 1.8;
}

.service-content-area h1,
.service-content-area h2,
.service-content-area h3 {
    color: #000;
    margin-bottom: 20px;
    margin-top: 30px;
}

.service-content-area h1:first-child,
.service-content-area h2:first-child,
.service-content-area h3:first-child {
    margin-top: 0;
}

.service-content-area p {
    margin-bottom: 20px;
}

.service-content-area ul,
.service-content-area ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.service-content-area li {
    margin-bottom: 8px;
}

.service-content-area img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 빈 콘텐츠 스타일 */
.empty-content {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
}

.empty-content h3 {
    color: #6c757d;
    margin-bottom: 15px;
}

.empty-content p {
    color: #6c757d;
    margin-bottom: 10px;
}

/* 설정 안내 스타일 */
.services-setup-guide {
    max-width: 800px;
    margin: 0 auto;
}

.services-setup-guide h2 {
    color: #00BCD4;
    text-align: center;
    margin-bottom: 20px;
}

.services-setup-guide > p {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.setup-steps {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.setup-steps h3 {
    color: #495057;
    margin-bottom: 20px;
}

.setup-steps ol {
    margin-bottom: 0;
}

.setup-steps li {
    margin-bottom: 15px;
    font-weight: 500;
}

.setup-steps ul {
    margin-top: 10px;
    margin-bottom: 0;
}

.setup-steps ul li {
    font-weight: normal;
    color: #666;
}

.setup-steps code {
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #495057;
}

.setup-benefits {
    background: #e8f5e8;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.setup-benefits h3 {
    color: #28a745;
    margin-bottom: 20px;
}

.setup-benefits ul {
    margin-bottom: 0;
}

.setup-benefits li {
    margin-bottom: 10px;
    color: #155724;
}

.setup-demo {
    background: #fff3cd;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.setup-demo h3 {
    color: #856404;
    margin-bottom: 20px;
}

.setup-demo ul {
    margin-bottom: 0;
}

.setup-demo li {
    margin-bottom: 10px;
    color: #856404;
}

/* 기존 콘텐츠 영역 */
.original-content {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

.original-content h3 {
    color: #6c757d;
    margin-bottom: 20px;
}

/* 반응형 디자인 */
@media (max-width: 1199px) and (min-width: 768px) {
    .services-header-menu {
        min-height: 260px;
        padding: 70px 0 0;
    }
    
    .page-header-content {
        min-height: 130px;
        margin-bottom: 40px;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }

    .services-page-wrapper {
        padding: 0;
    }
}

/* 모바일 반응형 - 고객센터와 완전히 동일한 탭 2열 레이아웃 */
@media (max-width: 767px) {
    /* original-content 모바일 여백 제거 */
    .original-content {
        margin-top: 0 !important; /* 모바일에서 상단 여백 완전 제거 */
        padding-top: 20px !important; /* 최소한의 패딩만 유지 */
    }
    
    .services-page-wrapper {
        padding: 0; /* 20px 0에서 0으로 변경하여 다른 페이지와 맞춤 */
    }
    
    .services-header-menu {
        min-height: 240px;
        padding: 60px 0 0;
    }
    
    .page-header-content {
        min-height: 120px;
        margin-bottom: 30px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    /* 탭 2열 레이아웃 - 고객센터와 완전히 동일 */
    .services-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        border-radius: 10px 10px 0 0;
        overflow: hidden;
        padding: 0;
        margin: 0 10px;
        margin-bottom: 0;
    }
    
    .tab-btn {
        border-radius: 0 !important;
        padding: 12px 8px;
        font-size: 0.9rem;
        min-width: auto;
        flex: none;
        margin: 0;
        border: 1px solid #dee2e6;
        border-right: none;
        border-bottom: none;
        box-shadow: none;
        text-align: center;
    }
    
    .tab-btn:nth-child(even) {
        border-right: 1px solid #dee2e6;
    }
    
    .tab-btn:nth-last-child(-n+2) {
        border-bottom: 1px solid #dee2e6;
    }
    
    .tab-btn:first-child {
        border-top-left-radius: 10px !important;
    }
    
    .tab-btn:nth-child(2) {
        border-top-right-radius: 10px !important;
    }
    
    .tab-btn:nth-last-child(2) {
        border-bottom-left-radius: 0 !important;
    }
    
    .tab-btn:last-child {
        border-bottom-right-radius: 0 !important;
    }
    
    .services-content {
        padding: 30px 0;
    }
}

@media (max-width: 480px) {
    .services-page-wrapper {
        padding: 0; /* 15px 0에서 0으로 변경하여 다른 페이지와 맞춤 */
    }
    
    .services-header-menu {
        min-height: 240px; /* 220px에서 240px로 변경하여 다른 페이지와 맞춤 */
        padding: 60px 0 0; /* 50px에서 60px로 변경하여 다른 페이지와 맞춤 */
    }
}

/* 추가 유틸리티 */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 10px !important; }
.mb-2 { margin-bottom: 20px !important; }
.mb-3 { margin-bottom: 30px !important; }

/* 서비스 페이지 CTA와 푸터 간격 제거 */
.services-page-wrapper .blog-cta {
    margin-bottom: 0 !important;
    padding-bottom: 50px; /* 0px에서 50px로 늘려서 블로그 페이지와 맞춤 */
}

/* 서비스 페이지 wrapper 하단 여백 제거 */
.services-page-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 서비스 페이지의 모든 섹션 하단 여백 강제 제거 */
.services-page-wrapper > section:last-child,
.services-page-wrapper .blog-cta:last-child {
    margin-bottom: 0 !important;
    margin-top: 0;
}

/* 푸터 상단 여백도 제거 */
.services-page-wrapper + .site-footer,
.services-page-wrapper ~ .site-footer {
    margin-top: 0 !important;
}

/* =============================================
   🎯 FINAL FIX: 모바일에서 서비스 페이지 2px 위로 올리기
   ============================================= */
@media (max-width: 768px) {
    .services-page-wrapper,
    .services-header-menu {
        margin-top: -2px !important; /* 모바일에서 2px 위로 올려서 다른 페이지와 맞춤 */
    }

    .services-page-wrapper .blog-cta {
        padding: 40px 0; /* 모바일에서 다른 페이지와 동일하게 40px 설정 */
        margin-bottom: 0 !important;
    }
}

@media (max-width: 480px) {
    .services-page-wrapper .blog-cta {
        padding: 40px 0; /* 480px 이하에서도 다른 페이지와 동일하게 40px 유지 */
        margin-bottom: 0 !important;
    }
}

/*
==============================================
Aircon Cleaning Page Styles
에어컨청소 페이지 - 모바일 우선 디자인
==============================================
*/

/* 에어컨청소 페이지 메인 컨테이너 */
.aircon-cleaning-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: transparent;
}

/* 섹션 공통 스타일 */
.aircon-section {
    margin-bottom: 40px;
}

.aircon-section:last-child {
    margin-bottom: 20px;
}

/* 공통 제목 스타일 */
.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
}

/* 청소 과정 섹션 */
.cleaning-process-section {
    padding: 25px 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    margin-bottom: 50px;
    border: 1px solid #f0f0f0;
}

.cleaning-process-section h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* 프로세스 스텝 - 분리된 3단 구조 */
.process-step {
    display: grid;
    grid-template-columns: 220px 180px 1fr;
    gap: 20px;
    height: 160px;
    margin-bottom: 5px;
    align-items: stretch;
}

.process-step:hover .step-image-container {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.process-step:hover .step-number-title {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.process-step:hover .step-description-container {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.step-image-container {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
}

.step-image-container img {
    min-width: 100%;
    min-height: 100%;
}

/* 이미지 배경 그라데이션 오버레이 제거 */

.step-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

/* fadeIn 애니메이션 제거 */

.step-image:hover {
    transform: scale(1.05);
}

.step-image-container .placeholder-text {
    color: #6c757d;
    font-weight: 600;
    font-size: 1.1rem;
    z-index: 1;
    position: relative;
    text-align: center;
}

.step-number-title {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    position: relative;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
}

.step-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 10px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    line-height: 1.3;
    word-break: keep-all;
}

.step-description-container {
    background: #00BCD4;
    display: flex;
    align-items: center;
    padding: 30px 25px;
    position: relative;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
    color: white;
}

.step-description-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
}

.step-description {
    font-size: 1rem;
    color: #fff;
    line-height: 1.6;
    font-weight: 500;
    z-index: 1;
    position: relative;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
    word-break: keep-all;
}

/* Before/After 비교 섹션 */
.before-after-section {
    padding: 25px 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    margin-bottom: 50px;
    border: 1px solid #f0f0f0;
}

.before-after-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.before-after-item {
    text-align: center;
    flex: 1;
}

.before-after-label {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.before-after-item:first-child .before-after-label {
    color: #e74c3c;
}

.before-after-item:last-child .before-after-label {
    color: #27ae60;
}

.comparison-image-box {
    width: 100%;
    max-width: 350px;
    height: 220px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    position: relative;
    aspect-ratio: 16/9;
    margin: 0 auto;
}

.comparison-image-box img {
    min-width: 100%;
    min-height: 100%;
}

/* Before/After 이미지 배경 그라데이션 오버레이 제거 */

.comparison-image-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}

.comparison-image-box .placeholder-text {
    font-size: 1.2rem;
    color: #6c757d;
    font-weight: 600;
    z-index: 1;
    position: relative;
    text-align: center;
}

.comparison-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.comparison-image:hover {
    transform: scale(1.05);
}

.comparison-arrow {
    font-size: 3rem;
    color: #00BCD4;
    font-weight: 800;
    flex-shrink: 0;
    text-shadow: 0 2px 4px rgba(0, 188, 212, 0.3);
}

/* 특별한 이유 섹션 */
.special-reasons-section {
    padding: 40px 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    margin-bottom: 50px;
    border: 1px solid #f0f0f0;
}

.special-reasons-section h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
}

.reasons-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #00BCD4;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.reason-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    background: #fff;
}

.reason-bullet {
    display: none;
}

.reason-text {
    flex: 1;
    font-size: 1rem;
    color: #495057;
    line-height: 1.6;
    font-weight: 500;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .aircon-cleaning-content {
        padding: 15px;
    }
    
    .cleaning-process-section,
    .before-after-section,
    .special-reasons-section {
        padding: 20px 25px;
        margin-bottom: 30px;
    }
    
    .cleaning-process-section h2,
    .special-reasons-section h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    /* 모바일에서 스텝을 세로로 변경 */
    .process-step {
        display: flex;
        flex-direction: column;
        height: auto;
        grid-template-columns: none;
        gap: 15px;
        border: none;
    }
    
    .step-image-container {
        width: 100%;
        height: auto;
        min-height: 180px;
        border-radius: 15px;
        aspect-ratio: 16/9;
        background: #f8f9fa;
        border: 2px solid #e9ecef;
    }
    
    .step-number-title {
        width: 100%;
        padding: 20px;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 15px;
        border-right: none;
        border-bottom: none;
        background: #f8f9fa;
        border-radius: 15px;
    }
    
    .step-number {
        margin-bottom: 0;
        font-size: 1.4rem;
    }
    
    .step-title {
        text-align: left;
        font-size: 1.1rem;
        margin: 0;
    }
    
    .step-description-container {
        width: 100%;
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .step-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Before/After 섹션 모바일 */
    .before-after-container {
        flex-direction: column;
        gap: 5px;
        padding: 15px;
        max-width: 100%;
    }
    
    .before-after-label {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }
    
    .comparison-arrow {
        font-size: 2rem;
        transform: rotate(90deg);
    }
    
    .comparison-image-box {
        height: auto;
        min-height: 200px;
        max-width: 100%;
        width: 100%;
        aspect-ratio: 16/9;
        background: #f8f9fa;
        border: 2px solid #e9ecef;
        margin: 0;
    }
    
    /* 특별한 이유 섹션 모바일 */
    .reason-item {
        padding: 18px 20px;
        font-size: 0.95rem;
    }
    
    .reason-bullet {
        display: none;
    }
}

@media (max-width: 480px) {
    .aircon-cleaning-content {
        padding: 10px;
    }
    
    .cleaning-process-section,
    .before-after-section,
    .special-reasons-section {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .cleaning-process-section h2,
    .special-reasons-section h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .step-image-container {
        height: auto;
        min-height: 160px;
        aspect-ratio: 16/9;
        background: #f8f9fa;
        border: 2px solid #e9ecef;
    }
    
    .step-number-title {
        padding: 18px 20px;
    }
    
    .step-description-container {
        padding: 20px;
    }
    
    .step-description {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .before-after-label {
        font-size: 1.2rem;
        margin-bottom: 3px;
    }
    
    .comparison-image-box {
        height: auto;
        min-height: 160px;
        max-width: 100%;
        width: 100%;
        aspect-ratio: 16/9;
        background: #f8f9fa;
        border: 2px solid #e9ecef;
        margin: 0;
    }
    
    .reason-item {
        padding: 15px;
        font-size: 0.9rem;
    }
} 