:root {
    --primary-color: #ffffff;
    --secondary-color: #f5f6f8;
    --accent-color: #03c75a;
    --accent-orange: #ff8b3d;
    --text-color: #333333;
    --heading-color: #000000;
    --border-color: #e4e8eb;
    --green-dark: #4a7c59;
    --transition: all 0.3s ease-in-out;
    --font-main: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.2;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0;
    z-index: 1000;
    background-color: #ffffff !important;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    background: #ffffff;
    z-index: 1001;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    position: relative;
}

.nav-links a:hover {
    color: var(--green-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-dark);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 65vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #d4a574 0%, #8b7355 100%);
    padding-top: 110px;
    margin-top: 80px;
    margin-left: 40px;
    margin-right: 40px;
    width: calc(100% - 80px);
    border-radius: 30px;
}

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

.hero-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

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

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.hero-center-content {
    text-align: center;
    color: white;
    margin-top: 10px;
}

.hero-logo {
    margin-bottom: 15px;
}

.hero-logo img {
    width: 250px;
    height: auto;
    filter: brightness(0) invert(1);
}

.hero-subtitle {
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0.95;
    font-weight: 500;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1px;
    color: white;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 19px;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.6;
}

/* Booking Card Container */
.booking-card-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    margin-top: -80px;
    z-index: 10;
}

/* Booking Info Card */
.booking-info-card {
    background: white;
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.booking-info-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.booking-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.booking-label {
    min-width: 54px;
    font-size: 12px;
    font-weight: 700;
    color: #333;
}

.booking-text {
    font-size: 12px;
    color: #555;
    line-height: 1.6;
}

.booking-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 8px;
}

.btn-booking {
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    min-width: 130px;
    flex: 0 0 auto;
}

.btn-program {
    background: var(--accent-orange);
    color: white;
}

.btn-program:hover {
    background: #ff7422;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 139, 61, 0.3);
}

.btn-facility {
    background: var(--accent-color);
    color: white;
}

.btn-facility:hover {
    background: #02b351;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(3, 199, 90, 0.3);
}

.btn-map {
    background: #f3f3f3;
    color: #333;
    border: 1px solid #ddd;
}

.btn-map:hover {
    background: #e9e9e9;
    transform: translateY(-2px);
}

.btn-group {
    background: var(--accent-orange);
    color: white;
}

.btn-group:hover {
    background: #ff7422;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 139, 61, 0.3);
}

.btn-live {
    background: #1f8a5b;
    color: white;
}

.btn-live:hover {
    background: #187149;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(31, 138, 91, 0.3);
}

/* Program Cards Section */
.program-cards-section {
    padding: 140px 0 80px;
    background: #ffffff;
}

.three-column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.program-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.program-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.program-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.program-card:hover .program-card-image img {
    transform: scale(1.1);
}

.program-card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.program-card-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000;
}

.program-time {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.program-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Notice Section */
.notice-section {
    background: white;
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding: 30px 30px 20px;
    border-bottom: 2px solid #333;
    background: white;
}

.notice-header h2 {
    font-size: 22px;
    font-weight: 700;
}

.more-link {
    font-size: 14px;
    color: #666;
    font-weight: 600;
    transition: color 0.3s;
}

.more-link:hover {
    color: var(--accent-color);
}

.notice-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 25px 30px 30px;
    background: white;
    flex: 1;
}

.notice-list li {
    border-bottom: 1px solid #e8e8e8;
    padding: 15px 0;
}

.notice-list li:first-child {
    padding-top: 0;
}

.notice-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.notice-list a {
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: color 0.3s;
}

.notice-list a:hover {
    color: var(--accent-color);
}

.notice-list a:hover .notice-title {
    color: var(--accent-color);
}

.notice-date {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.notice-title {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
}

/* Center Introduction Section */
.center-intro-section {
    padding: 100px 0;
    background: #e8f5e9;
}

.intro-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 80px;
}

.intro-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

.intro-text {
    flex: 1;
}

.intro-label {
    font-size: 14px;
    color: #4a7c59;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.intro-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #000;
    line-height: 1.3;
}

.intro-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 35px;
}

.intro-nav {
    display: flex;
    gap: 15px;
}

.nav-arrow {
    width: 50px;
    height: 50px;
    border: 2px solid #4a7c59;
    background: white;
    border-radius: 50%;
    font-size: 24px;
    color: #4a7c59;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    background: #4a7c59;
    color: white;
}

/* Experience Section */
.experience-section {
    padding: 100px 0;
    background: white;
}

.experience-header {
    text-align: left;
    margin-bottom: 80px;
}

.experience-label {
    font-size: 13px;
    color: #999;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.experience-title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #000;
    line-height: 1.4;
}

.experience-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* 2칸 크로스 레이아웃 */
.experience-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding: 0 20px;
    margin-top: -180px
}

.experience-row:last-child {
    margin-bottom: 0;
}

/* 이미지 오른쪽 배치 */
.experience-row.reverse {
    direction: rtl;
}

.experience-row.reverse>* {
    direction: ltr;
}

.experience-image {
    border-radius: 20px;
    overflow: visible;

    transition: transform 0.4s, box-shadow 0.4s;
}

.experience-image:hover {
    transform: translateY(-10px);

}

.experience-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.experience-image:hover img {
    transform: scale(1.05);
}

.experience-content {
    padding: 20px;
}

.experience-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.experience-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.experience-more {
    display: inline-block;
    padding: 12px 30px;
    background: #4a7c59;
    color: white;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.experience-more:hover {
    background: #3d6649;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(74, 124, 89, 0.3);
}

/* Footer */
footer {
    background: #3d5a46;
    padding: 60px 0 40px;
    color: white;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-info {
    flex: 1;
    margin-left: 60px;
}

.footer-links {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    font-size: 14px;
    font-weight: 600;
    color: white;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-text {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-text a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-text a:hover {
    color: white;
}

.footer-family {
    text-align: right;
}

.family-site-select {
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: white;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

.family-site-select option {
    background: #3d5a46;
    color: white;
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    font-family: var(--font-main);
}

.chat-button {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.chat-button:hover {
    transform: scale(1.1);
}

.chat-button svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.chat-window.open {
    display: flex;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background: var(--accent-color);
    color: #fff;
    padding: 15px 20px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-chat {
    cursor: pointer;
    font-size: 1.2rem;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.message.bot {
    background: #fff;
    border: 1px solid var(--border-color);
    align-self: flex-start;
    color: #333;
    border-top-left-radius: 2px;
}

.message.user {
    background: var(--accent-color);
    color: #fff;
    align-self: flex-end;
    border-top-right-radius: 2px;
}

.chat-input-area {
    padding: 15px;
    background: #fff;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    outline: none;
    font-family: var(--font-main);
}

.chat-input-area input:focus {
    border-color: var(--accent-color);
}

.chat-send-btn {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 0 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
}

.chat-link {
    color: var(--accent-color);
    text-decoration: underline;
    font-weight: 700;
    cursor: pointer;
    display: block;
    margin-top: 5px;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .three-column-grid {
        grid-template-columns: 1fr;
    }

    .experience-row {
        gap: 40px;
        margin-bottom: 60px;
    }

    .intro-content {
        gap: 50px;
    }
}

@media (max-width: 900px) {

    .experience-row,
    .experience-row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 30px;
    }

    .experience-image img {
        height: 300px;
    }

    .experience-content h3 {
        font-size: 26px;
    }

    .experience-content p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-cta {
        display: block !important;
        padding: 10px 20px;
        background: var(--accent-color);
        color: white;
        border-radius: 6px;
        font-weight: 600;
    }

    .hero {
        height: 480px;
        min-height: 430px;
        padding-top: 90px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 14px;
    }

    .booking-info-card {
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .booking-time {
        flex-direction: column;
        gap: 15px;
    }

    .time-divider {
        display: none;
    }

    .three-column-grid {
        grid-template-columns: 1fr;
    }

    .intro-content {
        flex-direction: column;
        gap: 40px;
    }

    .experience-row {
        padding: 0;
        margin-bottom: 50px;
    }

    .experience-image img {
        height: 250px;
    }

    .experience-content {
        padding: 10px;
    }

    .experience-content h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .experience-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .booking-info-left {
        gap: 6px;
    }

    .booking-row {
        align-items: flex-start;
        gap: 8px;
    }

    .booking-label {
        min-width: 48px;
        font-size: 11.5px;
    }

    .booking-text {
        font-size: 11.5px;
    }

    .booking-actions {
        justify-content: center;
        gap: 8px;
    }

    .btn-booking {
        min-width: 46%;
        padding: 10px 10px;
        font-size: 12.5px;
    }

    .chat-window {
        width: 300px;
        height: 400px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-info {
        margin-left: 0;
    }
}

/* Mobile CTA */
.mobile-cta {
    display: none;
}

@media (max-width: 768px) {
    .mobile-cta {
        display: block !important;
    }
}