.brand-section {
  position: relative;
  width: 100%;
  min-height: 4000px; 
  overflow: hidden;
  color: #fff;
}

/* 배경 이미지 설정 */
.bg-container {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/bland.jpg') no-repeat center center / cover;
  object-position: top;
  z-index: -1;
  
}

/* 상단 텍스트 스타일 */
.content-top {
    /* width: 1360px; */
    margin: 0 2rem;
    margin-bottom: 400px;
}

.main-title { 
  font-size: 2.5rem;
  margin-top: 300px;
}

.main-title span {
  color: var(--pi-color-200); 
}

.avoid-list {
  margin-top: 900px;
  
}
.md-title{
    text-align: center;
    margin-bottom: 40px;
}
.avoid-list h3 { padding-bottom: 10px; }
.avoid-list li { list-style: none; margin-top: 20px; font-size: 0.9rem; }

.sub-description {
    position: absolute;
    left: 110vh;
    margin-top: 316px;
}

/* 4. 대각선 연결선 구현  */
.connector-line.line-1 {
    position: absolute;
    top: 12%;
    left: 35%;
}

.connector-line.line-2 {
    position: absolute;
    top: 23%;
    left: 20%;
}

/* 숨겨진 상태 */
.reveal {
  opacity: 0;
  transform: translateY(50px); 
  transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1); 
}

/* 화면에 나타났을 때 적용될 클래스 */
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0); 
}

/* 각 요소마다 시간차(Delay)를 주어 순차적으로 올라오게 설정 */
.main-title.reveal { transition-delay: 0.1s; }
.line-1.reveal { transition-delay: 0.3s; }
.sub-description.reveal { transition-delay: 0.5s; }
.line-2.reveal { transition-delay: 0.6s; }
.avoid-list.reveal { 
  transition-delay: 0.8s; 
  }






/* 중앙 이미지 배치  */
.image-wrap {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-can {
  width: 350px;
  margin-right: 20px;
  transform: rotate(-10deg) translateX(20px);
  z-index: 2;
  animation: floating 4s ease-in-out infinite;
}

.img-cup {
  width: 450px;
  transform: rotate(10deg) translateX(20px);
  margin-top: 400px;
  animation: floating-slow 6s ease-in-out infinite;
  animation-delay: 0.5s; 
}

/* 두둥실 움직이는 프레임 */
@keyframes floating {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(3deg); 
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* 약간 다른 움직임 프레임 */
@keyframes floating-slow {
  0% {
    transform: translateY(0px) rotate(5deg); 
  }
  50% {
    transform: translateY(-15px) rotate(-3deg); 
  }
  100% {
    transform: translateY(0px) rotate(5deg);
  }
}


/* 하단 오버레이 영역 */
.content-bottom {
    position: absolute;
    bottom: -1180px;
    height: 1900px;
    background: rgba(255, 255, 255, 0.089);
    backdrop-filter: blur(15px);
    padding: 50px 20%;
    border-radius: 50% 50%;
}

.overlay-box{
    margin-top: 200px;
}


/* 하단 섹션 */

.palette-section {
  padding: 100px 10%;
  background-color: #fff;
  font-family: 'Pretendard', sans-serif;
  color: #333;
}

.palette-header {
  text-align: center;
  margin-bottom: 100px;
}

.palette-header h2 { color: #4A81E3; font-size: 1.8rem; margin-bottom: 15px; }
.palette-header p { font-size: 0.9rem; color: #666; }

.palette-container {
  max-width: 1800px;
  margin: 0 auto;
}

.color-row {
  display: flex;
  align-items: center;
  margin-bottom: 80px;
  gap: 40px;
}

/* 오른쪽 원 배치용 */
.color-row.reverse {
  flex-direction: row-reverse;
}

/* 중앙 텍스트용 */
.color-row.center {
  justify-content: center;
  text-align: center;
  margin-top: 100px;
}

/* 컬러 원 스타일 */
.color-circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  flex-shrink: 0;
}

.blue { background-color: #3B76E1; }
.yellow { background-color: #FFB300; }

/* 텍스트 정보 스타일 */
.color-info {
  position: relative;
  margin-left: 25px;
  
}

.color-info h3 { font-size: 1.3rem; margin-bottom: 15px; }
.color-info p { font-size: 0.85rem; line-height: 1.6; color: #555; }

/* 지시선(Connector) 구현 */
.connector {
  position: absolute;
  top: 15px;
  width: 100px;
  height: 1px;
  background-color: var(--pm-color-500);
}
.connector2 {
  position: absolute;
  top: 15px;
  width: 100px;
  height: 1px;
  background-color: var(--pi-color-400);
}

.connector.left { left: -110px; 
    transform: rotate(180deg) translateX(10px);
    }
.connector.right { 
    right: -70px; 
    transform: rotate(180deg) translateX(10px);
    }

.connector2.right { 
    right: -70px; 
    transform: rotate(-180deg) translateX(10px);
    color: var(--pi-color-400);}

/* 화살표 모양 (필요시 ::after로 추가) */
.connector::after {
  content: '●';
  position: absolute;
  font-size: 8px;
  color:var(--pm-color-500);
  top: -5px;
}
.connector2::after {
  content: '●';
  position: absolute;
  font-size: 8px;
  color:var(--pi-color-400);
  top: -5px;
}

.connector.left::after { left: -5px; }
.connector2.right::after { right: -5px; }

.overlay-box p{
  margin-bottom: 2rem;
}

.overlay-box #ma-tp{
  margin-bottom: 2rem;
}






/* 반응형 모바일 */




@media (max-width: 2020px){
  .sub-description {
    left: 95vh;
}

}
@media (max-width: 1850px){
  .sub-description {
    left: 75vh;
}

}
@media (max-width: 1600px){
  .sub-description {
    left: 65vh;
}

}


@media (max-width: 1440px){
  html{font-size: var(--basic-font-tab);}
  /* .content-top {
      width: 1000px;} */
  .sub-description {
    left: 83vh;}
  .reveal {
    width: 50%;}
  .avoid-list {
    margin-top: 800px;}
  .main-title.reveal {
    width: 100%;
}
.connector-line {
  display: none;
}
.sub-description {
    position: inherit;
    left: 110vh;
    margin-top: 316px;
}
.img-can {
    width: inherit;
    height: 450px;
    margin-right: 20px;
    transform: rotate(-10deg) translateX(20px);
    z-index: 2;
    animation: floating 4s ease-in-out infinite;
}
.img-cup {
    width: inherit;
    height: 450px;
    transform: rotate(10deg) translateX(20px);
    margin-top: 400px;
    animation: floating-slow 6s ease-in-out infinite;
    animation-delay: 0.5s;
}
.content-bottom {
    position: inherit;
    bottom:inherit;
    background: transparent;
    backdrop-filter:inherit;
    
    border-radius: 50% 50%;
    margin-bottom: 3rem;
}
.bg-container {
    height: 80%;
}
}

@media (max-width: 1000px){
  html{font-size: var(--basic-font-tab);}
  /* .content-top {
      width: 800px;} */
  .avoid-list {
    margin-top: 750px;
}
}

@media (max-width: 768px){
  html{font-size: var(--basic-font-mo);}
  /* .content-top {
      width: 500px;} */
      .color-circle {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        flex-shrink: 0;
    }
}

@media (max-width: 550px){
  /* .content-top {
      width: 300px;} */
     
      .color-circle {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        flex-shrink: 0;
    }
    .connector{
      display: none;
    }
    .connector2{
      display: none;
    }
    .color-row {
    display: flex;
    flex-direction: column;
}
.color-row.reverse {
    flex-direction: column;
}
}