/**
 * 프리미엄 디자인 시스템 CSS
 * 전문 부동산 홈페이지 수준의 고급 스타일
 */

/* ========================================
   공통 스타일
   ======================================== */

   :root {
    --primary-gold: #C9A55B;
    --primary-dark: #1A1A1A;
    --primary-light: #F8F8F8;
    --accent-blue: #2C5F8D;
    --text-dark: #222222;
    --text-gray: #666666;
    --text-light: #999999;
    --border-light: #E5E5E5;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Design 1: 좌우 분할 프리미엄 슬라이드 배너
   ======================================== */

.premium-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.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;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 8s ease-out;
}

.hero-slide.active .slide-background {
    transform: scale(1.1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.15) 100%);
}

/* 좌우 분할 컨테이너 */
.hero-split-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

/* 왼쪽 컨텐츠 영역 */
.hero-left-content {
    flex: 0 0 50%;
    padding: 80px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.hero-content-inner {
    max-width: 600px;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(201, 165, 91, 0.2);
    border: 1px solid rgba(201, 165, 91, 0.5);
    border-radius: 30px;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-title {
    margin: 0 0 40px 0;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.title-highlight {
    display: block;
    font-size: 20px;
    font-weight: 400;
    color: var(--primary-gold);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.title-main {
    display: block;
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -2px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
}

.title-accent {
    display: block;
    font-size: 22px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
    margin-top: 8px;
}

/* 현대적인 features 디자인 - 2행 레이아웃 (타입 / 규모·입주) */
.hero-features-modern {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 450px;
}

/* 1행: 타입 - 세로 배치 및 중앙 정렬 */
.feature-row-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    gap: 10px;
}

.feature-row-type:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.feature-row-type .feature-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
}

.feature-types {
    display: flex;
    gap: 0;
    align-items: center;
    justify-content: center;
}

.type-item {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.3px;
    padding: 0 12px;
}

.type-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.4);
}

/* 2행: 규모 / 입주 - 중앙 정렬 */
.feature-row-info {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    gap: 20px;
    transition: all 0.3s ease;
}

.feature-row-info:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.feature-info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.feature-info-item .feature-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
}

.feature-info-item .feature-value {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.3px;
    text-align: center;
}

.feature-divider {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

/* 오른쪽 이미지 영역 - 하단 오른쪽 끝을 기준점으로 고정, 왼쪽으로 확장 가능 */
.hero-right-image {
    flex: 0 0 50%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0;
    position: relative;
    overflow: visible;
    pointer-events: none;
}

.hero-right-image .feature-image {
    width: auto;
    height: 55%;
    max-height: 70vh;
    min-width: 80%;
    object-fit: contain;
    object-position: bottom right;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
    position: absolute;
    bottom: 0;
    right: 0;
    transform-origin: bottom right;
    z-index: 2;
    transition: transform 0.3s ease;
    pointer-events: auto;
}

.hero-right-image .image-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(201, 165, 91, 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* 슬라이더 컨트롤 (랜딩 페이지 스타일) */
.hero-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

/* 일시정지/재생 버튼 */
.hero-play-pause {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-play-pause:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

/* 프로그레스 원 */
.hero-play-pause::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top: 3px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    z-index: 1;
}

.hero-play-pause.playing::before {
    animation: progressRotate 8s linear infinite;
    border-top-color: rgba(255, 255, 255, 1);
    border-top-width: 4px;
}

.hero-play-pause.playing {
    border-color: rgba(255, 255, 255, 0.8);
}

@keyframes progressRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 재생/일시정지 아이콘 */
.hero-play-pause .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 8px solid white;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    transition: all 0.3s ease;
    z-index: 2;
    opacity: 0;
}

.hero-play-pause .pause-icon {
    position: absolute;
    top: 50%;
    left: 56%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    display: flex;
    gap: 2px;
    opacity: 1;
    transition: all 0.3s ease;
    z-index: 2;
}

.hero-play-pause .pause-icon::before,
.hero-play-pause .pause-icon::after {
    content: '';
    width: 3px;
    height: 12px;
    background: white;
    border-radius: 1px;
}

.hero-play-pause.paused .play-icon {
    opacity: 1;
}

.hero-play-pause.paused .pause-icon {
    opacity: 0;
}

.hero-play-pause.playing .play-icon {
    opacity: 0;
}

.hero-play-pause.playing .pause-icon {
    opacity: 1;
}

/* 슬라이드 카운터 */
.hero-counter {
    color: white;
    font-size: 14px;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

/* 구분선 */
.hero-separator {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
}

/* 네비게이션 화살표 */
.hero-nav-arrows {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-nav-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-nav-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

.hero-nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.hero-nav-arrow:disabled:hover {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
}

/* xeicon 아이콘 스타일 */
.hero-nav-arrow i {
    font-size: 16px;
    line-height: 1;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* xeicon이 없을 경우를 위한 폴백 화살표 */
.hero-nav-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-style: solid;
}

.hero-nav-arrow:first-of-type::after {
    border-right: 6px solid white;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    margin-left: -2px;
}

.hero-nav-arrow:last-of-type::after {
    border-left: 6px solid white;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    margin-left: 2px;
}

/* xeicon이 로드된 경우 폴백 화살표 숨김 */
.hero-nav-arrow i.xi-angle-left ~ ::after,
.hero-nav-arrow i.xi-angle-right ~ ::after {
    display: none;
}

/* 스크롤 인디케이터 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.scroll-icon {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
    animation: bounce 2s infinite;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-gold);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        top: 8px;
        opacity: 1;
    }
    50% {
        top: 24px;
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.scroll-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

/* ========================================
   반응형 디자인
   ======================================== */

/* 반응형 디자인 - 좌우 분할 레이아웃 */
@media (max-width: 1024px) {
    .hero-left-content,
    .hero-right-image {
        padding: 60px 40px;
    }
    
    .title-main {
        font-size: 48px;
    }
    
    .title-accent {
        font-size: 19px;
    }
}

@media (max-width: 768px) {
    .premium-hero {
        min-height: 100vh;
        height: auto;
    }
    
    .hero-split-container {
        flex-direction: column;
        justify-content: space-between;
        min-height: 100vh;
    }
    
    .hero-left-content {
        flex: 1 1 auto;
        padding: 100px 24px 30px 24px;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content-inner {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-badge {
        font-size: 10px;
        padding: 6px 14px;
        margin-bottom: 16px;
    }
    
    .hero-title {
        margin-bottom: 28px;
        gap: 6px;
        text-align: center;
    }
    
    .title-highlight {
        font-size: 14px;
        margin-bottom: 6px;
        letter-spacing: 2px;
        text-align: center;
    }
    
    .title-main {
        font-size: 32px;
        letter-spacing: -1.5px;
        text-align: center;
    }
    
    .title-accent {
        font-size: 15px;
        margin-top: 6px;
        text-align: center;
    }
    
    .hero-features-modern {
        gap: 8px;
        max-width: 100%;
        width: 100%;
    }
    
    .feature-row-type,
    .feature-row-info {
        padding: 14px 18px;
        text-align: center;
    }
    
    .feature-row-type {
        gap: 8px;
    }
    
    .feature-row-type .feature-label,
    .feature-info-item .feature-label {
        font-size: 12px;
    }
    
    .type-item,
    .feature-info-item .feature-value {
        font-size: 15px;
    }
    
    .type-item {
        padding: 0 10px;
    }
    
    .feature-divider {
        font-size: 15px;
    }
    
    .hero-right-image {
        flex: 0 0 auto;
        padding: 0;
        height: 35vh;
        min-height: 250px;
        max-height: 350px;
        width: 100%;
        overflow: hidden;
        margin-bottom: 0;
        position: relative;
    }
    
    .hero-right-image .feature-image {
        position: absolute;
        width: 100%;
        height: 100%;
        max-height: 100%;
        min-width: 100%;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0;
        display: block;
        object-fit: cover;
        object-position: center bottom;
        transform-origin: center bottom;
    }
    
    .hero-controls {
        bottom: 15px;
        padding: 8px 14px;
        gap: 12px;
        z-index: 10;
    }
    
    .hero-play-pause {
        width: 34px;
        height: 34px;
    }
    
    .hero-counter {
        font-size: 12px;
        min-width: 32px;
    }
    
    .hero-nav-arrow {
        width: 28px;
        height: 28px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .premium-hero {
        min-height: 100vh;
    }
    
    .hero-split-container {
        min-height: 100vh;
    }
    
    .hero-left-content {
        padding: 90px 20px 24px 20px;
    }
    
    .hero-right-image {
        height: 30vh;
        min-height: 220px;
        max-height: 300px;
        margin-bottom: 0;
    }
    
    .hero-right-image .feature-image {
        width: 100%;
        height: 90%;
        object-fit: cover;
        object-position: center bottom;
    }
    
    .hero-badge {
        font-size: 9px;
        padding: 5px 12px;
        margin-bottom: 14px;
        letter-spacing: 1.5px;
    }
    
    .hero-title {
        margin-bottom: 24px;
        gap: 5px;
    }
    
    .title-highlight {
        font-size: 13px;
        letter-spacing: 1.8px;
        margin-bottom: 5px;
    }
    
    .title-main {
        font-size: 26px;
        letter-spacing: -1px;
    }
    
    .title-accent {
        font-size: 14px;
        margin-top: 5px;
    }
    
    .hero-features-modern {
        gap: 7px;
    }
    
    .feature-row-type,
    .feature-row-info {
        padding: 12px 16px;
    }
    
    .feature-row-type {
        gap: 7px;
    }
    
    .feature-row-type .feature-label,
    .feature-info-item .feature-label {
        font-size: 11px;
    }
    
    .type-item,
    .feature-info-item .feature-value {
        font-size: 14px;
    }
    
    .type-item {
        padding: 0 9px;
    }
    
    .feature-info-item {
        gap: 5px;
    }
    
    .feature-divider {
        font-size: 14px;
    }
    
    .hero-controls {
        bottom: 12px;
        gap: 10px;
        padding: 7px 12px;
    }
    
    .hero-play-pause {
        width: 30px;
        height: 30px;
    }
    
    .hero-counter {
        font-size: 11px;
        min-width: 28px;
    }
    
    .hero-nav-arrow {
        width: 26px;
        height: 26px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

