@charset "UTF-8";

/* [필수] 폰트 로드 */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;900&display=swap');

/* 기본 색상 및 변수 */
:root {
    --main-color: #6e888e;
    --accent-color: #9d8aae;
    --dark-main-color: #505f6a;
    --text-bright-color: #fff;
    --icon-color: #fff;
    --icon-bk-color: #ddd;
    --gray-color: #a7a7a7;
    --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;
    margin: 0;
    font-family: '맑은 고딕', 'Apple SD Gothic Neo','sans-serif';
    background-color: #f9f9f9; 
    overflow-x: hidden;   /* 가로 스크롤 전체 방지 */
}


/* === Header 헤더 === */
header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
}

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

/* headA: 사이트 이름 */
.headA {
    display: inline-block;
    line-height: 70px;
    padding-left: 20px;
    padding-right: 20px;
    color: var(--dark-main-color);
    font-family:'Montserrat','sans-serif';
    font-size: 24px;
    text-decoration: none;
}

/* headB: 네비게이션 메뉴 */
.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);
}

@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;
    }
}

/* HeadC: 모바일 토글버튼 */
@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;
    }
}

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

/* === 콘텐츠 A: WebGL 배너 (index.html) === */
.conA {
    position: relative; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    
    height: 100vh;
    height: 100dvh; 
    min-height: 550px;

    background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url(img/banner.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    
    color: var(--text-bright-color);
    text-align: center;
}

#bannerCanvas {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
    object-fit: cover;
}

.conA .container {
    position: relative;
    z-index: 2;
    pointer-events: none;
    width: 100%;
}

@media (min-width: 768px) {
    .conA h1 {
        font-size: 15px;
    }
    .conA .container {
        position: absolute;
        bottom: 120px;
        left: 0;
    }
}

@media (max-width: 768px) {
    #bannerCanvas {
        display: none !important;
    }
    .conA {
        background-attachment: scroll;
        cursor: pointer;
        transition: background-image 0.3s ease-in-out;
    }
    .conA .container {
        position: absolute;
        bottom: 80px;
    }
}

/* === 콘텐츠 C: 텍스트 소개 (index.html) === */
.conC {
    background-color: #ffffff;
    color: var(--text-bright-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 0;
    min-height: 300px;
}
.conC .container {
    width: 100%;
    max-width: var(--large-width);
    margin: 0 auto;
}
.conC .text {
    padding: 0 20px;
    margin: 0 auto;
    max-width: 900px;
}
.conC h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-family: 'Special Gothic Expanded One', cursive;
    font-size: 80px;
    color: #184C50; 
    text-transform: uppercase;
    line-height: 1.0;
}
.conC p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-color);
    font-weight: 400;
    word-break: keep-all;
}
.conC a { display: none; }

@media (max-width: 768px) {
    .conC {
        padding: 60px 0;
    }
    .conC h2 {
        font-size: 40px;
    }
    .conC p {
        font-size: 14px;
        padding: 0 10px;
    }
}

/* === 콘텐츠 D: 배경 고정 이미지 === */
.conD {
    position: relative;
    width: 100%;
    background-image: url('img/swimmers.jpg'); 
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 70vh;
    min-height: 500px;
}

.conD .container {
    display: none;
}
.conD .container img {
    width: 100%; 
    object-fit: cover; 
    display: block; 
    height: 300px; 
}
/* === 모바일에서 .conD 이미지를 화면에 딱 맞게 === */
@media (max-width: 768px) {
    .conD {
        background-image: none;
        background-attachment: scroll;
        height: auto;
        min-height: 0;
        padding: 0;
    }

    .conD .container {
        display: block;
        padding: 0;
    }

    .conD .container img {
        width: 100%;
        height: 100vh;
        object-fit: cover;
        display: block;
    }
}



/* === 콘텐츠 F: 프로필 (index.html) === */
.conF {
    position: relative;
    z-index: 5;
    background-color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
}
.conF .container {
    padding-top: 0; 
}
.conF .photo {
    height: 250px; 
    background-image: url('img/profile.jpg'); 
    background-position: center;
    background-size: cover;
    background-color: #eee; 
}
.conF .text {
    padding: 30px 20px; 
    text-align: center;
}
.conF .text h2 {
    font-size: 24px; 
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400; 
    color: var(--dark-main-color);
}
.conF .text p {
    font-size: 16px; 
    color: #555;
}

@media (min-width: 768px) {
    .conF {
        padding-top: 0;
        padding-bottom: 50px;
    }
    .conF .container {
        display: flex; 
        align-items: center;
        max-width: var(--large-width);
        margin-left: auto;
        margin-right: auto;
        padding-top: 0;
    }
    .conF .photo {
        flex: 1; 
        height: 450px; 
    }
    .conF .text {
        flex: 1; 
        padding: 70px; 
        margin-top: 290px;
        text-align: left; 
    }
}

/* === 콘텐츠 G: 연혁 (index.html) === */
.conG {
    padding: 0;
    background-color: #fff;
    overflow: hidden;
}
.conG .container {
    max-width: var(--large-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column; 
    gap: 60px;
}
.history-wrap {
    display: flex;
    flex-direction: column;
    gap: 70px; 
    padding-left: 0;
    padding-right: 0;
}
.history-item {
    position: relative; 
}
.history-item .year {
    position: absolute;
    top: -40px; 
    left: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; 
    font-size: 70px;  
    line-height: 1;
    color: #f2f2f2; 
    z-index: 1; 
    user-select: none; 
}
.history-item .desc {
    position: relative;
    z-index: 2; 
    margin: 0;
    padding-top: 15px; 
    padding-left: 5px; 
    padding-right: 0;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
    color: #555; 
    word-break: keep-all;
}
.image-wrap {
    position: relative;
}
.image-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* 모바일에서 숫자·텍스트 좌우 여백 강화 */
@media (max-width: 767px) {
    .conG .container {
        padding-left: 24px;
        padding-right: 24px;
    }
    .history-wrap {
        padding-left: 8px;
        padding-right: 8px;
    }
    .history-item .year {
        left: 8px;
    }
    .history-item .desc {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (min-width: 768px) {
    .conG .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0;
    }
    .history-wrap {
        flex: 1;
        padding-right: 60px;
        padding-left: 30px; 
    }
    .history-wrap::before {
        left: 10px;
    }
    .history-item::after {
        left: 6px;
    }
    .history-item::before {
        left: 10px;
    }
    .image-wrap {
        flex: 1;
        text-align: right;
    }
    .image-wrap img {
        max-width: 60%;
        display: inline-block;
    }
    .history-item .year {
        font-size: 110px;
        top: -60px;
    }
}

/* === Footer === */
footer {
    color: var(--text-bright-color);
    background-color: #505f6a;
    padding: 20px 0;
}
footer .container {
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    max-width: var(--large-width);
    margin-left: auto;
    margin-right: auto;
}

.footA {
    margin-bottom: 0;
    text-align: left;
}
.footA h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-family: 'Montserrat',sans-serif;
    font-size: 30px;
    letter-spacing: 0.2em;
}
.footA p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.6;
}
.footA a {
    color: inherit;
    text-decoration: none;
}

.footC {
    font-size: 12px;
    text-align: right;
    font-family: 'Montserrat',sans-serif;
    opacity: 0.8;
}

@media (max-width: 768px) {
    footer .container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px;
    }
    .footA, .footC {
        text-align: center;
        width: 100%;
    }
}

/* ================= 기타 섹션들 ================= */

/* Books / Packaging 선택 섹션 */
.intro_selection {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 400px;
    margin: 50px auto;
    background-color: transparent;
}

.intro_selection .split_wrap {
    width: 100%;
    height: 100%;
    display: flex;
}

.intro_selection .split_item {
    flex: 1; 
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 0;
    text-decoration: none;
    overflow: visible; 
    background-size: cover !important; 
    background-position: center !important;
    -webkit-tap-highlight-color: transparent;
}

.intro_selection .item_books {
    background-image: url('img/book1.jpg'); 
    background-size: cover !important;
    background-position: center !important;
    justify-content: flex-start;
}

.intro_selection .item_prints {
    background-image: url('img/print1.jpg'); 
    background-size: cover !important;
    background-position: center !important;
    justify-content: flex-end;
}

.intro_selection .split_text {
    position: relative;
    z-index: 10; 
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 5rem; 
    color: #f0f0f0; 
    text-transform: uppercase;
    letter-spacing: 2px;
    pointer-events: none; 
    transition: color 0.3s ease;
    transform: translateY(50%);
}

.intro_selection .item_books .split_text {
    margin-left: -80px;
}

.intro_selection .item_prints .split_text {
    margin-right: -300px;
}

.intro_selection .split_item:hover .split_text {
    color: var(--dark-main-color);
    text-shadow: none;
}


@media (max-width: 768px) {

    .intro_selection {
        width: 100%;
        max-width: 100%;
        height: 260px;
        margin: 40px auto 30px;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .intro_selection .split_wrap {
        width: 100%;
        height: 100%;
    }

    .intro_selection .split_item {
        align-items: center;
        justify-content: center;
    }

    .intro_selection .split_text {
        font-size: clamp(2rem, 10vw, 3rem);
        transform: translateY(0);
        margin: 0;
        text-align: center;
        white-space: nowrap;   
    }

    .intro_selection .item_books .split_text,
    .intro_selection .item_prints .split_text {
        margin-left: 0;
        margin-right: 0;
    }
}


.sub_nav_bar {
    width: 100%;
    background-color: #fff; 
    padding: 40px 0; 
    border-bottom: 1px solid #f0f0f0; 
    position: relative;
    z-index: 5;
}

.nav_inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center; 
    align-items: center;
    flex-wrap: wrap; 
    gap: 60px; 
}

.sub_nav_bar a {
    text-decoration: none;
    color: var(--dark-main-color); 
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

.sub_nav_bar a:hover {
    color: #000; 
}

.sub_nav_bar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color:var(--dark-main-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.sub_nav_bar a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .nav_inner {
        gap: 20px;
        flex-direction: column; 
        padding: 0 20px;
    }
    .sub_nav_bar {
        padding: 30px 0;
    }
}

.product_intro {
    background-color: #fff; 
    padding: 150px 0;       
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.product_intro .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.product_main {
    position: relative;
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product_title {
    font-size: 5rem; 
    font-weight: 700;
    line-height: 1.1;
    color: #e0e0e0;
    position: relative;
    z-index: 1; 
    white-space: nowrap; 
}

.product_img_wrap {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%); 
    z-index: 2; 
    width: 45vw;       
    max-width: 600px;  
}

.product_img_wrap img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.2)); 
}


@media (max-width: 768px) {
    .product_img_wrap {
        top: auto;
        bottom: -24px;
        transform: translate(-50%, 0);
        width: 70vw;        /* 화면의 70% 정도로 */
        max-width: 320px;   /* 너무 커지지 않게 한 번 더 제한 */
    }
}

@media (max-width: 768px) {

    .intro_selection {
        width: 100%;
        max-width: 100%;
        height: 260px;
        margin: 40px auto 30px;
        padding: 0;
        box-sizing: border-box;
    }

    .intro_selection .split_wrap {
        width: 100%;
        height: 100%;
    }

    .intro_selection .split_item {
        align-items: flex-end;   
        justify-content: space-between;
        padding: 0 10px 12px;   
    }

    .intro_selection .split_text {
        font-size: clamp(1.4rem, 5.5vw, 2.2rem); 
        transform: translateY(30%);              
        margin: 0;
        text-align: left;
        white-space: nowrap;                     
    }

    .intro_selection .item_books .split_text,
    .intro_selection .item_prints .split_text {
        margin-left: 0;
        margin-right: 0;
    }
}


/* === About Section (Shop 설명) === */
.about_section {
    width: 100%;
    background-color: #fff;
    overflow: hidden;
}

.about_wrap {
    display: flex; 
    width: 100%;
    min-height: 600px; 
}

.about_img {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.about_img img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.about_text {
    width: 50%;
    display: flex;
    align-items: center; 
    padding: 80px; 
    background-color: #fff; 
    box-sizing: border-box;
}

.text_inner {
    max-width: 500px; 
}

.about_text h3 {
    font-size: 2.5rem;
    font-weight: 400; 
    margin-bottom: 30px;
    letter-spacing: 1px;
    color: var(--dark-main-color);
    font-family: 'Montserrat', sans-serif;
}

.about_text p {
    font-size: 0.9rem;
    line-height: 1.8; 
    color: #555;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 991px) {
    .about_wrap {
        flex-direction: column; 
    }
    .about_img, .about_text {
        width: 100%;
    }
    .about_img {
        height: 300px; 
    }
    .about_text {
        padding: 60px 30px;
    }
}

/* === Solid Line === */
.solid_line {
    width: 100%;          
    height: 1px;          
    background-color: #e5e5e5; 
    margin: 0 auto;       
    border: none;
    display: block;
}

/* === Scroll Gallery (Shop 가로 스크롤) === */
.scroll_gallery {
    width: 100%;
    padding: 100px 0; 
    background-color: #fff; 
    overflow: hidden;
}

.gallery_container {
    display: flex; 
    overflow-x: auto; 
    scroll-behavior: smooth; 
    -webkit-overflow-scrolling: touch; 
    width: 100%;
    padding: 0 40px; 
    box-sizing: border-box;
    gap: 40px; 
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}
.gallery_container::-webkit-scrollbar {
    display: none; 
}

.gallery_item {
    flex: 0 0 auto; 
    width: 600px;   
    height: 400px;  
    border-radius: 0; 
    overflow: hidden;
    background-color: #f0f0f0; 
    transition: transform 0.4s ease;
}

.gallery_item img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.gallery_item:hover {
    transform: scale(1.02); 
    z-index: 1;
}

@media (max-width: 768px) {
    .scroll_gallery { padding: 60px 0; }
    
    .gallery_container {
        padding: 0 20px;
        gap: 20px;
    }

    .gallery_item {
        width: 80vw; 
        height: 55vw; 
    }
}

/* EXHIBITIONS PAGE STYLES*/

.exhibition-section {
    padding: 50px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.exhibition-title {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--dark-main-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 30px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .exhibition-title {
        font-size: 2rem;
        margin-top: 50px;
        margin-bottom: 40px;
    }
}

/* 그리드 레이아웃: 1:1 비율 */
.exhibition-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* 왼쪽: 지도 영역 (스크롤 시 따라옴) */
.map-area {
    position: sticky;
    top: 20px;
    height: 600px;
    background-color: #eee;
}

.map-area iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* 오른쪽: 리스트 영역 */
.list-area {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* 개별 전시 아이템 카드 */
.ex-item {
    background-color: #fff;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ex-item:hover {
    transform: translateY(-5px);
}

.ex-item.active {
    outline: 2px solid var(--dark-main-color);
}

/* 전시 사진 영역 */
.ex-img {
    width: 100%;
    height: 250px;
    background-color: #ddd;
    overflow: hidden;
}

.ex-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.ex-item:hover .ex-img img {
    transform: scale(1.05);
}

/* 전시 설명 영역 */
.ex-info {
    background-color: #f4f4f4;
    padding: 25px;
    position: relative;
    min-height: 120px;
}

.ex-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    margin: 0 0 10px 0;
    color: var(--dark-main-color);
}

.ex-info p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 20px 0;
    width: 85%;
}

/* 상세 버튼 (+) */
.btn-detail {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 20px;
    color: #aaa;
    transition: color 0.3s;
}

.btn-detail:hover {
    color: #333;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .exhibition-layout {
        grid-template-columns: 1fr;
    }
    .map-area {
        position: static;
        height: 300px;
        order: -1;
    }
}

/* 전체 화면 컨테이너 */
.fullscreen-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #222;
}

/* 개별 슬라이드 */
.fs-slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fs-slide:first-child {
    display: block;
}

.fs-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 화살표 버튼 */
.fs-prev, .fs-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    transition: 0.3s;
    user-select: none;
    z-index: 20;
    background-color: transparent;
    text-decoration: none;
}

.fs-next { right: 0; }
.fs-prev { left: 0; }

.fs-prev:hover, .fs-next:hover {
    background-color: rgba(0,0,0,0.3);
}

/* 페이드 애니메이션 */
.fade {
    animation-name: fade;
    animation-duration: 1.0s;
}

@keyframes fade {
    from {opacity: 0.6} 
    to {opacity: 1}
}

/* 스크린 리더 전용 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 768px) {
    .text-overlay h2 { font-size: 2.2rem; }
    .text-overlay p { font-size: 1rem; width: 90%; }
    .text-overlay { left: 20px; bottom: 80px; }
}

/* Post / Contact 관련 스타일 추가 */
.post .container{
    max-width: var(--middle-width);
    margin-left: auto;
    margin-right: auto;
    padding: 30px 10px;
}

.post h1 {
    font-size: 2rem;
}

.post-header {
    text-align: center;
    padding-top: 60px;
    padding-bottom: 40px;
    border: none !important;
}

.bg-contact {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--dark-main-color);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.post-header p {
    font-size: 16px;
    color: #555;
    margin-top: 0;
    font-weight: 400;
}

.post p{
    font-size: 1rem;
    line-height: 2;
}

.contact {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 30px 20px; 
    border: solid 1px var(--gray-color);
    text-align: center;
    box-sizing: border-box; 
    border-radius: 10px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.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: var(--main-color);
    color: var(--icon-color);
}
.contact h2 {
    margin-top: 0;
    font-size: 1.5rem; 
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}
.contact p.address {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    min-height: 3.2em; 
    display: flex;     
    align-items: center; 
    justify-content: center;
}
.contact a {
    display: block; 
    font-size: 1rem; 
    color: inherit;
    text-decoration: none;
    margin-bottom: 5px;
    transition: color 0.3s;
}
.contact a:hover {
    color: var(--main-color);
    font-weight: bold;
}
@media (min-width: 768px) {
    .contact-wrap {
        display: flex;
        gap: 20px; 
    }      
    .contact {
        flex: 1;
        margin-top: 0; 
        margin-bottom: 0;
    }
}
.location iframe {
    width: 100%;
    height: 400px;
    vertical-align: bottom;
}
.location h2{
    margin: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: var(--main-color);
    color: var(--text-bright-color);
    font-size: 1.5rem;
    text-align: center;
}

/* Gallery / Sub-menu styles */
.sub-menu {
    padding: 80px 0 40px; 
    text-align: center;
    background-color: #fff;
}
.sub-menu .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.sub-menu h2 {
    font-family: 'Montserrat', sans-serif; 
    font-size: 48px;      
    font-weight: 400;     
    color: var(--dark-main-color);
    margin-bottom: 40px;  
    letter-spacing: 1px;  
    text-transform: uppercase; 
    margin-top: 70px;
}
.sub-menu ul {
    display: flex;
    justify-content: center;
    gap: 60px;            
    padding: 0;
    list-style: none;
    margin: 0;
}
.sub-menu li {
    position: relative;
}

.sub-menu li > a {
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    color: #555;          
    font-size: 22px;      
    display: block;
    transition: opacity 0.3s;
}
.sub-menu li > a:hover {
    opacity: 0.6;         
}

.sub-dropdown {
    padding-bottom: 14px; 
}

.sub-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    padding: 10px 0;
    margin: 0;
    list-style: none;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 20;
}

.sub-dropdown-menu li a {
    font-size: 16px;
    padding: 8px 20px;
    text-align: left;
    color: #000;
    opacity: 0.9;
    text-decoration: none;
    display: block;
}
.sub-dropdown-menu li a:hover {
    opacity: 1;
    background-color: #f5f5f5;
}

@media (min-width: 769px) {
    .sub-dropdown:hover .sub-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(4px);
    }
}

@media (max-width: 768px) {
    .sub-menu h2 {
        font-size: 36px;
    }
    .sub-menu ul {
        flex-direction: column; 
        gap: 0; 
    }
    .sub-menu li {
        border-bottom: 1px solid #eee;
    }
    .sub-menu li:last-child {
        border-bottom: none;
    }
    .sub-menu li > a {
        padding: 15px 0;
        display: block; 
    }
    .sub-dropdown {
        padding-bottom: 0;
    }
    .sub-dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        padding: 0;
        background-color: #f9f9f9;
        display: none; 
    }
    .sub-dropdown-menu.active {
        display: block; 
        border-top: 1px solid #eee;
    }
    .sub-dropdown-menu li a {
        text-align: center;
        font-size: 16px;
        padding: 12px 0;
        color: #555;
    }
}

.gallery-wrap {
    position: relative;
    width: 100%;
    padding: 50px 0 100px;
    overflow: hidden;
    background-color: #fff;
}

.bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    width: 100%;
    text-align: center;
    pointer-events: none;
    user-select: none;
}

.bg-text span {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13vw; 
    line-height: 0.85;
    color: #e0e0e0; 
    white-space: nowrap;
}

.paper-slider {
    width: 100%;
    aspect-ratio: 1035 / 1294;
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    background-color: transparent;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border-radius: 2px;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    cursor: pointer;
    transition: clip-path 2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    clip-path: polygon(
        0% 0%,
        0% -15%, 2% -17%, 4% -19%, 6% -22%, 8% -25%, 
        10% -27%, 12% -29%, 14% -30%, 16% -30%, 18% -29%, 
        20% -27%, 22% -24%, 24% -21%, 26% -17%, 28% -13%, 
        30% -10%, 32% -8%, 34% -6%, 36% -5%, 38% -6%, 
        40% -8%, 42% -11%, 44% -15%, 46% -19%, 48% -23%, 
        50% -26%, 52% -28%, 54% -30%, 56% -30%, 58% -29%, 
        60% -26%, 62% -23%, 64% -19%, 66% -15%, 68% -11%, 
        70% -8%, 72% -6%, 74% -5%, 76% -6%, 78% -8%, 
        80% -10%, 82% -13%, 84% -17%, 86% -21%, 88% -24%, 
        90% -27%, 92% -29%, 94% -30%, 96% -30%, 98% -28%, 
        100% -25%,
        100% 0%
    );
}

.slide.active {
    opacity: 1;
    z-index: 2;
    clip-path: polygon(
        0% 0%, 
        0% 100%, 2% 100%, 4% 100%, 6% 100%, 8% 100%, 
        10% 100%, 12% 100%, 14% 100%, 16% 100%, 18% 100%, 
        20% 100%, 22% 100%, 24% 100%, 26% 100%, 28% 100%, 
        30% 100%, 32% 100%, 34% 100%, 36% 100%, 38% 100%, 
        40% 100%, 42% 100%, 44% 100%, 46% 100%, 48% 100%, 
        50% 100%, 52% 100%, 54% 100%, 56% 100%, 58% 100%, 
        60% 100%, 62% 100%, 64% 100%, 66% 100%, 68% 100%, 
        70% 100%, 72% 100%, 74% 100%, 76% 100%, 78% 100%, 
        80% 100%, 82% 100%, 84% 100%, 86% 100%, 88% 100%, 
        90% 100%, 92% 100%, 94% 100%, 96% 100%, 98% 100%, 
        100% 100%,
        100% 0%
    );
}

.slide.next-ready {
    z-index: 3;
    opacity: 1;
}

.slide-content {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.3);
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center; color: #fff;
    opacity: 0; transition: opacity 0.3s;
}
.slide:hover .slide-content { opacity: 1; }
.slide-content h3 { font-family: 'Montserrat', sans-serif; font-size: 2rem; margin-bottom: 10px; letter-spacing: 2px; font-weight: 400; }

.slider-counter {
    position: absolute; bottom: 20px; right: 20px;
    color: #fff; font-size: 16px; z-index: 10;
    font-family: 'Montserrat', sans-serif;
    background: rgba(0,0,0,0.2);
    padding: 5px 15px;
    border-radius: 20px;
}

.video-section {
    width: 100%;
    padding: 40px 0;
}

.video-box {
    position: relative;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding-bottom: 35%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.video-box iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 캠페인 카드 섹션 */
.campaign-section {
    width: 100%;
    background: #ffffff;
    padding: 80px 0;
}

.campaign-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.campaign-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    overflow: visible;
}

.campaign-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0px 4px 15px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
}

.campaign-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 12px 25px rgba(0,0,0,0.12);
}

.card-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 16px 16px 22px;
}

.card-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1D4166;
    margin-bottom: 6px;
}

.card-body p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.campaign-title {
    text-align: center;
    font-size: 22px;
    font-weight: 400;
    color: #1D4166;
    margin: 50px 10px 45px;
    letter-spacing: -0.3px;
}
