:root {
    --primary-color: #ffffff;
    --secondary-color: #f5f6f8;
    --accent-color: #03c75a;
    --accent-orange: #ff8b3d;
    --text-color: #222222;
    --heading-color: #000000;
    --border-color: #e4e8eb;
    --green-dark: #4a7c59;
    --green-bright: #47a34b;
    --orange-bright: #f09226;
    --grey-light: #e9ecef;
    --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);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;

    max-width:1240px;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1003;
}

.logo img {
    height: 35px;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
    margin-left: auto;
}

.nav-links .auth-mobile {
    display: none;
}

.nav-links a {
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: background 0.3s;
}

.mobile-menu-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2.5px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: block;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Sub Hero Section */
.sub-hero {
    padding: 180px 0 100px;
    text-align: center;
    color: white;
    position: relative;
    margin-top: 0px;
}

.sub-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.sub-hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* Hero Section */
.hero-wrapper {
    padding: 20px;
    padding-top: 20px;
}

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
}

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

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

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

.hero-center-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-logo img {
    width: 140px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -1.5px;
}

.hero-description {
    font-size: 18px;
    opacity: 0.9;
}

/* Booking Card */
.booking-card-container {
    max-width: 900px;
    margin: -70px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.booking-info-card {
    background: white;
    border-radius: 20px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.booking-info-left {
    flex: 1;
}

.booking-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.booking-label {
    font-weight: 800;
    color: #222;
    min-width: 70px;
    font-size: 14px;
}

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

.booking-actions {
    display: flex;
    gap: 12px;
}

.btn-main-action {
    width: 130px;
    height: 110px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    font-size: 14px;
    transition: transform 0.2s;
}

.btn-main-action:hover { transform: translateY(-5px); }
.btn-map { background: var(--grey-light); color: #333; }
.btn-group { background: var(--orange-bright); color: white; }
.btn-facility { background: var(--green-bright); color: white; }
.action-icon { 
    font-size: 32px; 
}

.action-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* 3-Column Summary */
.summary-section {
    padding: 100px 0;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.summary-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eee;
}

.summary-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-header h3 { font-size: 18px; font-weight: 800; }
.more-link { font-size: 13px; color: #999; }

.summary-image { height: 200px; overflow: hidden; }
.summary-image img { width: 100%; height: 100%; object-fit: cover; }

.summary-content { padding: 25px; }
.summary-content strong { display: block; font-size: 15px; margin-bottom: 10px; }
.summary-content p { font-size: 13px; color: #777; line-height: 1.6; }

/* Notice List Card Styling */
.notice-list-card {
    padding: 25px;
}

.notice-item {
    margin-bottom: 20px;
}

.notice-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.notice-item-title {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    display: block;
    margin-bottom: 8px;
    line-height: 1.4;
}

.notice-item-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-item-date {
    font-size: 12px;
    color: #ccc;
    text-align: right;
}

#main-notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#main-notice-list .notice-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0;
}

#main-notice-list .notice-item:last-child {
    border-bottom: none;
}

#main-notice-list .notice-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

#main-notice-list .notice-item a span:first-child {
    flex: 1;
    color: #555;
    font-weight: 500;
}

#main-notice-list .notice-item a span:last-child {
    color: #ccc;
    font-size: 12px;
    margin-left: 10px;
}

/* Center Intro Section */
.center-intro-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f0f8f0 0%, #ffffff 100%);
}

.intro-content-wrap {
    display: flex;
    align-items: center;
    gap: 80px;
}

.intro-image-wrap {
    flex: 1;
    position: relative;
}

.intro-bg-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-8deg);
    width: 120%;
    height: 120%;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 60px;
    z-index: -1;
}

.intro-image-wrap img {
    width: 100%;
    border-radius: 40px;
    border: 1px solid #eee;
}

.intro-text-wrap {
    flex: 1;
}

.intro-text-wrap h4 {
    font-size: 14px;
    color: #888;
    font-weight: 600;
    margin-bottom: 10px;
}

.intro-text-wrap h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #000;
}

.intro-text-wrap p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Experience Space Section (Image Match) */
.experience-section {
    padding: 50px 0;
    background: white;
}

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

.experience-header h4 {
    font-size: 14px;
    color: #888;
    font-weight: 600;
    margin-bottom: 10px;
}

.experience-header h2 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.experience-header p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.experience-row {
    display: flex;
    align-items: center;
    margin-bottom 0px;
    position: relative;
    gap: 60px;
    margin-top:-150px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

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

.experience-row.reverse {
    flex-direction: row-reverse;
}

.exp-img-box {
    width: auto;
    height: auto;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.experience-row:hover .exp-img-box {
    transform: scale(1.02);
}

.exp-img-box picture {
    display: block;
    width: 100%;
    height: 100%;
}

.exp-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 이미지별 곡선 커스터마이징 */
.experience-row:nth-child(2) .exp-img-box img { 
    
}

.experience-row:nth-child(3) .exp-img-box img { 
     
}

.experience-row:nth-child(4) .exp-img-box img { 
     
}

.exp-text-box {
    flex: 1;
    padding: 0 40px;
}

.experience-row .exp-text-box {
    text-align: right;
}

.experience-row.reverse .exp-text-box {
    text-align: left;
}

.exp-text-box h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #000;
}

.exp-text-box p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}

.btn-more-green {
    display: inline-block;
    padding: 12px 40px;
    background: var(--green-bright);
    color: white;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    text-transform: lowercase;
    transition: transform 0.2s;
}

.btn-more-green:hover {
    transform: translateY(-2px);
}

/* 장식 요소 위치 잡기 */
.hold-deco {
    position: absolute;
    z-index: 6;
    pointer-events: none;
}

/* Footer */
footer {
    background: #2d4436;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-left {
    flex: 1;
}

.footer-info {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
}

.footer-info p {
    margin-bottom: 5px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-end;
}

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

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

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

.footer-legal {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 14px;
}

.footer-legal a {
    color: white;
    transition: opacity 0.3s;
}

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

.footer-legal span {
    opacity: 0.3;
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    opacity: 0.6;
}

/* Inquiry Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-main);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-bright);
}

.form-group textarea {
    min-height: 200px;
    resize: vertical;
}

.btn-submit {
    padding: 18px 60px;
    background: var(--green-bright);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(71, 163, 75, 0.3);
}

/* News & Tab Styles */
.news-section {
    padding: 80px 0;
}

.tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
}

.tab-btn {
    padding: 15px 30px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: #888;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.tab-btn.active {
    color: var(--green-dark);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--green-dark);
}

.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    max-width: 400px;
    margin-left: auto;
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.search-bar button {
    padding: 12px 30px;
    background: var(--green-dark);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}

.search-bar button:hover {
    background: var(--green-bright);
}

.news-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.news-table thead {
    background: #f8f9fa;
    border-top: 2px solid var(--green-dark);
    border-bottom: 1px solid #eee;
}

.news-table th {
    padding: 15px;
    font-weight: 700;
    color: #333;
    text-align: center;
}

.news-table td {
    padding: 18px 15px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.news-table td.title {
    text-align: left;
    font-weight: 500;
}

.news-table tr:hover {
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.gallery-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-info {
    padding: 20px;
}

.gallery-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.gallery-info .date {
    font-size: 13px;
    color: #999;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.page-num {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #666;
    font-weight: 600;
    transition: all 0.3s;
}

.page-num.active,
.page-num:hover {
    background: var(--green-dark);
    color: white;
    border-color: var(--green-dark);
}

.page-num.active,
.page-num:hover {
    background: var(--green-dark);
    color: white;
    border-color: var(--green-dark);
}

/* Admin Page Styles */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.admin-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.admin-table th {
    padding: 15px;
    text-align: left;
    font-weight: 700;
    color: #495057;
    font-size: 14px;
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
}

.admin-table tr:hover {
    background: #f8f9fa;
}

.action-btn {
    padding: 6px 14px;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-right: 5px;
}

.btn-edit {
    background: #17a2b8;
    color: white;
}

.btn-edit:hover {
    background: #138496;
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-delete:hover {
    background: #c82333;
}
@media (max-width: 1024px) {
    .booking-info-card {
        flex-direction: column;
        gap: 30px;
    }
    
    .booking-actions {
        width: 100%;
        justify-content: center;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-content-wrap {
        flex-direction: column;
        gap: 40px;
    }
    
    .experience-row, .experience-row.reverse { 
        flex-direction: column-reverse; 
        gap: 40px; 
        margin-top:0px;
    }
    
    .exp-text-box { 
        text-align: left !important;
        padding: 0 !important;
    }
    
    .exp-img-box { 
        width: 100%;
        height: auto;
    }
    
    .exp-img-box img {
        height: auto;
    }
}

@media (max-width: 768px) {
    .hero {border-radius:0px;}
    
    /* Mobile Menu */
    .mobile-menu-btn {
        display: flex;
        width: 36px;
        height: 36px;
    }

    /* 헤더 로고는 계속 표시 */
    .logo {
        display: flex !important;
    }
    .logo img {
        height: 28px;
    }
    .header-container {
        padding: 0 20px;
    }
    nav {
        height: 64px;
    }
    header .top-bar {
        display: none;
    }
    .hero-wrapper {padding:0px}
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        width: 100%;
        height: calc(100vh - 64px);
        background: #ffffff;
        flex-direction: column;
        padding: 40px 30px;
        gap: 0;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    /* Main Page Adjustments */
    .booking-info-card {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
    }

    .intro-text-wrap h2 {
        font-size: 28px;
    }

    .experience-row {
        align-items: start;
    }

    .experience-header {
        padding: 0 0px !important;
        margin-bottom: 30px;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        opacity: 0;
        transform: translateY(20px);
    }

    .nav-links.active li {
        animation: fadeInUp 0.5s ease forwards;
    }

    .nav-links.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { animation-delay: 0.15s; }
    .nav-links.active li:nth-child(3) { animation-delay: 0.2s; }
    .nav-links.active li:nth-child(4) { animation-delay: 0.25s; }
    .nav-links.active li:nth-child(5) { animation-delay: 0.3s; }

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

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links .auth-mobile {
        display: block;
    }

    .nav-links li a {
        display: block;
        padding: 20px 0;
        font-size: 18px;
        font-weight: 500;
        color: #333;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .nav-links li a:hover {
        color: var(--green-primary);
        padding-left: 10px;
    }

    /* Experience Section Mobile */
    .experience-section {
        padding: 40px 0;
    }

    .experience-header {
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .experience-header h2 {
        font-size: 28px;
        line-height: 1.3;
    }

    .experience-header p {
        font-size: 14px;
    }

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

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

    .exp-text-box h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .exp-text-box p {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .btn-more-green {
        padding: 10px 30px;
        font-size: 14px;
    }

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

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

    .btn-main-action {
        width: 100px;
        height: 90px;
        font-size: 12px;
    }

    .action-icon {
        font-size: 24px;
    }
    
    .action-icon img {
        width: 28px;
        height: 28px;
    }

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

    .footer-right {
        align-items: flex-start;
        width: 100%;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 15px;
    }

    .tabs {
        gap: 10px;
    }

    .tab-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .search-bar {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .news-table {
        font-size: 14px;
    }

    .news-table th,
    .news-table td {
        padding: 12px 8px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Popup positioning */
    #mainPopup {
        left: -5% !important;
    }
}
