@charset "UTF-8";

/* =========================
   공통 색상 / 사이즈 변수
   ========================= */
:root {
	--main-color: #49A3FF;
	--accent-color: #95C9FF;
	--dark-main-color: #1D4166;
	--text-bright-color: #fff;
	--icon-color: #fff;
	--icon-bk-color: #ddd;
	--gray-color: #ddd;
	--large-width: 1200px;
	--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 */
body {
	margin: 0;
	font-size: 16px;
	font-family: '맑은 고딕','Apple SD Gothic Neo','sans-serif';
}

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

/* =========================
   1. HEADER (공통)
   ========================= */

/* 헤더 기본 (히어로 페이지용) */
header {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	background: rgba(255, 255, 255, 0.01);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(209, 240, 255, 0.7);
	box-shadow: 0px 0px 20px rgba(0,0,0,0.05);
}

/* ABOUT 등 .nohero 페이지에서 일반 상단 고정 헤더 */
.nohero header {
	position: static;
	background-color: rgba(255, 255, 255, 0.95);
	border-bottom: solid 1px var(--gray-color);
}

/* 로고 영역 */
.headA {
	display: flex;
	align-items: center;
	height: 70px;
	padding-left: 20px;
	padding-right: 20px;
	background: none;
	color: inherit;
	text-decoration: none;
}

.headA-logo {
	display: block;
	height: 55px;
}
@media (min-width: 768px) {
	.headA-logo { height: 65px; }
}

/* 네비게이션 메뉴 */
.headB ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.headB a {
	display: block;
	padding: 15px;
	color: inherit;
	font-size: 12px;
	text-decoration: none;
}
.headB a:hover {
	background-color: rgba(0,0,0,0.3);
}

/* PC 헤더 레이아웃 */
@media (min-width: 768px) {
	header .container {
		display: flex;
		align-items: center;
		justify-content: space-between;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
	}
	.headB ul {
		display: flex;
	}
}

/* 모바일 토글 버튼 (햄버거 메뉴) */
@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;
		opacity: 0.5;
		cursor: pointer;
	}
	.headC:hover{
		opacity: 0.3;
	}
	.headB{
		display: none;
	}
}

/* PC에서는 토글 버튼 숨기고 메뉴 항상 보이기 */
@media (min-width:768px){
	.headC { display: none; }
	.headB { display: block !important; }
}

/* ★ 인덱스(히어로 있는 페이지)에서만 헤더 텍스트 흰색 */
body:not(.nohero) .headB a,
body:not(.nohero) .headC span {
	color: #ffffff;
}

/* ★ 인덱스에서 hover 시에도 흰색 유지 + 배경 조금 더 진하게 */
body:not(.nohero) .headB a:hover {
	color: #f4f8ff;
	background-color: rgba(0,0,0,0.35);
}

/* =========================
   2. INDEX 페이지 전용 스타일
   ========================= */

/* 2-1. Hero 파도 이미지 섹션 */
.conA {
	position: relative;
	overflow: hidden;
	background-image: url('img/banner.png');
	background-size: cover;
	background-position: center;
}

/* 실제 이미지는 투명(물결 플러그인용) */
.conA .hero-img {
	display: block;
	width: 100%;
	height: auto;
	opacity: 0;
}

/* 2-2. KEYWORD 동글 원형 3개 */
.keyword-section {
	text-align: center;
	padding: 120px 20px 80px;
}
.keyword-section h3 {
	margin: 0;
	font-size: 2rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	color: #1D4166;
}
.keyword-wrap {
	display: flex;
	justify-content: center;
	gap: 60px;
	margin-top: 40px;
	max-width: var(--large-width);
	margin-left: auto;
	margin-right: auto;
}
.keyword-item {
	text-align: center;
}
.keyword-circle {
	width: 300px;
	height: 300px;
	border-radius: 50%;
	overflow: hidden;
	background-color: #e8e8e8;
	display: flex;
	justify-content: center;
	align-items: center;
}
.keyword-circle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}
.keyword-label {
	margin-top: 14px;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	color: #1D4166;
}

/* 2-3. 해변 가로 이미지 영역 */
.wide-photo {
	height: 420px;
	background-image: url(img/beach.jpg);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	position: relative;
}
.overlay-text {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: #f5f5f5;
	font-weight: 700;
}
.overlay-text h2 {
	margin: 0 0 4px;
	font-size: 1.5rem;
}
.overlay-text p {
	margin: 0;
	font-size: 1rem;
}

/* 2-4. 폴라로이드 스크롤 섹션 */
.polaroid-section {
	padding: 120px 20px 120px;
	background-color: #f7fbff;
	text-align: center;
}
.section-title {
	margin: 0 0 4px;
	font-size: 2rem;
	font-weight: 600;
	color: #1D4166;
}
.section-desc {
	margin: 0 0 20px;
	font-size: 1rem;
	line-height: 1.6;
	color: #1D4166;
	opacity: 0.85;
}
.polaroid-row {
	margin-top: 50px;
	width: calc(260px * 3 + 40px * 2);
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	gap: 40px;
	justify-content: flex-start;
	padding: 10px 30px 20px;
	overflow-x: auto;
	overflow-y: visible;
	scroll-snap-type: x mandatory;
}
.polaroid-row::-webkit-scrollbar {
	height: 6px;
}
.polaroid-row::-webkit-scrollbar-track {
	background: transparent;
}
.polaroid-row::-webkit-scrollbar-thumb {
	background: rgba(0,0,0,0.18);
	border-radius: 999px;
}
.polaroid-card {
	flex: 0 0 260px;
	height: 260px;
	background: #ddd;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 22px 38px rgba(0,0,0,0.18);
	scroll-snap-align: center;
}
.polaroid-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.tilt-left  { transform: rotate(-5deg); }
.tilt-center{ transform: rotate(0deg);  }
.tilt-right { transform: rotate(5deg);  }

/* 2-5. 가운데 텍스트 섹션 */
.center-text {
	padding: 120px 20px;
	text-align: center;
	color: #1D4166;
	background-image: url('img/background.png');
	background-size: 500px auto;
	background-repeat: repeat;
	background-position: center;
	background-attachment: fixed;
	position: relative;
	z-index: 1;
}
.center-text h3 {
	font-size: 2rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	margin-bottom: 20px;
}

/* 2-6. 곡선 갤러리 섹션 */
.curve-gallery {
	padding: 150px 20px 120px;
	text-align: center;
	overflow: hidden;
	background: linear-gradient(
		to bottom,
		#e9f5ff 0%,
		#f6fbff 60%,
		#ffffff 100%
	);
}
.curve-gallery .section-title {
	font-size: 1.3rem;
	font-weight: 600;
	margin: 0 0 4px;
}
.curve-gallery .section-desc {
	margin: 0 0 28px;
}
.curve-cards {
	display: flex;
	justify-content: center;
	gap: 70px;
}
.curve-item {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.curve-card {
	width: 260px;
	height: 300px;
	background: #ddd;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 16px 32px rgba(0,0,0,0.15);
}
.curve-card.main {
	width: 300px;
	height: 340px;
}
.curve-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* =========================
   2-7. INDEX 반응형 (모바일)
   ========================= */
@media (max-width: 767px) {

	/* KEYWORD 섹션 */
	.keyword-section {
		padding: 80px 16px 60px;
	}
	.keyword-wrap {
		flex-direction: column;
		gap: 32px;
	}
	.keyword-circle {
		width: 220px;
		height: 220px;
		margin: 0 auto;
	}

	/* 해변 가로 이미지 */
	.wide-photo {
		height: 260px;
		background-attachment: scroll;
	}
	.overlay-text h2 {
		font-size: 1.25rem;
	}
	.overlay-text p {
		font-size: 0.9rem;
	}

	/* 폴라로이드 섹션 */
	.polaroid-section {
		padding: 80px 16px 80px;
	}
	.polaroid-row {
		width: 100%;
		display: flex;
		flex-direction: row;
		gap: 24px;
		padding: 10px 16px 16px;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
	}
	.polaroid-card {
		flex: 0 0 200px;
		height: 200px;
		scroll-snap-align: center;
	}

	/* 가운데 텍스트 섹션 */
	.center-text {
		padding: 80px 16px;
		background-attachment: scroll;
		background-size: 320px auto;
	}
	.center-text h3 {
		font-size: 1.6rem;
		margin-bottom: 14px;
	}

	/* 곡선 갤러리 */
	.curve-gallery {
		padding: 100px 16px 80px;
	}
	.curve-cards {
		flex-direction: column;
		gap: 32px;
	}
	.curve-card,
	.curve-card.main {
		width: 70%;
		max-width: 260px;
		height: auto;
	}
	.curve-card img {
		height: auto;
	}
}

/* (PC에서는 위 기본값 그대로 사용) */

/* =========================
   3. ABOUT 페이지 전용 스타일
   ========================= */

/* 3-1. ABOUT 인트로 (모바일 기본) */
.about-intro {
    padding: 80px 20px;
    background-color: #f7fbff;
}
.about-intro .container {
    max-width: var(--large-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* 모바일: 세로 정렬 */
    gap: 40px;
    align-items: stretch;
}
.about-text {
    flex: 1;
}
.about-text h1 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 2rem;
}
.about-text p {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.9;
}
.about-photo {
    flex: 1;
    min-height: 260px;
    border-radius: 10px;
    overflow: hidden;
    order: -1; /* 모바일에서 사진을 텍스트 위로 */
}
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

/* 3-2. HISTORY 섹션 */
.history {
    position: relative;
    background: url('img/history2.png') center/cover no-repeat;
    color: rgb(77, 91, 93);
    overflow: hidden;
}
.history::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to left,
        rgba(0,0,0,0.40) 25%,
        rgba(0,0,0,0) 80%
    );
    pointer-events: none;
}
.history .text {
    padding: 20px;
}
.history h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5rem;
}
.history .photo {
    min-height: 300px;
    background-position: center;
    background-size: cover;
}
.history table {
    border-collapse: collapse;
    border-top: solid 1px var(--gray-color);
    font-size: 0.875rem;
    background-color: rgba(255, 255, 255, 0);
    width: 100%;
}
.history th,
.history td {
    padding-top: 1.8rem;
    padding-bottom: 1.8rem;
    border-bottom: solid 1px var(--gray-color);
    background-color: rgba(0, 0, 0, 0.035);
}
.history th {
    padding-left: 20px;
    padding-right: 1rem;
    text-align: start;
    word-break: keep-all;
}
.history h2,
.history th,
.history td {
    color: #ffffff;
    position: relative;
    z-index: 3;
}

/* 3-3. CONTACT 섹션 */
.post .container {
    max-width: var(--middle-width);
    margin-left: auto;
    margin-right: auto;
    padding: 30px 10px;
}
.post h1 {
    font-size: 2rem;
}
.post p {
    font-size: 1rem;
    line-height: 2;
}
.contact {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    border: solid 1px var(--gray-color);
    text-align: center;
}
.contact span {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 2.2rem;
    width: 2em;
    line-height: 2em;
    border-radius: 50%;
    text-align: center;
    background-color: #5c8386;
    color: #fff;
}
.contact h2 {
    margin-top: 0;
    font-size: 1.2rem;
}
.contact a {
    font-size: 1.4rem;
    color: #5c8386;
    text-decoration: none;
}
.contact a:hover {
    color: #A7BFC1;
}

/* 3-4. LOCATION 섹션 */
.location iframe {
    width: 100%;
    height: 400px;
    vertical-align: bottom;
}
.location h2 {
    margin: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: #A7BFC1;
    color: var(--text-bright-color);
    font-size: 1.5rem;
    text-align: center;
}

/* 3-5. ABOUT - PC 레이아웃 */
@media (min-width: 768px) {
    .about-intro .container {
        flex-direction: row;  /* PC에서는 가로 배치 */
        align-items: flex-start;
    }
    .about-photo {
        order: 0;
    }
    .history .container {
        display: flex;
        max-width: var(--large-width);
        margin-left: auto;
        margin-right: auto;
    }
    .history .photo {
        flex: 3;
    }
    .history .text {
        flex: 2;
        padding: 50px;
    }
    .contact-wrap {
        display: flex;
    }
    .contact {
        flex: 1;
    }
    .contact:first-child {
        margin-right: 20px;
    }
}

/*  4. FOOTER (공통, index & about) */

.minimal-footer {
	background-color: var(--dark-main-color);
	color: var(--text-bright-color);
	padding: 18px 0;
	text-align: center;
	position: relative;    /* 🔹추가 */
    z-index: 999;     
}
.minimal-footer .container {
	max-width: 1000px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}
.mf-logo {
	font-family: 'Montserrat', sans-serif;
	font-size: 20px;
	letter-spacing: 0.22em;
	margin: 0;
}
.mf-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 20px;
}
.mf-menu a {
	color: rgba(255,255,255,0.78);
	text-decoration: none;
	font-size: 13px;
}
.mf-menu a:hover {
	color: #fff;
}
.mf-sns {
	list-style: none;
	margin: 5px 0 0;
	padding: 0;
	display: flex;
	gap: 14px;
}
.mf-sns a {
	display: block;
	width: 28px;
	height: 28px;
	line-height: 28px;
	border-radius: 50%;
	background-color: rgba(255,255,255,0.12);
	text-align: center;
	font-size: 13px;
	color: #fff;
	text-decoration: none;
	transition: background-color 0.25s ease;
}
.mf-sns a:hover {
	background-color: rgba(255,255,255,0.35);
}
.mf-copy {
	margin: 0;
	font-size: 11px;
	opacity: 0.75;
}

/* SHOP - PC */
.shop-main {
	min-height: 100vh;
}
.shop-hero {
	position: relative;
	display: flex;
	height: 100vh;
	width: 100%;
	overflow: hidden;
	font-family: 'Montserrat', sans-serif;
}
.shop-panel {
	flex: 1;
	position: relative;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
}
.shop-panel-books {
	background-image: url('img/books.jpg');   
}
.shop-panel-prints {
	background-image: url('img/print.jpg');  
}
.shop-panel-link {
	text-decoration: none;
}
.shop-panel-title {
	margin: 0;
	font-size: clamp(42px, 6vw, 90px);
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #ffffff;
}
.shop-panel-books .shop-panel-title {
	color: #ffffff;  
}
.shop-panel-prints .shop-panel-title {
	color: #ffffff;
}
.shop-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.0);
	transition: background 0.25s ease;
}
.shop-panel:hover::before {
	background: rgba(0,0,0,0.18);
}
.shop-panel:hover .shop-panel-title {
	transform: translateY(-2px);
}

.shop-page header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background-color: transparent;
	border-bottom: none;
}

/* SHOP - MOBILE */
@media (max-width: 767px) {
	.shop-hero {
		flex-direction: column;
		height: auto;
		min-height: 100vh;
	}
	.shop-panel {
		height: 50vh;
	}
	.shop-top-nav {
		top: 12px;
	}
}

/* ========================= */
/* BOOKS GRID                */
/* ========================= */

.shop-gallery {
	max-width: var(--large-width);
	margin: 0 auto;
	padding: 100px 20px 80px;
  }
  
  .product-section-header {
	text-align: center;
	margin-bottom: 40px;
  }
  
  .product-section-header h1 {
	margin: 0 0 12px;
	font-family: 'Montserrat', sans-serif;
	font-size: 1.4rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #515151;
  }
  
  /* BOOKS / PRINTS 탭 */
  .shop-subnav {
	margin-top: 28px;
	display: flex;
	justify-content: center;
	gap: 40px;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.85rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
  }
  .shop-subnav a {
	position: relative;
	text-decoration: none;
	color: #a0a0a0;
	padding-bottom: 6px;
  }
  .shop-subnav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background-color: #c0c0c0;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.2s ease, background-color 0.2s ease;
  }
  .shop-subnav a:hover {
	color: #555;
  }
  .shop-subnav a:hover::after {
	transform: scaleX(1);
  }
  .shop-subnav a.active {
	color: #444;
  }
  .shop-subnav a.active::after {
	transform: scaleX(1);
	background-color: #444;
  }
  
  /* 3열 그리드 */
  .product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 40px;
	row-gap: 60px;
  }
  
  /* 카드 */
  .product-card a {
	display: block;
	text-decoration: none;
	color: inherit;
  }
  .product-thumb {
	position: relative;
	width: 100%;
	padding-top: 70%;
	background-color: #e3e3e3;
	overflow: hidden;
  }
  .product-thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
  }
  
  /* 이름 */
  .product-name {
	margin: 14px 0 4px;
	font-size: 0.95rem;
	font-weight: 500;
	text-align: center;
	color: #555;
  }
  
  /* 호버 효과 */
  .product-card:hover .product-thumb {
	box-shadow: 0 16px 32px rgba(0,0,0,0.12);
	transform: translateY(-3px);
	transition: all 0.2s ease;
  }
  
  /* 반응형 */
  @media (max-width: 991px) {
	.product-grid {
	  grid-template-columns: repeat(2, minmax(0, 1fr));
	  column-gap: 24px;
	  row-gap: 40px;
	}
  }
  @media (max-width: 599px) {
	.shop-gallery {
	  padding: 90px 16px 60px;
	}
	.product-grid {
	  grid-template-columns: 1fr;
	  row-gap: 36px;
	}
  }
  

  /* AUTHENTICITY SLIDER */
  
  .auth-section {
	max-width: var(--large-width);
	margin: 80px auto 40px;
	padding: 0 20px;
  }
  .auth-title {
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 20px;
	color: #555;
  }
  .auth-swiper {
	width: 100%;
	padding-bottom: 40px;
  }
  .auth-swiper .swiper-slide {
	background: #f5f5f5;
	display: flex;
	justify-content: center;
	align-items: center;
  }
  .auth-swiper .swiper-slide img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
  }
  .auth-swiper .swiper-button-next,
  .auth-swiper .swiper-button-prev {
	color: #444;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255,255,255,0.9);
	box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  }
  .auth-swiper .swiper-button-next:after,
  .auth-swiper .swiper-button-prev:after {
	font-size: 18px;
  }
  .auth-swiper .swiper-button-prev { left: 10px; }
  .auth-swiper .swiper-button-next { right: 10px; }
  
  @media (max-width: 599px) {
	.auth-section {
	  margin: 60px auto 80px;
	  padding: 0 16px;
	}
  }
  

/* PRINTS 페이지 전용        */
.prints-gallery .product-thumb {
    padding-top: 145%;   /* 세로로 긴 느낌 (book은 70%) */
}

/* ===== PRINTS 전용 썸네일 (세로로 길게) ===== */
.print-thumb {
    padding-top: 150%;   /* BOOK은 70%, PRINTS는 더 세로로 */
}

/* ===== 아래 숫자 페이지네이션 ===== */
.pagination {
    margin-top: 40px;
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
}

.pagination a,
.pagination span {
    display: inline-block;
    margin: 0 12px;
    text-decoration: none;
    color: #444;
}

.pagination a:hover {
    color: #1D4166;
}

.pagination .current {
    font-weight: 700;
    border-bottom: 2px solid #444;
    padding-bottom: 2px;
}

.pagination .arrow {
    font-size: 1.05rem;
}

/* BOOK DETAIL PAGE */


.book-detail {
	max-width: var(--large-width);
	margin: 0 auto;
	padding: 90px 20px 80px;
}

/* 두 컬럼 레이아웃 */
.book-detail-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	column-gap: 60px;
	align-items: flex-start;
}

/* 왼쪽 이미지 컬럼 */
.bd-left {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

/* 메인 커버 이미지 */
.bd-main-photo {
	width: 100%;
	background-color: #f0f0f0;
	border-radius: 10px;
	overflow: hidden;
}
.bd-main-photo img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* 아래 내지 이미지들 (조금 작게) */
.bd-sub-photo {
	width: 100%;
	background-color: #f4f4f4;
	border-radius: 10px;
	overflow: hidden;
}
.bd-sub-photo img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* 오른쪽 sticky 정보 컬럼 */
.bd-right {
	position: sticky;
	top: 70px;            
	align-self: flex-start;
}
.book-detail-title {
	margin: 0 0 30px;
	font-family: 'Montserrat', sans-serif;
	font-size: 1.9rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #333;
}

/* 메타 정보 리스트 */
.book-detail-meta {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	font-size: 0.9rem;
	color: #666;
}
.book-detail-meta li {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid #eee;
	padding: 7px 0;
}
.book-detail-meta li span {
	color: #9a9a9a;
}
.book-detail-meta li strong {
	font-weight: 500;
	color: #444;
}

/* 설명 텍스트 */
.book-detail-text p {
	margin-top: 10;
	margin-bottom: 10px;
	font-size: 0.95rem;
	line-height: 1.8;
	color: #555;
}
.book-detail-text ul {
	padding-left: 18px;
	margin: 0;
	color: #555;
	font-size: 0.95rem;
}

/* BACK 버튼 */
.book-detail-btn {
	display: inline-block;
	margin-top: 24px;
	padding: 10px 22px;
	border-radius: 999px;
	border: 1px solid #333;
	font-size: 0.85rem;
	text-decoration: none;
	color: #333;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-family: 'Montserrat', sans-serif;
}
.book-detail-btn:hover {
	background-color: #333;
	color: #ffffff;
}
/* PRINT DETAIL 메인 이미지 박스 */
.print-photo {
	width: 100%;
	background-color: #f0f0f0;
	border-radius: 10px;
	overflow: hidden;
}

/* PRINT DETAIL 이미지 */
.print-photo img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}


/* 반응형 */
@media (max-width: 991px) {
	.book-detail {
		padding: 100px 20px 70px;
	}

	.book-detail-layout {
		grid-template-columns: 1fr;
		row-gap: 40px;
	}

	.bd-right {
		position: static;   
	}
}

@media (max-width: 599px) {
	.book-detail {
		padding: 90px 16px 60px;
	}
}


/* =========================
   GALLERY PAGE ONLY
   ========================= */

/* 1) HERO 섹션 – 배경사진 + 오버레이 텍스트 */
.gallery-hero {
    position: relative;
    padding: 160px 20px 160px;
    text-align: center;
    color: #ffffff;
    background: url('img/gallery_banner.png') center/cover no-repeat;
    overflow: hidden;
}

.gallery-hero-inner {
    position: relative;     /* 오버레이 위로 올라오게 */
    max-width: 700px;
    margin: 0 auto;
    z-index: 1;
}

.gallery-hero-title {
    margin: 0 0 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    letter-spacing: 0.18em;
    color: #ffffff;
}

.gallery-hero-text {
    margin: 0 0 28px;
    font-size: 0.98rem;
    color: #f4f4f4;
    line-height: 1.8;
}

/* 2) FEATURE 섹션 (왼쪽 이미지 / 오른쪽 텍스트) */
.gallery-feature {
    position: relative;
    padding: 100px 40px;
    background-color: #ffffff;
}

.gallery-feature::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-image: repeating-linear-gradient(
        to right,
        #e6f0ff 0px,
        #e6f0ff 26px,
        transparent 26px,
        transparent 60px
    );
    opacity: 0.55;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* 실제 콘텐츠 (이미지, 텍스트) 컨테이너 */
.gallery-feature-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    column-gap: 100px;
    align-items: center;
}

/* --- 왼쪽: 이미지 박스 --- */
.gallery-feature-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 0.8;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(-90px);
}

.gallery-feature-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

/* --- 오른쪽: 텍스트 블록 --- */
.gallery-feature-text {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
}

.gallery-feature-text-title,
.gallery-feature-text-body {
    text-align: center;
}

/* 모바일 반응형 디자인 */
@media (max-width: 900px) {
    .gallery-feature {
        padding: 70px 20px;
    }
    .gallery-feature::before {
        width: 100%;
        opacity: 0.45;
    }
    .gallery-feature-inner {
        grid-template-columns: 1fr;
        row-gap: 32px;
    }
    .gallery-feature-image {
        transform: translateX(0);
    }
    .gallery-feature-text {
        max-width: none;
        text-align: center;
    }
}

/* 3) slider 섹션 */
.gallery-strip {
    background-color: #e6f0ff;
    color: #031a53;
    padding: 60px 0 50px;
    overflow: hidden;
}

.gallery-strip-title {
    margin: 0 0 26px;
    text-align: center;
    font-size: 0.95rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

/* 가로 슬라이드 영역 */
.gallery-strip-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 16px 10px;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
    scroll-behavior: auto;
}

/* 드래그 중 상태 (JS에서 .is-dragging 붙였을 때) */
.gallery-strip-row.is-dragging {
    cursor: grabbing;
}

/* 카드 하나 – 기본: 한 화면에 4개 보이게 */
.gallery-strip-item {
    flex: 0 0 calc(25% - 12px);  /* 4개 */
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: #bfbfbf;
    box-shadow: 0 8px 18px rgba(0,0,0,0.22);
    position: relative;
    transform: translateY(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* hover 인터랙션 – 카드 살짝 떠오르기 */
.gallery-strip-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.32);
}

/* 썸네일 이미지 */
.gallery-strip-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    pointer-events: none;
    transition: transform 0.35s ease, filter 0.35s ease;
}

/* hover 시 이미지 살짝 줌인 */
.gallery-strip-item:hover img {
    transform: scale(1.06);
}

/* 스크롤바 숨기기 (브라우저별) */
.gallery-strip-row::-webkit-scrollbar {
    display: none;
}
.gallery-strip-row {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 반응형 – 태블릿에서 3개, 모바일에서 2개 */
@media (max-width: 900px) {
    .gallery-strip-item {
        flex: 0 0 calc(33.333% - 12px); /* 3개 */
    }
}
@media (max-width: 600px) {
    .gallery-strip-item {
        flex: 0 0 calc(50% - 12px);     /* 2개 */
    }
}

/* 4) 그리드 섹션 */
.gallery-block {
    padding: 60px 40px 100px;
}

.gallery-block-inner {
    max-width: 1000px;
    margin: 0 auto;
}

/* 상단 텍스트 */
.gallery-block-intro {
    max-width: 620px;
    margin: 0 auto 40px;
    text-align: center;
}

.gallery-block-title {
    margin: 0 0 16px;
    font-size: 1.3rem;
}

.gallery-block-text {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

/* 3컬럼 이미지 그리드 */
.gallery-block-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

/* 카드 하나 */
.gallery-card {
    text-align: left;
}

/* 이미지 컨테이너 */
.gallery-card-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background-color: #dedede;
    margin-bottom: 14px;
    position: relative;
}

/* 이미지 스타일 */
.gallery-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 카드 텍스트 */
.gallery-card-title {
    margin: 0 0 6px;
    font-size: 1rem;
}

.gallery-card-text {
    margin: 0;
    font-size: 0.9rem;
    color: #1D4166;
    line-height: 1.6;
}

/* 반응형 */
@media (max-width: 900px) {
    .gallery-block-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

/* 모바일 (1컬럼) */
@media (max-width: 600px) {
    .gallery-block {
        padding: 50px 20px 80px;
    }
    .gallery-block-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .gallery-card {
        text-align: center;
    }
    .gallery-card-title {
        font-size: 1rem;
    }
    .gallery-card-text {
        font-size: 0.92rem;
    }
}

/* ======== GOODS PAGE ========= */
.goods-main {
    background-color: #ffffff;
}

/* 공통 섹션 스타일 */

.goods-section {
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 40px;
}

.goods-section-title {
    margin: 0 0 32px;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    font-family: 'Montserrat', sans-serif;
}
/* 1) 아래 BOOK & WATER 2열 */
.goods-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    height: 100vh; 
}

.goods-split .split {
    position: relative;
	margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
}

.goods-split .left {
    background-image: url('img/books.jpg');
    background-size: cover;
    background-position: center;
}
.goods-split .right {
    background-image: url('img/prints.jpg');
    background-size: cover;
    background-position: center;
}
.goods-split .split::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.1);
    backdrop-filter: blur(1px);
    transition: 0.3s ease;
}
.goods-split .split:hover::before {
    background: rgba(0,0,0,0);
}
.split-title {
    position: relative;
    z-index: 1;
    font-size: 3rem;
    font-family: 'Montserrat';
    letter-spacing: 0.08em;
    color: #ffffff;
}

/* 모바일 */
@media (max-width: 900px) {
    .goods-split {
        grid-template-columns: 1fr;
        height: auto;
    }
    .goods-split .split {
        height: 50vh;
    }
}

/* 2) BOOK – 가로 슬라이더 */

.goods-pack-row {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
    scroll-behavior: auto; 
}


.goods-pack-row::-webkit-scrollbar {
    display: none;
}
.goods-pack-row {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.goods-pack-item {
    flex: 0 0 calc(50% - 16px);
    max-width: 420px;
    border-radius: 14px;
    overflow: hidden;
    background: #f1f1f1;
    box-shadow: 0 10px 26px rgba(0,0,0,0.12);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.goods-pack-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.goods-pack-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(0,0,0,0.18);
}

.goods-pack-row.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}


/* 모바일 – 1개씩 크게 */
@media (max-width: 700px) {
    .goods-section { padding: 0 20px; }
    .goods-pack-row { gap: 18px; }
    .goods-pack-item {
        flex: 0 0 80%;
        max-width: none;
    }
}


/* 3) PRINT – 4열 그리드 (최종본) */

.goods-section.goods-section-print {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px 260px;
    position: relative;
    z-index: 1;
    background: #ffffff;
}

/* 그리드 */
.goods-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

/* 아이템 공통 – 이미지 링크 */
.photo-item {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.photo-item img {
    width: 100%;
    display: block;
    border-radius: 10px;
    transition: transform 0.4s ease, filter 0.4s ease;
}

/* ➤ 호버 시 애니메이션 */
.photo-item:hover img {
    transform: scale(1.06);
    filter: brightness(1.08);
}

/* ➤ 클릭 순간 조금 눌림 */
.photo-item:active img {
    transform: scale(0.96);
    filter: brightness(0.9);
}

/* 반응형 */
@media (max-width: 900px) {
    .goods-photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .goods-photo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


/* 4) 중앙 카드 섹션 */

.goods-card-center {
    position: relative;
    z-index: 2;
    margin-top: -200px;
    padding: 260px 0 80px;
    text-align: center;

    /* 🔥 여기만 추가 또는 수정 */
    background-image: url('img/background.png');
    background-repeat: repeat-x;         /* 가로로만 반복 */
    background-size: contain;            /* 원본 비율 유지하며 가로 하나 맞추기 */
    background-position: top center;
}

/* 카드 + 글은 전부 띠 위로 */
.goods-card,
.goods-desc-row {
    position: relative;
    z-index: 1;
}

/* 카드 이미지 */
.goods-card {
    width: 640px;
    margin: 0 auto;
    margin-top: -355px;
}

.goods-card-img {
    width: 100%;
    display: block;
}

/* 양옆 텍스트 */
.goods-desc-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: -240px;
    padding: 0 40px; /* 필요하면 조절 */
}

.goods-desc-row .desc-col {
    flex: 1;
    max-width: 320px; /* 텍스트 너비 일정하게 */
    line-height: 1.8;
    font-size: 16px;
}

/* 왼쪽 텍스트 = 오른쪽 정렬 */
.goods-desc-row .desc-col:first-child {
    text-align: right;
}

/* 오른쪽 텍스트 = 왼쪽 정렬 */
.goods-desc-row .desc-col:last-child {
    text-align: left;
}

@media (max-width: 768px) {

    .goods-card-center {
        margin-top: -100px;
        padding: 220px 0 120px;    /* 🔥 아래 패딩 키움 → 배경이 푸터까지 닿음 */

        /* 체크 배경을 모바일에서도 전체 구간에 적용 */
        background-image: url('img/background.png');
        background-repeat: repeat;
        background-size: 480px auto;
        background-position: top center;
    }

    /* 이거 혹시 남아 있으면 삭제 또는 투명 유지 */
    .goods-card-center::before {
        background: transparent !important;
        height: 0 !important;
    }

    .goods-card {
        width: 86%;
        max-width: 420px;
        margin: 0 auto;
        margin-top: -240px;
    }

    .goods-desc-row {
        margin-top: 40px;
		margin-bottom: 40px;
        flex-direction: row;
        justify-content: center;
        gap: 40px;
        padding: 0 24px;

        background: transparent !important; /* 🔥 배경 충돌 제거 */
    }
}



/* WORK DETAIL / PROJECT PAGE
   ------------------------------------- */

/* 전체 페이지 기본 */
.project-page {
    font-family: 'Montserrat', sans-serif;
    background: #ffffff;
}

/* 히어로 슬라이더 */
.hero-slider {
    width: 100%;
    position: relative;
    margin-top: 0;
}

.hero-swiper {
    width: 100%;
    height: 80vh;
    cursor: pointer;
}

.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 페이징 스타일 */
.hero-swiper .swiper-pagination-bullet {
    background: rgba(255,255,255,0.8);
}
.hero-swiper .swiper-pagination-bullet-active {
    background: white;
}

/* 공통 섹션 패딩 */
.project-section {
    padding: 40px 0;
}

/* 공통 컨테이너 */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* 프로젝트 페이지에서만 여백 */
.project-page .container {
    width: 80%;
    max-width: 1100px;
}

/* 이미지 + 텍스트 행 */
.project-row {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    margin-top: 40px;
}


.project-img-lg img {
    width: 100%;
    height: auto;
    max-height: 300px;        
    object-fit: cover;
    border-radius: 4px;
    display: block;
    opacity: 1;
    transition: opacity 0.4s ease;
}

/* 페이드 아웃 상태 */
.project-img-lg img.is-fading {
    opacity: 0;
}

/* 텍스트 */
.project-text {
    flex: 1;
    margin-top: 50px;  
	 
}

.project-text h2 {
    font-size: 26px;              
    font-weight: 600;             
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}
.right-text {
    text-align: right;
}
.project-text p {
    font-size: 15px;              
    line-height: 1.75;
    color: #1D4166;
}

/* DOCUMENTARY 썸네일 묶음 */
.project-img-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-thumbs {
    display: flex;
    gap: 12px;
}

.project-thumb img {
    width: 100%;
    border-radius: 4px;
    display: block;
    cursor: pointer;
    transition: opacity 0.2s;
}

.project-thumb img:hover {
    opacity: 0.85;
}

/* ARCHITECTURE */
.project-arch {
    padding-top: 40px; 
    background: linear-gradient(
        to bottom,
        #ffffff 0%,
        #e6eeff 100%);
    text-align: center;
}

.project-arch-title {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 40px;
}

.project-arch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.project-arch-card img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 10px;
}

.project-arch-caption {
    font-size: 13px;
    letter-spacing: 0.12em;
	margin-bottom: 40px;
}


/* 반응형 */
@media (max-width: 960px) {
	.exhibitions-row {
        flex-direction: column-reverse !important;
    }

    /* 전체 섹션 간격 줄이기 */
    .project-section {
        padding: 20px 16px;   
    }

    /* 텍스트 + 이미지 묶음 간격 */
    .project-row {
        flex-direction: column;
        gap: 10px;            
        margin-top: 10px;     
    }

    .project-text {
        margin-top: 6px;     
        margin-bottom: 8px;
    }

    .project-text h2 {
        font-size: 22px;
    }

    .project-text p {
        font-size: 14px;
        line-height: 1.6;
    }

    .project-img-lg img {
        margin-top: 0px;    
        max-height: 360px;    
    }

    .project-page .container {
        width: 92%;
    }

    .project-arch-grid {
        grid-template-columns: 1fr;
    }
}

/* conE: Mobile */
.conE {
    background-color:#e9f5ff;
    color: var(--text-bright-color);
}
.conE .text {
    padding: 20px;
}
.conE h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 20px;
}
.conE p {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
}
.conE video {
    width: 100%;
    position: center;
}

/*PC-콘텐츠E:개요(image + text) [width=768px]를 기준으로 */
@media(min-width: 768px) {
    .conE .container {
        display: block;
        width: 1500px; /*과제전 1500, 최종 결과물(노트북) 1200*/
        margin-left: auto;
        margin-right: auto;
    }
}
