@import url('https://fonts.googleapis.com/css2?family=Nanum+Pen+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nanum+Gothic&display=swap');

/* 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif;
}

:root {
    --primary-color: #333333;
    --secondary-color: #1a1a1a;
    --accent-color: #666666;
    --light-gray: #f5f5f5;
    --dark-gray: #333;
    --white: #fff;
}

body {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #f8f9fa;
    scroll-padding-top: 150px;
}

a {
    text-decoration: none;
    color: inherit;
}

h1 {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #333;
  position: relative;
  display: inline-block;
  padding: 0 1rem 0.7rem;
  margin-bottom: 2rem;
  text-align: center;
  background:#fff;
}

h1:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-top: 4px solid var(--primary-color);
  border-left: 4px solid var(--primary-color);
}

h1:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-bottom: 4px solid var(--secondary-color);
  border-right: 4px solid var(--secondary-color);
}

h2{
	font-family: "Nanum Gothic", sans-serif;
	letter-spacing: -2px;
}

ul, li {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 버튼 스타일 */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(51, 51, 51, 0.2);
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 8px rgba(51, 51, 51, 0.3);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 700;
}

/* 헤더 스타일 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    position: relative;
    transition: color 0.3s ease;
    text-align: center;
}

.logo:hover {
    color: var(--primary-color);
}

.logo span {
    color: #6aa9c4;
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo:hover span {
    transform: translateY(-2px);
}

.logo a{
	letter-spacing:-1px;
	font-weight:700;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* 네비게이션 메뉴 */
nav {
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 20px 30px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

.nav-menu li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-menu li:hover::after {
    width: 100%;
    left: 0;
}

/* 모바일 아코디언 메뉴 */
.accordion-menu {
    display: none;
    width: 100%;
    background-color: #f5f5f5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    transform-origin: top;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-top: 1px solid #e0e0e0;
}

.accordion-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.accordion-menu a {
    display: block;
    text-decoration: none;
    border-bottom: 1px solid #e0e0e0;
    background-color: #ffffff;
}

.accordion-header {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    transition: all 0.2s ease;
    position: relative;
}

.accordion-header:after {
    content: '';
    position: absolute;
    right: 15px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    transform: rotate(-45deg);
}

.accordion-menu a:last-child {
    background-color: #f9f9f9;
}

.accordion-menu a:last-child .accordion-header {
    color: var(--primary-color);
    font-weight: 600;
}

.menu-promo-section {
    background-color: var(--secondary-color);
    color: white;
    padding: 20px;
    text-align: center;
}

.menu-promo-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 500;
	color:var(--primary-color);
}

.menu-promo-section p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.menu-promo-section a{
	background:var(--secondary-color) !important;
	border:0;
}

.menu-action-buttons {
    display: flex;
    border-top: 1px solid #e0e0e0;
}

.menu-action-buttons a {
    flex: 1;
    text-align: center;
    padding: 15px 10px;
    font-weight: 600;
    font-size: 15px;
    border: none;
}

.menu-action-buttons a:first-child {
    background-color: var(--secondary-color);
    color: white;
}

.menu-action-buttons a:last-child {
    background-color: var(--primary-color);
    color: white;
}

.accordion-header:hover {
    background-color: #f0f0f0;
}

.accordion-header.active {
    background-color: #eaeaea;
    color: var(--primary-color);
}

.menu-animation {
    animation: fadeSlideDown 0.3s ease forwards;
}

/* 메인 비주얼 */
.main-visual {
    height: 100vh;
    background-image: url('img/main.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 0px;
    overflow: hidden;
}

.main-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.2));
}

.main-visual-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.main-visual-subtitle {
    font-size: 26px;
    margin-bottom: 20px;
    animation: fadeInUp 1.2s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.main-visual-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease 0.2s;
    animation-fill-mode: both;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
    letter-spacing: 1px;
}

.main-visual-desc {
    font-size: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 1.2s ease 0.4s;
    animation-fill-mode: both;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* 메인 비주얼 방문예약 버튼 */
.main-visual .reservation-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-width: 200px;
}

.main-visual .reservation-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    transition: all 0.4s ease-in-out;
    z-index: -1;
}

.main-visual .reservation-btn:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 25px rgba(46, 125, 50, 0.4);
}

.main-visual .reservation-btn:hover:before {
    left: 0;
}

.main-visual .reservation-btn:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 8px 15px rgba(46, 125, 50, 0.3);
}

.main-visual .reservation-btn svg {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.main-visual .reservation-btn:hover svg {
    transform: translateX(3px);
}

.main-visual .reservation-btn .highlight {
    color: #fff;
    font-weight: 800;
    position: relative;
}

/* 섹션 공통 스타일 */
section {
    padding: 80px 0;
    position: relative;
}

/* 일반 섹션 이미지 스타일 (location-map 제외) */
section img:not(.location-map img){
	max-width: 100%;
	border: 1px solid #ddd;
}

/* section::before 오버레이가 이미지에 영향주지 않도록 수정 */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.3));
    pointer-events: none;
    z-index: 0; /* 이미지보다 뒤에 배치 */
}

/* 섹션 내 모든 콘텐츠가 오버레이 위에 표시되도록 */
section > .container {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 38px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

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

.section-title p {
    font-size: 19px;
    color: #333;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
}

/* 사업개요 섹션 */
.overview {
    background-color: var(--light-gray);
}

.overview-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    overflow: hidden;
    border-radius: 5px;
    animation: fadeIn 1s ease;
    border: 1px solid #ddd;
}

.overview-table th, .overview-table td {
    padding: 10px 15px;
    border: 1px solid #ddd;
}

.overview-table th {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
}

.overview-table td {
    background-color: white;
}

.overview-image {
    margin-top: 20px;
    text-align: center;
}

.overview-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 입지환경 섹션 */
.location {
    background-color: white;
}

.sub-page .location{
	background-color:#f8f9fa;
}

.location-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.location-item {
    flex: 1;
    min-width: 250px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #e8e9ea;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 4px solid transparent;
}

/* 배경 장식 요소 */
.location-item::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #6aa9c4, #87ceeb);
    border-radius: 50%;
    opacity: 0.1;
    transition: all 0.4s ease;
}

.location-item::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #6aa9c4, #b0d4e3);
    border-radius: 50%;
    opacity: 0.15;
    transition: all 0.4s ease;
}

/* 호버 효과 */
.location-item:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: #6aa9c4;
    border-left-color: #6aa9c4;
    box-shadow: 0 15px 35px rgba(106, 169, 196, 0.25);
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.location-item:hover::before {
    transform: translate(-20px, 20px) scale(1.2);
    opacity: 0.2;
}

.location-item:hover::after {
    transform: translate(10px, -10px) scale(1.3);
    opacity: 0.25;
}

/* 각 아이템별 다른 accent 색상 */
.location-item:nth-child(2):hover {
    border-left-color: #87ceeb;
    box-shadow: 0 15px 35px rgba(135, 206, 235, 0.25);
}

.location-item:nth-child(3):hover {
    border-left-color: #b0d4e3;
    box-shadow: 0 15px 35px rgba(176, 212, 227, 0.25);
}

.location-item:nth-child(4):hover {
    border-left-color: #add8e6;
    box-shadow: 0 15px 35px rgba(173, 216, 230, 0.25);
}

.location-item-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.location-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--secondary-color);
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.location-item:hover h3 {
    color: #6aa9c4;
}

.location-item p {
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.location-item:hover p {
    color: #555;
}

/* 입지환경 지도 스타일 - 강력한 오버라이드 */
.location-map {
    text-align: center;
    margin-bottom: 50px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    z-index: 2; /* 섹션 오버레이보다 위에 */
}

.location-map img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border: 1px solid #eee !important;
    border-radius: 4px !important;
    display: block !important;
    margin: 0 auto !important;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    filter: none !important;
    opacity: 1 !important;
    box-shadow: none !important;
    position: relative !important;
    z-index: 3 !important;
    clear: both !important;
}

/* 혹시 있을 수 있는 추가 오버레이 제거 */
.location-map img::before,
.location-map img::after {
    display: none !important;
    content: none !important;
}

.location-map p {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* 프리미엄 섹션 스타일 - 향상된 버전 */
.premium {
    background-color: white;
    padding: 80px 0;
}

.premium-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.premium-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 35px;
    border-radius: 15px;
    border: 1px solid #e8e9ea;
    border-left: 5px solid transparent;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* 프리미엄 아이템 배경 장식 요소 */
.premium-item::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    opacity: 0.08;
    transition: all 0.4s ease;
}

.premium-item::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: -25px;
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #6aa9c4, #87ceeb);
    border-radius: 50%;
    opacity: 0.12;
    transition: all 0.4s ease;
}

/* 프리미엄 아이템 호버 효과 */
.premium-item:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 15px 35px rgba(0,0,0,0.18);
    border-left-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.premium-item:hover::before {
    transform: translate(-15px, 15px) scale(1.1);
    opacity: 0.15;
}

.premium-item:hover::after {
    transform: translate(10px, -10px) scale(1.2);
    opacity: 0.2;
}

/* 각 프리미엄 아이템별 다른 색상 */
.premium-item:nth-child(1) {
    border-left-color: transparent;
}

.premium-item:nth-child(1):hover {
    border-left-color: #6aa9c4;
    box-shadow: 0 15px 35px rgba(106, 169, 196, 0.2);
}

.premium-item:nth-child(2):hover {
    border-left-color: #87ceeb;
    box-shadow: 0 15px 35px rgba(135, 206, 235, 0.2);
}

.premium-item:nth-child(3):hover {
    border-left-color: #79c38d;
    box-shadow: 0 15px 35px rgba(121, 195, 141, 0.2);
}

.premium-item:nth-child(4):hover {
    border-left-color: #f19c9f;
    box-shadow: 0 15px 35px rgba(241, 156, 159, 0.2);
}

.premium-item:nth-child(5):hover {
    border-left-color: #b0d4e3;
    box-shadow: 0 15px 35px rgba(176, 212, 227, 0.2);
}

.premium-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.premium-item:hover h3 {
    color: var(--primary-color);
}

.premium-item p {
    color: #555;
    line-height: 1.7;
    font-size: 16px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
    margin: 0;
}

.premium-item:hover p {
    color: #444;
}

/* 단지안내 섹션 스타일 */
.complex {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.sub-page .complex{
	padding:0 0 80px 0;
}

.complex img{
	background: #fff;
}

.complex-subtitle {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 60px 0 30px;
    position: relative;
    padding-left: 15px;
    border-left: 4px solid var(--primary-color);
}

/* 단지 배치도 */
.complex-site-plan {
    margin-bottom: 30px;
}

.complex-site-plan img {
    width: 100%;
    border: 1px solid #eee;
}

.site-plan-legend {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.site-plan-legend ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.site-plan-legend li {
    display: flex;
    align-items: center;
    font-size: 15px;
}

.color-box {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 8px;
}

.color-a { background-color: #f19c9f; }
.color-b { background-color: #86b3e0; }
.color-c { background-color: #79c38d; }
.color-d { 
    background-color: white; 
    border: 2px solid #ed6c00;
}

.site-plan-info {
    background-color: #f9f9f9;
    padding: 20px 30px;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.8;
}

/* 단지 환경 슬라이더 */
.environment-slider {
    position: relative;
    margin: 0 auto 30px;
    overflow: hidden;
}

.env-slider-container {
    width: 100%;
    overflow: hidden;
}

.env-slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.env-slider-item {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
}

.env-slider-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.env-slider-caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    z-index: 5;
}

.env-slider-nav {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
	height:40px;
}

.env-slider-prev, .env-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    z-index: 10;
}

.env-slider-prev {
    left: 20px;
}

.env-slider-next {
    right: 20px;
}

.env-slider-prev:hover, .env-slider-next:hover {
    background: var(--primary-color);
    color: white;
}

.env-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
	line-height:150%;
}

.env-slider-dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.env-slider-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* 커뮤니티 */
.community-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.community-item {
    background: white;
    border: 1px solid #eee;
    transition: all 0.3s;
}

.community-item:hover {
    transform: translateY(-5px);
    border-color: #ddd;
}

.community-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.community-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 15px 20px 10px;
}

.community-item p {
    font-size: 14px;
    color: #666;
    margin: 0 20px 20px;
    line-height: 1.5;
}

/* 동호 배치 */
.building-layout {
    margin-bottom: 30px;
}

.building-layout img {
    width: 100%;
    border: 1px solid #eee;
}

.building-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.info-box {
    flex: 1;
    min-width: 250px;
    background-color: #f9f9f9;
    padding: 25px 30px;
	margin-bottom:10px;
}

.info-box h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.info-box ul {
    list-style: none;
}

.info-box li {
    padding: 8px 0;
    position: relative;
    padding-left: 15px;
    font-size: 15px;
}

.info-box li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/* 세대안내 섹션 */
.house-type {
    background-color: white;
    position: relative;
}

.house-type img{
	border: 0;
}

.house-type-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.house-type-tab {
    padding: 12px 25px;
    background-color: #eee;
    color: #555;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 2px solid transparent;
    user-select: none;
}

.house-type-tab:hover {
    background-color: #ddd;
    color: #333;
}

.house-type-tab.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 3px 8px rgba(51, 51, 51, 0.3);
    transform: translateY(-2px);
}

.house-type-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.house-type-content.active {
    display: flex;
    opacity: 1;
    flex-wrap: wrap;
    gap: 30px;
    animation: fadeIn 0.5s ease;
}

/* 세대안내 슬라이더 스타일 */
.house-type-slider {
    flex: 1;
    min-width: 300px;
    position: relative;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.house-slider-container {
    width: 100%;
    overflow: hidden;
}

.house-slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.house-slider-item {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 350px;
}

.house-slider-item img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

.house-slider-nav {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.house-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.house-slider-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.house-type-info {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.house-type-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.house-type-info h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.house-type-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 16px;
}

.house-type-specs {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.house-type-spec {
    flex: 1;
    min-width: 100px;
    text-align: center;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.house-type-spec:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.house-type-spec h4 {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
    font-weight: 500;
}

.house-type-spec p {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* 방문예약 섹션 */
.reservation {
    background-color: var(--light-gray);
}

.sub-page .reservation {
	padding-top: 0;
}

.reservation-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

.privacy-table {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    margin-bottom: 15px;
}

.privacy-table h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.privacy-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.privacy-table th, .privacy-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    font-size: 14px;
}

.privacy-table th {
    background-color: #f2f2f2;
}

.privacy-table p {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

.privacy-check {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.privacy-check input {
    margin-right: 10px;
}

/* 푸터 스타일 */
footer {
    background-color: var(--secondary-color);
    color: #bbb;
    padding: 50px 0 40px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo {
    max-height: 50px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.brand-name span {
    color: #6aa9c4;
}

.brand-slogan {
    font-size: 14px;
    color: #ccc;
    font-weight: 300;
}

.footer-contact {
    text-align: right;
}

.contact-label {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 5px;
}

.contact-phone {
    font-size: 28px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

.contact-phone a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-phone a:hover {
    color: #6aa9c4;
}

.contact-phone a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-phone a:hover {
    color: #6aa9c4;
}

.footer-disclaimer {
    font-size: 13px;
    line-height: 1.6;
    color: #999;
}

.footer-disclaimer p {
    margin-bottom: 10px;
}

.copyright {
    margin-top: 30px;
    text-align: center;
    font-size: 13px;
    color: #888;
}

/* 모바일 하단 고정 버튼 */
.mobile-fixed-bottom {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.mobile-fixed-btn {
    display: flex;
    height: 60px;
}

.mobile-fixed-btn a {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.mobile-fixed-btn a:first-child {
    background-color: var(--secondary-color);
    color: white;
}

.mobile-fixed-btn a:last-child {
    background-color: var(--primary-color);
    color: white;
}

.mobile-fixed-btn a:hover {
    opacity: 0.9;
}

.mobile-fixed-btn svg {
    margin-right: 8px;
}

/* 서브 페이지 공통 스타일 */
.sub-page {
    padding-top: 0px;
}

/* 서브 비주얼 영역 */
.sub-visual {
    position: relative;
    width: 100%;
    margin-top: 138px;
}

section.sub-visual {
	padding: 0;
}

.sub-visual-bg {
    position: relative;
    height: 240px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.sub-visual-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
}

.sub-visual-content {
    position: relative;
    z-index: 1;
    color: white;
    width: 100%;
    text-align: center;
    padding: 0 20px;
}

.sub-visual-content h1 {
	color: #fff;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 0px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: relative;
    display: inline-block;
    border: none;
    padding: 0;
    background: none;
}

.sub-visual-content h1:before,
.sub-visual-content h1:after {
    display: none;
}

.sub-visual-content h1::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
}

.sub-description {
    font-size: 18px;
    max-width: 800px;
    margin: 24px auto 0;
    font-weight: 300;
    opacity: 0.9;
}

.sub-visual-category {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 10px 0;
}

.category-text {
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 600;
}

/* 페이지 컨텐츠 영역 */
.content-wrapper {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.section-main-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    background: linear-gradient(to right, #fff, #f9f9f9);
    padding: 20px 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border-top: 3px solid var(--primary-color);
    border-left: none;
}

.section-main-title::before {
    display: none;
}

.section-main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.main-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
    line-height: 1.3;
}

.main-description {
    font-size: 16px;
    color: #666;
    margin: 0;
    font-weight: 400;
}

/* 콘텐츠 영역의 요소들 */
.overview-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
	padding:0;
}

.overview-info {
    flex: 1;
    min-width: 300px;
}

.sub-page .section-main-title{
	background:#fff;
}

/* 사업개요 테이블 개선 */
.overview-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-family: 'Noto Sans KR', sans-serif;
    border: none;
}

.overview-table th {
    background-color: #f2f2f2;
    color: #333;
    font-weight: 600;
    text-align: left;
    padding: 20px 24px;
    font-size: 15px;
    letter-spacing: -0.5px;
    border-top: 2px solid var(--primary-color);
    border-bottom: 1px solid #e0e0e0;
    width: 180px;
}

.overview-table td {
    padding: 20px 24px;
    background-color: white;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    border-bottom: 1px solid #e0e0e0;
}

.overview-table tr:last-child th,
.overview-table tr:last-child td {
    border-bottom: 2px solid #e0e0e0;
}

.overview-image-wrapper {
    flex: 1;
    min-width: 300px;
}

.overview-image {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.overview-image:hover {
    transform: translateY(-5px);
}

.overview-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.image-caption {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* 애니메이션 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

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

@keyframes slideDown {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }
    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

@keyframes fadeSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(46, 125, 50, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0);
    }
}

.main-visual .reservation-btn.pulse {
    animation: fadeSlideDown 1s ease-in-out;
}

.mobile-menu-transition {
    display: block !important;
    animation: slideDown 0.3s ease-in-out;
    transform-origin: top;
}

.sub-visual-content h1 {
    animation: fadeInDown 0.8s ease-out;
}

.sub-description {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.section-main-title {
    animation: fadeInLeft 0.8s ease-out;
}

.overview-table {
    animation: fadeIn 1s ease-out 0.3s both;
}

.overview-image {
    animation: fadeIn 1s ease-out 0.5s both;
}

/* 반응형 스타일 */
@media (max-width: 1024px) {
    .nav-menu li a {
        padding: 20px 20px;
    }

    .main-visual-title {
        font-size: 42px;
    }

    .complex-content {
        flex-direction: column;
    }

    .complex-image, .complex-info {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
	body{
		font-size:14px;
	}
	h1{
		font-size: 1.6rem;
	}
	.mobile-fixed-bottom {
		display:block;
	}
    
    /* 헤더 모바일 스타일 */
    .header-top {
        padding: 12px 0;
    }

    .logo {
        font-size: 20px;
    }

    nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* 메인 비주얼 모바일 스타일 */
    .main-visual {
        height: 80vh;
        margin-top: 56px;
    }

    .main-visual-subtitle {
        font-size: 18px;
    }

    .main-visual-title {
        font-size: 32px;
    }

    .main-visual-desc {
        font-size: 16px;
    }
	
	.main-visual .reservation-btn {
        padding: 14px 28px;
        font-size: 16px;
        min-width: 180px;
    }

    /* 섹션 모바일 스타일 */
    section {
        padding: 40px 0;
    }
	.sub-page section {
		padding:0 0 20px 0;
	}
	
	.sub-page section.section-main-title{
		padding:20px 0;
	}

    .section-title h2 {
        font-size: 28px;
    }

    .section-title p {
        font-size: 16px;
    }

    /* 카드 요소 모바일 스타일 */
    .location-item, .premium-item {
        min-width: 100%;
        padding: 25px 20px;
    }
    
    .location-item:hover {
        transform: translateY(-8px) scale(1.01);
    }

    /* 세대 안내 모바일 스타일 */
    .house-type-tabs {
        gap: 5px;
        margin-bottom: 30px;
    }
    
    .house-type-tab {
        flex: 1;
        min-width: calc(50% - 2.5px);
        text-align: center;
        padding: 10px 15px;
        font-size: 14px;
    }

    .house-type-content.active {
        flex-direction: column;
        gap: 20px;
    }

    .house-slider-item {
        padding: 15px;
        min-height: 280px;
    }
    
    .house-type-info {
        padding: 20px;
    }
    
    .house-type-info h3 {
        font-size: 24px;
    }
    
    .house-type-specs {
        gap: 10px;
    }
    
    .house-type-spec {
        min-width: calc(33.333% - 7px);
        padding: 12px 8px;
    }
    
    .house-type-spec p {
        font-size: 16px;
    }

    /* 방문예약 폼 모바일 스타일 */
    .reservation-form {
        padding: 20px;
    }

    .privacy-table th, .privacy-table td {
        padding: 8px;
        font-size: 12px;
    }

    /* 푸터 모바일 스타일 */
    .footer-brand {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 25px;
    }
    
    .footer-contact {
        text-align: left;
        width: 100%;
    }
    
    .contact-phone {
        font-size: 24px;
    }

    /* 서브 페이지 모바일 스타일 */
    .sub-visual {
        margin-top: 56px;
    }
    
    .sub-visual-bg {
        height: 180px;
    }
    
    .sub-visual-content h1 {
        font-size: 32px;
    }
    
    .sub-description {
        font-size: 16px;
        margin-top: 20px;
    }
    
    .section-main-title {
        padding-left: 15px;
        margin-bottom: 30px;
    }
    
    .main-title {
        font-size: 24px;
    }
    
    .main-description {
        font-size: 15px;
    }
    
    .overview-content {
        gap: 30px;
    }
    
    .overview-table th {
        width: 100px;
        padding: 16px 15px;
        font-size: 14px;
    }
    
    .overview-table td {
        padding: 16px 15px;
        font-size: 14px;
    }

    /* 입지환경 페이지 모바일 스타일 */
    .location-map {
        margin-bottom: 30px;
        padding: 15px;
    }
    
    .premium {
        padding: 40px 0;
    }
    
    .premium-content {
        gap: 25px;
    }
    
    .premium-item {
        padding: 25px 20px;
    }
    
    .premium-item:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .premium-item h3 {
        font-size: 18px;
    }
    
    .premium-item p {
        font-size: 14px;
    }

    /* 단지안내 모바일 스타일 */
    .complex-subtitle {
        font-size: 24px;
        margin: 40px 0 20px;
    }
    
    .community-features {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .community-item img {
        height: 150px;
    }
    
    .env-slider-caption {
        padding: 10px;
        font-size: 16px;
    }
    
    .info-box {
        flex: 100%;
    }
}

/* IE 호환성 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .house-type-content {
        display: block;
    }
    
    .house-type-content.active {
        display: block;
    }
}