/* Main Content */
.main-content {
    padding-top: 0;
    margin-top: 0;
    position: relative;
    background: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    z-index: 1;
    margin-top: 0;
    padding-top: 0;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    touch-action: pan-y pinch-zoom; /* 수직 스크롤만 허용, 수평은 JS가 처리 */
}

/* Hero Content Overlay */
.hero-content-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    z-index: 10;
    padding: 60px 0;
}

.hero-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.hero-text-content {
    margin-bottom: 40px;
    position: relative;
}


/* Hero Subtitle */
.hero-subtitle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 20px;
    gap: 15px;
}

.subtitle-text {
    font-size: 14px;
    font-weight: 500;
    color: white;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.subtitle-line {
    width: 40px;
    height: 1px;
    background: white;
}

/* Hero Property Name - 스타일은 common.css로 이동됨 */

/* Hero Title Property Name (기존 클래스 유지) */
.hero-title-property-name {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin: 0 0 20px 0;
    line-height: 1.2;
    letter-spacing: 2px;
    /* 세련된 다층 text-shadow */
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.14),
        0 16px 32px rgba(0, 0, 0, 0.16);
}

/* Hero Title */
.hero-title {
    font-size: 24px;
    font-weight: 500;
    color: white;
    margin: 0 0 15px 0;
    line-height: 1.4;
    /* 부드러운 그림자 */
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.08),
        0 4px 8px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.12);
}

/* Hero Description */
.hero-description {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.6;
    /* 최소한의 그림자 */
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Hero Slider Navigation */
.hero-slider-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    width: 400px;
}

.slider-buttons {
    display: flex;
    gap: 15px;
}

.slider-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.slider-btn:hover {
    opacity: 1;
}

/* Progress Bar */
.hero-progress-container {
    width: 100%;
    max-width: 600px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
    overflow: hidden;
}

.hero-progress-bar {
    height: 100%;
    background: white;
    width: 0;
    transition: width 0.1s linear;
    border-radius: 1px;
}

/* Essence Section */
.essence-section {
    padding: 100px 0;
    background: #e6f3ff;
    position: relative;
}

.essence-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.essence-property-name {
    text-align: left;
    width: 100%;
    margin-bottom: 40px;
}

.property-name-en {
    font-family: 'Roustel', serif;
    font-size: 48px;
    font-weight: normal;
    color: #658399;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.property-name-en::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(101, 131, 153, 0.8);
}

.essence-text {
    text-align: left;
    width: 100%;
    margin-bottom: 30px;
}

.essence-bottom {
    display: flex;
    align-items: flex-end;
    gap: 80px;
}

.essence-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 550px;
}

.essence-image {
    width: 500px;
    height: 550px;
    position: relative;
    flex-shrink: 0;
}

.essence-image::before {
    content: '';
    position: absolute;
    top: 15px;
    right: -15px;
    width: 500px;
    height: 550px;
    background: rgba(101, 131, 153, 0.8);
    border-radius: 275px 275px 0 0;
    z-index: 0;
}

.essence-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden !important;
}

.essence-slides {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden !important;
}

.essence-slide {
    width: 100%;
    height: 100%;
    position: relative !important;
    overflow: hidden !important;
    max-width: 100% !important;
    max-height: 100% !important;
}

.essence-slide img {
    width: 100%;
    height: 100%;
    border-radius: 275px 275px 0 0;
    object-fit: cover;
}

.essence-thumbnails {
    display: flex;
    flex-direction: row;
    gap: 25px;
    align-items: flex-start;
}

.essence-thumb {
    width: 200px;
    height: 250px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.essence-thumb::before {
    content: '';
    position: absolute;
    top: 10px;
    right: -10px;
    width: 200px;
    height: 250px;
    background: rgba(101, 131, 153, 0.3);
    border-radius: 100px 100px 0 0;
    z-index: 0;
    transition: all 0.3s ease;
}

.essence-thumb:hover::before {
    background: rgba(101, 131, 153, 0.5);
}

.essence-thumb.active::before {
    background: rgba(101, 131, 153, 0.8);
}

.essence-thumb-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden !important;
    border-radius: 100px 100px 0 0;
}

.essence-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100px 100px 0 0;
}

.essence-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 275px 275px 0 0;
}

/* Wipe animation classes */
.wipe-container {
    position: relative;
    overflow: hidden;
}

.wipe-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    z-index: 10;
    transition: width 0.8s ease-in-out;
}

.wipe-container.wiping::before {
    width: 0;
}

.essence-title {
    font-size: 28px;
    font-weight: 700;
    color: #658399;
    margin: 0 0 15px 0;
    line-height: 1.3;
    text-align: left;
}

.essence-description {
    font-size: 17px;
    color: #666;
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

/* Essence 텍스트 영역 우측 세로줄 */
.essence-text-content {
    position: relative;
}

.essence-text-content::after {
    content: '';
    position: absolute;
    right: -40px;
    top: -30px;
    width: 1px;
    height: calc(100% + 60px);
    background: rgba(101, 131, 153, 0.3);
}

/* 모바일에서 세로줄 숨김 */
@media (max-width: 768px) {
    .essence-text-content::after {
        display: none;
    }
}


/* Signature Section */
.signature-section {
    padding: 100px 0;
}

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

.signature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.signature-main-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
}

.signature-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.signature-text-content {
    margin-bottom: 40px;
}

.signature-title {
    font-size: 42px;
    font-weight: 700;
    color: #658399;
    margin: 0 0 30px 0;
    line-height: 1.3;
}

.signature-description {
    font-size: 18px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.signature-thumbnails {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.signature-thumb {
    height: 120px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.signature-thumb:hover {
}

.signature-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Rooms Section */
.rooms-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #e6f3ff 0%, #8aa3b6 100%);
    position: relative;
    overflow: hidden;  /* 섹션 밖으로 나가는 요소 숨김 */
}

.rooms-container {
    max-width: none;
    margin: 0;
    padding-left: calc((100vw - 1200px) / 2 + 20px);
    padding-right: 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.rooms-drag-indicator {
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
}

.rooms-drag-indicator::before {
    content: '‹ drag ›';
    position: relative;
    z-index: 2;
    background: rgba(101, 131, 153, 0.8);
    padding: 0 10px;
}

.rooms-drag-indicator::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%);
    z-index: 1;
}

.rooms-header {
    margin-bottom: 60px;
}

.rooms-title {
    font-family: 'Roustel', serif;
    font-size: 42px;
    font-weight: normal;
    color:#658399;
    margin: 0 0 30px 0;
    letter-spacing: 2px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.rooms-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #658399;
    margin-left: 20px;
}

.rooms-grid {
    display: flex;
    gap: 0;
    padding: 0 20px 0 0;
    overflow-x: auto;
    overflow-y: hidden;  /* 수직 스크롤 방지 */
    width: 100%;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.rooms-grid::-webkit-scrollbar {
    display: none;
}

/* 스냅 기능 제거 - 자유로운 드래그 */

@media (max-width: 1240px) {
    .rooms-container {
        padding-left: 20px;
    }

    .room-item:first-child {
        margin-left: 0;
    }

    .room-item:last-child {
        margin-right: 50px;
    }

    .rooms-drag-indicator::before {
        left: 0;
        right: 0;
    }
}

.rooms-grid::-webkit-scrollbar {
    display: none;
}

.rooms-grid:active {
    cursor: grabbing;
}

.room-item {
    background: transparent;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    flex: 0 0 auto;
    width: 35%;  /* 2.5개가 보이도록 조정 */
    min-width: 350px;
    max-width: 420px;
    position: relative;
    margin-right: 60px;
}


.room-item:first-child {
    margin-left: calc((100vw - 70%) / 2 - 60px);  /* 첫 번째 아이템 위치 조정 - 2.5개 보이도록 */
}

.room-item:last-child {
    margin-right: 100px;
}

@media (max-width: 1240px) {
    .room-item:last-child {
        margin-right: 20px;
    }
}

.room-item .room-number {
    position: absolute;
    top: 0;
    left: -60px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 16px;
    color: #658399;
    letter-spacing: 8px;
    font-weight: 300;
    z-index: 2;
    padding-bottom: 20px;
}

.room-item .room-number::before {
    content: '';
    position: absolute;
    top: calc(100% + 20px); /* 텍스트 바로 아래 20px 간격 */
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 0; /* 기본값: 줄 없음 */
    background: #658399;
    z-index: -1;
    transition: height 0.3s ease;
}

/* 텍스트가 짧을 때만 줄 표시 (7글자 이하) */
.room-item .room-number.short-text::before {
    height: calc(430px - 100%); /* 텍스트 아래부터 아래 영역까지 */
}


.room-image {
    width: 90%;
    max-width: 350px;
    aspect-ratio: 1;
    margin: 0 auto 40px auto;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

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

.room-item:hover .room-image img {
}

.room-content {
    padding: 0;
}

.room-name {
    
    font-size: 28px;
    font-weight: normal;
    color: #658399;
    margin: 0 0 30px 0;
    letter-spacing: 0;
    line-height: 1.3;
}

.room-description {
    font-size: 16px;
    color: #658399;
    line-height: 1.7;
    margin: 0 0 40px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    height: 54.4px; /* 2줄 고정 높이: font-size(16) * line-height(1.7) * 2줄 */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.room-details {
    display: none;
}

.room-view-btn {
    background: transparent;
    color: #658399;
    border: none;
    border-bottom: 1px solid transparent;
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    padding: 8px 0;
    font-family: inherit;
    position: relative;
}

.room-view-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: white;
    transition: width 0.4s ease;
}

.room-view-btn:hover::after {
    width: 100%;
}

.room-view-btn:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 768px) {
    .rooms-section {
        padding: 80px 0;
    }

    .rooms-container {
        padding: 0 15px;
    }

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

    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .room-image {
        width: 280px;
        height: 280px;
        margin-bottom: 30px;
    }

    .room-name {
        font-size: 32px;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0 0 0;
    background: #e6f3ff;
}

.gallery-container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.gallery-header {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
    text-align: left;
}

.gallery-section-name {
    margin-bottom: 30px;
}

.gallery-section-title {
    font-family: 'Roustel', serif;
    font-size: 42px;
    font-weight: normal;
    color: #658399;
    margin: 0;
    letter-spacing: 2px;
    position: relative;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.gallery-section-title::before {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(101, 131, 153, 0.8);
    margin-right: 20px;
}

.gallery-title {
    font-size: 28px;
    font-weight: 700;
    color: #658399;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.gallery-description {
    font-size: 17px;
    color: #666;
    margin: 0;
    line-height: 1.7;
}

.gallery-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    min-height: 70vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 20px;
    box-sizing: border-box;
}

.gallery-item {
    overflow: hidden;
    border-radius: 0;
    position: relative;
    transition: border-radius 0.3s ease;
}

/* 갤러리 아이템 호버 시 설명 표시 */
.gallery-item-description {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
}

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

/* 호버 시 이미지에 어두운 오버레이 추가 */
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.5) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

/* 가운데 아이템 (3번째) - 100px */
.gallery-item:nth-child(3):hover {
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
}

/* 가운데 양옆 (2, 4번째) - 70px */
.gallery-item:nth-child(2):hover,
.gallery-item:nth-child(4):hover {
    border-bottom-left-radius: 70px;
    border-bottom-right-radius: 70px;
}

/* 맨끝 (1, 5번째) - 50px */
.gallery-item:nth-child(1):hover,
.gallery-item:nth-child(5):hover {
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

/* 기본 상태 */
/* 첫번째 이미지 - 4:3 비율 */
.gallery-item:nth-child(1) {
    width: 15%;
    aspect-ratio: 4/3;
}

/* 두번째 이미지 - 양옆 */
.gallery-item:nth-child(2) {
    width: 20%;
}

/* 세번째 이미지 - 중앙 */
.gallery-item:nth-child(3) {
    width: 30%;
}

/* 네번째 이미지 - 양옆 */
.gallery-item:nth-child(4) {
    width: 20%;
}

/* 다섯번째 이미지 - 4:3 비율 */
.gallery-item:nth-child(5) {
    width: 15%;
    aspect-ratio: 4/3;
}


.gallery-item img,
.gallery-item-image img {
    width: 100%;
    object-fit: cover;
}

/* 양옆 이미지들 (2번째, 4번째) */
.gallery-item:nth-child(2) img,
.gallery-item:nth-child(4) img {
    height: 300px;
}

/* 중앙 이미지 (3번째) */
.gallery-item:nth-child(3) img {
    height: 450px;
}

/* 끝 이미지들 (1번째, 5번째) - 고정 높이 */
.gallery-item:nth-child(1) img,
.gallery-item:nth-child(5) img {
    height: 280px;
}

/* 모바일에서는 비율 유지 */
@media (max-width: 768px) {
    .gallery-item:nth-child(1) img,
    .gallery-item:nth-child(2) img,
    .gallery-item:nth-child(3) img,
    .gallery-item:nth-child(4) img,
    .gallery-item:nth-child(5) img {
        height: auto;
    }
}

.gallery-item-content {
    display: none;
}

/* Closing Section */
.closing-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.closing-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
    z-index: 2;
    pointer-events: none;
}

.closing-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.closing-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding-left: 100px;
    color: white;
    max-height: 75%;
}

.closing-vertical-text {
    display: flex;
    flex-direction: column-reverse;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    gap: 8px;
}

.closing-property-name {
    font-size: 30px;
    font-weight: bold;
    font-family: 'Roustel';
    letter-spacing: 5px;
    color: white;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    /* text-transform: uppercase; */
}

.closing-title {
    font-size: 24px;
    font-weight: 700;
    
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 5px;
    margin-bottom: 30px;
}

.closing-description {
    font-size: 17px;
    line-height: 1.6;
    
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    margin-left: 4px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.closing-border-top,
.closing-border-bottom {
    width: 60px;
    height: 2px;
    background: white;
    margin: 0 auto;
}


/* Closing Section Mobile */
@media (max-width: 768px) {
    .closing-content {
        padding-left: 40px;
        gap: 30px;
        max-height: none;
    }

    .closing-vertical-text {
        writing-mode: vertical-rl;
        text-orientation: mixed;
        flex-direction: column-reverse;
        gap: 8px;
        align-items: flex-start;
    }

    .closing-property-name {
        font-size: 16px;
        letter-spacing: 3px;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        margin-right: 20px;
    }

    .closing-title {
        font-size: 18px;
        letter-spacing: 2px;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        margin-right: 20px;
    }

    .closing-description {
        font-size: 14px;
        line-height: 1.6;
        writing-mode: vertical-rl;
        text-orientation: mixed;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .signature-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .signature-main-image {
        height: 400px;
    }

    .hero-content-container {
        padding: 0 40px;
    }

    /* hero-property-name 반응형은 common.css에서 처리 */

    .hero-title-property-name {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .hero-content-container {
        padding: 0 30px;
        text-align: center;
        align-items: center;
    }

    .hero-subtitle {
        justify-content: center;
    }

    /* hero-property-name 반응형은 common.css에서 처리 */

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

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

    .signature-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }

    .signature-thumb {
        height: 80px;
    }

    .gallery-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
        width: 100%;
        margin-left: 0;
        height: auto;
    }

    .gallery-item {
        width: 100%;
        height: auto;
        aspect-ratio: unset;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        width: 100%;
        aspect-ratio: unset;
        grid-column: unset;
    }

    .gallery-item img {
        height: auto;
        width: 100%;
    }

    .essence-section,
    .signature-section,
    .gallery-section {
        padding: 60px 0;
    }

    .essence-content {
        gap: 40px;
    }

    .essence-property-name {
        text-align: center;
        margin-bottom: 30px;
    }

    .property-name-en {
        font-size: 32px;
    }

    .essence-text {
        text-align: center;
        margin-bottom: 20px;
    }

    .essence-bottom {
        flex-direction: column;
        gap: 40px;
    }

    .essence-left {
        justify-content: center;
    }

    .essence-thumbnails {
        display: none;
    }

    .essence-image {
        width: 280px;
        height: 320px;
        margin: 0 auto;
        align-self: center;
    }

    .essence-image::before {
        width: 280px;
        height: 320px;
        border-radius: 140px 140px 0 0;
    }

    .essence-slide img {
        border-radius: 140px 140px 0 0;
    }

    .essence-thumbnails {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .essence-thumb {
        width: 120px;
        height: 150px;
    }

    .essence-thumb::before {
        width: 120px;
        height: 150px;
        border-radius: 60px 60px 0 0;
    }

    .essence-thumb-container {
        border-radius: 60px 60px 0 0;
    }

    .essence-thumb img {
        border-radius: 60px 60px 0 0;
    }

    /* 히어로 슬라이더 네비게이션 중앙정렬 */
    .hero-content-container .slider-nav {
        align-items: center;
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    /* hero-property-name 반응형은 common.css에서 처리 */

    .hero-title-property-name {
        font-size: 24px;
    }

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

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

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .hero-content-container .slider-nav {
        gap: 15px;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .hero-progress-container {
        max-width: 250px;
    }

    .signature-thumbnails {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .signature-thumb {
        height: 100px;
    }

    /* 객실 섹션 모바일 최적화 */
    .room-item {
        width: 260px;
        min-width: 260px;
        margin-right: 30px;
    }

    .room-item:first-child {
        margin-left: calc((100vw - 260px) / 2 - 15px);
    }

    .room-image {
        width: 220px;
        height: 220px;
        margin-bottom: 20px;
    }

    .room-name {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .room-description {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
        height: auto;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .room-view-btn {
        font-size: 14px;
        padding: 6px 0;
    }

    .room-item .room-number {
        font-size: 14px;
        left: -25px;  /* 공간 확보 */
        letter-spacing: 4px;
        max-height: 200px;  /* 최대 높이 제한 */
        overflow: visible;  /* 오버플로우 표시 */
        white-space: nowrap;  /* 한 줄 유지 */
    }

    .room-item .room-number::before {
        height: 0; /* 모바일에서도 기본값: 줄 없음 */
    }

    /* 모바일에서도 짧은 텍스트만 줄 표시 */
    .room-item .room-number.short-text::before {
        height: calc(350px - 100%);
    }

    /* 갤러리 섹션 모바일 최적화 */
    .gallery-grid {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
        width: 100%;
        margin-left: 0;
    }

    .gallery-item {
        width: 100%;
        height: auto;
        aspect-ratio: unset;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        width: 100%;
        aspect-ratio: unset;
    }

    .gallery-item img {
        height: auto;
        width: 100%;
    }
}