@charset "UTF-8";

/* 기본 색상 */
:root {
	--main-color: #1A2140;
	--accent-color: #6E7FB3;
	--dark-main-color: #3e6974;
	--text-bright-color: #fff;
	--icon-color: #fff;
	--icon-bk-color: #ddd;
	--gray-color: #ddd;
	--large-width: 1000px;
	--middle-width: 800px;
}


/* 기본 설정: 폰트 크기 */
@media (max-width: 599px) {
	:root {
		font-size: 14px;
	}
}

@media (min-width: 600px) and (max-width: 799px) {
	:root {
		font-size: 16px;
	}
}

@media (min-width: 800px) {
	:root {
		font-size: 18px;
	}
}

body {font-size: 16px;
}

html,
body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	overflow-x: hidden;        
}
body {
	font-family: '맑은 고딕', 'Apple SD Gothic Neo', sans-serif;
	background: url("img/versailles-hall.jpg") center top / cover no-repeat fixed;
}


/* 콘텐츠A: main-banner-image 히어로 이미지 Mobile*/
.conA {
	background-color: #0b0b0b;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;

	min-height: 100vh;
	color: var(--text-bright-color);
	overflow: hidden;
}

.hero-video-wrap {
	position: relative;
	width: 70%;          
	max-width: 900px;    
	z-index: 1;
}

.hero-video-wrap video {
	display: block;
	width: 100%;
	height: auto;
}

.hero-logo {
	position: absolute;
	top: 19.7%;
	left: 50.1%;
	transform: translate(-50%, -50%);
	width: 30%;     
	max-width: 180px;   
	height: auto;
	opacity: 0;         
	animation: logoFade 2s ease-out 0.4s forwards;  
}

@keyframes logoFade {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 0.9;
		transform: translate(-50%, -50%);
	}
}

.conA::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100vw;
	height: 100vh;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0.6) 40%,
		rgba(0, 0, 0, 0.85) 80%,
		rgba(0, 0, 0, 1) 100%
	);
	z-index: 0;         
	pointer-events: none;
}


.conA::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100vw;
	height: 100vh;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0.6) 40%,
		rgba(11, 11, 11, 0.85) 80%,
		rgb(13, 13, 13) 100%
	);
	z-index: 2;
	pointer-events: none;
}

/* pc-콘텐츠A: main-banner-image pc */
@media (max-width: 767px){

  .conA{
    /* 가운데 정렬 때문에 내려가는 문제 방지 */
    align-items: stretch;
    padding: 0;
  }

  .hero-video-wrap{
    width: 100%;
    max-width: none;
    height: 100vh;        
  }

  .hero-video-wrap video{
    width: 100%;
    height: 101%;
    object-fit: cover;     
    display: block;
  }

  .hero-logo{
    width: 40%;
    max-width: 120px;
    top: 20%;
  }
}



/* M 콘텐츠B: 베르사유 이미지 + 중앙 메시지*/
.conB {
	position: relative;
	width: 100%;
	min-height: 100vh;
	background: url("img/versailles-hall.jpg") center center / cover no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	overflow: hidden;
}

.conB::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgb(13, 13, 13) 0%,      /* 완전 검정 */
		rgba(11, 11, 11, 0.9) 15%,   /* 강한 어둠 */
		rgba(11, 11, 11, 0.6) 55%,   /* 중간 */
		rgba(0, 0, 0, 0.15) 92%,  /* 아래쪽 거의 투명 */
		rgba(0, 0, 0, 0) 100%     /* 완전 투명 */
	);
	z-index: 0;
}

.conB .message {
	position: relative;
	z-index: 1;
	max-width: 800px;
	padding: 0 20px;
}

.conB h2 {
	font-family: 'Montserrat', sans-serif;
	font-size: 44px;
	font-weight: 600;
	letter-spacing: 1px;
	margin: 0 0 14px;
}

.conB .line {
	display: block;
	width: 60px;
	height: 2px;
	background: #f5d37b;
	margin: 0 auto 18px;
}

.conB .en {
	font-size: 18px;
	font-weight: 300;
	margin: 0 0 10px;
}

.conB .kr {
	font-size: 16px;
	line-height: 1.8;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
	.conB {
		background-attachment: fixed;
	}
	.conB h2 {
		font-size: 52px;
	}
}



/*M 콘텐츠C: 개요(이미지+글자)*/
.conC {
	position: relative;
	width: 100%;
	min-height: 80vh;
	padding: 120px 20px 160px;
	color: #fff;
	background: url("img/versailles-hall.jpg") center center / cover no-repeat fixed;
}

.conC::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.80) 100%   
	);
	z-index: 0;
	pointer-events: none;
}

.conC .container {
	max-width: 1200px;
	margin: 0 auto;
	min-height: 70vh;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.conC .photo {
	position: absolute;
	width: 500px;
	max-width: 70vw;
	aspect-ratio: 3 / 4;
	background-image: url("img/artist.jpg");
	background-position: center;
	background-size: cover;
	filter: grayscale(100%);
	opacity: 0.9;
	z-index: 1;
}

.conC .text {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 900px;
	padding: 20px;

	opacity: 0;
	transform: translateY(50px);
	transition: opacity 1.8s ease-out, transform 1.8s ease-out;
}

.conC .text.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.conC h2 {
	margin-top: 0;
	margin-bottom: 18px;
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 600;
}

.conC p {
	margin: 0 0 6px;
	font-size: clamp(15px, 2vw, 17px);
	line-height: 1.8;
	opacity: 0.9;
}

.conC a {
	display: inline-block;
	margin-top: 22px;
	padding: 12px 32px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.22); 
	color: #fff;
	font-size: 14px;
	text-decoration: none;
	backdrop-filter: blur(2px); 
}

.conC a:hover {
	background: rgba(255, 255, 255, 0.35);
}

.conC h2,
.conC p,
.conC a {
	text-shadow:
		0 2px 4px rgba(0,0,0,0.6),
		0 0 12px rgba(0,0,0,0.45),
		0 0 20px rgba(0,0,0,0.3);
}


@media (max-width: 768px) {
	.conC {
		padding: 90px 16px;
	}
	.conC .photo {
		width: 260px;
	}
}




/*M 콘텐츠D: 개요(이미지+글자)*/
.conD {
	background:#000;
	padding:120px 0;
	color:#fff;
	text-align:center;
}

.conD .d-head h2 {
	margin-bottom:8px;
}

.conD .d-head p {
  margin-top:0;
  margin-bottom:40px;
  opacity:0.85;
  font-size:14px;
}

/* 카드/간격/보이는 개수 변수 */
:root{
  --d-card-w: 220px;
  --d-gap: 24px;
  --d-visible: 5;
}

/* 전체 래퍼 */
.d-gallery {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

/* ✅ 뷰포트(슬라이드 창)를 "5장 폭"으로 고정해서 중앙정렬 */
.d-window {
  width: calc(var(--d-card-w) * var(--d-visible) + var(--d-gap) * (var(--d-visible) - 1));
  margin: 0 auto;

  /* 🔥 왼쪽 치우침 해소: 중앙 딱 맞게 조정 */
  transform: translateX(-10px);  /* 이전 -40px → -10px 로 수정 */

  /* 오른쪽 잘림 방지 */
  padding-right: 60px;
  box-sizing: content-box;

  overflow-x: hidden;
  overflow-y: visible;

  height: 520px;
  padding-top: 40px;
  position: relative;
}


/* ✅ 트랙은 절대 가운데정렬 금지! (왼쪽 기준 유지) */
.d-track {
  display: flex;
  gap: var(--d-gap);
  align-items: center;
  justify-content: flex-start;  /* ⭐ 핵심 */
  transition: transform 0.7s ease;
  will-change: transform;
}

/* 카드 */
.d-card {
  width: var(--d-card-w);
  height: 350px;
  flex: 0 0 auto;
  border-radius: 15px;
  overflow: hidden;
  background: #111;
  transition: transform 0.6s ease;
}

/* 이미지 */
.d-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 화살표 버튼 */
.d-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.d-prev { left: 30px; }
.d-next { right: 30px; }

@media (max-width: 1024px) {
  :root{
    --d-card-w: 180px;
    --d-gap: 18px;
    --d-visible: 3;
  }
  .d-prev { left: 10px; }
  .d-next { right: 10px; }
}

/* 모바일: 데스크톱 레이아웃 그대로, 통째로 축소해서 5장 다 보이게 */
/* M 콘텐츠D: 개요(이미지+글자) */
.conD {
  background: #000;
  padding: 120px 0;
  color: #fff;
  text-align: center;
}

.conD .d-head h2 {
  margin-bottom: 8px;
}

.conD .d-head p {
  margin-top: 0;
  margin-bottom: 40px;
  opacity: 0.85;
  font-size: 14px;
}

/* 카드/간격/보이는 개수 변수 (PC 기준) */
:root {
  --d-card-w: 220px;
  --d-gap: 24px;
  --d-visible: 5;
}

/* 전체 래퍼 */
.d-gallery {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

/* 뷰포트 */
.d-window {
  width: calc(var(--d-card-w) * var(--d-visible) + var(--d-gap) * (var(--d-visible) - 1));
  margin: 0 auto;

  /* PC에서 살짝 왼쪽 보정하던 값 */
  transform: translateX(-10px);

  padding-right: 60px;
  box-sizing: content-box;

  overflow-x: hidden;
  overflow-y: visible;

  height: 520px;
  padding-top: 40px;
  position: relative;
}

/* 트랙 */
.d-track {
  display: flex;
  gap: var(--d-gap);
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.7s ease;
  will-change: transform;
}

/* 카드 */
.d-card {
  width: var(--d-card-w);
  height: 350px;        /* 원래 비율 그대로 */
  flex: 0 0 auto;
  border-radius: 15px;
  overflow: hidden;
  background: #111;
  transition: transform 0.6s ease;
}

/* 이미지 */
.d-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 화살표 버튼 */
.d-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

.d-prev { left: 30px; }
.d-next { right: 30px; }

/* 태블릿 정도에서 카드 조금만 줄이기 (원하면 유지, 싫으면 통째로 지워도 됨) */
@media (max-width: 1024px) {
  :root {
    --d-card-w: 200px;
    --d-gap: 20px;
    --d-visible: 5;
  }
}

/* 모바일: 5장 그대로 보이게 + 중앙 정렬 */
@media (max-width: 767px) {
  .d-arrow {
    display: none;
  }
  .d-card {
    height: calc(var(--d-card-w) * 2); 
    /* 1.3 = 비율 조절값. 
       더 짧게 하고 싶으면 1.2 / 1.1 / 1.0 로 줄여 */
  }
  :root {
    --d-visible: 5;   /* 모바일에서도 5장 */
    --d-gap: 13px;

    /* 화면 너비 안에서 5장 + gap 4개가 딱 들어가도록 */
    --d-card-w: calc(
      (100vw - var(--d-gap) * (var(--d-visible) - 1))
      / var(--d-visible)
    );
  }

  .d-window {
    width: 100%;
    margin: 0 auto;
    padding-top: 40px;
    padding-right: 0;
    box-sizing: border-box;
    transform: none;        /* 왼쪽으로 밀던 거 제거 */
    overflow: visible;
    height: auto;
  }

  /* 트랙 자체를 가운데로 */
  .d-track {
    justify-content: center;
  }
}



/* 콘텐츠 E : Mirror Room Section */
.conE {
	background: #000;
	padding: 30px 0 140px;
	color: #fff;
}

.conE .container {
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
	padding: 0 20px;
}

.conE .e-en {
	font-size: 12px;
	letter-spacing: 0.18em;
	opacity: 0.7;
	margin: 0 0 18px;
}

.conE .e-line {
	display: block;
	width: 1px;
	height: 110px;
	background: rgba(255,255,255,0.5);
	margin: 0 auto 35px;
}

.conE .e-title {
	font-size: 20px;
	margin: 0 0 14px;
	letter-spacing: 0.05em;
}

.conE .e-desc {
	font-size: 15px;
	line-height: 1.8;
	opacity: 0.85;
	margin: 0 0 45px;
}

.conE .e-image {
	position: relative;
	display: block;
	max-width: 600px;
	margin: 0 auto;
	border-radius: 22px;
	overflow: hidden; 
}

.conE .e-image img {
	width: 100%;
	display: block;
	object-fit: cover;
}

.conE .e-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,     
    rgba(0,0,0,0) 40%,     
    rgba(0,0,0,0.3) 50%,     
    rgba(0,0,0,0.6) 80%,    
    rgba(0,0,0,1) 100%       
  );
  pointer-events: none;
  border-radius: inherit;
}

/* 모바일 */
@media (max-width: 768px) {
  .conE {
    padding: 80px 0 100px;
  }

  .conE .e-line {
    height: 90px;
  }

  .conE .e-title {
    font-size: 18px;
  }

  .conE .e-desc {
    font-size: 14px;
  }
}


/* M footer 푸터*/

.site-footer {
	background: #181818;
	color: #aaa;
	padding: 30px 20px 45px 20px;
	font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
	font-size: 12px;
	line-height: 1.8;
	border-top: 1px solid #2a2a2a;
}

.site-footer .foot-inner {
	max-width: 1150px;
	margin: 0 auto;
	text-align: center;
}

.site-footer .foot-logo img {
	width: 100px;               
	height: auto;
	margin-bottom: 26px;
	opacity: 0.95;         
}

.site-footer .foot-notice {
	margin: 0 0 16px;
	color: #777;
}

.site-footer .foot-info {
	margin: 0 0 20px;
	color: #aaa;
}

.site-footer .foot-copy {
	margin: 0;
	font-size: 11px;
	color: #666;
}

/* 모바일 */
@media (max-width: 767px) {
  .site-footer {
    padding: 30px 20px;
    font-size: 11px;
  }
  .site-footer .foot-logo img {
    width: 90px;
    margin-bottom: 22px;
  }
}

/*header 헤더*/
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 70px;
	background: rgba(0, 0, 0, 0.3); 
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	z-index: 1000;
}

.nohero header{
	position: static;
	border-bottom: solid 1px #ddd;
	border-bottom: solid 1px var(--gray-color);
}

/*header A : 사이트 이름*/
.headA {
	display: inline-block;
	line-height: 70px;
	padding-left: 20px;
	padding-right: 20px;
	background: transparent; 
	color: #fff;            
	font-family: 'Montserrat', sans-serif;
	font-size: 24px;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s ease;
}
.headA:hover {
	color: #f5d37b; 
}

/* header B : 네비게이션 메뉴 */
.headB ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.headB a {
	display: block;
	padding: 15px;
	color: #fff; /* 흰색 글씨 */
	font-size: 12px;
	text-decoration: none;
	transition: color 0.3s ease, background 0.3s ease;
}

.headB a:hover {
	background-color: rgba(255, 255, 255, 0.15);
	color: #f5d37b; 
}


/* PC header B: 네비게이션 메뉴 */
@media (min-width: 768px) {
	header .container {
		display: flex;
		align-items: center;
		justify-content: space-between;
		max-width: var(--large-width);
		margin: auto;
	}

	.headB ul {
		display: flex;
	}
}

/* header C : 모바일 메뉴 버튼 */
/* header C : 모바일 메뉴 버튼 */
@media (max-width: 767px) {

	header .container-small {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.headC {
		margin-right: 10px;
		padding: 0;
		border: none;
		outline: none;
		background: none;
		font-size: 28px;
		color: #fff; /* 햄버거 버튼도 흰색 */
		opacity: 0.8;
		cursor: pointer;
		transition: opacity 0.3s ease;
	}

	.headC:hover {
		opacity: 0.5;
	}

	/* 🔥 여기만 새로 수정됨: 모바일 펼침 메뉴 배경 */
	.headB {
		display: none;
		background: rgba(0,0,0,0.75);   /* 어두운 반투명 */
		backdrop-filter: blur(6px);     /* 블러 효과 */
		position: absolute;
		top: 70px;                      /* 헤더 아래로 자연스럽게 */
		left: 0;
		width: 100%;
		z-index: 999;
	}
}

@media (min-width: 768px) {
	.headC {
		display: none;
	}
	.headB {
		display: block !important;
	}
}


/* about 페이지: hero 작성*/

.about-hero {
	width: 100%;
	position: relative;
	overflow: hidden;
}

.about-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("img/about-hero.png") center center/cover no-repeat;
	z-index: 0;
}

.about-hero-head {
	position: relative;
	z-index: 2;

	background: rgba(0,0,0,0.20); 
	backdrop-filter: blur(7px);   
	-webkit-backdrop-filter: blur(7px);

	padding: 120px 20px 110px;
	text-align: center;
	opacity: 0.85;
}

.about-hero-head .container {
	max-width: var(--large-width);
	margin: 0 auto;
	position: relative;
}

.about-hero-center {
	display: inline-block;
}

.about-main-title {
	margin: 0 0 18px;
	font-family: 'Montserrat', serif;
	font-size: clamp(40px, 6vw, 64px);
	letter-spacing: 0.12em;
	color: #f6e6c8;
}

.about-sub-title {
	margin: 0;
	font-size: 15px;
	color: rgba(255,255,255,0.7);
}

.about-divider {
	display: block;
	width: 1px;
	height: 55px;
	margin: 25px auto 0;
	background: rgba(245,211,123,0.9);
	opacity: 0.65;
}

.about-breadcrumb {
	position: absolute;
	right: 20px;
	bottom: 14px;
	font-size: 12px;
	color: rgba(255,255,255,0.7);
}

.about-hero-photo {
	width: 100%;
	height: 280px;
	position: relative;
	z-index: 1;
}

/* about 페이지: post 작성*/

.post {
	background: linear-gradient(
		to bottom,
		#000 0% ,
		rgba(0,0,0,0.92) 35%, 
		rgba(0,0,0,0.83) 100%
	);
	padding-top: 110px;
	padding-bottom: 140px;
	text-align: center;
	color: #fff;
}

.post .container {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 22px;
}

.post-title-en {
	margin: 0 0 18px;
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(34px, 5vw, 52px);
	letter-spacing: 0.22em;
	font-weight: 400;
	color: #f5ead2; 
	text-transform: uppercase;
}

.post-title-line {
	display: block;
	width: 50px;
	height: 2px;
	background: #f5d37b;
	margin: 0 auto 20px;
	opacity: 0.85;
}

.post-sub-en {
	margin: 0 0 36px;
	font-size: 15px;
	font-weight: 300;
	color: rgba(255,255,255,0.7);
}

.post-body-kr {
	margin: 0 0 14px;
	line-height: 1.9;
	font-size: 15px;
	color: rgba(255,255,255,0.88);
}

/* 모바일 */
@media (max-width: 768px) {
  .post {
    padding-top: 80px;
    padding-bottom: 100px;
  }
  .post-title-en {
    font-size: 28px;
  }
  .post-body-kr,
  .post-sub-en {
    font-size: 14px;
  }
}


/* 소개 페이지: 이미지와 연혁 */

.history {
	padding: 80px 0 100px;
	text-align: center;
	background: transparent;
	position: relative;
	overflow: visible;
}

.history::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.83);
	z-index: 0;
}

.history * {
	position: relative;
	z-index: 1;
}

.history-title {
  	font-size: 48px;
  	font-weight: 800;
  	color: var(--icon-bk-color);
  	text-align: center;
  	letter-spacing: 2px;
  	margin-bottom: 10px;
	opacity: 0.8;
}

.history-title p {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	color: #999;
}

.history h2 {
	text-align: center;
	font-size: 28px;
	margin-bottom: 50px;
	color: var(--text-bright-color);
}

.timeline {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	padding: 60px 0;
	z-index: 10;
	opacity: 0.9;

	display: flex;             
	flex-direction: column;    
}

.timeline::after {
	content: "";
	display: block;
	clear: both;
}

.timeline::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 1px;
	background: rgba(255, 255, 255, 0.25);
	transform: translateX(-50%);
	z-index: 5;
}

.timeline::before {
	z-index: 1; 
}

.item {
	position: relative;
	width: 100%;
	padding: 24px 0 40px;
	box-sizing: border-box;
}

.item.left {
	text-align: right;
	padding-right: 55%;
}

.item.right {
	text-align: left;
	padding-left: 55%;
}

.item::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--accent-color);
	z-index: 20;
}

.history .year {
	font-size: 14px;
	font-weight: 700;
	color: var(--accent-color);
	margin-bottom: 6px;
}

.item p {
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 12px;
	color: var(--text-bright-color);
}

.history-photo{
  width: 170px;
  height: 170px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #d0d0d0;
  box-sizing: border-box;  /* 테두리 때문에 원이 커 보이는 현상 방지 */

  background: #000;      
	left: 30%;
}

.history-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: scale(1.45); 
  transform-origin: center;
  display: block;
}

.timeline .item{
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

/* 등장 상태 */
.timeline .item.show{
  opacity: 1;
  transform: translateY(0);
}

/* 사라질 때 (스크롤 올리면) 다시 아래로 내려감 */
.timeline .item.hide{
  opacity: 0;
  transform: translateY(60px);
}



/* 모바일 */
@media (max-width: 768px) {
  .timeline {
    padding-bottom: 80px;
  }

  .item {
    padding: 20px 0 32px;
    padding-left: 40px;
  }

  .item.left,
  .item.right {
    text-align: left;
    padding-left: 40px;
    padding-right: 0;
  }

  /* 🔥 중앙 선 위치 */
  .timeline::before {
    left: 32px;                 /* 원이랑 정확히 맞추기 위한 값 */
    transform: translateX(-50%); /* 중앙 기준 */
  }

  /* 🔥 원 위치 */
  .item::before {
    left: 32px;                 /* 중앙 선과 동일한 위치 */
    transform: translate(-50%, -50%); /* 완전한 정중앙 겹침 */
  }
}




/* artwork 페이지: hero 작성*/

.artwork-hero {
	width: 100%;
	position: relative;
	overflow: hidden;
}

.artwork-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("img/artwork-hero.png") center center/cover no-repeat;
	z-index: 0;
}

.artwork-hero-head {
	position: relative;
	z-index: 2;

	background: rgba(0,0,0,0.20); 
	backdrop-filter: blur(7px);   
	-webkit-backdrop-filter: blur(7px);

	padding: 120px 20px 110px;
	text-align: center;
	opacity: 0.85;
}

.artwork-hero-head .container {
	max-width: var(--large-width);
	margin: 0 auto;
	position: relative;
}

.artwork-hero-center {
	display: inline-block;
}

.artwork-main-title {
	margin: 0 0 18px;
	font-family: 'Montserrat', serif;
	font-size: clamp(40px, 6vw, 64px);
	letter-spacing: 0.12em;
	color: #f6e6c8;
}

.artwork-sub-title {
	margin: 0;
	font-size: 15px;
	color: rgba(255,255,255,0.7);
}

.artwork-divider {
	display: block;
	width: 1px;
	height: 55px;
	margin: 25px auto 0;
	background: rgba(245,211,123,0.9);
	opacity: 0.65;
}

.artwork-breadcrumb {
	position: absolute;
	right: 20px;
	bottom: 14px;
	font-size: 12px;
	color: rgba(255,255,255,0.7);
}

.artwork-hero-photo {
	width: 100%;
	height: 280px;
	position: relative;
	z-index: 1;
}

/* =========================
   대표작 갤러리 (카드 선택)
========================= */

.art-gallery {
  padding: 70px 0 90px;
  text-align: center;
  color: #111;
  background: #fff;
}

.art-gallery .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.art-gallery-title-main {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
}

.art-gallery-desc {
  margin: 0 0 32px;
  font-size: 13px;
  color: #777;
}

/* 카드 줄 */
.art-gallery-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 26px;
}

/* 카드 한 개 */
.art-card {
  position: relative;
  width: 140px;          /* 세로 직사각형 느낌 */
  height: 230px;
  border-radius: 4px;
  overflow: hidden;
  background: #e5e5e5;   /* 이미지 없을 때 기본 회색 */
  cursor: pointer;
  transition: transform 0.2s ease;
}

.art-card-thumb {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* ===========================
   대표작 갤러리
=========================== */

.art-gallery {
  padding: 110px 0 120px;
  text-align: center;
  background: #fff;
}

.art-gallery .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* 타이틀 */
.art-gallery-title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 700;
  color: var(--accent-color);
}

.art-gallery-sub {
  margin: 0 0 46px;
  font-size: 14px;
  color: #777;
}

/* 카드 영역 */
.art-gallery-row {
  display: flex;
  justify-content: center;
  gap: 32px;
}

/* 카드 하나 */
.art-card {
  position: relative;
  width: 220px;      /* 전체적으로 크게 */
  height: 340px;     /* 전체적으로 크게 */
  border-radius: 16px;
  overflow: hidden;
  border: none;
  padding: 0;
  background: #111;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.art-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.24);
}

/* 카드 안 이미지 */
.art-card-thumb {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* 선택 / 호버 시 올라오는 어두운 오버레이 + 버튼 */
.art-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  color: #fff;
}

.art-card-label {
  margin-bottom: 14px;
  font-size: 15px;
}

/* 버튼 모양 (이미지는 버튼이 아니라 span으로) */
.art-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 20px;
  border-radius: 999px;
  border: 1px solid #fff;
  font-size: 13px;
  background: rgba(0,0,0,0.15);
}

/* 선택된 카드 */
.art-card.is-active .art-card-overlay {
  opacity: 1;
}

/* 호버만 했을 때도 살짝 보이게 하고 싶으면 */
.art-card:hover .art-card-overlay {
  opacity: 0.85;
}

/* 캡션 (예전 스트록 두 줄 자리) */
.art-caption {
  margin-top: 36px;
}

.art-caption-title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.art-caption-desc {
  margin: 0;
  font-size: 13px;
  color: #888;
  line-height: 1.7;
}

/* 반응형 */
@media (max-width: 1024px) {
  .art-gallery-row {
    gap: 20px;
  }

  .art-card {
    width: 190px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .art-gallery {
    padding: 80px 0 90px;
  }

  .art-gallery-row {
    flex-wrap: wrap;
    gap: 16px;
  }

  .art-card {
    width: 46%;
    height: 260px;
  }
}

/* ==========================
   POLAROID SECTION
========================== */


.polaroid-section {
  position: relative;
  width: 100%;
  padding: 120px 40px;
  box-sizing: border-box;
  overflow: hidden;
  background: url("img/versailles-hall.jpg") center center / cover fixed no-repeat;
}

/* 어두운 오버레이 */
.polaroid-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

/* 내부 구조 */
.polaroid-section-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 140px !important; 
}


/* 사진 묶음 전체를 위로 올림 */
.polaroid-stack {
  transform: translateY(-55px);   /* 위로 올림 */
}

/* 왼쪽 영역 */
.polaroid-left {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* 🔽 크기 줄임 */
.polaroid-stack {
  position: relative;
  width: 260px;     /* 기존 340 → 축소 */
  height: 350px;    /* 기존 420 → 축소 */
}

/* 🔽 카드 축소 */
.polaroid-card {
  position: absolute;
  width: 220px;     /* 기존 260 → 축소 */
  background: #fff;
  padding: 10px;    /* 기존 12 → 조금 축소 */
  border-radius: 4px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
  transition: transform 0.35s ease, box-shadow 0.35s ease,
              filter 0.35s ease, opacity 0.35s ease;
  cursor: pointer;
}

.polaroid-card img {
  display: block;
  width: 100%;
  border-radius: 2px;
}


/* + 버튼 */
.pl-more {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #d65832; /* 필요하면 var(--accent-color) */
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 10px rgba(0,0,0,0.25);
  cursor: pointer;
  pointer-events: auto;
}

/* 카드 개별 위치/각도 */
.polaroid-card.card1 {
  top: 80px;
  left: 10px;
  transform: rotate(-7deg) scale(1);
  z-index: 2;
}
.polaroid-card.card2 {
  top: 30px;
  left: 80px;
  transform: rotate(4deg) scale(1);
  z-index: 3;
}
.polaroid-card.card3 {
  top: 110px;
  left: 150px;
  transform: rotate(1deg) scale(1);
  z-index: 1;
}

/* 선택된 카드(앞으로 / 밝게) */
.polaroid-card.active {
  transform: translateY(-15px) scale(1.12) rotate(0deg);
  z-index: 10;
  filter: brightness(1);
  box-shadow: 0 24px 50px rgba(0,0,0,0.45);
}

/* 선택 안 된 카드(조금 어둡게) */
.polaroid-card.dim {
  filter: brightness(0.6);
  opacity: 0.8;
}

/* 오른쪽 텍스트 영역 */
.polaroid-right {
  flex: 1;
  color: #fff;
}

.polaroid-kicker {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 10px;
}

.polaroid-info-title {
  font-size: 28px;
  margin: 0 0 16px;
}

.polaroid-info-body {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.92;
  margin-bottom: 26px;
}

/* 버튼 */
.polaroid-info-btn {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  backdrop-filter: blur(2px);
  background: rgba(0,0,0,0.2);
}

.polaroid-info-btn:hover {
  background: rgba(0,0,0,0.38);
}

/* 모바일 전체 중앙 정렬 */
@media (max-width: 900px) {

  /* 큰 래퍼 자체 중앙 */
  .polaroid-section-inner {
    flex-direction: column;
    align-items: center;      /* 중앙 정렬 강제 */
    justify-content: center;
    width: 100%;
  }

  /* 왼쪽 영역 전체 가운데 */
  .polaroid-left {
    width: 100%;
    display: flex;
    justify-content: center;  /* 가운데 */
  }

  /* 카드 묶음 중앙 배치 */
  .polaroid-stack {
    position: relative;
    width: 260px;
    height: 360px;

    left: 50%;                /* 가운데 기준 */
    transform: translateX(-50%);
    margin: 0 auto;           /* 안전하게 가운데 */
  }

  /* 카드: absolute → 중앙 기준 */
  .polaroid-card {
    position: absolute;
    left: 50%;                /* 중앙 기준 */
    transform: translateX(-50%);  
    width: 220px;
  }

  /* 카드별 개별 위치 */
  .polaroid-card.card1 {
    top: 70px;
    transform: translateX(-50%) rotate(-7deg);
    z-index: 2;
  }
  .polaroid-card.card2 {
    top: 30px;
    transform: translateX(-50%) rotate(4deg);
    z-index: 3;
  }
  .polaroid-card.card3 {
    top: 110px;
    transform: translateX(-50%) rotate(1deg);
    z-index: 1;
  }

  /* 오른쪽 텍스트 중앙 */
  .polaroid-right {
    text-align: center;
    width: 100%;
  }
}



/* branding 페이지: hero 작성*/

.branding-hero {
	width: 100%;
	position: relative;
	overflow: hidden;
}

.branding-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
}

.branding-hero-head {
	position: relative;
	z-index: 2;

	background: rgba(0,0,0,0.40); 
	backdrop-filter: blur(7px);   
	-webkit-backdrop-filter: blur(7px);

	padding: 120px 20px 110px;
	text-align: center;
	opacity: 0.85;
}

.branding-hero-head .container {
	max-width: var(--large-width);
	margin: 0 auto;
	position: relative;
}

.branding-hero-center {
	display: inline-block;
}

.branding-main-title {
	margin: 0 0 18px;
	font-family: 'Montserrat', serif;
	font-size: clamp(40px, 6vw, 64px);
	letter-spacing: 0.12em;
	color: #f6e6c8;
}

.branding-sub-title {
	margin: 0;
	font-size: 15px;
	color: rgba(255,255,255,0.7);
}

.branding-divider {
	display: block;
	width: 1px;
	height: 55px;
	margin: 25px auto 0;
	background: rgba(245,211,123,0.9);
	opacity: 0.65;
}

.branding-breadcrumb {
	position: absolute;
	right: 20px;
	bottom: 14px;
	font-size: 12px;
	color: rgba(255,255,255,0.7);
}

.branding-hero-photo {
	width: 100%;
	height: 280px;
	position: relative;
	z-index: 1;
}

/* ============================
   BRANDING SECTION (3 blocks)
============================ */

.branding-section {
  position: relative;
  width: 100%;
  color: #fff;
}

/* 어둡게 덮어주는 레이어 */
.branding-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 0;
}

/* 내부 래퍼 */
.branding-inner {
  position: relative;
  z-index: 1;
  max-width: 1150px;
  margin: 0 auto;
  padding: 220px 40px 160px;
}

/* 각 섹션 한 줄(텍스트 + 이미지) */
.brand-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  margin-bottom: 280px;
}

.brand-block:last-child {
  margin-bottom: 0;
}

/* 텍스트 영역 */
.brand-text {
  flex: 1;
  max-width: 540px;
}

.brand-kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0 0 10px;
}

.brand-title {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.6;
}

.brand-sub {
  margin: 0 0 14px;
  font-size: 15px;
  opacity: 0.85;
}

.brand-body {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,0.9);
}

/* 섹션 1 위에 붙는 전용 그라데이션 */
.branding-gradient {
  position: relative;
  width: 100%;
  height: 260px; /* 원하면 늘릴 수 있음 */
  background: linear-gradient(
    to bottom,
		rgba(0, 0, 0, 0) 0%,
		rgba(0, 0, 0, 0.95) 100%
  );
  pointer-events: none;
  z-index: 5; /* 브랜딩 섹션보다 위 */
}


/* ✅ brand-wire 공통: 박스 안에 꽉 차게 + 넘치면 크롭 */
.brand-wire{
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden; /* 혹시 내부 요소가 생겨도 박스 밖 안 튀게 */
}

/* 공통 썸네일 (radius 없음) */
.brand-thumb {
  flex: 0 0 260px;
  height: 360px;
  background: #dcdde1 center center / cover no-repeat;
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
}

/* SECTION1 : 세로 이미지 */
.brand-thumb-1 {
  background-image: url("img/work1.png");
}

/* SECTION2 : 세로 막대 + 직사각형 와이어프레임 */
.brand-thumb-2 {
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: flex-end;
  gap: 25px;
}

/* 세로바 + 네모 */
.brand-wire.bar {
  width: 50px;
  height: 320px;
  background-image: url("img/sunking_Details4.png");
}

.brand-wire.rect {
  width: 240px;
  height: 320px;
  background-image: url("img/versailles-hall.jpg");
}

/* SECTION3 : 와이어프레임 3단 박스 */
.brand-thumb-3 {
  background: transparent;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 기본 block 스타일 */
.brand-wire.block {
  width: 230px;
  height: 100px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* 각 박스별 개별 이미지 적용 */
.brand-wire.block-top {
  width: 220px;
  align-self: flex-start;
  background-image: url("img/ceiling_Details1.png");   /* 첫 번째 이미지 */
}

.brand-wire.block-mid {
  width: 280px;
  align-self: center;
  background-image: url("img/myth_Details1.png");   /* 두 번째 이미지 */
}

.brand-wire.block-bottom {
  width: 240px;
  align-self: flex-end;
  background-image: url("img/work3.png");   /* 세 번째 이미지 */
}

/* 2,3 섹션에서 이미지와 텍스트 순서 맞추기 */
.brand-block-2 .brand-text { order: 2; }
.brand-block-2 .brand-thumb { order: 1; }

/* 초기 상태 */
.brand-block {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}


/* 화면 안으로 들어올 때 */
.brand-block.visible {
  opacity: 1;
  transform: translateY(0px);
}

/* 다시 화면에서 벗어날 때 (위로 스크롤 시 재투명화) */
.brand-block.hide {
  opacity: 0;
  transform: translateY(-40px);
}



/* 반응형 */
@media (max-width: 960px) {
  .branding-inner {
    padding: 90px 24px 110px;
  }

  .brand-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 90px;
  }

  .brand-thumb {
    align-self: center;
    width: 70vw;
    max-width: 320px;
    height: 340px;
  }

  .brand-thumb-2,
  .brand-thumb-3 {
    width: 70vw;
    max-width: 320px;
  }
}

@media (max-width: 600px) {
  .brand-title {
    font-size: 22px;
  }
  .brand-body {
    font-size: 13px;
  }
}

/* ------------------------------------
   기본 스타일
------------------------------------ */
.listA h1{
  font-size: 1.6rem;   /* 🔽 줄임 */
  text-align: center;
  margin-bottom: 30px;
	color: #f9f9f9;
}

.listA{
  position: relative;
  background: rgba(0, 0, 0, 0.7); 
  padding: 50px 0;     /* 🔽 여백도 조금 줄임 */
}

.listA .container{
  display: flex;
  flex-wrap: wrap;
  max-width: var(--large-width);
  margin: 20px auto;
  justify-content: center;   /* 가운데 정렬 */
}

.listA article{
  flex: 1 1 280px;           /* 🔽 최소 카드 폭 축소 */
  display: flex;
}

.listA a{
  flex: 1;
  margin: 8px;               /* 🔽 여백 줄임 */
  display: block;
  border: 1px solid var(--gray-color);
  text-decoration: none;
  color: inherit;
}

.listA .photo{
  min-height: 220px;         /* 🔽 이미지 높이도 살짝 줄임 */
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: visible;
}

/* ------------------------------------
   detail 설명 박스
------------------------------------ */
.listA .detail{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 14px;             /*  padding 줄임 */
  background: rgba(0,0,0,0.7);
  color: #fff;
  display: none;
  backdrop-filter: blur(4px);
  box-sizing: border-box;

  min-height: 140px;         /* 🔽 기본 높이 줄임 */
  height: auto;
  font-size: 0.85rem;        /*  폰트 전체 축소 */
  line-height: 1.4;          /*  가독성 좋은 비율 */
}

.listA .detail h2{
  margin: 0 0 5px;
  font-size: 1rem;           /*  제목 축소 */
  color: #fff;
}

/* 열렸을 때 */
.listA article.active .detail{
  display: block;
}

/* 카드 배경 유지 */
.listA article.active a{
  background: transparent;
}


/* ------------------------------------
   반응형
------------------------------------ */

/* 태블릿 (max 1024px) */
@media (max-width:1024px){
  .listA h1{
    font-size: 1.4rem;
  }
  .listA .photo{
    min-height: 200px;
  }
  .listA .detail{
    font-size: 0.8rem;
    padding: 12px;
    min-height: 130px;
  }
  .listA .detail h2{
    font-size: 0.95rem;
  }
}

/* 모바일 가로 (max 768px) */
@media (max-width:768px){
  .listA h1{
    font-size: 1.3rem;
  }
  .listA article{
    flex: 1 1 100%;     /* 🔥 1열로 변경 */
  }
  .listA .photo{
    min-height: 180px;
  }
  .listA .detail{
    font-size: 0.78rem;
    padding: 12px;
    min-height: 120px;
  }
  .listA .detail h2{
    font-size: 0.9rem;
  }
}

/* 모바일 세로 (max 480px) */
@media (max-width:480px){
  .listA h1{
    font-size: 1.2rem;
  }
  .listA .photo{
    min-height: 160px;
  }
  .listA .detail{
    font-size: 0.75rem;
    padding: 10px;
    min-height: 110px;
    line-height: 1.35;
  }
  .listA .detail h2{
    font-size: 0.85rem;
  }
}

/* ============================
   VIDEO SECTION (conE)
============================ */

.conE {
  width: 100%;
  padding: 140px 0;
  background: #0e0e0e;        /* 전체 웹사이트 무드에 맞춘 진한 블랙 */
  display: flex;
  justify-content: center;
}

.conE .container {
  width: 100%;
  max-width: 1100px;
  padding: 0 40px;
}

/* 비디오 스타일 */
.conE video {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(255,255,255,0.15); 
  background: #000;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  border-radius: 6px;  /* 필요 없으면 삭제 가능 */
  outline: none;
}

/* 반응형 */
@media (max-width: 900px) {
  .conE {
    padding: 100px 0;
  }

  .conE .container {
    padding: 0 20px;
  }
}

@media (max-width: 600px) {
  .conE video {
    border-radius: 4px;
  }
}







