/* 기본 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    max-width: 800px;
    margin: auto;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 상단 고정 헤더 */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.sticky-header img {
    width: 100%;
    height: auto;
}

/* 메인 컨텐츠 */
.main-content {
    position: relative;
    z-index: 1;
}

/* 이미지 섹션 */
.image-section {
    width: 100%;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.image-section.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.image-section img {
    width: 100%;
    height: auto;
}

/* 슬라이더 섹션 */
.slider-section {
    width: 100%;
    padding: 60px 0;
    background: #f8f9fa;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slider-section.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.slider-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
    overflow: hidden;
}

/* 슬라이더 헤더 */
.slider-header {
    text-align: center;
    margin-bottom: 40px;
}

.header-stars {
    font-size: 36px;
    margin-bottom: 10px;
    letter-spacing: 4px;
}

.header-subtitle {
    font-size: 28px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}

.header-title {
    font-size: 86px;
    font-weight: 900;
    color: #2eb8e2;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -2px;
}

/* 슬라이더 래퍼 */
.slider-wrapper {
    position: relative;
    width: 100%;
    height: 810px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.slide {
    position: absolute;
    width: 70%;
    height: 80%;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0.4;
    transform: scale(0.8) translateX(0);
    pointer-events: none;
    z-index: 1;
}

/* 활성 슬라이드 (중앙) */
.slide.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    z-index: 3;
    pointer-events: auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* 이전 슬라이드 (왼쪽) */
.slide.prev {
    opacity: 0.6;
    transform: scale(0.85) translateX(-80%);
    z-index: 2;
}

/* 다음 슬라이드 (오른쪽) */
.slide.next {
    opacity: 0.6;
    transform: scale(0.85) translateX(80%);
    z-index: 2;
}

/* 더 멀리 있는 슬라이드들 (숨김) */
.slide.hidden {
    opacity: 0;
    transform: scale(0.7) translateX(0);
    z-index: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 슬라이더 버튼 */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-btn svg {
    width: 24px;
    height: 24px;
    color: #333;
}

/* 인디케이터 */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

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

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: #fff;
    width: 30px;
    border-radius: 5px;
    border-color: rgba(255, 255, 255, 0.3);
}

/* 푸터 */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 60px 20px 30px;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: -0.5px;
}

.footer-contact {
    font-size: 20px;
    margin: 15px 0;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-contact strong {
    color: #ffd700;
    font-size: 28px;
    font-weight: 700;
    margin-left: 10px;
    letter-spacing: 1px;
}

.footer-details {
    margin: 20px 0;
    opacity: 0.9;
    line-height: 1.8;
}

.footer-details p {
    margin: 5px 0;
    font-size: 14px;
}

.footer-copyright {
    margin-top: 20px;
    opacity: 0.7;
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 60px;
    justify-content: flex-end;
}

.footer-service h4,
.footer-menu h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffd700;
    font-weight: 600;
}

.footer-service ul,
.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-service ul li,
.footer-menu ul li {
    margin: 10px 0;
    opacity: 0.9;
    font-size: 14px;
    line-height: 1.6;
}

.footer-menu ul li a {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-menu ul li a:hover {
    opacity: 1;
    transform: translateX(5px);
    color: #ffd700;
}

/* 반응형 */
@media (max-width: 768px) {
    .header-stars {
        font-size: 28px;
    }

    .header-subtitle {
        font-size: 16px;
    }

    .header-title {
        font-size: 42px;
    }

    .slider-wrapper {
        height: 760px;
    }

    .slide {
        width: 80%;
        height: auto;
    }

    .slide.prev {
        transform: scale(0.75) translateX(-70%);
    }

    .slide.next {
        transform: scale(0.75) translateX(70%);
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .slider-btn svg {
        width: 20px;
        height: 20px;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 30px;
        justify-content: flex-start;
    }

    .footer-logo {
        font-size: 24px;
    }

    .footer-contact {
        font-size: 18px;
    }

    .footer-contact strong {
        font-size: 24px;
        display: block;
        margin-top: 10px;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .slider-section {
        padding: 40px 0;
    }

    .header-stars {
        font-size: 24px;
    }

    .header-subtitle {
        font-size: 14px;
    }

    .header-title {
        font-size: 36px;
    }

    .slider-wrapper {
        height: 480px;
    }

    .slide {
        width: auto;
        height: auto;
    }

    .slide.prev {
        transform: scale(0.7) translateX(-60%);
    }

    .slide.next {
        transform: scale(0.7) translateX(60%);
    }

    .slider-btn {
        width: 35px;
        height: 35px;
    }

    .slider-btn svg {
        width: 18px;
        height: 18px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .indicator.active {
        width: 24px;
    }
}

/* 스크롤 애니메이션 준비 */
[data-aos] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* 통계 섹션 */
.stats-section {
    width: 100%;
    padding: 80px 0;
    background: #2eb8e2;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.stats-section.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.stats-container {
    max-width: 100%;
    margin: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.stat-card {
    padding: 50px 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(
        to bottom,
        transparent,
        #e0e0e0 20%,
        #e0e0e0 80%,
        transparent
    );
}

.stat-card:hover {
    background: #f8f9fa;
    transform: translateY(-5px);
}

.stat-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

@media (max-width: 768px) {
    .stat-title {
            font-size: 15px;
    }
	.stat-number .count {
			font-size: 26px;
	}

	.stat-number .plus {
			font-size: 26px;
	}
}

.stat-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.stat-number .count {
    font-size: 48px;
    font-weight: 900;
    color: #2eb8e2;
    line-height: 1;
    letter-spacing: -1px;
    font-family: 'Arial', sans-serif;
}

.stat-number .plus {
    font-size: 36px;
    font-weight: 700;
    color: #2eb8e2;
    line-height: 1;
}

/* 하단 플로팅 배너 */
.floating-banner {
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 반응형 - 모바일 */
@media (max-width: 768px) {
    .floating-banner {
        bottom: 40px;
    }
}
.floating-banner.show {
    transform: translateY(0);
}

.floating-banner-link {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.floating-banner-link:hover {
    transform: scale(1.02);
}

.floating-banner-link:active {
    transform: scale(0.98);
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

.banner-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #fff;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.banner-close:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: rotate(90deg);
}

.banner-close:active {
    transform: rotate(90deg) scale(0.9);
}

/* 반응형 - 태블릿 */
@media (max-width: 768px) {
    .banner-close {
        width: 28px;
        height: 28px;
        top: 6px;
        right: 6px;
    }

    .banner-close svg {
        width: 16px;
        height: 16px;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 480px) {
    .banner-close {
        top: 8px;
        right: 8px;
    }
}

/* 실시간 출동 현황 섹션 */
.live-dispatch-section {
    width: 100%;
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    overflow: hidden;
}

.live-dispatch-section.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.dispatch-header {
    text-align: center;
    margin-bottom: 40px;
}

.dispatch-title {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.dispatch-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* 스크롤 컨테이너 */
.dispatch-scroll-container {
    max-width: 800px;
    margin: 0 auto;
    height: 400px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

.dispatch-scroll-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: scrollUp 20s linear infinite;
}

.dispatch-scroll-wrapper:hover {
    animation-play-state: paused;
}

/* 스크롤 애니메이션 */
@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* 출동 카드 */
.dispatch-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dispatch-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(46, 184, 226, 0.5);
    transform: translateX(5px);
}

/* 카드 배지 */
.card-badge {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

.badge-emergency {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.badge-septic {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.badge-boiler {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.badge-drain {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

/* 카드 내용 */
.card-content {
    flex: 1;
    min-width: 0;
}

.card-location {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* 카드 상태 */
.card-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.status-complete {
    background: rgba(46, 184, 226, 0.2);
    color: #2eb8e2;
    border: 1px solid rgba(46, 184, 226, 0.3);
}

.status-progress {
    background: rgba(46, 184, 226, 0.2);
    color: #2eb8e2;
    border: 1px solid rgba(46, 184, 226, 0.3);
}

/* 반응형 - 태블릿 */
@media (max-width: 768px) {
    .live-dispatch-section {
        padding: 50px 15px;
    }

    .dispatch-title {
        font-size: 28px;
    }

    .dispatch-subtitle {
        font-size: 14px;
    }

    .dispatch-scroll-container {
        height: 350px;
    }

    .dispatch-card {
        padding: 16px 18px;
        gap: 12px;
    }

    .card-badge {
        padding: 6px 12px;
        font-size: 13px;
    }

    .card-location {
        font-size: 15px;
    }

    .card-date {
        font-size: 12px;
    }

    .card-status {
        padding: 5px 12px;
        font-size: 12px;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 480px) {
    .live-dispatch-section {
        padding: 40px 10px;
    }

    .dispatch-title {
        font-size: 24px;
    }

    .dispatch-subtitle {
        font-size: 13px;
    }

    .dispatch-scroll-container {
        height: 300px;
    }

    .dispatch-card {
        padding: 14px 16px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .card-badge {
        padding: 5px 10px;
        font-size: 12px;
    }

    .card-content {
        flex: 1 1 100%;
        order: 2;
    }

    .card-status {
        order: 3;
        margin-left: auto;
    }

    .card-location {
        font-size: 14px;
    }

    .card-date {
        font-size: 11px;
    }
}

.channel_talk {border: 0px; position: fixed; right: 30px; bottom: 150px; width: 70px; height: 70px; position: fixed; background: url('/visual_ico8.png') no-repeat center/contain; text-indent: -999em; z-index: 1; cursor:pointer;}
@media (max-width: 768px) {
	.channel_talk{bottom: 170px;}
}

@media (max-width: 768px) {
	.channel_talk{bottom: 130px;}
}

/* 지도 섹션 - 트럭 애니메이션 */
.map-section {
    position: relative;
}

.map-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
}

.moving-truck {
    position: absolute;
    width: 160px !important; /* 트럭 크기 */
    height: auto;
    z-index: 10;
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.4));
    animation: truckZigzag 14s ease-in-out infinite;
}

/* 트럭 지그재그 이동 애니메이션 - 위아래 영역 축소 버전 */
@keyframes truckZigzag {
    0% {
        top: 35%;
        left: 68%;
    }
    /* 1. 좌하향 */
    14.28% {
        top: 48%;
        left: 58%;
    }
    /* 2. 우하향 */
    28.56% {
        top: 65%;
        left: 75%;
    }
    /* 3. 좌하향 */
    42.84% {
        top: 70%;
        left: 62%;
    }
    /* 4. 우상향 */
    57.12% {
        top: 55%;
        left: 78%;
    }
    /* 5. 좌상향 */
    71.40% {
        top: 42%;
        left: 65%;
    }
    /* 6. 우상향 */
    85.68% {
        top: 35%;
        left: 75%;
    }
    /* 시작점으로 복귀 */
    100% {
        top: 35%;
        left: 68%;
    }
}

/* 반응형 - 태블릿 */
@media (max-width: 768px) {
    .moving-truck {
        width: 120px !important;
    }
    
    @keyframes truckZigzag {
        0% {
            top: 35%;
            left: 66%;
        }
        14.28% {
            top: 48%;
            left: 55%;
        }
        28.56% {
            top: 63%;
            left: 73%;
        }
        42.84% {
            top: 68%;
            left: 60%;
        }
        57.12% {
            top: 53%;
            left: 76%;
        }
        71.40% {
            top: 40%;
            left: 63%;
        }
        85.68% {
            top: 35%;
            left: 73%;
        }
        100% {
            top: 35%;
            left: 66%;
        }
    }
}

/* 반응형 - 모바일 */
@media (max-width: 480px) {
    .moving-truck {
        width: 80px !important;
    }
    
    @keyframes truckZigzag {
        0% {
            top: 33%;
            left: 64%;
        }
        14.28% {
            top: 46%;
            left: 52%;
        }
        28.56% {
            top: 61%;
            left: 71%;
        }
        42.84% {
            top: 66%;
            left: 58%;
        }
        57.12% {
            top: 51%;
            left: 74%;
        }
        71.40% {
            top: 38%;
            left: 61%;
        }
        85.68% {
            top: 33%;
            left: 71%;
        }
        100% {
            top: 33%;
            left: 64%;
        }
    }
}

/* 트럭 애니메이션 일시정지 (호버 시) */
.map-container:hover .moving-truck {
    animation-play-state: paused;
}
```

## 주요 변경사항:

✅ **위아래 범위 축소**: 기존 10%~70% → 25%~60% (35% 범위로 축소)  
✅ **새로운 경로**:
```
시작(68%, 25%)
   ↓
1. 좌하향 → (58%, 38%)
   ↓
2. 우하향 → (75%, 55%)
   ↓
3. 좌하향 → (62%, 60%) ← 최하단
   ↓
4. 우상향 → (78%, 45%)
   ↓
5. 좌상향 → (65%, 32%)
   ↓
6. 우상향 → (75%, 25%)
   ↓
시작점 복귀 → (68%, 25%)