/* 페이지 배너 공통 스타일 */

/* 배너 섹션 기본 스타일 */
.page-banner {
    background-color: var(--dark);
    color: white;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%),
        linear-gradient(45deg, rgba(46, 196, 182, 0.3) 0%, rgba(46, 196, 182, 0) 50%),
        linear-gradient(45deg, rgba(255, 107, 53, 0.3) 0%, rgba(255, 107, 53, 0) 50%);
    z-index: 1;
}

/* 배너 콘텐츠 스타일 */
.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.banner-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-content h1 span {
    color: var(--primary);
}

.banner-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

/* 배너 기능 항목 스타일 */
.banner-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.banner-feature-item {
    display: flex;
    align-items: center;
    gap: 0px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    max-width: 300px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex: 1;
    min-width: 0px;
}

.banner-feature-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.banner-feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.banner-feature-icon i {
    font-size: 22px;
    color: var(--primary);
}

.banner-feature-text {
    flex: 1;
}

.banner-feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.banner-feature-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.4;
}

/* 배너 텍스트 스타일 */
.heading-text {
    font-size: 1.3em;
    font-weight: 600;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    display: inline-block;
    margin-bottom: 10px;
}

.highlight-badge {
    background-color: rgba(33, 150, 243, 0.19);
    padding: 5px 12px;
    border-radius: 4px;
    color: #fff;
    font-weight: 600;
    display: inline-block;
    margin: 8px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border-left: 3px solid #1976d2;
}

/* 애니메이션 클래스 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.fade-in-up {
    transform: translateY(30px);
}

.animate-on-scroll.fade-in-down {
    transform: translateY(-30px);
}

.animate-on-scroll.fade-down {
    transform: translateY(-30px);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.animate-child {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: 0.1s;
}

.animate-child.delay-100 {
    transition-delay: 0.2s;
}

.animate-child.delay-200 {
    transition-delay: 0.3s;
}

.animate-child.delay-300 {
    transition-delay: 0.4s;
}

.animate-child.delay-400 {
    transition-delay: 0.5s;
}

.animate-on-scroll.visible .animate-child {
    opacity: 1;
    transform: translateY(0);
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .page-banner {
        padding: 100px 0 70px;
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }

    .banner-features {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        width: 90%;
        margin-top: 30px;
    }

    .banner-feature-item {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 15px 25px;
        text-align: left;
        gap: 20px;
    }

    .banner-feature-text {
        display: block;
        text-align: left;
        flex: 1;
        max-width: 70%;
    }

    .banner-feature-icon {
        width: 50px;
        height: 50px;
        margin-right: 0;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .banner-feature-text h4 {
        font-size: 1.1rem;
        margin-bottom: 5px;
        white-space: nowrap;
    }

    .banner-feature-text p {
        font-size: 0.9rem;
        text-align: left;
        line-height: 1.4;
    }
}

/* 특정 배너 스타일 */
.consultation-banner {
    background-image: url('../img/banner_consultation.webp');
    background-position-y: 20px;
}

.sell-solution-banner {
    background-image: url('../img/banner_sell.webp');
}

.buy-solution-banner {
    background-image: url('../img/banner_buy.webp');
    background-position: center;
}