/*
Theme Name: Pension Theme
Description: 펜션 웹사이트를 위한 커스텀 테마
Version: 1.0
Author: Custom Theme Developer
*/

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #545454;
    background-color: #f7f8f9;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

/* Header Styles */
header {
    background: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    left: 0;
    right: 0;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 60px;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    font-weight: 400;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #3498db;
}

header.scrolled .logo {
    color: #212121;
}

header.scrolled .logo:hover {
    color: #3498db;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: white;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: rgba(255, 255, 255, 0.8);
}

header.scrolled .main-nav a {
    color: #2a2a2a;
}

header.scrolled .main-nav a:hover {
    color: #000000;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1001;
    position: relative;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
    margin-left: 15px;
}

header.scrolled .mobile-menu-toggle {
    color: #2a2a2a;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    transition: all 0.3s ease;
}

/* 모바일 메뉴 열렸을 때 body 스크롤 방지 */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.mobile-menu.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    border-bottom: 1px solid #eee;
}

.mobile-menu li:last-child {
    border-bottom: none;
}

.mobile-menu a {
    display: block;
    padding: 20px 25px;
    color: #2a2a2a;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu a:hover {
    background-color: #f7f8f9;
    color: #000;
    padding-left: 30px;
}

.mobile-menu a:active {
    background-color: #e9ecef;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    top: 0;
    margin-top: 0;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: -1;
}

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

/* 유튜브 비디오 컨테이너 (24MB MP4 대체) */
.hero-youtube-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#hero-youtube-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 비율 */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 비율 */
    transform: translate(-50%, -50%);
    pointer-events: none; /* 사용자 조작 방지 */
    border: none;
}

/* 유튜브 로딩 중 포스터 - 제거됨 (자동 재생을 위해) */
.youtube-poster {
    display: none !important;
}

.youtube-play-button {
    display: none !important;
}

/* 기존 비디오 스타일 (백업용) */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero Dots Navigation */
.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    height: 100%;
}

.hero-content {
    max-width: 600px;
    text-align: left;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    top: 400px;
    left: 0;
    width: 100%;
    height: calc(100% - 400px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
}

.hero-content.active {
    opacity: 1;
}

.hero-content h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 48px;
    font-weight: 300;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: white;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    background: white;
    color: #2a2a2a;
    padding: 12px 16px;
    border: none;
    border-radius: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-block;
    width: auto !important;
    max-width: fit-content;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #f7f8f9;
    color: #000000;
    transform: translateY(-2px);
}

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

/* Updated Color Scheme Elements */
.text-primary {
    color: #212121;
}

.text-secondary {
    color: #545454;
}

.text-dark {
    color: #2a2a2a;
}

.text-black {
    color: #000000;
}

.bg-primary {
    background-color: #2a2a2a;
}

.bg-white {
    background-color: white;
}

.bg-light {
    background-color: #f7f8f9;
}

.bg-black {
    background-color: #000000;
}

/* Secondary Button Styles */
.btn-secondary {
    background: transparent;
    color: #2a2a2a;
    padding: 18px 34px;
    border: 2px solid #2a2a2a;
    border-radius: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #2a2a2a;
    color: white;
    transform: translateY(-2px);
}

/* Form Input Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea,
select {
    background: white;
    border: 1px solid #444444;
    border-radius: 0;
    padding: 15px;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #2a2a2a;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #02385c;
}

/* Link Styles */
a {
    color: #2a2a2a;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #000000;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    color: #212121;
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 {
    font-size: 70px;
}

h2 {
    font-size: 48px;
}

h3 {
    font-size: 36px;
}

h4 {
    font-size: 28px;
}

h5 {
    font-size: 24px;
}

h6 {
    font-size: 20px;
}

p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #545454;
    margin-bottom: 20px;
}

/* Large text styling */
.text-large {
    font-size: 18px;
    line-height: 1.7;
}

.text-small {
    font-size: 14px;
    line-height: 1.5;
}

/* Improved spacing utilities */
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

.py-20 { padding: 20px 0; }
.py-40 { padding: 40px 0; }
.py-60 { padding: 60px 0; }
.py-80 { padding: 80px 0; }

/* Section Styles */
.section {
    padding: 80px 0;
    background: white;
}

.section-alt {
    padding: 80px 0;
    background: #f7f8f9;
}

/* White sections for content areas */
.section-white {
    background: white;
}

/* Light background for alternating sections */
.section-light {
    background: #f7f8f9;
}

.section-title {
    text-align: center;
    font-family: 'DM Serif Display', serif;
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 60px;
    color: #212121;
    line-height: 1.3;
}

/* Card Styles */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #212121;
}

/* Footer */
footer {
    background: white;
    color: #545454;
    padding: 104px 0 80px;
    border-top: 1px solid #f1f1f1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3,
.footer-links h4,
.footer-social h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 18px;
    color: #212121;
    margin-bottom: 20px;
    font-weight: 400;
}

.footer-info p {
    color: #545454;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #545454;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #212121;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-links a {
    color: #545454;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #212121;
    background-color: #f7f8f9;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #f1f1f1;
}

.footer-bottom p {
    color: #545454;
    font-size: 14px;
    margin: 0;
}

/* Responsive Design */
/* Large Desktop - 왼쪽으로 조금 이동 */
@media (min-width: 1220px) {
    .hero-overlay .container {
        margin-left: calc(50% - 600px - 10px);
    }
}

/* 갤럭시 테블릿 최적화 (1024px 이하) */
@media (max-width: 1024px) {
    .hero-section {
        min-height: 100vh;
        width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-video {
        width: 100vw;
        min-width: 100%;
        object-fit: cover;
    }
    
    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
        max-width: calc(100% - 40px);
    }
    
    .hero-content h1 {
        font-size: 36px;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    }
    
    .hero-content p {
        font-size: 16px;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    }
}

@media (max-width: 1024px) {
    /* 전체 페이지 overflow 제어 */
    html, body {
        overflow-x: hidden !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }
    
    .main-nav {
        display: none !important;
    }
    
    /* 헤더 강화 - 고정 폭과 완전한 제어 */
    header {
        position: fixed !important;
        width: 100vw !important;
        max-width: 100vw !important;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        height: 80px !important;
        transition: height 0.3s ease !important;
    }
    
    header.scrolled {
        height: 60px !important;
    }
    
    .header-container {
        height: 100% !important;
        padding: 0 20px !important;
        max-width: 100vw !important;
        width: 100vw !important;
        margin: 0 !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .logo {
        font-size: 24px !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: calc(100vw - 90px) !important;
        margin-right: 10px !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        background: rgba(0, 0, 0, 0.1) !important;
        border-radius: 8px !important;
        transition: all 0.3s ease !important;
        position: absolute !important;
        right: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
        font-size: 20px !important;
        color: white !important;
        border: none !important;
        cursor: pointer !important;
        z-index: 10001 !important;
        box-sizing: border-box !important;
    }
    
    .mobile-menu-toggle:hover {
        background: rgba(0, 0, 0, 0.2) !important;
    }
    
    header.scrolled .mobile-menu-toggle {
        background: rgba(0, 0, 0, 0.05) !important;
        color: #2a2a2a !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    
    header.scrolled .mobile-menu-toggle:hover {
        background: rgba(0, 0, 0, 0.1) !important;
    }
}

/* 태블릿 전용 추가 스타일 (769px-1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    /* 추가 태블릿 레이아웃 보강 */
    * {
        box-sizing: border-box !important;
    }
    
    body {
        overflow-x: hidden !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }
    
    .hero-section {
        width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    .hero-content {
        top: 350px;
        padding-left: 30px;
        padding-right: 30px;
        max-width: calc(100vw - 60px) !important;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    /* 태블릿 전용 추가 안정화 */
    .header-container {
        position: relative !important;
        overflow: visible !important;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100vw;
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
    }
    
    html {
        overflow-x: hidden;
    }
    
    .header-container {
        height: 60px;
        padding: 0 15px;
    }
    
    /* 모바일에서 메뉴 위치 조정 */
    .mobile-menu {
        position: fixed !important;
        top: 60px !important;
        max-height: calc(100vh - 60px);
    }
    
    header.scrolled .mobile-menu {
        top: 60px !important;
    }
    
    .hero-section {
        width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-overlay .container {
        padding: 0 15px;
        margin-left: calc(50% - 50vw + 15px);
        overflow-x: hidden;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: left;
        padding-right: 20px;
        overflow-x: hidden;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Responsive Typography */
    h1 { font-size: 42px; }
    h2 { font-size: 36px; }
    h3 { font-size: 28px; }
    h4 { font-size: 24px; }
    h5 { font-size: 20px; }
    h6 { font-size: 18px; }
    
    .section,
    .section-alt {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 15px 28px;
        font-size: 13px;
    }
    
    /* Footer Responsive */
    footer {
        padding: 60px 0 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-info p {
        font-size: 13px;
        line-height: 1.8;
        word-break: keep-all;
        overflow-wrap: break-word;
        text-align: left;
        padding: 0 10px;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* 소개 섹션 스타일 */
.intro-section {
    padding: 100px 0;
    background: white;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.intro-image-main {
    overflow: hidden;
}

.intro-image-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.intro-text-bottom {
    padding-left: 0;
}

.intro-text-bottom p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.intro-btn {
    background: #2a2a2a;
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: inline-block;
    margin-top: 15px;
    transition: all 0.3s ease;
}

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

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

.intro-content {
    padding-right: 20px;
}

.intro-title {
    font-family: 'DM Serif Display', serif;
    font-size: 48px;
    line-height: 1.2;
    color: #2a2a2a;
    margin-bottom: 25px;
}

.intro-description {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
}

.intro-image-side {
    overflow: hidden;
    height: 350px;
}

.intro-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* 반응형 스타일 */
@media (max-width: 1024px) {
    .intro-grid {
        gap: 40px;
    }
    
    .intro-title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .intro-section {
        padding: 60px 0;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .intro-title {
        font-size: 36px;
    }
    
    .intro-content {
        padding-right: 0;
    }
    
    .intro-image-main img {
        height: 300px;
    }
    
    .intro-image-side {
        height: 280px;
    }
}

/* 편의시설 섹션 스타일 */
.amenities-section {
    padding: 100px 0;
    background: #f5f5f5;
}

.amenities-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.amenities-intro {
    max-width: 600px;
}

.amenities-title {
    font-family: 'DM Serif Display', serif;
    font-size: 52px;
    line-height: 1.2;
    color: #2a2a2a;
    margin-bottom: 20px;
}

.amenities-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.amenities-view-all {
    background: #2a2a2a;
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: inline-block;
}

.amenities-view-all:hover {
    background: #000;
    transform: translateY(-2px);
}

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

.amenity-card {
    background: white;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.amenity-image {
    height: 280px;
    overflow: hidden;
}

.amenity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.amenity-content {
    padding: 30px;
}

.amenity-title {
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    color: #2a2a2a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.amenity-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.amenity-link {
    color: #2a2a2a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    display: inline-block;
    border-bottom: 1px solid #2a2a2a;
    transition: all 0.3s ease;
}

.amenity-link:hover {
    color: #000;
    border-bottom-color: #000;
}

/* 반응형 스타일 */
@media (max-width: 1024px) {
    .amenities-header {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }
    
    .amenities-grid {
        gap: 30px;
    }
    
    .amenities-title {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    .amenities-section {
        padding: 60px 0;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .amenities-title {
        font-size: 36px;
    }
    
    .amenity-image {
        height: 250px;
    }
    
    .amenity-title {
        font-size: 24px;
    }
}

/* 갤러리 섹션 스타일 */
.gallery-section {
    padding: 100px 0;
    background: white;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-title {
    font-family: 'DM Serif Display', serif;
    font-size: 48px;
    color: #2a2a2a;
    margin-bottom: 15px;
    line-height: 1.2;
}

.gallery-description {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 200px 200px 200px 200px;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 0 !important;
    height: auto !important;
}

.gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 0 !important;
    display: block !important;
    min-height: inherit !important;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* 갤러리 라운드 테두리 완전 제거 */
.gallery-section * {
    border-radius: 0 !important;
}

.gallery-section img,
.gallery-section .gallery-item,
.gallery-section .gallery-item * {
    border-radius: 0 !important;
}

/* 갤러리 이미지 크기 강제 적용 */
.gallery-section .gallery-item {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
}

.gallery-section .gallery-item img {
    width: 100% !important;
    height: 100% !important;
    min-height: auto !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block !important;
}

/* 첫 번째 행 - 왼쪽 2개 작은, 오른쪽 1개 큰 */
.gallery-left-top {
    grid-column: 1;
    grid-row: 1;
}

.gallery-left-bottom {
    grid-column: 1;
    grid-row: 2;
}

.gallery-right-large {
    grid-column: 2 / 4;
    grid-row: 1 / 3;
}

/* 두 번째 행 - 왼쪽 1개 큰, 오른쪽 2개 작은 */
.gallery-bottom-left-large {
    grid-column: 1 / 3;
    grid-row: 3 / 5;
}

.gallery-bottom-right-top {
    grid-column: 3;
    grid-row: 3;
}

.gallery-bottom-right-bottom {
    grid-column: 3;
    grid-row: 4;
}

/* 반응형 스타일 */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 180px 180px 180px 180px;
        gap: 15px;
    }
    
    .gallery-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 60px 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 200px);
        gap: 12px;
    }
    
    .gallery-left-top {
        grid-column: 1;
        grid-row: 1;
    }
    
    .gallery-left-bottom {
        grid-column: 2;
        grid-row: 1;
    }
    
    .gallery-right-large {
        grid-column: 1 / 3;
        grid-row: 2;
    }
    
    .gallery-bottom-left-large {
        grid-column: 1 / 3;
        grid-row: 3;
    }
    
    .gallery-bottom-right-top {
        grid-column: 1;
        grid-row: 4;
    }
    
    .gallery-bottom-right-bottom {
        grid-column: 2;
        grid-row: 4;
    }
    
    .gallery-title {
        font-size: 32px;
    }
    
    .gallery-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 180px);
        gap: 10px;
    }
    
    .gallery-left-top,
    .gallery-left-bottom,
    .gallery-right-large,
    .gallery-bottom-left-large,
    .gallery-bottom-right-top,
    .gallery-bottom-right-bottom {
        grid-column: 1;
    }
    
    .gallery-left-top { grid-row: 1; }
    .gallery-left-bottom { grid-row: 2; }
    .gallery-right-large { grid-row: 3; }
    .gallery-bottom-left-large { grid-row: 4; }
    .gallery-bottom-right-top { grid-row: 5; }
    .gallery-bottom-right-bottom { grid-row: 6; }
    
    .gallery-title {
        font-size: 28px;
    }
    
    /* Footer 초소형 모바일 대응 */
    .footer-info p {
        font-size: 12px;
        line-height: 2;
        padding: 0 5px;
        word-spacing: 2px;
    }
    
    .footer-info h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
}

/* 라이트박스 스타일 */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: white;
    border-radius: 15px;
    width: 90vw;
    max-width: 900px;
    max-height: 90vh;
    overflow: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.lightbox.active .lightbox-content {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #666;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    line-height: 1;
}

.lightbox-close:hover {
    color: #000;
}

#lightbox-image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 0 !important;
    margin: 0 0 20px 0;
    display: block;
    opacity: 1;
    visibility: visible;
}

.lightbox-controls {
    display: flex;
    gap: 20px;
    margin-top: 0;
    flex-shrink: 0;
}

.lightbox-prev,
.lightbox-next {
    background: #2a2a2a;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: #000;
}

/* 갤러리 이미지 호버 오버레이 */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay .gallery-title {
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
    font-family: 'Open Sans', sans-serif;
}

.gallery-overlay .gallery-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    line-height: 1.4;
    font-family: 'Open Sans', sans-serif;
}

/* 갤러리 이미지 커서를 기본으로 변경 */
.gallery-item {
    cursor: default;
}

@media (max-width: 768px) {
    .lightbox-content {
        width: 95vw;
        max-height: 95vh;
        padding: 20px 15px;
    }
    
    #lightbox-image {
        max-width: 100%;
        max-height: 60vh;
    }
    
    .lightbox-controls {
        gap: 15px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        padding: 10px 16px;
        font-size: 16px;
    }
    
    .gallery-overlay {
        padding: 15px;
    }
    
    .gallery-overlay .gallery-title {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .gallery-overlay .gallery-description {
        font-size: 13px;
        line-height: 1.3;
    }
}

@media (max-width: 544px) {
    .hero-content h1 {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    h1 { font-size: 32px; }
    h2 { font-size: 28px; }
    h3 { font-size: 24px; }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 12px;
        letter-spacing: 0.6px;
    }
    
    /* 모바일에서 YouTube 플레이 버튼 제거 */
    .youtube-play-button {
        display: none !important;
    }
}

/* YouTube 컨테이너 모바일 최적화 */
@media (max-width: 768px) {
    .hero-youtube-container {
        /* 모바일에서 성능 최적화 */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    
    #hero-youtube-iframe {
        /* 모바일에서 YouTube iframe 최적화 */
        width: 100vw;
        height: 56.25vw;
        min-height: 100vh;
        min-width: 177.77vh;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
    
    .youtube-play-button {
        display: none !important;
    }
}

/* YouTube 컨테이너 태블릿 최적화 */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-youtube-container {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    #hero-youtube-iframe {
        /* 태블릿에서 더 나은 화질을 위해 */
        width: 100vw;
        height: 56.25vw;
        min-height: 100vh;
        min-width: 177.77vh;
    }
    
    .youtube-play-button {
        display: none !important;
    }
}

/* 데스크탑에서 메인 네비게이션 보이고 햄버거 버튼 숨김 */
@media (min-width: 1025px) {
    .main-nav {
        display: block !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .mobile-menu {
        display: none !important;
    }
}