@charset "UTF-8";

/* ==========================================================================
   화천(HWACHEON) 메인 페이지 공통 스타일
   ========================================================================== */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #ffffff !important;
    color: #111111;
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.main-container {
    width: 100%;
    overflow-x: hidden;
    padding-top: 4.5rem;
    box-sizing: border-box;
}

.max-layout-width {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

.max-layout-width-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.main-section-padding {
    padding: 7rem 0;
}

.bg-light {
    background-color: #fafafa;
}

.sub-title {
    font-family: 'Jost', sans-serif !important;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: #888888;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.8rem;
}

.section-header-center {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header-center h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #111111;
    margin: 0;
    letter-spacing: -0.02em;
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 1. HERO BANNER
   ────────────────────────────────────────────────────────────────────────── */
.section-hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 4.5rem);
    min-height: 600px;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay-content {
    position: absolute;
    bottom: 12%;
    left: 8%;
    z-index: 10;
    color: #ffffff;
    pointer-events: none;
}

.hero-badge {
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    opacity: 0.85;
    display: block;
    margin-bottom: 1rem;
}

.hero-slogan {
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.45;
    margin: 0;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ffffff;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 28px;
    border-radius: 5px;
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 2. 화천 시그니처 라인업
   ────────────────────────────────────────────────────────────────────────── */
.shop-swiper {
    width: 100%;
    padding-bottom: 2rem;
}

.product-item-card {
    display: flex;
    flex-direction: column;
}

.prod-thumb-link {
    display: block;
    width: 100%;
    height: 440px;
    background: #f4f4f4;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 1.2rem;
    border-radius: 4px;
}

.prod-img-box {
    width: 100%;
    height: 100%;
    display: block;
    padding: 0 !important;
    box-sizing: border-box;
}

.prod-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-item-card:hover .prod-img-box img {
    transform: scale(1.06);
}

.prod-info-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.prod-text {
    flex: 1;
}

.prod-name {
    font-size: 1.12rem;
    font-weight: 600;
    margin: 0 0 0.35rem 0;
    line-height: 1.35;
}

.prod-name a {
    color: #111111;
    text-decoration: none;
    transition: color 0.2s ease;
}

.prod-name a:hover {
    color: #666666;
}

.prod-sub {
    font-size: 0.88rem;
    color: #777777;
    margin: 0;
    line-height: 1.45;
    word-break: keep-all;
}

.prod-price-badge span {
    display: inline-block;
    background: #111111;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.45rem 0.85rem;
    border-radius: 2px;
    white-space: nowrap;
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 3. 경쟁력
   ────────────────────────────────────────────────────────────────────────── */
.section-brand-value-full {
    width: 100%;
    padding: 0;
    margin: 0;
}

.value-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    height: 80vh;
    min-height: 600px;
}

.value-full-card {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.value-full-card .bg-img-holder {
    width: 101%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(0.75);
}

.value-full-card:hover .bg-img-holder {
    transform: scale(1.06);
    filter: brightness(0.65);
}

.card-overlay-text {
    position: absolute;
    bottom: 12%;
    left: 10%;
    right: 10%;
    z-index: 10;
    color: #ffffff;
    pointer-events: none;
}

.card-overlay-text .value-tag {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 0.8rem;
}

.card-overlay-text .value-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 1rem 0;
    letter-spacing: -0.01em;
}

.card-overlay-text .value-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
    word-break: keep-all;
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 4. BRAND STORY
   ────────────────────────────────────────────────────────────────────────── */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.story-left-text .main-head {
    font-family: 'Jost', sans-serif;
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1.25;
    color: #111111;
    margin: 0 0 2rem 0;
    letter-spacing: -0.01em;
}

.story-desc {
    font-size: 0.98rem;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    word-break: keep-all;
}

.btn-more-link {
    font-family: 'Jost', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #111111;
    text-decoration: none;
    border-bottom: 1px solid #111111;
    padding-bottom: 0.3rem;
    transition: opacity 0.25s ease;
}

.btn-more-link:hover {
    opacity: 0.5;
}

.story-right-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.story-right-images .img-frame {
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 4px;
    background: #f0f0f0;
}

.story-right-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-right-images .img-frame:hover img {
    transform: scale(1.05);
}

/* ──────────────────────────────────────────────────────────────────────────
   SECTION 5. ARCHIVING GALLERY
   ────────────────────────────────────────────────────────────────────────── */
.main-archiving-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.main-archive-item {
    display: block;
    text-decoration: none;
    border-radius: 6px;
    overflow: hidden;
}

.archive-thumb-holder {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    background: #eee;
}

.archive-thumb-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-archive-item:hover .archive-thumb-holder img {
    transform: scale(1.08);
}

.thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.85) 0%, rgba(17, 17, 17, 0.1) 60%);
    padding: 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.main-archive-item:hover .thumb-overlay {
    opacity: 1;
}

.overlay-tag {
    font-family: 'Jost', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.75);
    display: block;
    margin-bottom: 0.4rem;
}

.overlay-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.35;
}

.archive-bottom-btn-box {
    text-align: center;
}

.btn-archive-more {
    display: inline-block;
    padding: 0.9rem 2.8rem;
    background: #111111;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    transition: background 0.25s ease;
}

.btn-archive-more:hover {
    background: #333333;
}

/* ──────────────────────────────────────────────────────────────────────────
   스크롤 감지 애니메이션
   ────────────────────────────────────────────────────────────────────────── */
.reveal-element {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .value-full-grid {
        height: auto;
        grid-template-columns: 1fr;
    }
    .value-full-card {
        height: 500px;
    }
}

@media (max-width: 1023px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .main-archiving-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .main-container {
        padding-top: 4rem;
    }
    .section-hero {
        height: calc(100vh - 4rem);
    }
    .hero-slogan {
        font-size: 1.6rem;
    }
    .story-right-images {
        grid-template-columns: 1fr;
    }
    .story-right-images .img-frame {
        height: 300px;
    }
    .main-archiving-grid {
        grid-template-columns: 1fr;
    }
    .prod-thumb-link {
        height: 360px;
    }
}