/*
==============================================
Dust Busters Main Styles
더스트버스터즈 메인 스타일시트
==============================================
*/

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    animation: none !important;
    transition: none !important;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Content Padding */
.site-main {
    padding-bottom: 0;
}

/* Page Wrapper - 일반 페이지용 */
.page-wrapper {
    margin-top: 0;
    padding: 40px 0;
}

/* 워드프레스 관리자바 대응 */
body.admin-bar .site-main {
    margin-top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-main {
        margin-top: 46px;
    }
}

/* Hero Section - 완전히 새로운 접근 */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

/* Hero Content - 깔끔한 최종 버전 */
.hero-content {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 10 !important;
    text-align: center !important;
    color: #fff !important;
    width: 90% !important;
    max-width: 1000px !important;
    padding: 40px !important;
}

/* 텍스트 스타일 - 개선된 반응형 버전 */
.hero-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: clamp(1.4rem, 6vw, 3.5rem) !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8) !important;
    margin: 0 0 20px 0 !important;
    line-height: 1.2 !important;
    width: 100% !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.hero-subtitle {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: clamp(0.8rem, 2.5vw, 1.3rem) !important;
    font-weight: 300 !important;
    color: #fff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
    margin: 0 0 30px 0 !important;
    line-height: 1.5 !important;
    width: 100% !important;
    text-align: center !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hero-buttons {
    display: none !important; /* 버튼 영역 숨김 */
}

/* Hero 버튼 - Hero 섹션 전용 스타일 */
.hero-section .btn {
    display: inline-block !important;
    padding: 15px 30px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    text-align: center !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.hero-section .btn-primary {
    background: #fff !important;
    color: #333 !important;
    border: 2px solid #fff !important;
}

.hero-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-2px) !important;
}

.hero-section .btn-outline {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}

.hero-section .btn-outline:hover {
    background: #fff !important;
    color: #333 !important;
    transform: translateY(-2px) !important;
}

/* 일반 페이지 버튼 - 원래 스타일 복원 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, #007cba 0%, #005a87 100%);
    color: #fff;
    border: 2px solid #007cba;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #005a87 0%, #004065 100%);
    border-color: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 124, 186, 0.3);
}

.btn-outline {
    background: transparent;
    color: #007cba;
    border: 2px solid #007cba;
}

.btn-outline:hover {
    background: #007cba;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 124, 186, 0.3);
}

/* 5가지 슬라이드별 애니메이션 효과 */
/* 슬라이드 1 - fadeInUp */
.hero-slide.active .slide-1-animation .hero-title {
    animation: fadeInUp 1s ease-out 0.3s both;
}
.hero-slide.active .slide-1-animation .hero-subtitle {
    animation: fadeInUp 1s ease-out 0.6s both;
}
.hero-slide.active .slide-1-animation .hero-buttons {
    animation: fadeInUp 1s ease-out 0.9s both;
}

/* 슬라이드 2 - slideInLeft */
.hero-slide.active .slide-2-animation .hero-title {
    animation: slideInLeft 1s ease-out 0.2s both;
}
.hero-slide.active .slide-2-animation .hero-subtitle {
    animation: slideInLeft 1s ease-out 0.5s both;
}
.hero-slide.active .slide-2-animation .hero-buttons {
    animation: slideInLeft 1s ease-out 0.8s both;
}

/* 슬라이드 3 - slideInRight */
.hero-slide.active .slide-3-animation .hero-title {
    animation: slideInRight 1s ease-out 0.2s both;
}
.hero-slide.active .slide-3-animation .hero-subtitle {
    animation: slideInRight 1s ease-out 0.5s both;
}
.hero-slide.active .slide-3-animation .hero-buttons {
    animation: slideInRight 1s ease-out 0.8s both;
}

/* 슬라이드 4 - zoomIn */
.hero-slide.active .slide-4-animation .hero-title {
    animation: zoomIn 1s ease-out 0.2s both;
}
.hero-slide.active .slide-4-animation .hero-subtitle {
    animation: zoomIn 1s ease-out 0.5s both;
}
.hero-slide.active .slide-4-animation .hero-buttons {
    animation: zoomIn 1s ease-out 0.8s both;
}

/* 슬라이드 5 - bounceInDown */
.hero-slide.active .slide-5-animation .hero-title {
    animation: bounceInDown 1s ease-out 0.3s both;
}
.hero-slide.active .slide-5-animation .hero-subtitle {
    animation: bounceInDown 1s ease-out 0.6s both;
}
.hero-slide.active .slide-5-animation .hero-buttons {
    animation: bounceInDown 1s ease-out 0.9s both;
}

/* 애니메이션 키프레임 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceInDown {
    0% {
        opacity: 0;
        transform: translateY(-60px);
    }
    60% {
        opacity: 1;
        transform: translateY(10px);
    }
    80% {
        transform: translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 15;
    pointer-events: none;
}

.slider-prev,
.slider-next {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none;
    user-select: none;
    min-width: 50px;
    min-height: 50px;
    pointer-events: auto;
    position: relative;
    z-index: 16;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.8);
    transform: scale(1.1);
}

/* 클릭/터치 시 활성화 효과 */
.slider-prev:active,
.slider-next:active {
    transform: scale(0.95);
    background: rgba(255,255,255,0.4);
}

/* 포커스 시 접근성 개선 */
.slider-prev:focus,
.slider-next:focus {
    outline: 2px solid rgba(255,255,255,0.8);
    outline-offset: 2px;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 15;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #fff;
    transform: scale(1.2);
}

/* Services Section */
.services-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0; /* 서비스 아이템은 카드 형태이므로 패딩 제거 */
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    margin-bottom: 0;
    width: 100%;
    height: 150px; /* aspect-ratio 미지원 브라우저용 백업 */
    overflow: hidden;
    border-radius: 0;
    aspect-ratio: 16/9; /* 모바일에서도 16:9 비율 유지 */
}

/* aspect-ratio 지원 브라우저용 */
@supports (aspect-ratio: 16/9) {
    .service-icon {
        height: auto;
        aspect-ratio: 16/9;
    }
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon img {
    transform: scale(1.05);
}

.service-content {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.service-link {
    color: #000;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    margin-top: auto;
}

.service-link:hover {
    color: #666;
}

.services-view-all {
    margin-top: 50px;
    margin-bottom: 20px;
    text-align: center;
}

.services-view-all .btn {
    padding: 15px 35px;
    font-size: 1rem;
    min-height: 50px;
    min-width: 180px;
    border-radius: 8px;
}

.blog-view-all {
    margin-top: 50px;
    margin-bottom: 20px;
    text-align: center;
}

.blog-view-all .btn {
    padding: 15px 35px;
    font-size: 1rem;
    min-height: 50px;
    min-width: 180px;
    border-radius: 8px;
}

/* Blog Section */
.blog-section {
    padding: 60px 0;
    background: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

/* 프론트 페이지 전용 블로그 아이템 스타일 */
.blog-section .blog-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-section .blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.blog-section .blog-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.blog-section .blog-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-section .blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-section .blog-item:hover .blog-thumbnail img {
    transform: scale(1.05);
}

.blog-section .blog-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #6c757d;
    text-align: center;
}

.blog-section .placeholder-icon {
    font-size: 2rem;
    margin-bottom: 6px;
}

.blog-section .placeholder-text {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.2;
}

.blog-section .blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-section .blog-header {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-section .blog-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
    line-height: 1.3;
    flex: 1;
}

.blog-section .blog-card-category {
    font-size: 0.8rem;
    color: #666;
    padding: 2px 8px;
    background: #f8f9fa;
    border-radius: 12px;
    display: inline-block;
    font-weight: 500;
    margin-top: auto;
    align-self: center;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.blog-date {
    color: #999;
}

.blog-read-more {
    color: #000;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-read-more:hover {
    color: #666;
}

/* Blog 섹션 내부의 CTA 영역만 별도 스타일 (일반 CTA와 분리) */
.blog-section .blog-cta {
    background: transparent !important;
    padding: 20px 0;
}

/* CTA Section - 일반 CTA 스타일 (복원) */
.blog-cta {
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('../images/cta-bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.blog-cta .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-cta .cta-content {
    display: block;
    width: auto;
}

/* CTA 3줄 텍스트 */
.cta-text-lines {
    margin-bottom: 20px;
}

.cta-line-1, .cta-line-3 {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
    margin-bottom: 8px;
}

.cta-line-2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
    margin-bottom: 8px;
}

/* CTA 로고 */
.cta-logo {
    margin-bottom: 25px;
}

.cta-logo .logo-image {
    max-width: 220px;
    height: auto;
    filter: none;
}

/* CTA 버튼 */
.blog-cta .btn-primary {
    background: #4CAF50 !important;
    color: #fff !important;
    border-color: #4CAF50 !important;
    border-radius: 50px !important;
    padding: 12px 35px 12px 35px !important;
    position: relative !important;
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3) !important;
}

.blog-cta .btn-primary::before {
    content: "📞" !important;
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 0.9rem !important;
    color: #fff !important;
}

.blog-cta .btn-primary:hover {
    background: #45a049 !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.4) !important;
}

.blog-cta .btn-primary:hover::before {
    color: #fff !important;
}

.blog-cta .btn-outline {
    background: #00BCD4 !important;
    color: #fff !important;
    border: 2px solid #00BCD4 !important;
    border-radius: 50px !important;
    padding: 12px 35px 12px 35px !important;
    position: relative !important;
    box-shadow: 0 3px 10px rgba(0, 188, 212, 0.3) !important;
}

.blog-cta .btn-outline::before {
    content: "💬" !important;
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 0.9rem !important;
    color: #fff !important;
}

.blog-cta .btn-outline:hover {
    background: #0097A7 !important;
    color: #fff !important;
    border-color: #0097A7 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(0, 151, 167, 0.4) !important;
}

.blog-cta .btn-outline:hover::before {
    color: #fff !important;
}

/* 블로그 섹션 "모든 작업후기 보기" 버튼을 서비스 버튼과 동일하게 - 우선순위 강화 */
.blog-section .blog-cta .btn.btn-primary,
.blog-section .blog-cta .btn-primary.btn-primary {
    background: #fff !important;
    color: #333 !important;
    border: 2px solid #333 !important;
    border-radius: 8px !important;
    padding: 15px 30px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    text-align: center !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    box-shadow: 0 10px 20px rgba(51, 51, 51, 0.3) !important;
    display: inline-block !important;
    min-height: auto !important;
    min-width: auto !important;
    position: static !important;
    /* flexbox 속성들 초기화 - 전역 .blog-cta .btn 스타일 무효화 */
    align-items: initial !important;
    justify-content: initial !important;
    gap: initial !important;
}

.blog-section .blog-cta .btn.btn-primary:hover,
.blog-section .blog-cta .btn-primary.btn-primary:hover {
    background: #f5f5f5 !important;
    color: #333 !important;
    border-color: #333 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 15px 25px rgba(51, 51, 51, 0.4) !important;
}

.blog-section .blog-cta .btn.btn-primary::before,
.blog-section .blog-cta .btn-primary.btn-primary::before {
    display: none !important;
    content: none !important;
}

/* 서비스 CTA와 블로그 CTA 버튼을 글 상세페이지 스타일과 동일하게 */
.services-view-all .btn-primary,
.blog-view-all .btn-primary {
    background: #fff !important;
    color: #333 !important;
    border: 2px solid #333 !important;
    border-radius: 8px !important;
    padding: 15px 30px !important;
    position: static !important;
    box-shadow: 0 10px 20px rgba(51, 51, 51, 0.3) !important;
    display: inline-block !important;
    min-height: auto !important;
    min-width: auto !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    text-align: center !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
}

.services-view-all .btn-primary:hover,
.blog-view-all .btn-primary:hover {
    background: #f5f5f5 !important;
    color: #333 !important;
    border-color: #333 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 15px 25px rgba(51, 51, 51, 0.4) !important;
}

.services-view-all .btn-primary::before,
.blog-view-all .btn-primary::before {
    display: none !important;
    content: none !important;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
}

/* Footer Styles */
.site-footer {
    background: #000;
    color: #fff;
    padding: 30px 0 20px;
    margin-bottom: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 25px;
}

.footer-info {
    display: flex;
    gap: 40px;
}

.company-info {
    flex: 1;
}

.footer-logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.footer-logo-sub {
    color: #ccc;
    font-size: 1rem;
}

.company-details {
    margin-top: 20px;
}

.company-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.company-address {
    color: #ccc;
    margin-bottom: 15px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-item {
    display: flex;
    gap: 10px;
}

.contact-label {
    color: #ccc;
    min-width: 80px;
}

.contact-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    color: #ddd;
}

.contact-value {
    color: #ccc;
}

.social-links {
    flex: 1;
}

.social-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #ddd;
}

.social-icon {
    font-size: 1.2rem;
}

.footer-menu {
    display: flex;
    justify-content: center;
}

.footer-nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.footer-nav-list li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav-list li a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
    color: #ccc;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    background: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: #fff;
    font-size: 1.2rem;
}

.contact-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.contact-text p {
    color: #666;
    margin: 0;
}

/* Form Styles */
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4CAF50;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Business Areas Section */
.business-section {
    padding: 60px 0;
    background: #fff;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.business-item {
    text-align: center;
    padding: 30px 20px;
}

.business-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: #fff;
}

.business-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.business-item p {
    color: #666;
    font-size: 0.95rem;
}

/* ========================================
   표준 반응형 - Desktop (768px-1199px) 
   ======================================== */
@media (max-width: 1199px) and (min-width: 768px) {
    /* hero-title과 hero-subtitle은 main.css의 clamp() 함수 사용 */

    .hero-buttons {
        gap: 20px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.85rem;
    }

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

/* ========================================
   표준 반응형 - Mobile (max-767px)
   ======================================== */
@media (max-width: 767px) {
    .page-wrapper {
        margin-top: 0;
    }

    .hero-title {
        font-size: clamp(1.8rem, 4vw, 2.2rem);
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 2.2vw, 1rem);
        margin-bottom: 30px;
        line-height: 1.5;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .services-view-all .btn,
    .blog-view-all .btn {
        width: auto !important;
        max-width: none !important;
        min-width: auto !important;
        padding: 15px 30px !important;
        font-size: 1rem !important;
        display: inline-block !important;
        align-items: initial !important;
        justify-content: initial !important;
        text-align: center !important;
        line-height: 1.4 !important;
        vertical-align: middle !important;
    }

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

    .services-grid,
    .business-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 25px;
    }

    .footer-info {
        flex-direction: column;
        gap: 20px;
    }

    .footer-nav-list {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    /* 블로그 섹션 모바일 반응형 */
    .blog-section .blog-thumbnail {
        height: calc(100vw * 9 / 16); /* 모바일에서 16:9 비율 유지 */
        max-height: 250px; /* 최대 높이 제한 */
    }

    /* CTA 섹션 모바일 */
    .blog-cta {
        padding: 30px 0;
    }

    .cta-text-lines {
        margin-bottom: 12px;
    }

    .cta-line-1 {
        font-size: 1.05rem;
        margin-bottom: 6px;
    }

    .cta-line-2 {
        font-size: 1.3rem;
        margin-bottom: 6px;
    }

    .cta-line-3 {
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    .cta-logo {
        margin-bottom: 15px;
    }

    .logo-image {
        max-width: 140px;
    }

    .cta-buttons {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .cta-section .btn,
    .blog-cta .btn {
        min-width: 140px;
        font-size: 0.85rem;
        height: 42px;
        flex: 1;
        max-width: none;
    }

    /* Blog 섹션 내부의 CTA 버튼은 위 스타일을 무시하고 PC와 동일하게 유지 */

    .site-footer {
        margin-top: 0;
    }
}

/* ========================================
   표준 반응형 - Small Mobile (max-480px)
   ======================================== */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .page-wrapper {
        padding: 20px 0;
    }

    .hero-section {
        min-height: 500px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 5vw, 1.8rem);
        line-height: 1.1;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: clamp(0.8rem, 2.5vw, 0.9rem);
        margin-bottom: 25px;
        line-height: 1.4;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .hero-content {
        padding: 0 10px;
    }

    .services-section,
    .blog-section,
    .stats-section,
    .business-section {
        padding: 40px 0;
    }

    .services-grid,
    .business-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .services-view-all .btn,
    .blog-view-all .btn {
        width: auto !important;
        max-width: none !important;
        min-width: auto !important;
        padding: 15px 30px !important;
        font-size: 1rem !important;
        display: inline-block !important;
        align-items: initial !important;
        justify-content: initial !important;
        text-align: center !important;
        line-height: 1.4 !important;
        vertical-align: middle !important;
    }

    .contact-form,
    .contact-info {
        padding: 30px 20px;
    }

    .service-item {
        padding: 0; /* 카드 형태 유지 */
    }

    .service-content {
        padding: 20px 15px;
    }

    .service-icon {
        height: 150px; /* aspect-ratio 미지원 브라우저용 백업 */
        aspect-ratio: 16/9; /* 모바일에서도 16:9 비율 유지 */
    }

    /* 블로그 아이템 패딩 조정 */
    .blog-section .blog-item .blog-content {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-text-lines {
        margin-bottom: 10px;
    }

    .cta-line-1 {
        font-size: 1.05rem;
        margin-bottom: 4px;
    }

    .cta-line-2 {
        font-size: 1.3rem;
        margin-bottom: 4px;
    }

    .cta-line-3 {
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    .cta-logo {
        margin-bottom: 10px;
    }

    .logo-image {
        max-width: 100px;
    }

    .cta-buttons {
        gap: 10px;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
    }

    .blog-cta .btn {
        min-width: 105px;
        height: 38px;
        font-size: 0.75rem;
        padding: 10px 20px 10px 20px !important; /* 좌우 패딩 동일하게 */
        flex: 1;
        max-width: none;
    }

    /* Blog 섹션 내부의 CTA 버튼은 위 스타일을 무시하고 PC와 동일하게 유지 */

    .site-footer {
        margin-top: 0;
    }
}

/* 추가적인 유틸리티 클래스들 */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

/* Quick Contact Mobile - 모바일 하단 고정 버튼 */
.quick-contact-mobile {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: none;
    z-index: 1000;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.quick-contact-buttons {
    display: flex;
    gap: 15px;
    width: 100%;
    margin: 0;
}

.quick-call-btn,
.quick-estimate-btn {
    flex: 1;
    padding: 12px 15px;
    border-radius: 25px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    min-height: 50px;
    position: relative;
}

.quick-call-btn {
    background: #4CAF50;
    color: #fff;
}

.quick-call-btn:hover,
.quick-call-btn:active {
    background: #45a049;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
}

.quick-estimate-btn {
    background: #00BCD4;
    color: #fff;
}

.quick-estimate-btn:hover,
.quick-estimate-btn:active {
    background: #00ACC1;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.3);
}

.quick-btn-icon {
    position: absolute;
    left: 15px;
    font-size: 1.1rem;
    line-height: 1;
}

.quick-btn-text {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    width: 100%;
}

/* 모바일에서만 표시 (767px 이하) - 상단 네비게이션과 일치 */
@media (max-width: 767px) {
    .quick-contact-mobile {
        display: block;
    }
    
    /* 헤더의 모든 버튼들 숨기기 (모바일에서) */
    .mobile-header-bottom {
        display: none !important;
    }
    
    .header-top-row {
        display: none !important;
    }
    
    .header-menu-buttons {
        display: none !important;
    }
    
    .header-btn-group {
        display: none !important;
    }
    
    /* 메인 콘텐츠 하단 여백 추가 (하단 버튼을 위해) */
    .site-main {
        padding-bottom: 0;
    }
    
    /* 푸터 하단 여백 제거 - 하단 고정 버튼이 있으므로 불필요 */
    .site-footer {
        margin-bottom: 0;
    }
}

/* 작은 태블릿과 모바일 (768px 이하) */
@media (max-width: 768px) {
    .quick-contact-mobile {
        bottom: 15px;
        left: 15px;
        right: 15px;
    }
    
    .quick-contact-buttons {
        gap: 12px;
    }
    
    .quick-call-btn,
    .quick-estimate-btn {
        min-height: 48px;
        padding: 12px 15px;
    }
    
    .quick-btn-icon {
        left: 12px;
        font-size: 1rem;
    }
    
    .quick-btn-text {
        font-size: 0.95rem;
    }
}

/* 작은 모바일 (480px 이하) */
@media (max-width: 480px) {
    .quick-contact-mobile {
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    
    .quick-contact-buttons {
        gap: 10px;
    }
    
    .quick-call-btn,
    .quick-estimate-btn {
        font-size: 0.9rem;
        padding: 10px 12px;
        min-height: 45px;
    }
    
    .quick-btn-icon {
        left: 12px;
        font-size: 1rem;
    }
    
    .quick-btn-text {
        font-size: 0.9rem;
    }
    
    /* .site-main margin-top 제거하여 header.css 표준값 사용 */
    
    .site-footer {
        margin-top: 0;
    }
}

/* 스크롤 시 하단 버튼 숨기기 효과 (선택사항) */
.quick-contact-mobile.hide {
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

/* 기존 CTA 스타일들 제거 */
.cta-section {
    display: none;
}

.cta-title,
.cta-subtitle,
.cta-features {
    display: none;
}

.cta-section .btn-primary::before,
.cta-section .btn-outline::before,
.blog-cta .btn-primary::before,
.blog-cta .btn-outline::before {
    left: 12px !important;
    font-size: 0.8rem !important;
}

/* 모바일에서 버튼 패딩 조정 */
.blog-cta .btn-primary,
.blog-cta .btn-outline {
    padding: 10px 25px 10px 25px !important; /* 좌우 패딩 동일하게 */
}

.cta-buttons {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
}

.blog-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 45px;
    min-width: 160px;
    text-align: center;
    position: relative;
    white-space: nowrap;
    line-height: 1;
}

.blog-cta .btn-primary {
    background: #4CAF50 !important;
    color: #fff !important;
    border-color: #4CAF50 !important;
    border-radius: 50px !important;
    padding: 12px 35px 12px 35px !important;
    position: relative !important;
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3) !important;
}

.blog-cta .btn-primary::before {
    content: "📞" !important;
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 0.9rem !important;
    color: #fff !important;
}

.blog-cta .btn-primary:hover {
    background: #45a049 !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.4) !important;
}

.blog-cta .btn-primary:hover::before {
    color: #fff !important;
}

.blog-cta .btn-outline {
    background: #00BCD4 !important;
    color: #fff !important;
    border: 2px solid #00BCD4 !important;
    border-radius: 50px !important;
    padding: 12px 35px 12px 35px !important;
    position: relative !important;
    box-shadow: 0 3px 10px rgba(0, 188, 212, 0.3) !important;
}

.blog-cta .btn-outline::before {
    content: "💬" !important;
    position: absolute !important;
    left: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 0.9rem !important;
    color: #fff !important;
}

.blog-cta .btn-outline:hover {
    background: #0097A7 !important;
    color: #fff !important;
    border-color: #0097A7 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(0, 151, 167, 0.4) !important;
}

.blog-cta .btn-outline:hover::before {
    color: #fff !important;
}

/* ========================================
   Extra Large Desktop (1200px+) 
   ======================================== */
@media (min-width: 1200px) {
    /* CTA 버튼들은 기본 스타일 사용 */
}

/* Cache bust - 06/01/2025 11:31:47 */

.scroll-to-top {
    position: fixed;
    right: 16px;
    bottom: 40px;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    border: none;
    z-index: 1200;
    display: none;
    padding: 0;
    cursor: pointer;
    transition: bottom 0.3s, opacity 0.2s;
}
.scroll-to-top svg { display: block; }
.scroll-to-top:active { box-shadow: 0 1px 4px rgba(0,0,0,0.12); }
@media (max-width: 767px) {
    .scroll-to-top { width: 38px; height: 38px; }
    .scroll-to-top svg { width: 38px; height: 38px; }
}

/* 프론트/서비스 CTA 버튼 간격 및 정렬을 블로그와 동일하게 */
.blog-cta:not(.blog-section .blog-cta) .cta-buttons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* ========================================
   슬라이더 링크 스타일
   ======================================== */
.hero-slide-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.hero-slide-link:hover {
    text-decoration: none;
    color: inherit;
}

/* 추가 오버레이 (더 어두운 효과를 위함) */
.hero-overlay-extra {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    mix-blend-mode: multiply;
    z-index: 1;
}

/* 호버 효과 제거됨 (슬라이더 기능과 충돌 방지) */
