/* 브랜드 컬러 */
:root {
    --brand-blue: #275cac;
    --light-blue: #f8faff;
    --border-blue: #e8effa;
    --text-black: #1a1a1a;
    --text-gray: #666666;
}

/* 1. 구조 및 여백 */
.content-wrapper { padding-bottom: 100px; }
.section-padding { padding: 30px 20px; }
.bg-soft { background-color: #fafafa; }
.bg-light-blue { background-color: #f0f5ff; }

/* 2. 헤더 */
.page-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 20px; background: #fff; position: sticky; top: 0; z-index: 1000;
}
.header-spacer { width: 24px; }
.page-title { font-size: 1rem; font-weight: 800; color: var(--text-black); margin: 0; }
.back-btn { color: var(--brand-blue); font-size: 1.2rem; text-decoration: none; }

/* 3. 히로 섹션: dummy 이미지 경로 수정 */
.hero-section {
    height: 35vh;
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.5)), url('../images/yard/img_yard_hero.png') center/cover;
    display: flex; align-items: flex-end;
}
.hero-overlay { padding: 25px 20px; color: #fff; }
.hero-overlay h2 { font-size: 1.4rem; margin: 0; line-height: 1.4; font-weight: 800; }
.hero-overlay p { font-size: 0.85rem; margin-top: 8px; opacity: 0.9; }

/* 4. 포인트 그리드 */
.point-grid { display: flex; justify-content: space-around; text-align: center; }
.point-item { display: flex; flex-direction: column; gap: 8px; font-size: 0.8rem; font-weight: 700; color: var(--brand-blue); }
.point-item i { font-size: 1.6rem; }

/* 5. 혜택 카드 */
.benefit-card {
    background: linear-gradient(135deg, #275cac, #4a80d4);
    border-radius: 12px; padding: 20px; color: #fff;
    box-shadow: 0 4px 15px rgba(39, 92, 172, 0.2);
}
.benefit-text h4 { font-size: 1rem; margin-bottom: 5px; font-weight: 800; }
.benefit-text p { font-size: 0.75rem; opacity: 0.9; margin-bottom: 15px; }
.benefit-list-horizontal { list-style: none; padding: 0; display: flex; gap: 15px; }
.benefit-list-horizontal li { font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; gap: 5px; }

/* 6. 요금 및 옵션 카드 */
.section-title { font-size: 1.15rem; font-weight: 800; color: var(--brand-blue); margin-bottom: 15px; display: block; }
.info-card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 20px; margin-bottom: 12px; position: relative; }
.info-card.highlight { background-color: var(--light-blue); border-color: var(--border-blue); }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.item-name { font-weight: 700; font-size: 1rem; color: var(--text-black); }
.item-price { font-weight: 800; font-size: 1.1rem; color: var(--brand-blue); }
.item-desc { font-size: 0.8rem; color: var(--text-gray); margin: 0; }
.badge-best { position: absolute; top: -10px; left: 15px; background: #ff5e5e; color: #fff; font-size: 0.65rem; padding: 2px 8px; border-radius: 4px; font-weight: 700; }

/* 공간 안내 강조 카드 스타일 */
.notice-card {
    background-color: var(--light-blue); /* 요금 카드와 동일한 연한 파랑 */
    border: 1px solid var(--border-blue); /* 연한 푸른색 테두리 */
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    line-height: 1.6;
    position: relative;
}

.notice-card p {
    font-size: 0.85rem;
    color: #555; /* 너무 흐리지 않은 회색 */
    margin: 0;
}

.notice-card strong {
    color: var(--brand-blue); /* 강조 텍스트는 브랜드 컬러로 */
    font-weight: 700;
}

/* (선택 사항) 카드 왼쪽에 얇은 포인트 선을 주고 싶다면 추가 */
.notice-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    bottom: 15px;
    width: 3px;
    background-color: var(--brand-blue);
    border-radius: 0 4px 4px 0;
}

/* 7. 리스트 스타일 */
.icon-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 0.9rem; color: var(--text-black); }
.icon-list i { color: var(--brand-blue); width: 18px; text-align: center; }

/* 8. 신규: 갤러리 그리드 스타일 */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.gallery-item { border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 1/1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; /* 비율 유지하며 틀에 꽉 채움 (센터크롭 핵심) */
    object-position: center; /* 이미지의 정중앙을 기준으로 자름 */
    display: block; }
.gallery-label { position: absolute; bottom: 8px; left: 8px; background: rgba(0,0,0,0.5); color: #fff; padding: 2px 8px; border-radius: 4px; font-size: 0.7rem; }

/* 9. 신규: 아코디언 스타일 */
.accordion { border-top: 1px solid #eee; }
.accordion-item { border-bottom: 1px solid #eee; }
.accordion-header { width: 100%; padding: 20px; text-align: left; background: none; border: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.accordion-header span { font-weight: 700; font-size: 0.9rem; color: var(--text-black); }
.accordion-content { padding: 0 20px 20px; display: none; font-size: 0.8rem; color: var(--text-gray); line-height: 1.6; }
.accordion-item.active .accordion-content { display: block; }
.accordion-item.active i { transform: rotate(180deg); }

/* 10. 하단 고정 버튼 */
.floating-cta {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 480px; padding: 15px 20px;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(5px); z-index: 1000;
}
.cta-flex { display: flex; gap: 10px; align-items: center; }
.icon-btn { width: 50px; height: 50px; background: #f0f5ff; color: var(--brand-blue); display: flex; align-items: center; justify-content: center; border-radius: 12px; text-decoration: none; font-size: 1.2rem; flex-shrink: 0; }
.btn-primary { flex: 1; background: var(--brand-blue); color: #fff; text-align: center; padding: 16px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 1rem; }


/* 시설 상세 스와이프 스타일 */
.facility-section {
    padding: 20px 0; /* 좌우 패딩을 빼서 이미지가 꽉 차게 함 */
}

.swiper-container {
    width: 100%;
    overflow-x: auto; /* 가로 스크롤 활성화 */
    scroll-snap-type: x mandatory; /* 스냅 기능 (한 장씩 딱딱 걸리게 함) */
    -webkit-overflow-scrolling: touch; /* iOS 부드러운 스크롤 */
    display: flex;
    flex-direction: column;
}

.swiper-wrapper {
    display: flex;
    gap: 10px;
    padding: 0 20px; /* 양옆에 약간의 여백을 주어 다음 사진이 살짝 보이게 함 */
}

.swiper-slide {
    flex: 0 0 85%; /* 한 화면에 사진의 85%가 보이게 설정 (다음 사진 유도) */
    scroll-snap-align: center;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 10; /* 가로가 더 긴 황금 비율 */
    background-color: #eee;
}

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

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    padding: 20px 15px 10px;
    font-size: 0.85rem;
    font-weight: 600;
}

.swipe-hint {
    text-align: center;
    font-size: 0.75rem;
    color: #bbb;
    margin-top: 10px;
}

/* 스크롤바 숨기기 */
.swiper-container::-webkit-scrollbar {
    display: none;
}

/* 지도 섹션 스타일 */
.map-container {
    width: 100%;
    height: 300px; /* 모바일에서 보기 적당한 높이 */
    border-radius: 12px; /* 카드와 동일한 라운딩 */
    border: 1px solid var(--border-blue);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

#location .notice-card i {
    color: var(--brand-blue);
    margin-right: 4px;
}