/* =============================================
   JIT 스마트워시 - 메인 스타일시트
   ============================================= */

* { box-sizing: border-box; }

body {
    font-family: 'Noto Sans KR', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

/* =============================================
   팝업
   ============================================= */
.main-popup {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.main-popup-inner {
    position: relative;
}

/* =============================================
   NAVBAR
   ============================================= */
.main-navbar {
    background: transparent;
    transition: background 0.3s ease;
    padding: 12px 0;
    border-bottom: none;
}
.main-navbar.scrolled {
    background: rgba(0,0,0,0.85) !important;
}
.nav-logo {
    height: 38px;
}
.nav-center-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.nav-center-menu .nav-link {
    color: #000 !important;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 18px;
    letter-spacing: 0.5px;
}
.nav-center-menu .nav-link:hover {
    color: #333 !important;
}
.nav-right-area .nav-link {
    color: #000 !important;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 10px;
}
.nav-auth-link:hover {
    color: #555 !important;
}

/* =============================================
   메인 슬라이더
   ============================================= */
.main-slider-section {
    padding-top: 0;
}
.carousel-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .carousel-img {
        height: 280px;
    }
}

/* =============================================
   4개 서비스 카드
   ============================================= */
.service-cards-section {
    border-top: 1px solid #ededed;
    border-left: 1px solid #ededed;
    border-right: 1px solid #ededed;
}
.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px 30px;
    border-bottom: 3px solid #000;
    border-right: 1px solid #ededed;
    text-decoration: none;
    color: #000;
    background: #fff;
    transition: background-color 0.2s;
    height: 100%;
}
.service-card:hover {
    background-color: #f8f8f8;
    color: #000;
    text-decoration: none;
}
.service-card img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 16px;
}
.service-card-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}
.service-card-desc {
    font-size: 13px;
    color: #666;
    margin: 0;
}
/* 마지막 카드는 오른쪽 border 없음 */
.col-md-3:last-child .service-card {
    border-right: none;
}

/* =============================================
   패턴 구분선
   ============================================= */
.pattern-divider {
    background-repeat: repeat;
    background-size: auto;
}

/* =============================================
   지점 탭 & 카드
   ============================================= */
.branch-tabs {
    border-bottom: none;
}
.branch-tabs .nav-link {
    border: 1px solid #ddd;
    border-bottom: none;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    background: #f8f8f8;
    border-radius: 0;
    padding: 8px 20px;
}
.branch-tabs .nav-link.active {
    background: #fff;
    color: #000;
    border-color: #ddd;
    border-bottom-color: #fff;
}
.branch-tab-content {
    border: 1px solid #ddd;
    padding: 0;
}
.branch-card {
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.branch-card a {
    text-decoration: none;
    color: #000;
}
.branch-comp-name {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 15px;
}
.branch-intro {
    font-size: 13px;
    color: #555;
    margin-bottom: 12px;
}
.branch-img {
    width: 100%;
    object-fit: cover;
    max-height: 280px;
}

/* =============================================
   사이드바 (창업문의 게시판)
   ============================================= */
.sidebar-board-title {
    border-bottom: 2px solid #000;
    padding-bottom: 8px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0;
}
.sidebar-table {
    font-size: 13px;
}
.sidebar-table td {
    padding: 6px 4px;
    border-color: #f0f0f0;
}
.sidebar-table a {
    color: #333;
    text-decoration: none;
    overflow: hidden;
    display: block;
    max-width: 160px;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.sidebar-table a:hover {
    color: #000;
    text-decoration: underline;
}

/* =============================================
   매장찾기 박스
   ============================================= */
.store-search-box .shadow {
    box-shadow: 0 2px 10px rgba(0,0,0,0.10) !important;
}

/* =============================================
   세차 순서 (포토 그리드)
   ============================================= */
.wash-process-section {
    border-top: 2px solid #ededed;
    padding-bottom: 0;
}
.wash-grid {
    /* full width */
}
.wash-item {
    position: relative;
    display: block;
    overflow: hidden;
}
.wash-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.wash-item:hover .wash-img {
    transform: scale(1.05);
}
.wash-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px 16px 16px;
    opacity: 0;
    transition: opacity 0.3s;
}
.wash-item:hover .wash-overlay {
    opacity: 1;
}
.wash-overlay span {
    display: block;
    font-size: 14px;
    letter-spacing: 1px;
}
.wash-overlay p {
    margin: 4px 0 0;
}

/* =============================================
   만족도 (SVG 원형 차트)
   ============================================= */
.satisfaction-section {
    background-image: url('https://www.jitwash.com/www/home/img/bg_skill.png');
    background-repeat: no-repeat;
    background-position: top center;
}
.satisfaction-circle {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto;
}
.satisfaction-circle svg {
    width: 130px;
    height: 130px;
    transform: rotate(-90deg);
}
.circle-bg {
    fill: none;
    stroke: #e8e8e8;
    stroke-width: 8;
}
.circle-fill {
    fill: none;
    stroke: #2563eb;
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s ease;
}
.circle-pct {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

/* =============================================
   전화/영업/창업 3단 배너
   ============================================= */
.contact-strip .row {
    margin: 0;
}
.contact-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
    min-height: 300px;
    color: #fff;
}
.bg-jit-blue   { background-color: #2563eb; }
.bg-jit-orange { background-color: #ea580c; }
.bg-jit-dark   { background-color: #1f2937; }

.contact-icon {
    font-size: 50px;
    color: #fff;
    margin-bottom: 16px;
}
.contact-title {
    font-weight: 500;
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
}
.btn-rounded-contact {
    border-radius: 50px;
    padding: 8px 28px;
    font-size: 15px;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.btn-rounded-contact:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}

/* =============================================
   푸터
   ============================================= */
.main-footer {
    background-color: #1f2937;
    color: #9ca3af;
}
.footer-icon {
    font-size: 40px;
    color: #9ca3af;
}
.text-light-gray {
    color: #9ca3af;
}
.footer-contact-item {
    padding: 10px 20px;
}
.border-md-right {
    border-right: 1px solid #3a3a3a;
}
.main-footer a {
    color: #9ca3af;
    text-decoration: none;
}
.main-footer a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .nav-center-menu {
        position: static;
        transform: none;
    }
    .main-navbar {
        background: rgba(0,0,0,0.85) !important;
    }
    .nav-center-menu .nav-link,
    .nav-right-area .nav-link {
        color: #fff !important;
    }
    .border-md-right {
        border-right: none;
        border-bottom: 1px solid #3a3a3a;
    }
    .wash-img {
        height: 180px;
    }
    .contact-block {
        min-height: 200px;
        padding: 30px 20px;
    }
}
