@charset "UTF-8";


/* 가로 스크롤바 방지 */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

/* 비디오 전체 화면 채우기 */
.video-wrapper {
    width: 100vw;
    height: 80%;
    overflow: hidden;
    position: relative;
}

/* 비디오를 화면에 꽉 차게 */
.consultings-videos {
    width: 100vw; 
   height: 600px;
    object-fit: cover; 
    top: 0;
    left: 0;
}


/* 공지사항 스타일 */
.notice-section {
    display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px;
        border: 1px solid #000000;
        width: 100%;
        margin-top: -4px;
}

#notice-num{
    font-size: 18px;
}

.notice-box {
    display: flex;
    align-items: center;
    font-size: 16px;
    overflow: hidden;
    margin-left: 40px;
}

.notice-text {
    margin-left: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: transform 0.5s ease-in-out;
}
.notice-controls{
    margin-right:60px;
}
.notice-controls button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    margin-left: 15px;
}

.notice-text {
    display: inline-block;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.notice-text.move-up {
    transform: translateY(-20px);
    opacity: 0;
}


.slider-container h2 {
    margin: 0 auto;
    margin-bottom: 5px;
}

.slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    width: 100vw;
}

.slider-header {
  display: flex;
      align-items: center;
      gap: 15px;
      margin-bottom: 25px;
      transform: translate(40%);
  }


.slider {
    display: flex;
    flex-direction: row;
    transition: transform 0.5s ease-in-out;
}

.slide-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slide-container:first-child img {
    opacity: 1;
    transform: translateX(0); 
}

.slide-container:first-child .store-name {
    opacity: 1;
    transform: translateY(0); 
}

.slide-container img {
    height: 700px; 
    width: 1200px;
    object-fit: cover; 
    opacity: 0; 
    transition: opacity 1s ease-out; 
}

.slide-container img {
    height: 700px;
    width: 1200px;
    object-fit: cover;
}

.store-name {
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 16px 0px;
    position: relative;
    margin-top: -5%;
    opacity: 0; 
    transform: translateY(30px); 
    transition: transform 0.6s ease-out, opacity 0.6s ease-out; 
}

.store-name:first-child {
    opacity: 1; 
    transform: translateY(0); 
}

.buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
        margin-top: 1px;
}

.buttons button {
    border: none;
    background-color: #333;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 16px;
    writing-mode: vertical-rl;
    text-align: center;
    height: 701px;
    width: 60px;
}

.buttons button:nth-child(1) {
    background: #473930;
}

.buttons button:nth-child(2) {
    background: #1D1D1B;
}

.buttons button:hover {
    background-color: #555;
}
@keyframes noticeUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 버튼 클릭 시 적용되는 클래스 */
.notice-text {
    margin-left: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: 20px;
}

/* 애니메이션 적용될 클래스 */
.move-up {
    animation: noticeUp 0.8s ease-in-out;
}


/* 숫자 움직임 */
.stats-container {
    display: flex ;
        justify-content: space-around;
        width: 100vw;
        max-width: 100%;
        background: #EAEAEA;
        margin-top: 90px;
        padding: 50px;
        margin-bottom: 90px;
        color: #181b1e;
}


.stat {
    text-align: center;
    font-size: 20px;
    font-weight: 400;
}


.number {
  font-size: 36px;
  font-weight: 700;
  color: #181b1e;
}

.unit {
  font-size: 24px;
  font-weight: 700;
  color: #181b1e;
  margin-left: 4px;
}

.description {
  font-size: 16px;
  line-height: 1.7;
  color: #181b1e;
}

.stat .description{
    margin-bottom: -5px;
}

h2 {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}


.event-container {
    margin-top: 50px; 
}



.more__btn{
      border: 1px solid #1D1D1B;
      border-radius: 50%;
      background: none;
      cursor: pointer;
      width: 140px;
      height: 140px;
      font-size: 14px;
      transform: translate(10px, 10px);
}

.more__btn a{
    color: #000;
}

/* 전체 레이아웃: 가로 정렬 */
.premium-consulting {
    display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #000;
        width: 98vw;
        width: 100vw;
          height: 480px;
          margin-top: 90px;
    }


/* 왼쪽 컨텐츠 (타이틀 + 비디오) */
.left-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 8%;
}

/* 타이틀 스타일 */


.consulting-title {
    font-size: 24px;
    font-weight: bold;
    color: #E3E5E2;
    letter-spacing: 1px;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
  

}



/* 비디오 스타일 */
.video-wrapper {
    width: 100%;
    overflow: hidden;
}

.consulting-video {
    width: 95%;
    object-fit: cover;
    background-color: black;
    margin-bottom: 5px;

}

/* 오른쪽 컨텐츠 (브랜드명 + 설명) */
.right-content {
    display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-right: 33%;
}

/* 브랜드 정보 (Zeiss + 설명 한 줄) */
.brand-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

/* Zeiss 로고 */
.zeiss {
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    color:#E3E5E2;
    margin-right: 5px;
}


/* 서브텍스트 */
.subtext {
    font-size: 18px;
    color: #EAEAEA;
}


/* 설명 문단 */
.consulting-description {
    font-size: 16px;
    color: white;
    line-height: 1.6;
    max-width: 400px;
    margin: 0;
    line-height: 1.7;
    color: #EAEAEA;
    font-weight: 300;
}



.btn{
    border: 1px solid #EAEAEA;
    border-radius: 50%;
    padding: 40px 10px;
    margin-right: 20px;
    background: none;
    color: #EAEAEA;
    margin-left: 5%;
    margin-top: 40px;
    cursor: pointer;
}


/* 서비스 */
.content-wrapper {
  text-align: center;
    max-width: 800px;
    padding: 20px;
    margin: 90px 0;
    transform: translate(50%);
    
}

.top-section {
  display: flex ;
      align-items: center;
      justify-content: center;
}

.top-section img {
  height: 60px;
  margin-bottom: -7px;
  
}

.top-text {
  font-size: 24px;
  color: #181b1e;
  margin-bottom: -20px;
}

.title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.sub-text-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    justify-content: center;
    margin-left: 15%;
}

.sub-text {
  font-size: 16px;
  color: #181b1e;
  margin-right: 33px;
  margin-left: -22%;
  margin-top: -21%;
}

.service-button {
  border: 1px solid #181b1e;
    border-radius: 50%;
    margin-right: -17%;
    background: none;
    font-size: 16px;
    width: 140px;
    height: 140px;
    margin-top: 12px;
    margin-left: -11px;
}

/* 이미지 영역 */
.image-section {
    display: flex;
    justify-content: center;
    position: relative;
    margin-left: 25%;
    align-items: center;
}

.image {
  width: 80%;
  border-radius: 10px;
  margin-left: 56px;
  filter: brightness(0.2);
  transition: filter 0.5s ease-in-out, border 0.5s ease-in-out;
  transform: translate(10%);
  margin-right: 0px;
    
}

.image-border {
    border: 4px solid #ccc;
    position: absolute;
    transition: border 0.5s ease-in-out;
    left: -50%;
    top: -35%;
}

/* 스크롤 시 밝아지는 효과 */
.image-section.active .image {
    filter: brightness(1);
}

.image-section.active .image-border {
    border: 4px solid #fff;
    
}
/* ==================== 기본 스타일 ==================== */
.premium-consulting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #696F85; /* 유지할 배경색 */
  width: 100vw;
  height: 500px;
  padding: 0 5%;
}

/* 왼쪽 콘텐츠 */
.left-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 8%;
  
}

.consulting-title {
  font-size: 36px;
  font-weight: 700;
  color: #E3E5E2;
  letter-spacing: 1px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  text-indent: 10px;
  margin-bottom: 25px;
}

/* 비디오 영역 */
.video-wrapper {
  width: 100%;
  overflow: hidden;
}

.consulting-video {
    width: 95%;
  object-fit: cover;
  background-color: black;
  border-radius: 12px;
  margin-bottom: 5px;
}

/* 오른쪽 콘텐츠 */
.right-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-right: 30%;
  margin-top: 0px;
  
}

.brand-info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 5px;
}

.zeiss {
  font-size: 24px;
  font-weight: 700;
  border-radius: 5px;
  color: #E3E5E2;
}

.subtext {
  font-size: 24px;
  color: #EAEAEA;
}

.consulting-description {
  font-size: 16px;
  color: #EAEAEA;
  line-height: 1.7;
  font-weight: 300;
  max-width: 400px;
  margin: 0;
}

.btn {
  border: 1px solid #EAEAEA;
  border-radius: 50%;
  background: none;
  color: #EAEAEA;
  cursor: pointer;
  align-items: center;
  width: 140px;
  height: 140px;
}

.btn a, .service-button a{
  color: #181B1E;
}

.btn a p {
  margin: 0;
  font-size: 14px;
  color: #fff;
  font-size: 14px;
  margin-top: -10px;
}

.btn span {
  font-size: 18px;
  display: inline-block;
}
/* ========== 1400px 이하 ========== */
@media screen and (max-width: 1400px) {
  /* 1. 직영점 안내 버튼 슬라이드 아래로 */
  .slider-container {
    flex-direction: column;
    align-items: center;
  }

  .slider-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    transform: translate(30%);
  }
  .buttons {
    flex-direction: row;
    justify-content: center;
    margin-top: 20px;
  }

  .buttons button {
    writing-mode: horizontal-tb;
    width: 120px;
    height: 50px;
    font-size: 14px;
  }

  /* 2. 렌즈 컨설팅 - 영상 아래 텍스트 */
  .premium-consulting {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 40px 20px;
    text-align: center;
  }

  .left-content,
  .right-content {
    width: 100%;
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }

  .consulting-video {
    width: 100%;
    height: auto;
  }

  .btn {
    margin: 30px auto 0;
    width: 140px;
    height: 140px;
  }

      .content-wrapper {
        transform: translateX(0);
        margin: 60px auto;
        padding: 0 20px;
        text-align: center;
    }
}


/* ========== 1130px 이하: 금강안경 섹션 대응 시작 ========== */
@media screen and (max-width: 1130px) {


  .sub-text-wrapper {
    flex-direction: column;
    align-items: center;
    margin: 30px 0;
  }

  .sub-text {
    margin: 0 0 10px 0;
    font-size: 14px;
  }

  .service-button {
    width: 120px;
    height: 120px;
    font-size: 14px;
    transform: translate(-50%);
  }

  .image-section {
    flex-direction: column;
    margin-left: 0;
  }

  .image,
  .image-border {
    max-width: 90%;
    position: static;
    margin: 20px auto;
    transform: none;
  }
}


/* ========== 1024px 이하 ========== */
@media screen and (max-width: 1024px) {
  .stats-container {
    flex-direction: column;
    gap: 30px;
    padding: 30px;
  }

  .slide-container img {
    width: 90vw;
    height: auto;
  }

  .store-name {
    padding: 12px 0;
    font-size: 15px;
  }

 

  .consulting-title {
    font-size: 30px;
    margin-top: 30px;
  }

  .zeiss {
    font-size: 20px;
  }

  .subtext {
    font-size: 18px;
  }

  .consulting-description {
    font-size: 15px;
    max-width: 90%;
  }
  
}


/* ========== 768px 이하 ========== */


@media screen and (max-width: 768px) {
  .notice-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 15px;
  }

  .notice-box {
    font-size: 14px;
    margin-left: 0;
  }

  .slider-header {
    flex-direction: column;
    align-items: flex-start;
    transform: translate(35%);
  }

  .btn_con {
    margin-top: 10px;
    margin-left: 20px;
  }

  .notice-controls {
    margin-right: 0;
    margin: 0 auto;
  }

    .buttons {
      display: flex;
      flex-direction: row;
      justify-content: center;
      flex-wrap: nowrap;
    }
  
    .buttons button {
      width: auto; /* 버튼이 내용에 맞게 */
      height: auto;
      writing-mode: horizontal-tb;
      font-size: 14px;
      padding: 10px 20px;
    }


  .stats-container {
    padding: 20px;
  }

  .number {
    font-size: 30px;
  }

  .unit {
    font-size: 20px;
  }

  .title {
    font-size: 28px;
  }

  .top-text {
    font-size: 18px;
  }

  .consulting-title {
    font-size: 24px;
  }

  .zeiss,
  .subtext {
    font-size: 16px;
  }

  .btn,
  .service-button {
    width: 140px;
    height: 140px;
    font-size: 13px;
    transform: translate(-30px);
  }

  .image {
    width: 100%;
    margin-top: -5px;
  }

  .image-border {
    display: none;
  }

  .slide-container img {
    width: 100%;
    height: auto;
  }

  .store-name {
    font-size: 14px;
    margin-top: -49px;
  }

  .premium-consulting {
    padding: 20px 10px;
  }

  .right-content {
    margin-right: 0;
  }
}