/* =====================================================
   SML Biopharm - Hero Section Styles
   전문적이고 세련된 바이오/제약 기업 이미지
   ===================================================== */

/* =====================================================
   Base Hero Container
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--s-color-primary-dark);
    z-index: 1;
    /* 헤더 드롭다운보다 낮게 설정 */
}

/* =====================================================
   Page Hero (서브페이지용 - 심플하고 임팩트 있게)
   ===================================================== */
.hero-page {
    min-height: 360px;
    height: 48vh;
    padding-top: var(--header-height);
    align-items: center;
    background: var(--s-color-primary-dark);
    z-index: 1;
    /* 헤더 드롭다운보다 낮게 설정 */
}

/* 이미지 배경 + 어두운 오버레이 */
.hero-page .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/hero-bg-1.jpg');
    background-size: cover;
    background-position: center;
}

/* 어두운 오버레이 */
.hero-page .hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* =====================================================
   Mini Hero (상세페이지용 - 더 작은 높이)
   ===================================================== */
.hero-mini {
    min-height: 200px;
    height: 25vh;
    max-height: 280px;
}

.hero-mini .hero-content {
    padding-bottom: 30px;
}

.hero-mini .hero-title {
    font-size: 2rem;
    margin-bottom: 0;
}

.hero-mini .hero-breadcrumb {
    margin-bottom: 12px;
}

/* =====================================================
    Hero Content - 타이포그래피 중심 미니멀 디자인
    ===================================================== */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-3xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* =====================================================
   Breadcrumb - 기능적이고 미니멀하게
   ===================================================== */
.hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 13px;
    font-weight: var(--s-font-weight-medium);
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.02em;
    display: none;
}

.hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.hero-breadcrumb-divider {
    width: 14px;
    height: 14px;
    opacity: 0.4;
}

.hero-breadcrumb-current {
    color: rgba(255, 255, 255, 0.85);
}

/* =====================================================
   Hero Title - 임팩트 있는 타이포그래피
   ===================================================== */
.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.02em;
}

/* 타이틀 언더라인 액센트 - 제거됨
.hero-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--s-color-accent);
    margin-top: var(--spacing-lg);
    border-radius: 2px;
} */

/* =====================================================
   Hero Subtitle - 간결하고 명확하게
   ===================================================== */
.hero-subtitle {
    font-size: var(--s-font-size-lg);
    font-weight: var(--s-font-weight-normal);
    color: #ffffff;
    line-height: 1.7;
    margin-top: var(--spacing-md);
}

/* =====================================================
   Hero Badge - 심플한 라벨
   ===================================================== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 11px;
    font-weight: 600;
    color: var(--s-color-accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--spacing-sm);
}

.hero-badge-icon {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

/* =====================================================
   CTA Buttons
   ===================================================== */
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

/* =====================================================
   Scroll Indicator - 미니멀한 마우스 아이콘
   ===================================================== */
.hero-scroll {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: color 0.3s ease;
}

.hero-scroll:hover {
    color: rgba(255, 255, 255, 0.7);
}

.hero-scroll-icon {
    width: 22px;
    height: 36px;
    border: 1.5px solid currentColor;
    border-radius: 11px;
    position: relative;
}

.hero-scroll-icon::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background: currentColor;
    border-radius: 1px;
    animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(8px);
        opacity: 0.3;
    }
}

/* =====================================================
   Responsive Styles
   ===================================================== */
@media (max-width: 991px) {
    .hero-page {
        min-height: 360px;
        height: 40vh;
    }

    .hero-title {
        font-size: clamp(2rem, 5vw, 2.75rem);
    }

    .hero-subtitle {
        font-size: var(--s-font-size-base);
    }

    .hero-page::before,
    .hero-page::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .hero-page {
        min-height: 250px;
        height: 35vh;
        max-height: 400px;
        padding-top: var(--header-height-mobile);
    }

    .hero-content {
        padding: 0 var(--content-padding-mobile) var(--spacing-2xl);
    }

    .hero-breadcrumb {
        font-size: 12px;
        margin-bottom: var(--spacing-md);
    }

    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }

    .hero-title::after {
        width: 36px;
        height: 2px;
        margin-top: var(--spacing-md);
    }

    .hero-subtitle {
        font-size: var(--s-font-size-sm);
        margin-top: var(--spacing-sm);
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-scroll {
        display: none;
    }
}

/* =====================================================
   Animations
   ===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* 진입 애니메이션 */
.hero-page .hero-breadcrumb {
    animation: fadeIn 0.6s ease 0.1s both;
}

.hero-page .hero-title {
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-page .hero-subtitle {
    animation: fadeInUp 0.6s ease 0.35s both;
}