/* 기본 설정 */
body {
    font-family: 'Noto Sans SC', sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 10;
    color: #333;
    font-size: 14px;
    line-height: 1.7;
}

@media (prefers-color-scheme: dark) {
    body {
        background: #121212;
        color: #ffffff;
    }
}

/* H 태그 폰트 크기 설정 */
h1, h2, h3, h4 {
    color: #00695c; /* 진한 녹색 */
}

h1 {
    font-size: 26px;
    font-weight: bold;
}

h2 {
    font-size: 22px;
    font-weight: bold;
}

h3 {
    font-size: 20px;
    font-weight: bold;
}

h4 {
    font-size: 16px;
    font-weight: bold;
}

@media (prefers-color-scheme: dark) {
    h1, h2, h3, h4 {
        color: #00c292; /* 다크 모드 진한 색상 */
    }
}

/* 컨테이너 스타일 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 5px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
    .container {
        background: #1e1e1e;
        color: #ffffff;
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
    }
}


@media (prefers-color-scheme: dark) {
    .header {
        background: linear-gradient(90deg, #015C71, #015C71);
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    }
}

@media (prefers-color-scheme: dark) {
    .lang-select select {
        background-color: #333;
        color: #ffffff;
        border: 1px solid #444;
    }
}

/* 스파 개요 스타일 */
.spa-overview {
    margin-bottom: 40px;
}

.spa-slider {
    width: 100%;
    height: auto;
    margin-bottom: 25px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
    .spa-slider {
        box-shadow: 0 6px 15px rgba(255, 255, 255, 0.1);
    }
}

.spa-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.spa-details {
    text-align: center;
}

.spa-name {
    font-size: 16px;
    font-weight: bold;
    color: #00695c;
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.spa-name::after {
    content: "";
    display: block;
    width: 120px;
    height: 4px;
    background-color: #00695c;
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

.spa-description {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

@media (prefers-color-scheme: dark) {
    .spa-description {
        color: #bbbbbb;
    }
}

/* 트리트먼트 옵션 스타일 */
.treatment-options {
    margin-bottom: 0px;
}

.treatment-options h3 {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 25px;
    background: #015C71;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
    .treatment-options h3 {
        background: #015C71;
        box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    }
}

.treatment-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.treatment-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

@media (prefers-color-scheme: dark) {
    .treatment-item {
        background-color: #2a2a2a;
        box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    }
}

.treatment-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.treatment-name {
    font-size: 14px;
    font-weight: bold;
    color: #00695c;
    margin-bottom: 12px;
}

.treatment-duration,
.treatment-price {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

@media (prefers-color-scheme: dark) {
    .treatment-duration,
    .treatment-price {
        color: #bbbbbb;
    }
}

.treatment-description {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

@media (prefers-color-scheme: dark) {
    .treatment-description {
        color: #bbbbbb;
    }
}

/* 스파 시설 섹션 스타일 */
.spa-facilities {
    margin-bottom: 40px;
}

.spa-facilities h3 {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 25px;
    background: #00695c;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
    .spa-facilities h3 {
        background: #004d40;
        box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    }
}

.facilities-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.facilities-list li {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    font-size: 16px;
    color: #555;
    font-weight: bold;
}

@media (prefers-color-scheme: dark) {
    .facilities-list li {
        background-color: #2a2a2a;
        color: #bbbbbb;
        box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    }
}

.facilities-list li:hover {
    transform: translateY(-7px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media (prefers-color-scheme: dark) {
    .facilities-list li:hover {
        box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
    }
}

/* 리뷰 섹션 스타일 */
.review-section {
    margin-top: 40px;
}

.review-section h3 {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.review-section h3 i {
    color: #00695c;
    margin-right: 8px;
    font-size: 16px;
}

@media (prefers-color-scheme: dark) {
    .review-section h3 {
        color: #bbbbbb;
    }

    .review-section h3 i {
        color: #00c292;
    }
}

.review-slider {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 20px auto;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.swiper-button-next, .swiper-button-prev {
    color: #015C71;
}

.review-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.review-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.review-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.review-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: left;
}

@media (prefers-color-scheme: dark) {
    .review-item {
        background-color: #2a2a2a;
        box-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
    }
}

.review-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

.review-text-ko {
    font-size: 14px;
    color: blue;
    line-height: 1.6;
}

.review-date,
.review-verification {
    font-size: 14px;
    color: #777;
    margin-bottom: 5px;
    display: block;
}

@media (prefers-color-scheme: dark) {
    .review-text {
        color: #bbbbbb;
    }

    .review-date,
    .review-verification {
        color: #bbbbbb;
    }
}

/* FAQ 섹션 스타일 */
.faq-section {
    margin-bottom: 40px;
}

.faq-section h3 {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 25px;
    background: #00695c;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
    .faq-section h3 {
        background: #004d40;
        box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    }
}

.faq-item {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    .faq-item {
        background-color: #2a2a2a;
        box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    }
}

.faq-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.faq-question {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    color: #00695c;
    margin: 0;
}

@media (prefers-color-scheme: dark) {
    .faq-question {
        color: #00c292;
    }
}

.faq-question i {
    margin-right: 10px;
    font-size: 14px;
    color: #00695c;
}

@media (prefers-color-scheme: dark) {
    .faq-question i {
        color: #00c292;
    }
}

.faq-answer {
    padding: 12px 0;
    font-size: 14px;
    color: #555;
    border-top: 1px solid #ddd;
    margin-top: 10px;
}

@media (prefers-color-scheme: dark) {
    .faq-answer {
        color: #bbbbbb;
        border-top: 1px solid #444;
    }
}

/* 따라다니는 메뉴 스타일 */
.sticky-menu {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    padding: 10px 0;
    text-align: center;
    overflow-x: auto;
    white-space: nowrap;
    box-sizing: border-box;
}

.sticky-menu ul {
    display: inline-flex;
    gap: 20px;
    padding: 0 15px;
}

.sticky-menu ul li {
    display: inline-block;
}

.sticky-menu ul li a {
    text-decoration: none;
    font-size: 14px;
    color: #00695c;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.sticky-menu ul li a.active {
    background-color: #00695c;
    color: #ffffff;
}

.sticky-menu ul li a i.material-icons {
    margin-right: 8px;
    font-size: 22px;
    color: #00695c;
}

.sticky-menu ul li a:hover {
    background-color: #e0f7fa;
    color: #00695c;
    text-decoration: none;
}

.sticky-menu ul li a.active:hover {
    background-color: #00544c;
    color: #ffffff;
}

@media (prefers-color-scheme: dark) {
    .sticky-menu {
        background-color: rgba(18, 18, 18, 0.95);
        box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
    }

    .sticky-menu ul li a {
        color: #ffffff;
    }

    .sticky-menu ul li a:hover {
        background-color: #333;
        color: #ffffff;
    }

    .sticky-menu ul li a i.material-icons {
        color: #00c292;
    }
}

@media (max-width: 767px) {
    .sticky-menu {
        display: block;
    }
}

@media (max-width: 767px) {
    .spa-name {
        font-size: 16px;
    }

    .facilities-list,
    .review-list {
        grid-template-columns: repeat(1, 1fr);
    }

    .spa-map-image {
        aspect-ratio: 1 / 1;
    }
}

/* spa-map-image 기본 스타일 (PC에서 적용) */
.spa-map-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    max-width: 600px; /* PC에서는 최대 너비를 600px로 제한 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto; /* 가운데 정렬을 위한 margin */
}

/* 태블릿 화면 크기에서 이미지 크기 조정 */
@media (max-width: 1024px) {
    .spa-map-image {
        max-width: 80%; /* 태블릿 화면에서는 전체 화면의 80%로 조정 */
    }
}

/* 모바일에서 spa-map-image 크기 조정 */
@media (max-width: 768px) {
    .spa-map-image {
        width: 100%;
        max-width: 100%; /* 모바일에서는 화면 너비에 맞춤 */
        height: auto;
    }
}
#spa_facilities,
#special_features,
#LocalInsights,
#location_text {
    display: inline;
}

/* spa-location 내 슬라이더 스타일 */
.spa-location {
    margin-bottom: 40px;
    padding: 20px; /* 여백을 추가하여 슬라이드와 컨테이너 간의 간격 유지 */
    position: relative; /* 슬라이드가 부모 안에서 벗어나지 않도록 설정 */
}

.spa-location h3 {
    font-size: 16px;
    font-weight: bold;
    color: #00695c; /* 진한 녹색 */
    margin-bottom: 25px;
    text-align: left;
}

/* nearby-attractions 카드 섹션 스타일 */
.card-section.nearby-attractions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-top: 20px;
}

.card-section.nearby-attractions .card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1 1 calc(33.333% - 20px); /* PC에서 한 줄에 3개 */
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-section.nearby-attractions .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.card-section.nearby-attractions .card-content {
    text-align: left;
}

.card-section.nearby-attractions .card-content h5 {
    font-size: 14px;
    font-weight: bold;
    color: #00695c;
    margin-bottom: 10px;
}

.card-section.nearby-attractions .card-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

/* 다크 모드 nearby-attractions 카드 섹션 */
@media (prefers-color-scheme: dark) {
    .card-section.nearby-attractions .card {
        background-color: #333;
        box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    }

    .card-section.nearby-attractions .card:hover {
        box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
    }

    .card-section.nearby-attractions .card-content h5 {
        color: #00c292;
    }

    .card-section.nearby-attractions .card-content p {
        color: #bbbbbb;
    }
}

/* 반응형 카드 레이아웃: 태블릿 모드 (한 줄에 2개) */
@media (max-width: 1024px) {
    .card-section.nearby-attractions .card {
        flex: 1 1 calc(50% - 20px); /* 태블릿에서 한 줄에 2개 */
    }
}

/* 반응형 카드 레이아웃: 모바일 모드 (한 줄에 1개) */
@media (max-width: 768px) {
    .card-section.nearby-attractions .card {
        flex: 1 1 calc(100% - 20px); /* 모바일에서 한 줄에 1개 */
    }
}

/* nearby-restaurants 카드 섹션 스타일 */
.card-section.nearby-restaurants {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-top: 20px;
}

.card-section.nearby-restaurants .card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1 1 calc(33.333% - 20px); /* PC에서 한 줄에 3개 */
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-section.nearby-restaurants .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.card-section.nearby-restaurants .card-content {
    text-align: left;
}

.card-section.nearby-restaurants .card-content h5 {
    font-size: 14px;
    font-weight: bold;
    color: #00695c;
    margin-bottom: 10px;
}

.card-section.nearby-restaurants .card-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

/* 다크 모드 nearby-restaurants 카드 섹션 */
@media (prefers-color-scheme: dark) {
    .card-section.nearby-restaurants .card {
        background-color: #333;
        box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    }

    .card-section.nearby-restaurants .card:hover {
        box-shadow: 0 6px 15px rgba(255, 255, 255, 0.2);
    }

    .card-section.nearby-restaurants .card-content h5 {
        color: #00c292;
    }

    .card-section.nearby-restaurants .card-content p {
        color: #bbbbbb;
    }
}

/* 반응형 카드 레이아웃: 태블릿 모드 (한 줄에 2개) */
@media (max-width: 1024px) {
    .card-section.nearby-restaurants .card {
        flex: 1 1 calc(50% - 20px); /* 태블릿에서 한 줄에 2개 */
    }
}

/* 반응형 카드 레이아웃: 모바일 모드 (한 줄에 1개) */
@media (max-width: 768px) {
    .card-section.nearby-restaurants .card {
        flex: 1 1 calc(100% - 20px); /* 모바일에서 한 줄에 1개 */
    }
}

/* 헤더 스타일 */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: linear-gradient(90deg, #015C71, #015C71); /* 진한 녹색 */
    border-radius: 12px;
    color: white;
    margin-bottom: 30px;
}

.page-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
    color : white !important;
}

.back-button {
    background: none;
    border: none;
    font-size: 22px;
    color: white;
    cursor: pointer;
    padding: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border-radius: 50%;
    margin-right: 15px;
}

.lang-select select {
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 20px;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #333; /* 텍스트 색상 */
    background-color: #fff; /* 배경색 */
    outline: none; /* 포커스 아웃라인 제거 */
}

.lang-select select:focus {
    color: #333; /* 포커스 상태에서도 동일한 텍스트 색상 유지 */
    background-color: #fff; /* 포커스 시 배경색 유지 */
    outline: none; /* 포커스 아웃라인 제거 */
}

@media (prefers-color-scheme: dark) {
    .lang-select select {
        background-color: #333;
        color: #ffffff;
        border: 1px solid #444;
    }
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.icon-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #333;
    transition: color 0.3s ease;
}

.icon-button i {
    font-size: 28px;
}

.icon-button:hover {
    color: #00796b; /* 호버 시 아이콘 색상 변경 */
}

.icon-button.active i {
    color: red; /* 찜하기 활성화 시 아이콘 색상 */
}


