/* screen - indexu95bannertype01 */

.indexu95bannertype01 {
  align-items: flex-start;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

.stories-section .stories-container {
  display: grid
;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.stories-section .stories-left {
  grid-column: 1;
  display: flex
;
  flex-direction: column;
  gap: 32px;
  height: 100%;
  justify-content: flex-start;
  align-items: flex-start;
}

.stories-section .stories-right {
  grid-column: 2 / 5;
  display: contents;
}

/* ===== Hero Section - Rebuilt Styles ===== */
.hero-section {
  position: relative;
  width: 100%;
  height: 822px;
  overflow: hidden;
}

/* Background Layer */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/-type01.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.3s ease;
}

/* Video Overlay with Figma Design Blend */
/* .hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(2, 17, 42, 0.56) 0%, rgba(2, 17, 42, 0.56) 100%);
  background-blend-mode: soft-light;
  z-index: 2;
  pointer-events: none;
} */

/* Content Container */
.hero-container {
  position: relative;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--container-padding-desktop);
  display: flex;
  align-items: center;
  z-index: 3;
}

/* Main Content */
.hero-content {
  width: 100%;
}

.hero-title {
  color: #FFF;
  /* Hero */
  font-family: Poppins;
  font-size: 55px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 66px */
  letter-spacing: -1.65px;
}

/* Scroll Indicator */
.hero-indicator {
  position: absolute;
  bottom: 40px;
  right: var(--container-padding-desktop);
  z-index: 3;
  animation: bounce-vertical 2s ease-in-out infinite;
}

.hero-indicator img {
  width: auto;
  height: auto;
  max-width: 100px;
  object-fit: contain;
}

@keyframes bounce-vertical {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Quick Widget는 index.php의 <style>에서 관리됨 */

.indexu95bannertype01 .overlap-group2 {
  align-items: flex-end;
  background-image: url('../images/rectangle-4638.svg');
  background-size: 100% 100%;
  display: flex;
  flex-direction: column;
  gap: 100px;
  margin-left: -20px;
  margin-top: -10px;
  min-height: 260px;
  padding: 22px 12px;
  width: 185px;
}

.indexu95bannertype01 .frame-1171275106 {
  align-items: center;
  background-color: #000000bf;
  border-radius: 100px;
  display: inline-flex;
  gap: 4px;
  justify-content: center;
  padding: 4px 8px;
  position: relative;
}

.indexu95bannertype01 .quickicon-property-24 {
  height: 14px;
  position: relative;
  width: 14px;
}

.indexu95bannertype01 .hide {
  color: var(--white);
  font-family: var(--font-family-poppins);
  font-size: var(--font-size-s);
  font-weight: 400;
  letter-spacing: -0.36px;
  line-height: 16px;
  margin-top: -1.00px;
  position: relative;
  white-space: nowrap;
  width: fit-content;
}

.indexu95bannertype01 .overlap-group {
  align-self: center;
  height: 64px;
  margin-left: 9.0px;
  position: relative;
  width: 114px;
}

.indexu95bannertype01 .icon {
  align-items: center;
  background-color: var(--black);
  border-radius: 7px;
  display: flex;
  height: 14px;
  left: 99px;
  min-width: 14px;
  padding: 0 2.7px;
  position: absolute;
  top: 50px;
}

.indexu95bannertype01 .vector-1 {
  height: 7px;
  width: 8px;
}

.indexu95bannertype01 .accurate-loop-predic {
  color: var(--black);
  font-weight: 400;
  left: 0;
  line-height: 16px;
  position: absolute;
  top: 0;
}

/* About Section */
.about-section {
  padding: 230px 0;
  background-image: url('../images/index/bg-2.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-content {
  display: flex;
  align-items: flex-start;
  gap: 120px;
}

.about-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

.about-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

.about-description {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-visual {
  flex: 0 0 300px;
  position: relative;
  height: 300px;
}

.decorative-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.indexu95bannertype01 .about-us {
  color: var(--black);
  font-weight: 600;
  line-height: 32px;
  margin: 0;
}

.indexu95bannertype01 .from-discovery-to-design {
  color: var(--black);
  font-weight: 500;
  line-height: 40px;
  margin: 0;
}

.indexu95bannertype01 .ellipse-3-1 {
  background: linear-gradient(135deg, #84b51b, #2f408d, #ef5244);
  border-radius: 50%;
  height: 200px;
  width: 200px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.1;
}

/* Platform Section */
.platform-section {
  position: relative;
  padding: 120px 0;
  background-image: url('../images/index/bg-3.png');
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.platform-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
}

.platform-text {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 720px;
}

.platform-title {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.platform-description {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-weight: 300;
}

.indexu95bannertype01 .our-platform {
  color: var(--white);
  font-weight: 600;
  line-height: 32px;
  margin: 0;
}

.indexu95bannertype01 .galux-design-integra {
  color: var(--white);
  font-weight: 500;
  line-height: 40px;
  margin: 0;
}

/* Stories Section */
.stories-section {
  width: 100%;
  padding: 120px 0;
  background-color: var(--white);
}

.stories-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(345px, 1fr));
  gap: 24px;
}

.news-item {
  background-color: var(--gray-50);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  height: 475px;
  overflow: hidden;
  padding: 16px;
  width: 100%;
}

/* Partner Section */
.partner-section {
  padding: 44px 0;
  background-color: var(--chambray);
  color: var(--white);
}

.partner-content {
  display: flex;
  align-items: start;
  gap: 100px;
}

.partner-text {
  margin-top: 76px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

.indexu95bannertype01 .image {
  flex: 0 0 720px;
  height: 589px;
  border-radius: 12px;
  object-fit: cover;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
  .indexu95bannertype01 .image {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 250px;
  }
  .about-section {
    padding: 120px 0;
    background-image: url(../images/index/bg-2-mo.png);
  }
  /* About Section 모바일 최적화 */
  .about-content {
    flex-direction: column;
    gap: 120px;
  }
  
  /* Partner Section 모바일 최적화 */
  .partner-content {
    flex-direction: column;
    gap: 40px;
  }
}

/* Bottom Banner Section */
.bottom-banner {
  background-image: url('../images/common/bottom-banner.png');
}
.bottom-banner-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
}

.indexu95bannertype01 .frame-1171275085 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.indexu95bannertype01 .frame-2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.indexu95bannertype01 .bottom-banner-title {
  color: var(--white);
  font-weight: 400;
  line-height: 48px;
  margin: 0;
  text-align: center;
}

.indexu95bannertype01 .bottom-banner-desc {
  color: var(--white);
  font-weight: 400;
  line-height: 28px;
  margin: 0;
  text-align: center;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1200px) {
  /* 하이브리드 방식으로 패딩은 section__container에서 관리 */

  .about-container {
    gap: 80px;
  }

  .partner-content {
    gap: 50px;
  }

  .stories-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

/* 중간 화면 크기에서 안전한 그리드 설정 */
@media (max-width: 1000px) {
  .stories-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 900px) {
  .stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============== Responsive Design =============== */

/* 태블릿 크기에서 비디오 조정 */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-video {
    /* 태블릿에서는 살짝 확대 */
    transform: scale(1.05);
    object-position: center center;
  }
}

/* ===== Responsive Styles for Hero Section ===== */
@media (max-width: 768px) {
  .hero-section {
    height: 300px;
  }

  .hero-container {
    padding: 0 var(--container-padding-mobile);
  }

  .hero-title {
    font-size: 32px;
    line-height: 44px;
  }

  .hero-indicator {
    right: var(--container-padding-mobile);
    bottom: 20px;
  }

  .hero-indicator img {
    max-width: 80px;
  }

  /* 모바일 비디오 최적화 */
  .hero-video {
    /* ===== 비디오 위치 조절 옵션들 ===== */
    
    /* 현재 설정: 상단 중앙에 포커스 */
    object-position: center top;
    
    /* === 다른 object-position 옵션들 === */
    /* object-position: center center; - 중앙에 포커스 */
    /* object-position: center bottom; - 하단에 포커스 */
    /* object-position: center 20%; - 상단에서 20% 지점에 포커스 */
    /* object-position: left center; - 왼쪽에 포커스 */
    /* object-position: right center; - 오른쪽에 포커스 */
    /* === object-fit 옵션들 === */
    /* object-fit: cover; - 전체 채우기 (기본값, 일부 잘림) */
    /* object-fit: contain; - 비율 맞추기 (검은 바 생길 수 있음) */
    /* object-fit: fill; - 늘여서 채우기 (비율 깨짐) */
    /* object-fit: scale-down; - contain과 none 중 작은 것 */
    /* object-fit: none; - 원본 크기 유지 */
    
    /* === transform 옵션들 === */
    /* transform: scale(1.2); - 120% 확대 */
    /* transform: scale(0.8); - 80% 축소 */
    /* transform: translateX(-10%); - 왼쪽으로 10% 이동 */
    /* transform: translateY(-20%); - 위로 20% 이동 */
    /* transform: scale(1.1) translateY(-10%); - 확대 + 위로 이동 */
  }
  .indexu95bannertype01 .overlap-group2 {
    display: none;
  }
}



/* 작은 모바일 화면 */
@media (max-width: 480px) {
  .hero-container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 28px;
    line-height: 38px;
  }

  .hero-indicator {
    right: 16px;
  }

  /* 작은 화면에서 비디오 추가 조정 */
  .hero-video {
    /* 모바일에서 비디오 확대로 더 임팩트 있게 */
    transform: scale(1.1);
    
    /* 또는 위치를 더 세밀하게 조정 */
    /* object-position: center 20%; */
    
    /* 가로 영상의 경우 세로 중앙에 포커스 */
    /* object-position: center center; */
  }
}

  .indexu95bannertype01 .indicator {
    position: absolute;
    bottom: 20px;
    right: var(--container-padding-mobile);
  }

  /* Quick Widget은 index.php의 반응형 스타일에서 관리 */

  .platform-title {
    gap: 48px;
  }

  .platform-text {
    gap: 48px;
  }

  /* 모바일에서 Hero 섹션 최적화 */


  .about-visual {
    flex: none;
    height: 200px;
  }

  .platform-text {
    max-width: none;
  }
  .stories-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .indexu95bannertype01 .news-item,
  .indexu95bannertype01 .news-item-1 {
    width: 100%;
  }

  .bottom-banner-content {
    text-align: center;
  }

  .indexu95bannertype01 .ellipse-3-1 {
    width: 150px;
    height: 150px;
  }

