/* style.css */
:root {
  --bg: #ffffff;
  --ink: #161616;
  --muted: #6f6f6f;
  
  --gold: #C9BCA0;
  --serif: "Noto Serif Display", "Cormorant Garamond", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --kr-sans: "Noto Sans KR", sans-serif; 

  --wrap: 1000px;
  --pad: 20px;
  --olive: #6a6b41;
  --olive-ink: #f4f2ea;
  --btn-h: 48px;
  --bth-gap: 0px;  
}

/* 애니메이션 정의: 텍스트 페이드아웃 */
@keyframes titleFadeOut {
  0% { opacity: 1; }
  50% { opacity: 1; } 
  100% { opacity: 0; visibility: hidden; } 
}

* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
video { max-width: 100%; display: block; }
figure { margin: 0; padding: 0; }

.bc-wrap { width: min(var(--wrap), 100% - var(--pad)*2); margin-inline: auto; }
.bc { padding-bottom: 80px; }

.bc-h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 5vw, 56px); line-height: 1.1; margin: 0 0 24px;
}
.bc-h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 4vw, 42px); line-height: 1.2; margin: 0 0 16px;
  color: #cfc4ac; 
}
.bc-h3--center { text-align: center; }

.bc-p {
  font-family: var(--sans); font-size: 15px; font-weight: 300;
  line-height: 1.7; color: rgba(255,255,255,0.85); margin: 0 0 20px;
}
.bc-p--dark { 
  font-family: var(--kr-sans); 
  font-weight: 400; 
  color: #666; 
  font-size: 16px; 
}
.bc-p--center { text-align: center; }
.bc-p--white { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }

.cb-eyebrow, .bc-kicker {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 28px; 
  letter-spacing: .2em; 
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 400;
}

.bc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: var(--btn-h); padding: 0 30px;
  border: 1px solid currentColor;
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: 0.3s;
  background: transparent; margin-top: 10px;
}
.bc-btn:hover { opacity: 0.7; }

.bc-btn--outline { 
  background: #fff; 
  color: #222; 
  border-color: #fff; 
}
.bc-btn--ghost { color: var(--ink); border-color: rgba(0,0,0,0.3); }
.bc-btn--solid { background: var(--gold); color: #111; border-color: var(--gold); }

/* 모바일 비디오 (기본 숨김) */
.bc-show-mobile { display: none; }

/* 1. HERO */
.bc-hero {
  position: relative; height: 90vh; max-height: 750px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center; color: #fff;
}
.bc-hero__media img { 
  width: 100%; height: 100%; object-fit: cover; 
  object-position: center -50px;
}
.bc-hero__media { position: absolute; inset: 0; z-index: 0; }
.bc-hero__veil { position: absolute; inset: 0; background: rgba(0,0,0,0.15); }
.bc-hero__inner { position: relative; z-index: 2; padding: 20px; }

.bc-hero__title {
  font-family: var(--serif); 
  font-size: 60px; font-weight: 500; margin: 0; 
  color: #fff; text-shadow: none; line-height: 1.05;
}
.bc-hero__sub {
  font-family: var(--serif); font-size: 20px; 
  letter-spacing: 0.1em; text-transform: none; 
  margin-top: 20px; opacity: 0.9;
}

/* 2. OLIVE Section */
.bc-olive { background: var(--olive); color: var(--olive-ink); padding: 100px 0; }
.bc-olive__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* 3. STRIP SLIDER */
.bc-strip { background: var(--olive); padding-bottom: 0; width: 100%; max-width: 100%; overflow: hidden; }
.bth { position: relative; width: 100%; margin: 0; padding: 0; }
.bth-track { display: flex; width: 100%; margin: 0; padding: 0; gap: 0; will-change: transform; }
.bth-slide {
  margin: 0 !important; padding: 0 !important;
  flex-shrink: 0; flex-grow: 0;
  flex-basis: 25%; width: 25%; max-width: 25%;
  aspect-ratio: 2/3; overflow: hidden; position: relative;
  display: flex; justify-content: center; align-items: center;
}
.bth-slide img { width: 95%; height: 95%; object-fit: cover; display: block; border: none; transition: transform 0.5s; }
.bth-slide:hover img { transform: scale(1.05); }

.bth-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px;
  background: transparent; border: none; border-radius: 0;
  color: #fff; font-size: 32px;
  cursor: pointer; z-index: 20; 
  display: grid; place-items: center; padding: 0;
  backdrop-filter: none; transition: opacity 0.3s;
}
.bth-btn:hover { background: transparent; opacity: 0.7; }
.bth-btn--prev { left: 20px; }
.bth-btn--next { right: 20px; }

/* 4. Other Sections */
.bc-mid { padding: 100px 0; }
.bc-mid__grid { display: block; width: 100%; }
.bc-mid__copy { width: 100%; max-width: 1000px; margin: 0 auto; text-align: center; }
.bc-mid__copy .bc-kicker { font-size: 36px; line-height: 1.2; letter-spacing: normal; }
.bc-mid__cta { text-align: right; display: none; }

.bc-video-banner {
  position: relative; width: 100%; max-width: 900px; 
  margin: 0 auto 100px; height: auto; background: #000;
}
.bc-video-banner__video { width: 100%; height: auto; object-fit: contain; display: block; }
.bc-video-banner__content { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; pointer-events: none; }
.bc-video-title {
  font-family: var(--serif); font-size: 60px; color: var(--gold);
  letter-spacing: 0.05em; text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  animation: titleFadeOut 3s ease-out forwards;
}

.bc-banner {
  position: relative; width: 100%; height: 550px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; margin-bottom: 100px; overflow: hidden;
}
.bc-banner__bg { position: absolute; inset: 0; z-index: 0; }
.bc-banner__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center -450px; }
.bc-banner__content { position: relative; z-index: 2; width: min(800px, 90%); padding: 20px; }
.bc-banner__title { font-family: var(--serif); font-size: 36px; margin-bottom: 24px; text-shadow: 0 2px 15px rgba(0,0,0,0.3); color: #fff; }

.bc-split { padding: 20px 0; margin-bottom: 80px; }
.bc-split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.bc-split--reverse .bc-split__media { order: 2; }
.bc-split--reverse .bc-split__copy { order: 1; }

.bc-split__media { position: relative; width: 100%; aspect-ratio: 2/3; overflow: hidden; }
.bc-split--reverse .bc-split__media { aspect-ratio: 3/2; }

.bc-split-track { display: flex; width: 100%; height: 100%; transition: transform 0.5s ease-in-out; }
.bc-split-slide { flex: 0 0 100%; width: 100%; height: 100%; }
.bc-split-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.bc-split__copy { text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; }

.bc-form { padding: 100px 0; background: #f7f7f7; }
.bc-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 800px; margin: 40px auto 0; }
.bc-field { display: block; }
.bc-field--full { grid-column: 1 / -1; }
.bc-label { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; font-weight: 600; }
.bc-input { width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(0,0,0,0.2); padding: 10px 0; font-family: var(--serif); font-size: 18px; outline: none; border-radius: 0; }
.bc-input:focus { border-bottom-color: #000; }
.bc-textarea { min-height: 100px; resize: vertical; }

.bc-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; }
.bc-modal.is-open { display: flex; }
.bc-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.9); }
.bc-modal__panel { position: relative; width: min(900px, 90vw); z-index: 10; }
.bc-modal__close { position: absolute; top: -40px; right: 0; background: none; border: none; color: #fff; font-size: 30px; cursor: pointer; }
.bc-modal__video { width: 100%; display: block; }
[data-animate] { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
[data-animate].is-in { opacity: 1; transform: translateY(0); }

/* =========================================
   RESPONSIVE (Mobile / Tablet)
   ========================================= */


/* style.css - @media (max-width: 900px) 내부 수정 */

/* style.css - @media (max-width: 900px) 내부 수정 */

@media (max-width: 900px) {
  /* ... 기존 레이아웃 설정 ... */
  .bc-olive__grid, .bc-mid__grid, .bc-split__grid, .bc-form__grid { grid-template-columns: 1fr; gap: 40px; }
  .bc-split--reverse .bc-split__media { order: 1; }
  .bc-split--reverse .bc-split__copy { order: 2; }
  .bc-mid__cta { text-align: left; }
  
  .bc-hero { height: 70vh; }
  .bc-hero__media img { object-position: center !important; }
  
  .bth-slide { flex-basis: 100%; width: 100%; max-width: 100%; }

  /* 슬라이드 영역 스타일 */
  .bc-strip {
    background: var(--olive);
    width: 100%;
    margin: 0;
    padding-top: 0;       
    padding-bottom: 20px;
    margin-top: -1px;     
  }

  .bth {
    width: 94%;
    margin: 0 auto;
    position: relative; 
    overflow: hidden; 
  }
  
  .bc-olive { padding-bottom: 0 !important; }

  /* ✅ [수정] 버튼 위치 조정: 이미지 안쪽으로 20px 이동 */
  .bth-btn {
    display: grid !important; 
    width: auto; 
    height: auto;
    font-size: 50px;          
    background: transparent;  
    border-radius: 0;         
    color: #fff;              
    padding: 0;
    z-index: 10; 
  }
  .bth-btn--prev { left: 20px; }   /* 기존 0 -> 20px (안쪽으로 이동) */
  .bth-btn--next { right: 20px; }  /* 기존 0 -> 20px (안쪽으로 이동) */

  /* 폰트 및 여백 조정 */
  .bc-hero__title { font-size: 42px; }
  .elementor-widget-container { font-size: 20px; }
  .bc-h2 { font-size: 28px; }
  
  .bc-mid__copy .bc-kicker {
    font-size: 28px !important; 
    line-height: 1.3;
  }
  .cb-eyebrow { font-size: 28px; }

  .bc-mid__copy, 
  .bc-olive__copy {
    width: auto !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
    padding: 0; 
  }
  .elementor-img { 
    margin-left: 20px; 
    margin-right: 20px; 
    width: auto; 
    max-width: calc(100% - 40px); 
  }
  .elementor-heading-title { font-size: 28px; }
  .bc-mid .bc-wrap { width: 100%; margin: 0; }
  
  .bc-video-banner { width: auto; margin-left: 20px; margin-right: 20px; margin-top: 20px; }

  .bc-banner { 
    height: 600px; 
  }
  .bc-banner__bg img { 
    height: 100%;   
    width: 100%;
    object-fit: cover;
    object-position: center center !important; 
  }
  
  .bc-banner__title { 
    font-size: 32px; 
    margin-bottom: 10px; 
    margin-top: 0;
    line-height: 1.1; 
  }

  /* 모바일: 버튼 숨기고 비디오 보이기 */
  .bc-hide-mobile { display: none !important; }
  .bc-show-mobile { display: block; margin-top: 20px; width: 100%; }
  .bc-show-mobile video { width: 100%; height: auto; }

  /* style.css - @media (max-width: 900px) 내부 수정 */

  /* ✅ [수정] 텍스트와 이미지 순서 변경 (텍스트 위, 이미지 아래) */
  /* 모든 .bc-split 섹션에 공통 적용 */
  .bc-split__copy,
  .bc-split--reverse .bc-split__copy { 
    order: 1 !important;    /* 텍스트를 무조건 맨 위로 */
    /* 텍스트와 이미지 사이 간격 */
  }

  .bc-split__media,
  .bc-split--reverse .bc-split__media { 
    order: 2 !important;    /* 이미지를 무조건 맨 아래로 */
    margin-bottom: 0;
  }
  .bc-mid {
    padding-top: 50px;     /* 상단 여백 (필요 시 조절) */
    padding-bottom: 30px;  /* 하단 여백 축소 (비디오와 가까워짐) */
  }
    
  
}