/* ==================== 1. 기본 스타일 리셋 & 공통 ==================== */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Noto Sans KR', sans-serif; word-break: keep-all; }
html { scroll-behavior: smooth; }
body { color: #333; line-height: 1.6; background-color: #fff; padding-bottom: 70px; }
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =================== 공통 섹션 구분선 스타일 ===================== */
.section-divider-line {
    width: 100%;
    max-width: 1200px; /* 컨텐츠 최대 폭에 맞춤 */
    height: 1px;
    margin: 30px auto; /* 위아래 여백을 넉넉히 주어 답답함 해소 */
    background: linear-gradient(to right, 
        rgba(0, 0, 0, 0), 
        rgba(226, 194, 136, 0.6), /* 브랜드 골드 포인트 컬러 (또는 #e5e7eb) */
        rgba(0, 0, 0, 0)
    );
    border: none;
}

/* 모바일에서는 여백 살짝 축소 */
@media (max-width: 768px) {
    .section-divider-line {
        margin: 10px auto;
    }
}

/* ==================== 1. 헤더 (상단 고정) ==================== */
header { position: fixed; top: 0; left: 0; width: 100%; height: 80px; background: rgba(255, 255, 255, 1); backdrop-filter: blur(8px); z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
header .container { display: flex; justify-content: space-between; align-items: center; height: 100%; position: relative; }
header .logo img { height: 40px; width: auto; }
header nav ul { display: flex; gap: 30px; }
header nav a { font-size: 1.05rem; font-weight: 500; color: #FFFFFF; transition: color 0.3s; padding: 5px 0; }
header nav a:hover { color: #e2c288; font-weight: 700; }

.hamburger-btn { display: none; background: transparent; border: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 1001; }
.hamburger-btn span { display: block; width: 24px; height: 2px; background-color: #e2c288; transition: all 0.3s ease; }

@media (max-width: 768px) {
    .hamburger-btn { display: flex; }
    header nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: #11141d; padding: 20px 0; box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4); }
    header nav.active { display: block; }
    header nav ul { flex-direction: column; align-items: center; gap: 16px; }
}

/* 하단 고정 바 (PC & 모바일 공통) */
.fixed-bottom-bar { position: fixed; bottom: 0; left: 0; width: 100%; height: 60px; background: #0f172a; z-index: 999; display: flex; border-top: 1px solid #334155; }
.fixed-bottom-bar .bar-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 1rem; font-weight: 700; border: none; cursor: pointer; text-decoration: none; }
.fixed-bottom-bar .bar-btn.call { background-color: #b46a55; color: #fff; }
.fixed-bottom-bar .bar-btn.booking { background-color: #e2c288; color: #111; }

/* ==================== 2. 메인배너 ==================== */
.hero-banner { margin-top: 80px; width: 100%; overflow: hidden; background: #111; }
.banner-pc { display: block; width: 100%; }
.banner-pc img { width: 100%; max-height: 656px; object-fit: cover; margin: 0 auto; transition: opacity 0.5s ease; }
.banner-mobile { display: none; position: relative; width: 100%; height: 480px; }

@media (max-width: 768px) {
    .banner-pc { display: none; }
    .banner-mobile { display: block; }
    .mobile-bg-wrap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
    .mobile-bg-wrap img { width: 100%; height: 100%; object-fit: cover; }
    .mobile-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.65); }
    .mobile-banner-text { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding: 0 30px; text-align: right; color: #fff; }
    .m-subtext { font-size: 1.1rem; line-height: 1.4; margin-bottom: 20px; font-weight: 300; }
    .m-brand { display: flex; flex-direction: column; align-items: flex-end; }
    .brand-hoban { font-size: 2.2rem; font-weight: 900; color: #b46a55; line-height: 1; }
    .brand-summit { font-size: 2.2rem; font-weight: 900; color: #fff; line-height: 1; letter-spacing: 1px; }
    .brand-sub { font-size: 0.9rem; color: #e2c288; margin-top: 4px; font-weight: 500; }
}

/* ==================== 3. 사업안내 ==================== */
.business-section { padding: 80px 20px; }
.section-title-wrap { text-align: center; margin-bottom: 40px; }
.section-title-wrap h2 { font-size: 1.8rem; font-weight: 800; color: #111; margin-bottom: 10px; }
.hoban-color { color: #b46a55; }
.section-title-wrap p { font-size: 1.05rem; color: #666; }

.biz-tab-nav { display: flex; border-bottom: 2px solid #e2e8f0; margin-bottom: 30px; }
.biz-tab-btn, .layout-tab-btn { flex: 1; padding: 15px 0; font-size: 1.1rem; font-weight: 700; background: #f8fafc; border: none; cursor: pointer; color: #64748b; transition: all 0.3s; }
.biz-tab-btn.active, .layout-tab-btn.active { background: #1e293b; color: #e2c288; }

.biz-tab-pane, .layout-tab-pane { display: none; }
.biz-tab-pane.active, .layout-tab-pane.active { display: block; animation: fadeIn 0.4s ease; }

.biz-img-box { margin-bottom: 30px; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.biz-info-card { background: #f8fafc; padding: 30px; border-radius: 12px; border: 1px solid #e2e8f0; }
.biz-info-card h3 { font-size: 1.3rem; margin-bottom: 15px; color: #1e293b; }
/*
.biz-info-card ul li { font-size: 1rem; margin-bottom: 10px; color: #334155; }
*/
.biz-info-card ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 한 줄에 2개씩 동일 분할 */
    gap: 16px 20px;                       /* [상하 간격, 좌우 간격] */
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 개별 항목 카드 스타일 */
.biz-info-card ul li {
    background-color: #f8fafc;              /* 밝은 배경으로 구획감 부여 (필요 시 수정) */
    border: 1px solid #e2e8f0;              /* 테두리 */
    border-radius: 8px;
    padding: 14px 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* 타이틀 + 밑줄 스타일 */
.biz-info-card ul li strong {
    display: block;                         /* 타이틀 아래로 줄바꿈 */
    padding-bottom: 6px;                    /* 밑줄과의 간격 */
    margin-bottom: 8px;                     /* 밑줄과 설명 텍스트 간격 */
    border-bottom: 2px solid #e2c288;       /* 포인트 밑줄 색상 */
    color: #11141d;                         /* 타이틀 글자색 */
    font-size: 15px;
    font-weight: 700;
}

/* 설명 텍스트 스타일 */
.biz-info-card ul li span,
.biz-info-card ul li {
    font-size: 14px;
    color: #334155;
    line-height: 1.5;
}

/* 모바일 반응형 처리 (768px 이하) */
@media (max-width: 768px) {
	.biz-info-card ul {
        grid-template-columns: 1fr;         /* 모바일에서는 1열로 자동 배치 */
        gap: 12px;
    }
    
    .biz-info-card ul li {
        margin-bottom: 16px; /* 항목 간의 간격 넓히기 */
        line-height: 1.5;
    }

    .biz-info-card ul li strong {
        display: block;                  /* 강제로 다음 줄로 줄바꿈 */
        width: 100%;                     /* 전체 너비 차지 */
        padding-bottom: 4px;             /* 밑줄과 글자 사이 여백 */
        margin-bottom: 6px;              /* 밑줄과 설명글 사이 여백 */
        border-bottom: 2px solid #e2c288;/* 타이틀 아래 밑줄 (포인트 컬러) */
        color: #11141d;                  /* 타이틀 글자색 (필요 시 조정) */
        font-size: 15px;                 /* 타이틀 크기 */
    }
}

/* ==================== 4. 프리미엄 섹션 ==================== */
.premium-section { padding: 60px 20px; }

/* 프리미엄 섹션 타이틀 스타일 */
.premium-title-wrap {
    text-align: center;
    margin-bottom: 28px;
}

.premium-title-wrap .sub-title {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #e2c288; /* 기존 포인트 컬러 (금색/베이지) */
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.premium-title-wrap h2 {
    font-size: 28px;
    font-weight: 800;
    color: #11141d; /* 다크 톤 글자색 (배경에 따라 #ffffff로 수정) */
    margin: 0;
    line-height: 1.3;
    word-break: keep-all;
}

.video-container { width: 100%; max-width: 1000px; margin: 0 auto 40px; position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.video-container video { width: 100%; display: block; }
.video-container video::-webkit-media-controls { opacity: 0; transition: opacity 0.3s; }
.video-container:hover video::-webkit-media-controls { opacity: 1; }

.diagonal-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; overflow-x: hidden; padding-bottom: 0px; scrollbar-width: none;}
/* PC 브라우저 스크롤바 강제 숨김 처리 */
/*.diagonal-tabs::-webkit-scrollbar { display: none; }*/
.diag-tab-btn { flex: 1; min-width: 140px; max-width: 200px; padding: 15px; background: #e2e8f0; border: none; cursor: pointer; transform: skewX(-15deg); border-radius: 4px; transition: all 0.3s; }
.diag-tab-btn span { display: block; transform: skewX(15deg); font-weight: 700; font-size: 1rem; color: #334155; text-align: center; }
.diag-tab-btn.active { background: #b46a55; }
.diag-tab-btn.active span { color: #fff; }




.prem-tab-pane { display: none; text-align: center; }
.prem-tab-pane.active { display: block; animation: fadeIn 0.4s ease; }
.prem-tab-pane img { margin: 0 auto 20px; border-radius: 8px; }

/* 모바일 반응형 (768px 이하) */
@media (max-width: 768px) {
    .premium-title-wrap {
        margin-bottom: 20px;
    }
    .premium-title-wrap .sub-title {
        font-size: 15px;
    }
    .premium-title-wrap h2 {
        font-size: 22px;
    }
    
    .diagonal-tabs { 
        justify-content: flex-start; /* 모바일은 왼쪽부터 나열 */
        overflow-x: auto;            /* 좌우 터치 스크롤 허용 */
        padding-bottom: 10px;        /* 여백 복구 */
    }

    .diagonal-tabs .diag-tab-btn {
        flex: 0 0 auto;              /* 모바일에서는 원래 버튼 크기 유지 */
        max-width: none;
    }
}

/* ==================== 5. 단지안내 ==================== */
.layout-section { padding: 60px 20px; }
.layout-tab-pane img { margin: 0 auto 20px; border-radius: 8px; }

/* ==================== 6. 모델하우스 유니트 ==================== */
.modelhouse-section { 
    padding: 80px 0; 
    background-color: #f8fafc; 
    color: #0f172a; 
}
.modelhouse-section .section-header { text-align: center; margin-bottom: 40px; }
.modelhouse-section .sub-title { color: #b46a55; font-size: 13px; font-weight: 700; letter-spacing: 2px; display: block; margin-bottom: 6px; }
.modelhouse-section h2 { font-size: 28px; font-weight: 800; color: #0f172a; margin-bottom: 8px; }
.modelhouse-section p { font-size: 15px; color: #64748b; }

.unit-group { margin-bottom: 40px; }
.unit-group h3 { font-size: 1.2rem; color: #1e293b; margin-bottom: 15px; border-left: 4px solid #b46a55; padding-left: 10px; font-weight: 700; }

.modelhouse-grid { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

.mh-card { 
    flex: 1; 
    min-width: 280px; 
    max-width: 560px; 
    background-color: #ffffff; 
    border-radius: 16px; 
    overflow: hidden; 
    border: 1px solid #f1f5f9; 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); 
    transition: all 0.3s ease; 
    cursor: pointer;
}
.mh-card .img-box { width: 100%; height: 240px; overflow: hidden; }
.mh-card .img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.mh-card:hover img { transform: scale(1.05); }

.mh-card .mh-info { padding: 16px; text-align: left; background-color: #ffffff; }
.mh-card .mh-info h4 { font-size: 15px; font-weight: 700; color: #0f172a; }

/* ==================== 7. 방문예약 (어두운 컨셉) ==================== */
.form-section { 
    padding: 80px 20px; 
    background-color: #0f172a; 
}
.form-wrapper { 
    max-width: 600px; 
    margin: 0 auto; 
    background: #1e293b; 
    padding: 40px; 
    border-radius: 16px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); 
    border: 1px solid rgba(255, 255, 255, 0.08); 
}
.form-title-center {
    text-align: center;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.form-sub-center {
    text-align: center;
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.form-group { margin-bottom: 20px; text-align: left; }
.form-label { display: block; font-size: 0.9rem; font-weight: 600; color: #cbd5e1; margin-bottom: 6px; }
.form-label .required { color: #f59e0b; }
.form-label .optional { color: #64748b; font-weight: 400; }

.form-control { 
    width: 100%; 
    height: 46px; 
    padding: 0 14px; 
    font-size: 0.92rem; 
    color: #f8fafc; 
    background-color: #0f172a; 
    border: 1px solid #334155; 
    border-radius: 8px; 
    outline: none; 
    transition: all 0.2s ease;
}
.form-control::placeholder { color: #64748b; }
.form-control:focus { 
    border-color: #e2c288; 
    box-shadow: 0 0 0 2px rgba(226, 194, 136, 0.2); 
}

.form-control::-webkit-calendar-picker-indicator {
    filter: invert(0.8);
    cursor: pointer;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23cbd5e1' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}
select.form-control option {
    background-color: #0f172a;
    color: #f8fafc;
}

textarea.form-control { height: 80px; padding: 10px 14px; resize: none; }
.date-time-group { display: flex; gap: 10px; }

.radio-group { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.radio-option input[type="radio"] { display: none; }
.radio-option label { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    height: 42px; 
    background-color: #0f172a; 
    border: 1px solid #334155; 
    border-radius: 8px; 
    font-size: 0.85rem; 
    color: #94a3b8;
    cursor: pointer; 
    transition: all 0.2s ease;
}
.radio-option label:hover {
    border-color: #475569;
    color: #f1f5f9;
}
.radio-option input[type="radio"]:checked + label { 
    background-color: #e2c288; 
    border-color: #e2c288; 
    color: #11141d; 
    font-weight: 700; 
}

.btn-submit { 
    background: linear-gradient(135deg, #e2c288 0%, #b46a55 100%); 
    color: #ffffff; 
    border: none; 
    border-radius: 8px; 
    font-weight: 700; 
    cursor: pointer; 
    transition: opacity 0.2s;
}
.btn-submit:hover { opacity: 0.9; }

.btn-cancel { 
    background-color: #334155; 
    color: #cbd5e1; 
    border: none; 
    border-radius: 8px; 
    font-weight: 600; 
    cursor: pointer; 
}
.btn-cancel:hover { background-color: #475569; color: #fff; }

.download-notice {
    text-align: center;
    font-size: 0.82rem;
    color: #e2c288;
    margin-top: 4px;
    font-weight: 500;
}



/* ==================== 8. 푸터 ==================== */
footer { background: #111; color: #888; padding: 50px 0 90px; font-size: 0.88rem; text-align: center; }
.footer-booking-wrap { display: flex; justify-content: center; gap: 12px; margin-bottom: 25px; }
.footer-booking-btn, .footer-call-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 50px; font-weight: 700; text-decoration: none; cursor: pointer; }
.footer-booking-btn { background: #fff; color: #111; border: none; }
.footer-call-btn { background: #b46a55; color: #fff; border: none; }
.footer-top { border-bottom: 1px solid #222; padding-bottom: 20px; margin-bottom: 20px; }
.footer-logo img { height: 35px; margin: 0 auto; filter: brightness(0) invert(1); }

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

/* 커스텀 결과 알림 모달 */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000; /* Z-Index를 충분히 높여줍니다 */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    cursor: pointer;
}

.custom-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.custom-modal-card {
    background: #ffffff;
    width: 90%;
    max-width: 440px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.custom-modal-header {
    padding: 16px 20px;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.btn-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
}

.custom-modal-body {
    padding: 20px;
    max-height: 75vh;
    overflow-y: auto;
}

.custom-modal-footer {
    padding: 12px 20px;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    text-align: right;
}

.btn-modal-confirm {
    padding: 8px 20px;
    background-color: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* 이미지 확대 모달 */
.img-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    
    cursor: pointer; /* 클릭 가능 상태 표시 */
}

.img-modal-overlay.active { opacity: 1; visibility: visible; }

.img-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    text-align: center;
}

.img-modal-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    object-fit: contain;
}

.img-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #ffffff;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
}

.img-modal-caption {
    margin-top: 12px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

