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

body {
    font-family: 'Nanum Myeongjo', 'Noto Serif KR', serif;
    background: #fff;
    min-height: 100vh;
    color: #2c2c2c;
    line-height: 1.8;
}

/* 모든 텍스트 요소에 나눔 명조 적용 */
h1, h2, h3, h4, h5, h6, p, a, span, div, button, input, textarea, select {
    font-family: 'Nanum Myeongjo', 'Noto Serif KR', serif;
}

/* 헤더 */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 1000;
    border-bottom: 1px solid #e8e8e8;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 40px;
}

.logo h1 {
    color: #2c2c2c;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-align: center;
}

/* 메인 */
main {
    margin-top: 100px;
}

/* 히어로 섹션 */
.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide-image.active {
    opacity: 1;
}

.hero-image img[src=""],
.hero-image img:not([src]) {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #999;
    text-align: center;
    z-index: 1;
}

.image-placeholder p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.placeholder-hint {
    font-size: 0.9rem;
    color: #ccc;
    font-style: italic;
}

.hero-content {
    position: absolute;
    bottom: 60px;
    left: 60px;
    text-align: left;
    z-index: 3;
    color: #fff;
    max-width: 600px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 0;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    line-height: 1.6;
    margin-top: -5px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-button {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border: 1px solid #fff;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: 'Nanum Myeongjo', 'Noto Serif KR', serif;
}

.hero-button:hover {
    background: #fff;
    color: #2c2c2c;
    border-color: #fff;
}

/* 콘텐츠 섹션 */
.content-section {
    background: #fff;
    padding: 80px 20px;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

.intro {
    text-align: center;
    padding: 60px 40px;
    margin-bottom: 60px;
}

.intro h2 {
    font-size: 1.6rem;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.intro-text {
    font-size: 1rem;
    color: #555;
    line-height: 2;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.link-button {
    display: block;
    padding: 18px 40px;
    background: #fff;
    color: #2c2c2c;
    text-decoration: none;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #2c2c2c;
    letter-spacing: 1px;
}

.link-button:hover {
    background: #2c2c2c;
    color: #fff;
    border-color: #2c2c2c;
}

/* 마지막 버튼 (카카오톡 채널) 차별화 */
#link3 {
    background: #fff;
    border-color: #d4a574;
    color: #8b6f47;
}

#link3:hover {
    background: #d4a574;
    color: #fff;
    border-color: #d4a574;
}

/* 예약 확정 버튼 - 회색 스타일 */
#link4 {
    background: #fff;
    border-color: #888;
    color: #888;
}

#link4:hover {
    background: #888;
    color: #fff;
    border-color: #888;
}

/* 유선 상담 버튼 - 회색 스타일 */
#link5 {
    background: #fff;
    border-color: #888;
    color: #888;
}

#link5:hover {
    background: #888;
    color: #fff;
    border-color: #888;
}

.button-text {
    display: block;
}

/* 푸터 */
footer {
    background: #fff;
    border-top: 1px solid #e8e8e8;
    padding: 40px 20px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    color: #999;
}

footer p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.domain {
    font-weight: 400;
    font-size: 0.95rem;
    color: #666;
    letter-spacing: 1px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .header-container {
        padding: 20px;
    }

    .logo h1 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    main {
        margin-top: 80px;
    }

    .hero {
        height: 70vh;
        min-height: 500px;
    }

    .hero-content {
        bottom: 40px;
        left: 30px;
        max-width: 90%;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        font-weight: 400;
        letter-spacing: 1px;
        line-height: 1.6;
        margin-top: -4px;
        margin-bottom: 30px;
        color: rgba(255, 255, 255, 0.9);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .hero-button {
        padding: 10px 25px;
        font-size: 0.8rem;
    }

    .content-section {
        padding: 60px 20px;
    }

    .intro {
        padding: 40px 20px;
        margin-bottom: 40px;
    }

    .intro h2 {
        font-size: 1.5rem;
    }

    .intro-text {
        font-size: 0.95rem;
    }

    .link-button {
        padding: 16px 30px;
        font-size: 1.05rem;
        font-weight: 500;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero-content {
        bottom: 30px;
        left: 20px;
        max-width: 85%;
    }

    .hero-title {
        font-size: 1.4rem;
        margin-bottom: 0;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        font-weight: 400;
        letter-spacing: 0.5px;
        line-height: 1.6;
        margin-top: -3px;
        margin-bottom: 25px;
        color: rgba(255, 255, 255, 0.9);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .hero-button {
        padding: 10px 25px;
        font-size: 0.75rem;
    }

    .intro h2 {
        font-size: 1.3rem;
    }

    .intro-text {
        font-size: 0.9rem;
    }

    .link-button {
        padding: 14px 25px;
        font-size: 1rem;
        font-weight: 500;
    }
}
