/*
 * style-blog-seo.css
 * 네이버 블로그 SEO 최적화 페이지를 위한 스타일시트
 */

/* 페이지 헤더 섹션 스타일링 */
.page-header {
    background-color: var(--primary);
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('/theme/drsoft-new/img/블로그검색.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
}

/* 서비스 소개 섹션 */
.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* SEO 중요성 섹션 */
.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card .display-4 {
    font-size: 2.5rem;
}

/* 타임라인 스타일 */
.timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    margin-left: -1.5px;
    background-color: var(--primary);
}

.timeline > li {
    position: relative;
    margin-bottom: 50px;
    min-height: 80px;
}

.timeline > li:after, .timeline > li:before {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li .timeline-image {
    position: absolute;
    left: 0;
    width: 80px;
    height: 80px;
    margin-left: 0;
    text-align: center;
    color: white;
    border: 7px solid var(--light);
    border-radius: 100%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline > li .timeline-image i {
    font-size: 2rem;
}

.timeline > li .timeline-panel {
    position: relative;
    float: right;
    width: calc(100% - 120px);
    padding: 0 20px 0 30px;
}

.timeline > li .timeline-panel:before {
    content: '';
    display: inline-block;
    position: absolute;
    top: 30px;
    left: -15px;
    border-top: 15px solid transparent;
    border-right: 15px solid var(--light);
    border-bottom: 15px solid transparent;
}

.timeline-heading h4 {
    margin-top: 0;
    color: var(--primary);
}

.timeline-heading h4.subheading {
    text-transform: none;
    color: var(--dark);
    font-weight: 600;
}

.timeline-body > p {
    margin-bottom: 0;
}

/* 서비스 패키지 스타일 */
.price-tag {
    position: relative;
}

.price-tag .display-5 {
    font-weight: 700;
    color: var(--primary);
}

.package-features {
    margin-bottom: 2rem;
}

.package-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.package-features li i {
    margin-top: 0.25rem;
    margin-right: 0.5rem;
}

.popular-badge {
    top: -15px;
    z-index: 10;
}

/* 성공 사례 섹션 스타일 */
.success-cases-section {
    padding: 60px 0;
}

.case-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.case-badge {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-description {
    font-size: 0.95rem;
    line-height: 1.6;
}

.case-stats {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
}

.case-stats .stat-item {
    text-align: center;
}

.case-stats .stat-item span {
    font-size: 1.1rem;
    font-weight: 700;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.carousel-controls button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 자주 묻는 질문 섹션 */
.faq-section {
    padding: 60px 0;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 1.25rem;
}

/* 상담 신청 섹션 */
#contact {
    padding: 60px 0 80px;
}

.custom-alert {
    border-radius: 10px;
    background-color: rgba(252, 185, 19, 0.1);
    border: 1px solid rgba(252, 185, 19, 0.3);
}

.alert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 반응형 조정 */
@media (max-width: 992px) {
    .timeline:before {
        left: 30px;
    }

    .timeline > li .timeline-image {
        width: 60px;
        height: 60px;
        left: 0;
        margin-left: 0;
    }

    .timeline > li .timeline-image i {
        font-size: 1.5rem;
    }

    .timeline > li .timeline-panel {
        width: calc(100% - 90px);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem;
    }

    .timeline:before {
        left: 20px;
    }

    .timeline > li .timeline-image {
        width: 40px;
        height: 40px;
        left: 0;
        margin-left: 0;
    }

    .timeline > li .timeline-image i {
        font-size: 1rem;
    }

    .timeline > li .timeline-panel {
        width: calc(100% - 70px);
        padding: 0 15px 0 15px;
    }

    .timeline > li .timeline-panel:before {
        top: 15px;
    }
}

/* 오버라이드 스타일 */
.owl-carousel .owl-stage-outer {
    padding: 20px 0;
}

/* 애니메이션 효과 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.5s ease-out forwards;
}