/* 섹션 헤더 */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.hero-content {
  padding-top: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero-content h1, .hero-content p {
  margin-bottom: 20px;
}

/* 히어로 섹션 */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden !important; /* 필수 */
}

.hero-slider, .hero-slide {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0; left: 0;  
  overflow: hidden !important; /* 필수 */
}

.hero-slide {
  opacity: 0;
  transition: opacity 1s ease;
  
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  top: -10px; left: -10px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 10s linear; /* 10초간 확대되는 효과 */
}

.hero-slide.active .slide-bg {
  transform: scale(1.1); /* 활성화 시 확대 효과 */
}

.dark-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 150px;
}
.hero-content h1 {
  font-size: 80px;
  font-weight: 700;
  margin-bottom: 400px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.hero-content p {
  position: relative;
  top: -380px;
  font-size: 24px;
  margin-bottom: 30px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* 페이지용 히어로 섹션 높이만 변경 */
.page-hero {
    height: 370px; /* 원하는 높이로 줄이세요 */
}

/* 히어로 슬라이드 배경 높이 자동 맞춤 */
.page-hero .slide-bg {
    height: 100%;
}

.page-hero .title {
    font-size: 62px;
    font-weight: 600;
    letter-spacing: -2px;
}

.page-hero .subtitle {
    font-size: 22px;
    letter-spacing: -2px;
    margin-top:-250px;
}


.page-hero.title small {
    display: block;
    font-size: 18px; /* 원하는 크기로 설정 */
    margin-top: 10px; /* 제목과 서브타이틀 간격 */
    font-weight: normal;
    letter-spacing: 5px;
}


/* 모달 스타일 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.7);
}
.modal-content {
  position: relative;
  background-color: white;
  margin: 5% auto;
  padding: 30px;
  width: 90%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover { color: #333; }
.modal h2 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 15px;
  color: #333;
}
.modal p {
  text-align: center;
  margin-bottom: 25px;
  color: #666;
  font-size: 16px;
}

/* 폼 스타일 */
.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}
.form-row input,
.form-row select {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}
.submit-btn {
  width: 100%;
  background-color: #000;
  color: #fff;
  border: none;
  padding: 15px 0;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
}
.submit-btn:hover { background-color: #333; }

/* 검색 폼 */
.search-form {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 2px;
}
.search-input {
  flex: 1;
  height: 50px;
  padding: 0 15px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-right: none;
  /* outline은 제거하지 않음 (접근성) */
}
.search-button {
  height: 50px;
  width: 50px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.search-button i {
  font-size: 22px;
}

/* 메인검색창 */
.search-container {
  position: absolute;
  bottom: 300px;
  left: 0;
  right: 0;
  z-index: 100;
  max-width: 1000px;
  margin: 0 auto;
}

/* 탭 */
.tab-container {
  display: flex;
  background: #fff;
  border-radius: 5px 5px 0 0;
  overflow: hidden;
}
.tab-item {
  flex: 1;
  text-align: center;
  padding: 15px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: #777;
  background: #f5f5f5;
  transition: background 0.3s;
}
.tab-item.active {
  background: #fff;
  color: #333;
  font-weight: 600;
}
.tab-content {
  background: #fff;
  padding: 15px;
  border-radius: 0 0 5px 5px;
}
.button-container {
  display: flex;
  gap: 20px;
}
.btn-black {
  flex: 1;
  display: inline-block;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  font-size: 14px;
  transition: background 0.3s;
}
.btn-black:hover {
  background: #333;
}
.btn-white {
  flex: 1;
  display: inline-block;
  background: #fff;
  color: #333;
  text-align: center;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: background 0.3s;
}
.btn-white:hover {
  background: #f9f9f9;
}


/* 에러 표시 */
input.error, select.error {
  border: 2px solid #e74c3c;
}


/* ABOUT US */

.about-section {
    padding: 0px 0;
    background-color: #fff;
    margin-top: 70px;
}

.about-wrapper {
    display: flex;

    align-items: center;
}

.about-content {
    flex: 1;
    padding-right:5px;
}

.section-subtitle {
    display: block;
    color: #F06330;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-primary);
}

.section-title {
    font-size: 34px;
    line-height: 1.2;
}

.section-description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
    font-family: var(--font-primary);
}

.about-features {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(196, 155, 99, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.feature-icon i {
    color: #c49b63;
    font-size: 20px;
}

.feature-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
    font-family: var(--font-primary);
}

.feature-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.about-image {

    position: relative;
}

.about-image img {
    width: 550px;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 0;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.btn-primary:hover {
    background-color: #333;
    transform: translateY(-3px);
}

/* home Worth */
.home-worth { background: #000; padding: 100px 0; color: #fff; margin-top:60px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.worth-title { font-size: 48px; font-weight: 700; line-height: 1.2; margin-bottom: 40px; text-align: center; }
.worth-form { max-width: 100%; margin: 0 auto; align-items: center; display: flex; flex-direction: column;}
.form-group { display: flex; gap: 10px; margin-bottom: 15px; }
.address-input, .unit-input { height: 50px; padding: 0 15px; border: none; }
.find-out-btn { height: 50px; padding: 0 30px; background: #000; color: #fff; border: 2px solid #fff; font-weight: 600; cursor: pointer; }
.privacy-text { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 10px; }
.join-text { text-align: center; font-size: 18px; margin-top: 40px; }

.side-panel {
    position: fixed;
    top: 0;
    right: -400px; /* 기본 상태는 숨겨짐 */
    width: 400px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: right 0.3s ease; /* right 속성만 transition */
    z-index: 10000;
}

.side-panel.active {
    right: 0;
    margin-top:20px;
}

.panel-content {
    padding: 30px;
    color: #000;
    position: relative;
    z-index: 2002; 
}

.close-panel {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    cursor: pointer;
}

.action-btn {
    width: 100%;
    padding: 20px;
    margin: 10px 0;
    text-align: left;
    cursor: pointer;
}

.action-btn.primary {
    background: #000;
    color: #fff;
    border: none;
}

.action-btn.secondary {
    background: #f8f9fa;
    border: 1px solid #ddd;
}

.form-field {
    margin-bottom: 20px;
    margin-top: 20px;
}

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

.form-field input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    background: #f9f9f9;
}

.form-field textarea#buyCriteria {
  width: 100%;                 /* 전체 너비를 차지하도록 */
  box-sizing: border-box;      /* 테두리, 패딩을 포함한 너비 설정 */
  resize: vertical;            /* 세로로만 크기 조정 허용 */
  padding: 10px;               /* 여백 설정 */
  font-size: 14px;             /* 글씨 크기 */
  line-height: 1.4;            /* 줄 간격 */
  border: 1px solid #ddd;
  background: #f9f9f9;  
}

.error-message {
    display: none;
    color: #ff0000;
    font-size: 12px;
    margin-top: 5px;
}

.form-field.error .error-message {
    display: block;
}

.claim-report-btn {
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

/* home worth end */



/* what we offer */
.service-section {
    padding: 100px 0;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.sub-title {
    color: #FF6634;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
}



.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.service-item {
    background: #fff;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-icon {
    margin-bottom: 0px;
}

.service-icon img {
    width: 40px;
    height: 40px;
}

.service-item h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-item p {
    color: #666;
    line-height: 1.6;
}
/* what we oofer end */



/* youtube video link */
.project-intro-section {
  background-color: #f8f8f8;
  background-image: url('https://limvesting.com/wp-content/themes/limvesting/img/0627372832.jpg'); /* 필요시 배경 이미지 추가 */
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.project-intro-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); /* 필요시 배경 오버레이 */
  z-index: 1;
}

.elementor-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: transparent;
  opacity: 0.5;
  z-index: 0;
}

.intro-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.intro-left {
  flex: 1;
  padding: 10px;
}

.intro-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

.intro-label {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.intro-title {
  color: #ffffff;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}

.intro-desc {
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-btn {
  display: inline-block;
  background-color: #000;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 30px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s;
}

.contact-btn:hover {
  background-color: #2980b9;
}

/* 비디오 플레이 버튼 */
.video-popup-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(44,62,80,0.15);
  font-size: 24px;
  color: #000;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.video-popup-btn::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.1);
    opacity: 0.2;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.7;
  }
}

.video-popup-btn:hover {
  background: #2c3e50;
  color: #fff;
  transform: scale(1.05);
}

.play-label {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  margin-top: 15px;
  text-align: center;
}

/* 모달 스타일 */
.video-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.video-popup.active {
  display: flex;
}

.video-popup-inner {
  position: relative;
  width: 90%;
  max-width: 800px;
}

.close-video-btn {
  position: absolute;
  top: -40px;
  right: -10px;
  color: white;
  font-size: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 비율 */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}







/* 반응형 스타일 */
@media (max-width: 900px) {
  .intro-container {
    flex-direction: column;
    text-align: center;
  }
  
  .intro-left {
    margin-bottom: 40px;
  }
  
  .intro-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .about-wrapper, .service-grid {
    flex-direction: column;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .project-intro-section {
    padding: 60px 0;
  }
  
  .intro-title {
    font-size: 26px;
  }
  
  .contact-btn {
    width: 100%;
    text-align: center;
  }
  
  .close-video-btn {
    top: -40px;
    right: 0;
  }
}

@media (max-width: 480px) {
  .intro-title {
    font-size: 22px;
  }
  
  .intro-desc {
    font-size: 14px;
  }
  
  .contact-btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}
/* youtube video link end */
