/* 기본 초기화 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; background-color: #f5f5f5; }
a { text-decoration: none; color: inherit; }
li { list-style: none; }

/* SEO 전용 숨김 처리 */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* 래퍼 (최대 1400px 중앙 정렬) */
#sh_mo_wrapper {
    max-width: 1400px;
    margin: 0 auto;
    background-color: #ffffff;
    position: relative;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/* 상단 헤더 & 네비게이션 바 */
#sh_header {
    position: sticky; /* 스크롤 시 상단 고정 */
    top: 0;
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}



.logo img{
    display:block;
    width:180px; /* 원하는 크기 */
    height:auto;
}


/* 햄버거 버튼 디자인 */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001; /* 메뉴보다 위에 위치 */
}
.hamburger-btn span {
    width: 30px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s linear;
}

/* 숨겨진 서브페이지 메뉴 (모바일 팝업 형태) */
#mobile-menu {
    position: fixed;
    top: 0;
    right: -100%; /* 기본적으로 화면 오른쪽에 숨김 */
    width: 250px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    transition: 0.3s ease-in-out;
    z-index: 999;
    padding-top: 80px; /* 헤더 높이만큼 여백 */
}
#mobile-menu.active {
    right: 0; /* 클래스 추가 시 메뉴 나타남 */
}
#mobile-menu ul li a {
    display: block;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
}

/* 메인 이미지 영역 */
#sh_mo_container img {
    width: 100%;
    max-width: 100%; /* 이미지가 부모 요소를 넘어가지 않게 방어 */
    display: block;
}

/* 하단 버튼 (전화연결 등) */
.btns { padding: 20px; text-align: center; }
.btns .tel {
    display: inline-block;
    width: 100%;
    padding: 15px;
    background-color: #152f46;/* 분양 고급스러운 골드/브라운 톤 예시 */
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
}


/* 폼 스타일 */
.form-container {
    margin-top: 30px; /* 이미지와 폼 사이에 여백 추가 */
    text-align: left; /* 폼 내부 텍스트 왼쪽 정렬 */
    margin: 0 auto; /* 중앙 정렬 */
    padding: 20px;
    background-color: #ebebeb;
}

/* 각 입력 필드 스타일 */
.form-group {
    margin-bottom: 15px;
}

.form-group2 {
    display: flex;
    align-items: center; /* 세로축 정렬 */
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
}

.form-group2 labels2 {
    display: block;
    font-size: 16px;
font-weight: bold;
    color: #777777;
}

.form-group2 labels {
    display: block;
    font-size: 13px;
    color: #939393;
}

  .form-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }

  .form-row .form-group {
    flex: 1;
  }

  input, select {
width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
  }

.form-group input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* 체크박스 스타일 */
.form-group2 input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

/* 등록 버튼 스타일 */
.submit-btn {
    padding: 12px;
    background: #143048;
    color: white;
    border: none;
    cursor: pointer;
    width:100%;
    border-radius: 100px;
    height:55px;
    font-size:18px;
    font-weight:500;
    font-weight:700;
    letter-spacing:0;
    font-family:'Poppins'
}
.submit-btn:hover {
     background: #c3a695;
}

/* 수정된 헤더 스타일 */
#sh_header {
    position: sticky; /* 스크롤 시 상단 고정 */
    top: 0;
    width: 100%;
    /* height: 60px; -> 제거 (이미지 높이만큼 헤더가 늘어나야 하므로) */
    min-height: 60px; /* 기존 높이를 최소 높이로 보장 */
    background-color: #ffffff;
    border-bottom: 1px solid #ddd;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap; /* 내부 요소가 넘치면 아랫줄로 내리기 위해 추가 */
}


.fixed-image {
    position: fixed;
    bottom: -6px;
    left: 50%; /* 화면 가로 중앙 정렬 */
    transform: translateX(-50%); /* 정확한 중앙 정렬을 위해 이미지 왼쪽 위치를 이동 */
    z-index: 1000; /* 다른 요소보다 위에 표시되도록 설정 */
    width: 100%; /* 이미지의 가로 크기를 100%로 설정 */
    max-width: 600px; /* 이미지의 최대 너비를 제한 (필요시 조정) */
}

.fixed-image img {
    width: 100%;
    height: auto; /* 이미지 비율을 유지하며 크기 자동 조정 */
}

/* 배경 암전 효과 */
.modal {
    display: none; /* 기본적으로 숨김 */
    position: fixed;
    z-index: 9999; /* 최상단에 위치 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* 반투명 검은 배경 */
}

/* 모달 박스 */
.modal-content {
    background-color: #fff;
    margin: 15% auto; /* 화면 중앙쯤 배치 */
    padding: 25px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px; /* 최대 너비 제한 */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    box-sizing: border-box;
}

/* 닫기 버튼 (X) */
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
    text-decoration: none;
}

/* 모달 내부 텍스트 스타일 */
.modal-content h2 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.modal-body h3 {
    font-size: 14px;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #333;
}

.modal-body p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 10px 0;
}
