@charset "utf-8";

/* ===========================================
   WIZ HAIR 테마 - 강화된 뉴모피즘 스타일
   떠있는 느낌의 소프트 UI
   =========================================== */

:root {
    --bg-color: #E0E5EC;
    --text-main: #4d5766;
    --text-dark: #333;
    --accent: #FF7675;
    --accent-green: #4CAF50;
    --accent-beige: #c9b896;
    
    /* 강한 볼록 효과 (떠있는 느낌) */
    --shadow-out: 10px 10px 20px rgba(163,177,198,0.7), 
                  -10px -10px 20px rgba(255,255,255, 0.6);
    
    /* 더 강한 볼록 효과 */
    --shadow-out-strong: 15px 15px 30px rgba(163,177,198,0.8), 
                         -15px -15px 30px rgba(255,255,255, 0.7);
    
    /* 매우 강한 볼록 효과 (떠있는 느낌 극대화) */
    --shadow-out-float: 20px 20px 40px rgba(163,177,198,0.8), 
                        -20px -20px 40px rgba(255,255,255, 0.8);
    
    /* 오목 효과 */
    --shadow-in: inset 8px 8px 15px rgba(163,177,198, 0.7), 
                 inset -8px -8px 15px rgba(255,255,255, 0.8);
    
    /* 이미지용 깊은 오목 효과 */
    --shadow-in-deep: inset 10px 10px 20px rgba(163,177,198, 0.8), 
                      inset -10px -10px 20px rgba(255,255,255, 0.6);
    
    --border-radius: 30px;
    --border-radius-sm: 15px;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Pretendard', 'Malgun Gothic', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }

/* 로그인 메시지 숨김 */
#hd_login_msg { display: none !important; }

/* 팝업레이어 숨김 */
#hd_pop, .hd_pops, #win_title, .new_win, .hd_pops_con, .hd_pops_footer { display: none !important; }

/* --- 헤더 --- */
.wiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    background: var(--bg-color);
}

/* 실시간 시계 (공중에 떠있는 느낌, 퍼짐 효과) */
.wiz-clock-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    background: transparent;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(77, 87, 102, 0.3), 0 0 20px rgba(77, 87, 102, 0.2), 0 0 30px rgba(77, 87, 102, 0.1);
}

.wiz-clock-ampm {
    font-size: 1rem;
    font-weight: 500;
    margin-right: 5px;
}

.wiz-clock-separator {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* 로고 (볼록, 떠있는 느낌) */
.wiz-logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: var(--bg-color);
    box-shadow: var(--shadow-out-strong);
    border-radius: 50px;
    transition: var(--transition);
}

.wiz-logo-box:hover {
    box-shadow: var(--shadow-out-float);
    transform: translateY(-3px);
}

.wiz-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    font-style: italic;
    color: var(--text-main);
    letter-spacing: 2px;
}

.wiz-logo-branch {
    font-size: 0.85rem;
    color: var(--text-main);
    background: var(--bg-color);
    box-shadow: var(--shadow-in);
    padding: 6px 14px;
    border-radius: 10px;
}

/* 전화번호 (볼록, 가로 배열) */
.wiz-phone-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background: var(--bg-color);
    box-shadow: var(--shadow-out-strong);
    border-radius: 50px;
    transition: var(--transition);
}

.wiz-phone-box:hover {
    box-shadow: var(--shadow-out-float);
    transform: translateY(-3px);
}

.wiz-phone-icon {
    font-size: 1.5rem;
    color: #FF7675;
}

.wiz-phone {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 1px;
}

/* --- 컨테이너 --- */
.wiz-container {
    max-width: 100%;
    padding: 30px 5%;
}

/* --- 히어로 섹션 (90%, 배경과 같은 색, 매우 볼록) --- */
.wiz-hero-section {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.wiz-hero-card {
    width: 90%;
    max-width: 1200px;
    background: var(--bg-color);
    box-shadow: var(--shadow-out-float);
    border-radius: var(--border-radius);
    padding: 45px;
    display: flex;
    gap: 40px;
    align-items: center;
}

.wiz-hero-content {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wiz-hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.4;
}

.wiz-hero-title .highlight {
    color: var(--accent-beige);
}

.wiz-hero-info {
    color: var(--text-main);
    font-size: 1rem;
}

.wiz-hero-info p { margin-bottom: 10px; }
.wiz-hero-info .accent { color: var(--accent-beige); }

/* Open Hours 카드 스타일 (테두리만) */
.wiz-open-hours {
    background: transparent;
    border: 2px solid rgba(163,177,198,0.4);
    border-radius: 20px;
    padding: 25px 30px;
    text-align: center;
    margin-top: 20px;
}

.wiz-open-hours-icon {
    font-size: 1.5rem;
    color: #FF7675;
    margin-bottom: 10px;
}

.wiz-open-hours-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FF7675;
    margin-bottom: 15px;
}

.wiz-open-hours-time {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.wiz-open-hours-note {
    font-size: 0.9rem;
    color: #FF7675;
    font-weight: 500;
}

/* 히어로 슬라이더 (오목, 더 넓게) */
.wiz-hero-slider {
    flex: 0 0 60%;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background: var(--bg-color);
    box-shadow: var(--shadow-in-deep);
    padding: 12px;
    position: relative;
}

.wiz-slider-container {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 10px;
}

.wiz-slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.wiz-slide {
    min-width: 100%;
    height: 100%;
}

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

/* 슬라이더 이미지별 위치 조절 */
.wiz-slide:nth-child(1) img { object-position: center center; }
.wiz-slide:nth-child(2) img { object-position: center center; }
.wiz-slide:nth-child(3) img { object-position: center top; }

/* 슬라이더 화살표 */
.wiz-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--bg-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-out);
    color: var(--text-main);
    font-size: 1.1rem;
    z-index: 10;
    transition: var(--transition);
}

.wiz-slider-btn:hover {
    box-shadow: var(--shadow-out-strong);
    transform: translateY(-50%) scale(1.1);
}

.wiz-slider-btn:active {
    box-shadow: var(--shadow-in);
}

.wiz-slider-prev { left: 15px; }
.wiz-slider-next { right: 15px; }

/* 슬라이더 도트 */
.wiz-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.wiz-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-color);
    box-shadow: var(--shadow-in);
    cursor: pointer;
    transition: var(--transition);
}

.wiz-slider-dot.active {
    background: var(--accent-beige);
    box-shadow: var(--shadow-out);
}

/* 기존 히어로 이미지 (호환용) */
.wiz-hero-image {
    flex: 0 0 60%;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background: var(--bg-color);
    box-shadow: var(--shadow-in-deep);
    padding: 12px;
}

.wiz-hero-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
}

/* --- 네이버 예약 (오른쪽 고정 레이어, 가로) --- */
.wiz-naver-fixed {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.wiz-naver-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: var(--accent-green);
    color: #fff;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 8px 8px 25px rgba(76, 175, 80, 0.5),
                -5px -5px 15px rgba(255,255,255,0.4);
    transition: var(--transition);
}

.wiz-naver-btn:hover {
    transform: translateY(-5px);
    box-shadow: 12px 12px 30px rgba(76, 175, 80, 0.6),
                -8px -8px 20px rgba(255,255,255,0.5);
}

/* 네이버 섹션 (본문용 - 숨김) */
.wiz-naver-section {
    display: none;
}

/* --- 스타일 섹션 (70%, 배경과 같은 색, 매우 볼록) --- */
.wiz-style-section {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.wiz-style-card {
    width: 70%;
    max-width: 900px;
    background: var(--bg-color);
    box-shadow: var(--shadow-out-float);
    border-radius: var(--border-radius);
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    transition: var(--transition);
}

.wiz-style-card:hover {
    transform: translateY(-5px);
    box-shadow: 25px 25px 50px rgba(163,177,198,0.8), 
                -25px -25px 50px rgba(255,255,255, 0.8);
}

.wiz-style-label {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    min-width: 110px;
    padding-right: 25px;
    border-right: 3px solid rgba(163,177,198,0.5);
}

.wiz-style-images {
    display: flex;
    gap: 15px;
    flex: 1;
    overflow-x: auto;
    padding: 10px 5px;
}

/* 스타일 이미지 (오목, 크기 확대) */
.wiz-style-img {
    width: 150px;
    height: 190px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-color);
    box-shadow: var(--shadow-in-deep);
    padding: 8px;
    transition: var(--transition);
}

.wiz-style-img:hover {
    transform: scale(1.05);
}

.wiz-style-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* --- 정보 섹션 (70%, 배경과 같은 색, 볼록) --- */
.wiz-info-section {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.wiz-info-card {
    width: 70%;
    max-width: 900px;
    background: var(--bg-color);
    box-shadow: var(--shadow-out-float);
    border-radius: var(--border-radius);
    padding: 35px;
}

/* 지도 (오목, 카카오맵) */
.wiz-map-container {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    background: var(--bg-color);
    box-shadow: var(--shadow-in-deep);
    margin-bottom: 25px;
    padding: 10px;
}

.wiz-map-container .root_daum_roughmap {
    width: 100% !important;
    height: 220px !important;
    border-radius: 10px;
    overflow: hidden;
}

.wiz-map-container .root_daum_roughmap .wrap_map {
    height: 220px !important;
}

.wiz-map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d8dde4 0%, #e5e9ef 100%);
    position: relative;
    border-radius: 10px;
}

.map-road {
    position: absolute;
    background: rgba(255,255,255,0.8);
}

.map-road.horizontal { height: 12px; left: 0; right: 0; }
.map-road.vertical { width: 12px; top: 0; bottom: 0; }
.map-road.road-1 { top: 35%; }
.map-road.road-2 { top: 65%; }
.map-road.road-3 { left: 30%; }
.map-road.road-4 { left: 65%; }

.wiz-map-marker {
    position: absolute;
    top: 50%;
    left: 48%;
    transform: translate(-50%, -50%);
    background: var(--accent-beige);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 3px solid #fff;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.15);
    z-index: 10;
}

.wiz-map-label {
    position: absolute;
    background: rgba(255,255,255,0.95);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.75rem;
    color: var(--text-dark);
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}

.wiz-map-label.label-hotel { top: 12%; left: 38%; }
.wiz-map-label.label-station {
    top: 22%; right: 22%;
    background: var(--accent-beige);
    border-radius: 15px;
    padding: 5px 15px;
}
.wiz-map-label.label-shop { top: 50%; left: 25%; }
.wiz-map-label.label-cafe1 { bottom: 18%; left: 10%; }
.wiz-map-label.label-cafe2 { top: 40%; right: 10%; }

/* 업체 정보 */
.wiz-company-info {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 2;
    padding-top: 10px;
}

.wiz-company-info strong {
    font-weight: 600;
    color: var(--text-dark);
}

/* --- 푸터 --- */
.wiz-footer {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-main);
    font-size: 0.9rem;
    opacity: 0.7;
}

.wiz-footer b { color: var(--text-dark); }

/* --- 상단으로 버튼 (볼록) --- */
#top_btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--bg-color);
    color: var(--text-main);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-out-strong);
    transition: var(--transition);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

#top_btn.visible { opacity: 1; visibility: visible; }

#top_btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-out-float);
}

#top_btn:active { box-shadow: var(--shadow-in); }

/* --- 반응형 --- */
@media (max-width: 1024px) {
    .wiz-hero-card { width: 95%; }
    .wiz-style-card, .wiz-info-card { width: 85%; }
    .wiz-naver-fixed { right: 15px; }
    .wiz-style-img { width: 130px; height: 165px; }
}

@media (max-width: 768px) {
    .wiz-header {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }
    
    .wiz-hero-card {
        flex-direction: column;
        width: 95%;
        padding: 30px;
    }
    
    .wiz-hero-content { flex: none; width: 100%; }
    .wiz-hero-slider { flex: none; width: 100%; }
    .wiz-hero-image { flex: none; width: 100%; }
    .wiz-slider-container { height: 250px; }
    .wiz-hero-title { font-size: 1.5rem; white-space: nowrap; }
    
    .wiz-style-card {
        flex-direction: column;
        width: 95%;
        text-align: center;
        padding: 25px;
    }
    
    .wiz-style-label {
        border-right: none;
        border-bottom: 2px solid rgba(163,177,198,0.5);
        padding-right: 0;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    
    .wiz-style-images {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .wiz-style-img { width: calc(50% - 10px); height: 180px; }
    .wiz-info-card { width: 95%; }
    
    .wiz-naver-fixed {
        right: 10px;
        top: auto;
        bottom: 100px;
        transform: none;
    }
    
    .wiz-naver-btn {
        padding: 12px 18px;
        border-radius: 50px;
        font-size: 0.95rem;
    }
    
    .wiz-naver-btn .naver-full { display: none !important; }
    .wiz-naver-btn .naver-short { display: inline !important; }
    
    .wiz-footer {
        flex-direction: column;
        gap: 10px;
    }
}

/* --- 푸터 --- */
.wiz-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 40px 5%;
    color: var(--text-main);
    font-size: 0.9rem;
}

.wiz-footer-copyright {
    opacity: 0.7;
}

.wiz-footer-copyright b {
    color: var(--text-dark);
}

.wiz-footer-credit {
    opacity: 0.8;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.wiz-footer-credit a {
    color: var(--accent-beige);
    font-weight: 600;
}

/* --- 팝업창 --- */
.wiz-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.wiz-popup-overlay.hidden {
    display: none;
}

.wiz-popup-content {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-out-float);
    overflow: hidden;
    max-width: 90%;
    max-height: 90%;
}

.wiz-popup-content img {
    display: block;
    max-width: 450px;
    width: 100%;
    height: auto;
}

.wiz-popup-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-color);
}

.wiz-popup-close-today {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-main);
    cursor: pointer;
}

.wiz-popup-close-today input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.wiz-popup-close-btn {
    padding: 10px 25px;
    background: var(--bg-color);
    border: none;
    border-radius: 25px;
    box-shadow: var(--shadow-out-strong);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
}

.wiz-popup-close-btn:hover {
    box-shadow: var(--shadow-out-float);
    transform: translateY(-2px);
}

/* 네이버 N 예약 (모바일용) */
.wiz-naver-btn .naver-short { display: none; }
.wiz-naver-btn .naver-full { display: inline; }

/* --- 애니메이션 --- */
@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(40px);
        box-shadow: none;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        box-shadow: var(--shadow-out-float);
    }
}

.wiz-hero-card { animation: floatIn 0.8s ease-out; }
.wiz-style-card { animation: floatIn 0.8s ease-out; }
.wiz-style-section:nth-child(4) .wiz-style-card { animation-delay: 0.15s; }
.wiz-style-section:nth-child(5) .wiz-style-card { animation-delay: 0.3s; }
.wiz-style-section:nth-child(6) .wiz-style-card { animation-delay: 0.45s; }
.wiz-info-card { animation: floatIn 0.8s ease-out 0.6s both; }
