/* =========================
   전체 다크톤 기본 설정
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', Arial, sans-serif;
}
*:focus {
    outline: 2px dotted #f8f8f8;
}

body {
    color: #fab700;
    line-height: 1.6;
}

/* 배경 고정 — position:fixed 방식으로 모든 모바일 브라우저 대응 */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("img/lounge_700x1300.png") no-repeat center center;
    background-size: cover;
    z-index: -1;
}

/* =========================
   공통 섹션 중앙 정렬
========================= */
section {
    max-width: 1100px;
    width: 90%;
    margin: 50px auto;
    padding: 20px 15px;
    background: linear-gradient(180deg, #1c1c1c, #121212);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.65);
    color: #e0e0e0;
}

section h2 {
    text-align: center;
    font-size: 1.6rem;
    color: #d4af37;
    margin-bottom: 20px;
    letter-spacing: 0.03em;
}

section p, section li {
    font-size: 0.95rem;
    color: #ccc;
}

/* =========================
   코스 테이블 다크톤
========================= */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 30px 0;
}

.course-table {
    width: 100%;
    min-width: 320px;
    border-collapse: separate;
    border-spacing: 0;
    background: linear-gradient(180deg, #1a1a1a, #0f0f0f);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}

.course-table thead {
    background: -webkit-linear-gradient(left, #b18a45, #d4af37);
    background: linear-gradient(90deg, #b18a45, #d4af37);
}

.course-table th {
    color: #111;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 0.95rem;
    padding: 16px 12px;
    text-align: center;
}

.course-table td {
    padding: 16px 12px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #eaeaea;
    font-size: 0.95rem;
}

.course-table td:last-child {
    color: #d4af37;
    font-weight: 700;
    font-size: 1rem;
}

.course-table tbody tr:hover {
    background-color: rgba(255,255,255,0.05);
    transition: background-color 0.2s ease;
}

/* 모바일 테이블 카드형 */
@media (max-width: 768px) {
    .course-table thead { display: none; }
    .course-table, .course-table tbody, .course-table tr, .course-table td {
        display: block;
        width: 100%;
    }
    .course-table tr {
        margin-bottom: 18px;
        background: linear-gradient(180deg, #1b1b1b, #101010);
        border-radius: 10px;
        padding: 12px 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.6);
    }
    .course-table td {
        text-align: right;
        padding: 10px 12px;
        border-bottom: 1px dashed rgba(255,255,255,0.15);
        position: relative;
    }
    .course-table td:last-child { border-bottom: none; }
    .course-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 12px;
        font-weight: 600;
        color: #d4af37;
        text-align: left;
    }
}

/* =========================
   추천 가이드 박스
========================= */
.guide-box {
    max-width: 900px;
    width: 90%;
    margin: 40px auto;
    padding: 28px;
    background: linear-gradient(180deg, #1c1c1c, #121212);
    border-left: 5px solid #d4af37;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.65);
}

.guide-box h3 {
    text-align: center;
    color: #d4af37;
    font-size: 1.3rem;
    margin-bottom: 18px;
}

.guide-box ul {
    max-width: 700px;
    margin: 0 auto 15px auto;
    padding-left: 20px;
}

.guide-box li {
    color: #e0e0e0;
    margin-bottom: 8px;
}

.guide-box p {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.7;
}

/* =========================
   후기 카드
========================= */
.review-box {
    margin: 18px auto;
    padding: 16px 20px;
    background: #0f0f0f;
    border-left: 4px solid #d4af37;
    border-radius: 8px;
    font-style: italic;
    color: #ddd;
    max-width: 800px;
}

/* =========================
   체크 리스트
========================= */
.check-list {
    list-style: none;
    padding-left: 0;
    margin-top: 18px;
}

.check-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
}

.check-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
}

/* =========================
   이미지 슬라이더
========================= */
.slider {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.slides {
    display: flex;
    width: 300%;
    animation: slide 15s infinite;
}

.slides img {
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
}

@keyframes slide {
    0% { transform: translateX(0); }
    33% { transform: translateX(-100%); }
    66% { transform: translateX(-200%); }
    100% { transform: translateX(0); }
}

/* =========================
   모바일 최적화 (768px 이하)
========================= */
@media (max-width: 768px) {
    section {
        width: 95%;
        margin: 24px auto;
        padding: 18px 14px;
    }
    section h2 {
        font-size: 1.3rem;
    }
    .section-title {
        font-size: 1.2rem;
    }
    .guide-box, .review-box {
        width: 95%;
        padding: 16px;
    }
}

/* =========================
   소형 화면 최적화 (480px 이하)
========================= */
@media (max-width: 480px) {
    section {
        width: 96%;
        margin: 16px auto;
        padding: 14px 12px;
    }
    section h2 {
        font-size: 1.15rem;
    }
    .section-title {
        font-size: 1.1rem;
    }
    section p, section li {
        font-size: 0.9rem;
    }
    .nav-link {
        font-size: 0.82rem;
        padding: 0.45em 0.55em;
    }
    .profile-info .name {
        font-size: 1rem;
    }
}

/* =========================
   헤더 & 프로필
========================= */
header {
    background: rgba(0,0,0,0.4);
    padding: 2em 1em;
    text-align: center;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.profile-image img {
    width: 140px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    cursor: pointer;
}

.profile-info {
    margin-top: 1em;
    text-align: center;
    color: #fff;
}

.profile-info .name {
    font-size: 1.2rem;
    font-weight: bold;
}

.profile-info .phone a {
    color: #03f738;
    text-decoration: none;
    font-size: 1rem;
}

.profile-info .phone a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .profile-image img {
        width: 100px;
    }
}

/* =========================
   내비게이션
========================= */
.navbar {
    background: rgba(0, 0, 0, 0.7);
    padding: 1em 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.nav-container {
    display: flex;
    justify-content: center;
    gap: 2em;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1em;
    flex-wrap: wrap;
}

.nav-link {
    color: #fab700;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    padding: 0.5em 1em;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(250, 183, 0, 0.2);
}

@media (hover: hover) {
    .nav-link:hover {
        -webkit-transform: translateY(-2px);
        transform: translateY(-2px);
    }
}

@media (max-width: 768px) {
    .nav-container {
        gap: 0.5em;
    }
    .nav-link {
        font-size: 0.9rem;
        padding: 0.5em 0.7em;
    }
}

/* =========================
   유틸리티
========================= */
.gold {
    color: #d4af37;
}

.section-box {
    padding: 0.5em 0;
}

.info-list {
    list-style: none;
    padding-left: 0;
    margin-top: 18px;
}

.info-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    color: #ccc;
}

.info-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-weight: bold;
}

.highlight-box {
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 1.5em;
    background: rgba(212, 175, 55, 0.05);
}

/* =========================
   홈 바로가기 카드
========================= */
.page-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5em;
    margin-top: 2em;
}

.page-card {
    display: block;
    text-decoration: none;
    background: linear-gradient(180deg, #1e1e1e, #141414);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 12px;
    padding: 1.8em 1.2em;
    text-align: center;
    transition: all 0.3s ease;
    color: #e0e0e0;
}

.page-card:hover {
    border-color: #d4af37;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(212,175,55,0.15);
}

.page-card .card-icon {
    font-size: 2rem;
    margin-bottom: 0.5em;
    display: block;
}

.page-card .card-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #d4af37;
    margin-bottom: 0.4em;
}

.page-card .card-desc {
    font-size: 0.85rem;
    color: #aaa;
}

@media (max-width: 480px) {
    .page-cards {
        grid-template-columns: 1fr;
    }
}

/* =========================
   지도
========================= */
.map-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

#map {
    height: 400px;
    width: 100%;
    border-radius: 8px;
    background: #1a1a1a;
}

@media (max-width: 768px) {
    #map {
        height: 280px;
    }
}

@media (max-width: 480px) {
    #map {
        height: 220px;
    }
}

.map-links {
    margin-top: 1.5em;
    display: flex;
    justify-content: center;
    gap: 1.5em;
    flex-wrap: wrap;
}

.map-links a {
    color: #03f738;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5em 1em;
    background: rgba(3, 247, 56, 0.1);
    border-radius: 4px;
    transition: 0.3s;
}

.map-links a:hover {
    background: rgba(3, 247, 56, 0.2);
}

/* =========================
   푸터
========================= */
footer {
    text-align: center;
    background: rgba(0,0,0,0.8);
    padding: 2em 1em;
    color: #999;
    margin-top: 3em;
}

/* =========================
   섹션 제목
========================= */
.section-title {
    text-align: center;
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 1.2em;
    line-height: 1.5;
}

/* =========================
   홈 미리보기 섹션
========================= */
.preview-item {
    margin-bottom: 1.5em;
    padding-bottom: 1.5em;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.preview-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.preview-sub {
    font-size: 0.85rem;
    font-weight: bold;
    color: #d4af37;
    letter-spacing: 0.05em;
    margin-bottom: 0.5em;
}

.preview-more {
    margin-top: 1.5em;
    text-align: right;
}

.preview-more a {
    color: #d4af37;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    transition: 0.2s;
}

.preview-more a:hover {
    color: #f5d060;
    text-decoration: underline;
}

/* =========================
   이벤트 공통 스타일
========================= */
.event-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: bold;
    color: #111;
    background: -webkit-linear-gradient(left, #b18a45, #d4af37);
    background: linear-gradient(90deg, #b18a45, #d4af37);
    padding: 0.3em 0.8em;
    border-radius: 20px;
    letter-spacing: 0.08em;
    margin-bottom: 1em;
}
.event-body p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 2;
    margin-bottom: 1em;
}
.event-notice {
    margin-top: 1.5em;
    padding: 1em 1.2em;
    background: rgba(212, 175, 55, 0.08);
    border-left: 3px solid #d4af37;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #d4af37;
}
.event-divider {
    text-align: center;
    color: rgba(212, 175, 55, 0.3);
    letter-spacing: 0.3em;
    padding: 0.3em 0;
}
.event-section { position: relative; }
.event-section + .event-section { margin-top: 0; }
.event-cta {
    text-align: center;
    padding: 2em 1em;
    background: linear-gradient(180deg, #1a1a1a, #111);
    border-radius: 12px;
    border: 1px solid rgba(212,175,55,0.25);
}
.event-cta p { color: #ccc; margin-bottom: 1em; }
.event-cta a {
    display: inline-block;
    color: #111;
    background: -webkit-linear-gradient(left, #b18a45, #d4af37);
    background: linear-gradient(90deg, #b18a45, #d4af37);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 0.7em 2em;
    border-radius: 30px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}
.event-cta a:hover { opacity: 0.85; -webkit-transform: translateY(-2px); transform: translateY(-2px); }
