/* Premium & Community Section Images */
.premium-image,
.community-image {
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.premium-image img,
.community-image img {
    width: 100%;
    aspect-ratio: 21/9;
    object-fit: cover;
    object-position: center;
}/* Section Styles */

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

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

/* Ken Burns 효과 - 부드러운 줌 아웃 */
@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

.hero-slide {
    animation: kenBurns 20s ease-out infinite alternate;
}

/* Slide Indicators - 제거 */
.slide-indicators {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 1;
    padding: 0 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

/* Hero description - 제거 */
.hero-description {
    display: none;
}

/* Grand Open Badge - 버튼 스타일 */
.grand-open-badge {
    display: inline-block;
    margin-top: 20px;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

.grand-open-badge .badge-text {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    padding: 12px 35px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.grand-open-badge .badge-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.grand-open-badge .badge-text:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.grand-open-badge .badge-text:hover::before {
    left: 100%;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .hero-content {
        gap: 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .grand-open-badge {
        margin-top: 15px;
    }
    
    .grand-open-badge .badge-text {
        font-size: 12px;
        padding: 10px 25px;
    }
}

/* Hero Buttons - 제거 */
.hero-buttons {
    display: none;
}

/* 섹션별 배경색 정리 */
/* 
 * 1. Hero - 투명 (배경 이미지)
 * 2. Overview - 흰색
 * 3. Location - 회색
 * 4. FloorPlans - 흰색
 * 5. Premium - 회색
 * 6. Options - 흰색
 * 7. Community - 회색
 * 8. Contact - 흰색
 */

/* Section Base */
.section {
    padding: 80px 0;
}

/* 홀수 섹션 - 흰색 배경 */
.section:nth-of-type(odd) {
    background: white;
}

/* 짝수 섹션 - 밝은 회색 배경 */
.section:nth-of-type(even) {
    background: #f8f9fa;
}

/* Hero는 특별 처리 (배경 이미지가 있음) */
.hero-section {
    background: transparent !important;
}

/* Premium 섹션은 기존 배경 유지 */
.premium-section {
    background: white !important;
}

/* Options 섹션 배경 */
.options-section {
    background: #f8f9fa !important;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Overview Section - 배경색 명시 */
.overview-section {
    background: white;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.overview-info {
    display: grid;
    gap: 1.5rem;
}

.overview-item {
    display: flex;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.overview-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.overview-label {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 100px;
}

.overview-value {
    color: var(--text-dark);
}

/* Overview Slider Wrapper */
.overview-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

/* Overview Image Container */
.overview-image-container {
    position: relative;
    width: 100%;
    flex: 1;
}

.overview-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #f0f0f0;
}

.overview-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.overview-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

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

.overview-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Slider Buttons - 텍스트만, 호버시 표시 */
.overview-slider-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 60px;
    line-height: 1;
    color: #999;
    transition: all 0.3s ease;
    padding: 0 15px;
    opacity: 0;
    transform: scale(0.8);
    text-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overview-slider-btn span {
    display: block;
    font-weight: 200;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 슬라이더 래퍼에 호버 시 버튼 표시 */
.overview-slider-wrapper:hover .overview-slider-btn {
    opacity: 1;
    transform: scale(1);
}

.overview-slider-btn:hover {
    color: var(--primary-color);
    transform: scale(1.3);
}

.overview-slider-btn:active {
    transform: scale(1.1);
}

/* 기존 컨트롤 숨기기 */
.overview-slider-controls {
    display: none;
}

/* Slider Dots - 제거 */
.overview-slider-dots {
    display: none;
}

/* 반응형 */
@media (max-width: 768px) {
    .overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .overview-slider-wrapper {
        gap: 0;
        position: relative;
        max-width: 100%;
    }
    
    /* 모바일에서만 버튼 스타일 변경 */
    .overview-slider-btn {
        opacity: 0.9;
        transform: translateY(-50%) scale(1);
        font-size: 40px;
        padding: 0;
        position: absolute;
        top: 50%;
        background: none;
        border-radius: 0;
        width: auto;
        height: auto;
        color: white;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    
    .overview-slider-btn span {
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }
    
    .overview-slider-btn.prev {
        left: 15px;
    }
    
    .overview-slider-btn.next {
        right: 15px;
    }
    
    .overview-slider-wrapper:hover .overview-slider-btn {
        opacity: 1;
    }
    
    .overview-image-container {
        order: -1;
        width: 100%;
    }
    
    .overview-slider {
        aspect-ratio: 16/12;
        width: 100%;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .overview-section {
        padding: 50px 0;
    }
    
    .overview-content {
        gap: 1.5rem;
    }
    
    .overview-info {
        gap: 1rem;
    }
    
    .overview-slider-wrapper {
        margin-top: 0;
    }
    
    /* 소형 모바일 버튼 크기만 조정 */
    .overview-slider-btn {
        font-size: 30px;
    }
    
    .overview-slider-btn.prev {
        left: 10px;
    }
    
    .overview-slider-btn.next {
        right: 10px;
    }
    
    .overview-item {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .overview-label {
        min-width: 80px;
        font-size: 0.85rem;
    }
    
    .overview-value {
        font-size: 0.85rem;
    }
}

/* 이미지 표준화 - 모든 섹션 공통 */
.section-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

/* Location Section - 배경색 명시 */
.location-section {
    background: #f8f9fa;
}

/* Layout Section (배치도) - 입지환경과 평면도 사이 */
.layout-section {
    padding: 80px 0;
    background: white;
}

/* 특징 영역 */
.layout-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.layout-feature {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.layout-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.feature-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* 슬라이드 컨테이너 */
.layout-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.layout-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.layout-slider {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    background: #f0f0f0;
}

.layout-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.layout-slide {
    flex: 0 0 100%;
    position: relative;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 20px;
}

.layout-slide img {
    max-width: 90%;
    max-height: 500px;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.layout-slide img:hover {
    transform: scale(1.02);
}

/* 슬라이드 버튼 */
.layout-slider-btn {
    background: white;
    border: 2px solid #ddd;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.layout-slider-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.layout-slider-btn:active {
    transform: scale(0.95);
}

.layout-slider-btn span {
    display: block;
    line-height: 1;
}

.layout-slider-btn.prev span {
    transform: translateX(-1px);
}

.layout-slider-btn.next span {
    transform: translateX(1px);
}

/* 인디케이터 */
.layout-slide-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.layout-slide-indicators .slide-dot {
    width: 10px;
    height: 10px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.layout-slide-indicators .slide-dot:hover {
    background: #999;
}

.layout-slide-indicators .slide-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* 반응형 */
@media (max-width: 968px) {
    .layout-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .layout-slider-wrapper {
        gap: 10px;
    }
    
    .layout-slider-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .layout-slide {
        min-height: 350px;
        padding: 15px;
    }
    
    .layout-slide img {
        max-height: 320px;
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .layout-section {
        padding: 60px 0;
    }
    
    .layout-feature {
        padding: 20px;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
    
    .layout-slider-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .layout-slide {
        min-height: 280px;
        padding: 10px;
    }
    
    .layout-slide img {
        max-height: 260px;
        max-width: 98%;
    }
}

.location-content {
    display: grid;
    grid-template-columns: 30% 70%;  /* 이미지 영역을 70%로 확대 */
    gap: 2rem;  /* 간격 감소 */
    align-items: start;
    margin-top: 3rem;
}

.location-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;  /* 카드 간 간격 감소 */
}

.highlight-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;  /* 내부 간격 감소 */
    padding: 1.2rem;  /* 패딩 감소 */
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    font-size: 2.2rem;  /* 살짝 작게 */
    min-width: 50px;  /* 최소 너비 감소 */
    text-align: center;
}

.highlight-content {
    flex: 1;
}

.highlight-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.highlight-description {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Location Image - 입지도에 최적화 */
.location-image {
    position: relative;
    width: 100%;
}

.location-image-container {
    position: relative;
    width: 100%;
    min-height: 450px;
    height: 550px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;  /* 패딩 최소화 */
    -webkit-tap-highlight-color: transparent; /* 모바일 터치 하이라이트 제거 */
}

.location-image-container:hover {
    box-shadow: var(--shadow-xl);
}

.location-image img {
    max-width: 98%;  /* 거의 전체 공간 활용 */
    max-height: 98%;  /* 거의 전체 높이 활용 */
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    background: white;
    transition: transform 0.3s ease;
    /* 테두리와 그림자 제거로 공간 확보 */
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.location-image-container:hover img {
    transform: scale(1.03);  /* 호버 시 살짝만 확대 */
}

/* 지도 클릭 히트 */
.map-zoom-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(26, 84, 144, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.map-zoom-hint::before {
    content: '🔍';
    font-size: 1rem;
}

.location-image-container:hover .map-zoom-hint {
    transform: scale(1.05);
    background: rgba(26, 84, 144, 1);
}

/* 이미지 확대 보기 오버레이 */
.image-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    cursor: zoom-out;
    animation: fadeIn 0.3s ease;
}

.image-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.image-overlay-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: white;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-overlay-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Location Section 반응형 */
@media (max-width: 1200px) {
    .location-content {
        grid-template-columns: 35% 65%;  /* 중간 화면에서 비율 조정 */
    }
}

@media (max-width: 968px) {
    .location-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-image {
        order: -1;  /* 모바일에서 이미지를 위로 */
    }
    
    .location-image-container {
        min-height: 350px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .location-image-container {
        min-height: 300px;
        height: 350px;
    }
    
    .map-zoom-hint {
        bottom: 10px;
        right: 10px;
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .highlight-card {
        padding: 1rem;
    }
    
    .highlight-icon {
        font-size: 2rem;
        min-width: 50px;
    }
    
    .highlight-title {
        font-size: 1rem;
    }
    
    .highlight-description {
        font-size: 0.9rem;
    }
}

/* 애니메이션 */
@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Floor Plans Section - 배경색 명시 */
.floorplans-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* 필터 버튼 - 제거 */
.floorplan-filters {
    display: none;
}

/* 평면도 선택 리스트 */
.floorplan-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem auto 3rem;
}

/* PC용 셀렉터 */
.desktop-selector {
    display: flex;
}

/* 드롭다운 래퍼 */
.dropdown-wrapper {
    position: relative;
    width: 100%;
}

/* 드롭다운 컨테이너 */
.mobile-selector {
    display: none;
    width: 100%;
    max-width: 400px;
    margin: 2rem auto 3rem;
    position: relative;
}

/* 드롭다운 제목 */
.mobile-selector::before {
    content: '평면도 선택';
    position: absolute;
    top: -25px;
    left: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* 드롭다운 스타일 */
.floorplan-dropdown {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231a5490' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 12px;
    padding-right: 3rem;
}

.floorplan-dropdown:hover {
    border-color: var(--primary-color);
    background-color: #f8f9fa;
}

.floorplan-dropdown:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 84, 144, 0.1);
}

/* 드롭다운 아이콘 */
.dropdown-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.floorplan-dropdown:focus ~ .dropdown-icon {
    transform: translateY(-50%) rotate(180deg);
}

/* 드롭다운 옵션 스타일링 (지원하는 브라우저) */
.floorplan-dropdown option {
    padding: 0.5rem;
    font-weight: 500;
}

.selector-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.selector-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.selector-item.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.selector-type {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.selector-area {
    font-size: 0.9rem;
    opacity: 0.8;
}

.selector-units {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 0.2rem;
}

/* 평면도 상세 컨테이너 */
.floorplan-detail-container {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* 좌측 정보 섹션 */
.floorplan-info-section {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.floorplan-basic-info {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.info-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.current-type {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.current-area {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 600;
}

.info-summary {
    display: grid;
    gap: 0.8rem;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.summary-label {
    color: var(--text-light);
    font-weight: 500;
}

.summary-value {
    color: var(--text-dark);
    font-weight: 600;
}

/* 면적 상세 */
.floorplan-area-details {
    margin-bottom: 2rem;
}

.floorplan-area-details h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.area-details-list {
    display: grid;
    gap: 0.6rem;
}

.area-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 1rem;
    background: var(--bg-light);
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.detail-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.detail-value {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

/* 특징 */
.floorplan-features h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.floorplan-features ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}

.floorplan-features li {
    padding: 0.8rem;
    background: var(--bg-light);
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding-left: 2rem;
}

.floorplan-features li::before {
    content: '✓';
    position: absolute;
    left: 0.8rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* 우측 갤러리 섹션 */
.floorplan-gallery-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* 메인 이미지 */
.gallery-main {
    position: relative;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.gallery-main img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.gallery-main:hover img {
    transform: scale(1.02);
}

.image-zoom-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(26, 84, 144, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.image-zoom-hint::before {
    content: '🔍';
    font-size: 1rem;
}

.gallery-main:hover .image-zoom-hint {
    transform: scale(1.05);
    background: rgba(26, 84, 144, 1);
}

/* 썸네일 갤러리 */
.gallery-thumbs {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.thumb-item {
    flex: 0 0 auto;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumb-item:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.thumb-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(26, 84, 144, 0.3);
}

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

/* 데이터 없음 표시 */
.no-data {
    padding: 1rem;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

/* 반응형 */
@media (max-width: 1200px) {
    .floorplan-detail-container {
        grid-template-columns: 40% 60%;
    }
}

@media (max-width: 968px) {
    .floorplan-detail-container {
        grid-template-columns: 1fr;
    }
    
    .floorplan-info-section {
        position: static;
        margin-bottom: 2rem;
    }
    
    .gallery-main {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    /* PC용 셀렉터 숨기기 */
    .desktop-selector {
        display: none;
    }
    
    /* 모바일용 셀렉터 표시 */
    .mobile-selector {
        display: block;
    }
    
    .floorplan-filters {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .floorplan-selector {
        gap: 0.5rem;
    }
    
    .selector-item {
        min-width: 100px;
        padding: 0.8rem 1rem;
    }
    
    .selector-type {
        font-size: 1rem;
    }
    
    /* 모바일 드롭다운 반응형 */
    .mobile-selector {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .floorplan-dropdown {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }
    
    .current-type {
        font-size: 2rem;
    }
    
    .gallery-main {
        min-height: 350px;
        padding: 15px;
    }
    
    .gallery-thumbs {
        gap: 0.5rem;
    }
    
    .thumb-item {
        width: 80px;
        height: 80px;
    }
}

/* Premium Section - 배경색 명시 */
.premium-section {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.premium-section .section-title {
    color: var(--text-dark);
    font-size: 2.5rem;
}

.premium-section .section-description {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 10px;
}

/* 프리미엄 그리드 - 3개씩 표시 */
.premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

/* 반응형 그리드 */
@media (max-width: 1200px) {
    .premium-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .premium-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 프리미엄 카드 */
.premium-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.premium-card:nth-child(1) { animation-delay: 0.1s; }
.premium-card:nth-child(2) { animation-delay: 0.2s; }
.premium-card:nth-child(3) { animation-delay: 0.3s; }
.premium-card:nth-child(4) { animation-delay: 0.4s; }
.premium-card:nth-child(5) { animation-delay: 0.5s; }
.premium-card:nth-child(6) { animation-delay: 0.6s; }

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.premium-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

/* 프리미엄 아이콘 */
.premium-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* 프리미엄 제목 */
.premium-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

/* 프리미엄 설명 */
.premium-description {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 20px;
}

/* 프리미엄 상세 */
.premium-details {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    text-align: left;
}

.premium-details li {
    padding: 8px 0;
    color: #555;
    font-size: 0.95rem;
    position: relative;
    padding-left: 25px;
}

.premium-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* 프리미엄 추가 정보 */
.premium-additional {
    margin-top: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.additional-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

/* 프리미엄 이미지 레이아웃 */
.premium-layout-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
    align-items: center;
}

.premium-layout-image.reverse {
    direction: rtl;
}

.premium-layout-image.reverse > * {
    direction: ltr;
}

.premium-image-content {
    animation: slideInLeft 1s ease;
}

.premium-image-visual {
    animation: slideInRight 1s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.premium-image-content h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.premium-image-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

.premium-image-content ul {
    list-style: none;
    padding: 0;
}

.premium-image-content li {
    padding: 10px 0;
    font-size: 1rem;
    color: var(--text-dark);
    position: relative;
    padding-left: 30px;
}

.premium-image-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.premium-image-visual {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.premium-image-visual:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.premium-image-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 프리미엄 이미지 그리드 */
.premium-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.premium-image-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.premium-image-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.image-caption {
    padding: 15px;
    font-size: 0.95rem;
    color: #666;
    text-align: center;
    background: white;
}

/* 기존 호환성 유지 */
.premium-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.premium-feature {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--primary-color);
    transition: var(--transition);
}

.premium-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.premium-feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.premium-feature p {
    color: var(--text-light);
}

/* 반응형 */
@media (max-width: 768px) {
    .premium-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .premium-card {
        padding: 30px 20px;
    }
    
    .premium-icon {
        font-size: 2.5rem;
    }
    
    .premium-title {
        font-size: 1.2rem;
    }
    
    .premium-images {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Options Section - 배경색 명시 */
.options-section {
    padding: 80px 0;
    background: white;
}

.options-content {
    margin-top: 60px;
}

.options-category {
    margin-bottom: 60px;
}

.options-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.option-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.option-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.option-card:hover::before {
    transform: scaleY(1);
}

.option-card.special {
    background: var(--primary-color);
    color: white;
    border: none;
}

.option-card.special .option-title,
.option-card.special .option-description {
    color: white;
}

.option-card.special::before {
    background: white;
    opacity: 0.3;
}

.option-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.option-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    margin: 0;
}

.option-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* 반응형 */
@media (max-width: 1200px) {
    .options-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .options-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .option-card {
        min-height: 100px;
        text-align: center;
        padding: 25px 20px;
    }
    
    .option-card::before {
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 60px;
        height: 3px;
        top: auto;
        bottom: 0;
    }
    
    .option-card:hover::before {
        transform: translateX(-50%) scaleX(1);
    }
    
    .option-info {
        align-items: center;
        text-align: center;
    }
    
    .option-title {
        text-align: center;
        margin-bottom: 8px;
        font-size: 1.1rem;
    }
    
    .option-description {
        text-align: center;
        line-height: 1.5;
    }
    
    .options-category {
        text-align: center;
    }
    
    .category-title {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
    
    .category-title::after {
        width: 40px;
        height: 2px;
    }
    
    .option-card.special {
        background: var(--primary-color);
        position: relative;
        overflow: visible;
    }
    
    .option-card.special::after {
        content: '✨';
        position: absolute;
        top: -10px;
        right: 50%;
        transform: translateX(50%);
        font-size: 24px;
    }
    
    .options-content {
        padding: 0 1rem;
    }
}

/* Convenience Section - 시스템 */
.convenience-section {
    padding: 80px 0;
    background: white;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 1rem auto 0;
    line-height: 1.6;
    text-align: center;
}

.convenience-content {
    margin-top: 3rem;
    display: grid;
    gap: 2.5rem;
}

.convenience-category {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.convenience-category .category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.convenience-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.2rem;
}

.convenience-item {
    background: white;
    padding: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 3px solid var(--primary-color);
}

.convenience-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.item-info {
    width: 100%;
}

.item-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
    display: block;
}

.item-description {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* 반응형 */
@media (max-width: 968px) {
    .convenience-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .convenience-category {
        padding: 1.5rem;
    }
    
    .convenience-category .category-title {
        font-size: 1.2rem;
    }
    
    .convenience-items {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .convenience-item {
        padding: 1rem;
    }
    
    .item-name {
        font-size: 1rem;
    }
    
    .item-description {
        font-size: 0.85rem;
    }
}

/* Community Section - 배경색 명시 */
.community-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* 새로운 레이아웃: 왼쪽 이미지, 오른쪽 카드 */
.community-layout {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* 왼쪽 이미지가 없을 때 레이아웃 조정 */
.community-layout.no-left-images {
    grid-template-columns: 1fr;
}

.community-layout.no-left-images .community-right-cards {
    max-width: 1000px;
    margin: 0 auto;
}

.community-layout.no-left-images .facility-cards-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .community-layout.no-left-images .facility-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .community-layout.no-left-images .facility-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .community-layout.no-left-images .facility-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* 왼쪽: 메인/서브 이미지 영역 */
.community-left-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.community-main-display,
.community-sub-display {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 10px;
    -webkit-tap-highlight-color: transparent; /* 모바일 터치 하이라이트 제거 */
    user-select: none; /* 텍스트 선택 방지 */
}

.community-main-display {
    height: 400px;
}

.community-sub-display {
    height: 250px;
}

.community-main-display:hover,
.community-sub-display:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 메인 조감도는 cover로 채우기 */
.community-main-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* 평면도는 contain으로 전체 보이게 */
.community-sub-display img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
}

.image-overlay-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(26, 84, 144, 0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    pointer-events: none;
    z-index: 2;
}

/* 클릭 히트 추가 */
.community-main-display .image-zoom-hint,
.community-sub-display .image-zoom-hint {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(26, 84, 144, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
}

.community-main-display:hover .image-zoom-hint,
.community-sub-display:hover .image-zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

.community-main-display .image-zoom-hint::before,
.community-sub-display .image-zoom-hint::before {
    content: '🔍';
    font-size: 1rem;
}

/* 오른쪽: 시설 카드 그리드 */
.community-right-cards {
    display: flex;
    flex-direction: column;
}

.facility-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* 시설 카드 스타일 */
.facility-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 1;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.facility-card-image {
    position: relative;
    width: 100%;
    height: 100%;
}

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

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

/* 카드 오버레이 */
.facility-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.2) 50%,
        rgba(0,0,0,0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: all 0.3s ease;
}

.facility-card:hover .facility-card-overlay {
    background: linear-gradient(to bottom, 
        rgba(26, 84, 144, 0.3) 0%,
        rgba(26, 84, 144, 0.6) 50%,
        rgba(26, 84, 144, 0.9) 100%);
}

.facility-overlay-name {
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.facility-overlay-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.facility-card:hover .facility-overlay-desc {
    opacity: 1;
    transform: translateY(0);
}

/* 반응형 */
@media (max-width: 1200px) {
    .community-layout {
        grid-template-columns: 45% 55%;
        gap: 2rem;
    }
    
    .facility-cards-grid {
        gap: 15px;
    }
}

@media (max-width: 968px) {
    .community-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .community-left-images {
        position: static;
        flex-direction: row;
        gap: 1rem;
    }
    
    .community-main-display,
    .community-sub-display {
        flex: 1;
        height: 250px;
    }
    
    .facility-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .community-left-images {
        flex-direction: column;
    }
    
    .community-main-display {
        height: 300px;
    }
    
    .community-sub-display {
        height: 200px;
    }
    
    .facility-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .facility-overlay-name {
        font-size: 1.1rem;
    }
    
    .facility-overlay-desc {
        font-size: 0.85rem;
    }
}

/* 기존 스타일 (호환성) */
.community-facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.facility-tag {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition);
}

.facility-tag:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* Contact Section - 배경색 명시 */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-content {
    max-width: 500px;
    margin: 0 auto;
}

/* 문의 폼 카드 */
.contact-form-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

/* 폼 헤더 */
.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
}

.form-subtitle {
    display: none; /* 부제 숨김 */
}

/* 폼 그룹 */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 400;
    color: #666;
    font-size: 0.9rem;
}

.form-group label span {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 1rem;
    font-family: inherit;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #999;
}

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

.form-help-text {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

/* 라디오 버튼 그룹 스타일 */
.radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 400;
    color: #333;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.radio-group label:hover {
    border-color: #999;
    background: #f9f9f9;
}

.radio-group input[type="radio"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.radio-group input[type="radio"]:checked + label,
.radio-group label:has(input:checked) {
    background: #333;
    color: white;
    border-color: #333;
}

/* 개인정보 동의 */
.privacy-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1.5rem 0 2rem;
}

.privacy-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-top: 1px;
}

.privacy-consent-text {
    flex: 1;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.privacy-consent-text span:first-child {
    color: #e74c3c;
}

.privacy-desc {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #999;
    line-height: 1.5;
}

.privacy-link {
    color: #333;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease;
    margin-left: 0.5rem;
}

.privacy-link:hover {
    color: #000;
}

/* 제출 버튼 */
.submit-section {
    text-align: center;
    margin-top: 1.5rem;
}

.btn-submit {
    background: #333;
    color: white;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 200px;
}

.btn-submit:hover {
    background: #000;
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* 문의 정보 */
.contact-info-section {
    margin-top: 4rem;
    text-align: center;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-item {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-info-value {
    font-size: 1rem;
    color: var(--text-light);
}

.contact-info-value a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-value a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* 개인정보처리방침 모달 */
.privacy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    padding: 20px;
    overflow-y: auto;
}

.privacy-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-modal-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.privacy-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.privacy-modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

.privacy-modal-close {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-modal-close:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.privacy-modal-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.privacy-modal-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: var(--primary-color);
}

.privacy-modal-body p,
.privacy-modal-body li {
    margin-bottom: 1rem;
}

.privacy-modal-body ul {
    padding-left: 2rem;
    list-style-type: disc;
}

/* 반응형 */
@media (max-width: 768px) {
    .contact-form-card {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .privacy-modal-content {
        margin: 20px;
        padding: 2rem 1.5rem;
    }
    
    .privacy-modal-title {
        font-size: 1.5rem;
    }
    
    .btn-submit {
        width: 100%;
        padding: 1rem 2rem;
    }
}

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

.fade-in {
    animation: fadeInUp 0.8s ease;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-article {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-article:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.news-article .news-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.5;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #666;
    flex-wrap: wrap;
}

.news-source {
    font-weight: 600;
    color: var(--primary-color);
}

.article-link {
    color: #3498db;
    text-decoration: none;
    transition: all 0.2s ease;
}

.article-link:hover {
    text-decoration: underline;
    color: #2980b9;
}

.news-date {
    color: #999;
    font-size: 0.9rem;
}

.news-body {
    position: relative;
    color: #333;
    line-height: 1.8;
    font-size: 1rem;
}

.news-content-wrap {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* 더보기 버튼 */
.news-toggle-btn {
    display: none;
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.news-toggle-btn:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.news-toggle-btn .toggle-icon {
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* 펼쳐진 상태 */
.news-body.expanded .news-content-wrap {
    max-height: none !important;
}

.news-body.expanded .news-toggle-btn .toggle-text {
    display: none;
}

.news-body.expanded .news-toggle-btn::before {
    content: '접기';
}

.news-body.expanded .news-toggle-btn .toggle-icon {
    transform: rotate(180deg);
}

/* 모바일에서만 적용 */
@media (max-width: 768px) {
    .news-content-wrap {
        max-height: 120px;
        position: relative;
    }
    
    /* 그라데이션 효과 */
    .news-content-wrap::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 40px;
        background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
        pointer-events: none;
    }
    
    .news-body.expanded .news-content-wrap::after {
        display: none;
    }
    
    .news-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }
}

.news-body strong {
    font-weight: 600;
    color: #2c3e50;
}

.news-body .cta-link {
    color: #e74c3c;
    text-decoration: none;
    transition: all 0.2s ease;
}

.news-body .cta-link:hover {
    text-decoration: underline;
}

.news-more {
    text-align: center;
    margin-top: 40px;
}

.btn-more-news {
    padding: 15px 40px;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-more-news:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.no-news-items {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    color: #666;
}

/* 뉴스 섹션 모바일 추가 스타일 */
@media (max-width: 768px) {
    .news-article {
        padding: 20px;
    }
    
    .news-article .news-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .news-meta {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .news-body {
        font-size: 0.95rem;
    }
}

/* QnA Section */
.qna-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.qna-content {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 3rem;
}

.qna-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.qna-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.qna-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.qna-item.active {
    box-shadow: 0 4px 16px rgba(26, 84, 144, 0.15);
}

.qna-question {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.qna-item.active .qna-question {
    background: #f0f5fa;
}

.qna-number {
    flex: 0 0 auto;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.qna-title {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.5;
}

.qna-toggle {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.qna-toggle svg {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.qna-toggle .icon-plus {
    opacity: 1;
    transform: rotate(0deg);
}

.qna-toggle .icon-minus {
    position: absolute;
    opacity: 0;
    transform: rotate(90deg);
}

.qna-item.active .qna-toggle .icon-plus {
    opacity: 0;
    transform: rotate(-90deg);
}

.qna-item.active .qna-toggle .icon-minus {
    opacity: 1;
    transform: rotate(0deg);
}

.qna-answer {
    display: none;
    border-top: 1px solid #eee;
}

.qna-item.active .qna-answer {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.qna-answer-content {
    padding: 30px;
    display: flex;
    gap: 20px;
}

.qna-answer-label {
    flex: 0 0 auto;
    font-size: 1.1rem;
    font-weight: 700;
    color: #27ae60;
}

.qna-answer-text {
    flex: 1;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    white-space: pre-line;
}

.no-qna-items {
    padding: 60px;
    text-align: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.no-qna-items p {
    color: var(--text-light);
    font-size: 1rem;
}

/* QnA 반응형 */
@media (max-width: 768px) {
    .qna-content {
        margin-top: 2rem;
    }
    
    .qna-list {
        gap: 10px;
    }
    
    .qna-question {
        padding: 18px 20px;
        gap: 15px;
    }
    
    .qna-number {
        font-size: 0.95rem;
    }
    
    .qna-title {
        font-size: 0.95rem;
    }
    
    .qna-answer-content {
        padding: 20px;
        gap: 15px;
    }
    
    .qna-answer-label {
        font-size: 0.95rem;
    }
    
    .qna-answer-text {
        font-size: 0.9rem;
    }
}