:root {
    --barim-primary: #E5BA73;     /* 메인: 격조 높은 예술적 옐로우/골드 */
    --barim-primary-dark: #C59B4E;/* 딥 골드 브라운 */
    --barim-dark: #1A1C1E;        /* 미드나잇 차콜 */
    --barim-light: #F9F9F6;       /* 아이보리 톤 화이트 */
    --barim-gray: #6C7278;        /* 슬레이트 그레이 */
    --barim-border: #EAEAEA;
}

body {
    font-family: 'Nanum Gothic', 'Malgun Gothic', '맑은 고딕', sans-serif;
    background-color: #ffffff;
    color: var(--barim-dark);
    overflow-x: hidden;
    letter-spacing: -0.03em;
}

.serif-font {
    font-family: 'Nanum Gothic', 'Malgun Gothic', '맑은 고딕', sans-serif;
}

/* -----------------------------------------
   [헤더/내비게이션] 공식 로고(logo.png) 매핑
   ----------------------------------------- */
.navbar {
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--barim-border);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}
.navbar-brand {
    padding: 0;
    display: flex;
    align-items: center;
}
/* 로고 이미지 해상도 및 높이 최적화 */
.navbar-brand img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.navbar-nav .nav-link {
    color: var(--barim-dark);
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0 20px;
    padding: 8px 0;
    position: relative;
    letter-spacing: -0.5px;
    transition: color 0.25s ease;
}
.navbar-nav .nav-link:hover {
    color: var(--barim-primary-dark);
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background-color: var(--barim-primary-dark);
    transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* 모바일 우측 오프캔버스 메뉴 */
.offcanvas-end {
    width: 300px;
    background-color: var(--barim-light);
    border-left: 1px solid var(--barim-border);
}
.offcanvas-header .mobile-logo {
    height: 32px;
    width: auto;
}
.offcanvas-body .nav-link {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 14px 20px;
    color: var(--barim-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    transition: all 0.25s;
    margin-bottom: 6px;
}
.offcanvas-body .nav-link:hover {
    background-color: #ffffff;
    color: var(--barim-primary-dark);
    padding-left: 28px;
}

/* -----------------------------------------
   [히어로 캐러셀 섹션] 전통 민화의 상업적 전환
   ----------------------------------------- */
.hero-carousel .carousel-item {
    min-height: 720px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding: 100px 0;
}
.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(14, 15, 17, 0.95) 30%, rgba(26, 28, 30, 0.75) 100%);
    z-index: 1;
}
.hero-carousel .carousel-container {
    position: relative;
    z-index: 2;
}
.hero-badge {
    background-color: rgba(229, 186, 115, 0.2);
    color: var(--barim-primary);
    border: 1px solid rgba(229, 186, 115, 0.4);
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-block;
    border-radius: 8px;
}
.hero-title {
    font-size: 3.4rem;
    font-weight: 900;
    line-height: 1.25;
    color: #ffffff;
}
.hero-title span {
    color: var(--barim-primary);
}
.hero-desc {
    font-size: 1.2rem;
    color: #E5E7EB;
    font-weight: 300;
    line-height: 1.75;
}
.btn-gold {
    background-color: var(--barim-primary);
    color: var(--barim-dark);
    font-weight: 700;
    border: 1px solid var(--barim-primary);
    transition: all 0.3s ease;
}
.btn-gold:hover {
    background-color: var(--barim-primary-dark);
    border-color: var(--barim-primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
}

/* 체크리스트 박스 가시성 레이아웃 */
.hero-check-box {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}
.hero-check-box:hover {
    background-color: rgba(255, 255, 255, 0.12) !important;
    border-color: var(--barim-primary) !important;
}
.hero-check-item {
    color: #ffffff !important;
    font-size: 1.0rem;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.hero-check-item i {
    color: var(--barim-primary) !important;
    font-size: 1.2rem;
}

/* 캐러셀 인디케이터 커스텀 */
.carousel-indicators [data-bs-target] {
    width: 12px; height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255,255,255,0.4);
}
.carousel-indicators .active {
    background-color: var(--barim-primary);
    width: 32px;
    border-radius: 6px;
}

/* -----------------------------------------
   [공통 구조] 섹션 가이드라인
   ----------------------------------------- */
.section-padding { padding: 100px 0; }
.section-title {
    font-weight: 900;
    font-size: 2.4rem;
    color: var(--barim-dark);
    letter-spacing: -1px;
}
.section-title span {
    color: var(--barim-primary-dark);
}
.section-subtitle {
    color: var(--barim-gray);
    font-size: 1.15rem;
    margin-top: 10px;
}

/* -----------------------------------------
   [민화 큐레이션] 도상학 상징 카드 구조
   ----------------------------------------- */
.asset-card {
    border: 1px solid var(--barim-border);
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}
.asset-card:hover {
    transform: translateY(-8px);
    border-color: var(--barim-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}
.asset-img-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    background-color: var(--barim-light);
}
.asset-img-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.asset-card:hover .asset-img-wrapper img {
    transform: scale(1.05);
}
.symbol-badge {
    position: absolute;
    top: 20px; left: 20px;
    z-index: 2;
    background-color: rgba(26, 28, 30, 0.85);
    color: var(--barim-primary);
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(225,225,225,0.1);
}

/* -----------------------------------------
   [목업 시뮬레이션 섹션]
   ----------------------------------------- */
.mockup-display-box {
    border: 1px solid var(--barim-border);
    border-radius: 32px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 30px 60px rgba(0,0,0,0.04);
}
.mockup-img-pane {
    background-color: #F3F4F6;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.mockup-img-pane img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* -----------------------------------------
   [푸터 영역] 트렌디 & 완벽 균등 3분할 비율 고정
   ----------------------------------------- */
.barim-modern-footer {
    background-color: #0E0F11 !important;
    position: relative;
    border-top: 4px solid transparent;
    border-image: linear-gradient(90deg, #C59B4E 0%, #E5BA73 50%, #0E0F11 100%) 1;
    padding-top: 80px;
    padding-bottom: 40px;
}
.barim-footer-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}
.barim-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px; height: 2px;
    background-color: var(--barim-primary);
}
.barim-footer-desc {
    color: #9EA4AA !important;
    font-size: 0.92rem;
    line-height: 1.75;
    font-weight: 300;
}
.footer-link-list li {
    margin-bottom: 12px;
}
.barim-footer-link {
    color: #A0A6AC !important;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
}
.barim-footer-link:hover {
    color: var(--barim-primary) !important;
    transform: translateX(4px);
}
.barim-footer-contact {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
}
.bottom-copyright-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin-top: 60px;
    padding-top: 30px;
    color: #7A8086 !important;
    font-size: 0.88rem;
}