@charset "utf-8";
/* 메인페이지 스타일 */

/* Incruit 색상 팔레트 */
:root {
    --primary: #EC6521;       /* 인크루트 메인 오렌지 */
    --primary-light: #FFF4EC; /* 인크루트 연한 오렌지 */
    --secondary: #333333;     /* 보조 색상 */
    --accent: #EC6521;        /* 강조 색상 */
    --text-dark: #333333;     /* 어두운 텍스트 */
    --text-muted: #666666;    /* 흐린 텍스트 */
    --text-light: #999999;    /* 더 흐린 텍스트 */
    --border: #e5e5e5;        /* 테두리 색상 */
    --bg-light: #f5f5f5;      /* 밝은 배경 */
    --white: #ffffff;         /* 흰색 */
    --dark: #333333;          /* 어두운 배경 */
    --darker: #212529;        /* 더 어두운 배경 */
}

/* 메인 비주얼 - 인크루트 스타일 */
.main_visual {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, #d4551a 100%);
    padding: 60px 0;
    color: var(--white);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.main_visual::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="2" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="2" fill="white" opacity="0.1"/><circle cx="75" cy="25" r="2" fill="white" opacity="0.1"/><circle cx="25" cy="75" r="2" fill="white" opacity="0.1"/></svg>') repeat;
    opacity: 0.3;
}

.main_visual_text {
    position: relative;
    max-width: 600px;
}

.main_visual_text h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.main_visual_text p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.5;
}

.main_visual_btns {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn_primary {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--white);
    color: var(--primary);
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn_primary:hover {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn_outline {
    display: inline-block;
    padding: 14px 28px;
    background-color: transparent;
    color: var(--white);
    font-weight: 600;
    border-radius: 25px;
    border: 2px solid var(--white);
    text-decoration: none;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.btn_outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.8);
}

/* 섹션 공통 스타일 */
.main_section {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.main_section:nth-child(1) { animation-delay: 0.1s; }
.main_section:nth-child(2) { animation-delay: 0.2s; }
.main_section:nth-child(3) { animation-delay: 0.3s; }
.main_section:nth-child(4) { animation-delay: 0.4s; }
.main_section:nth-child(5) { animation-delay: 0.5s; }

/* 페이드인 애니메이션 */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section_title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 25px;
    position: relative;
}

.section_title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    transition: width 0.8s ease 0.3s;
}

.main_section:nth-child(n) .section_title::after {
    width: 60px;
}

.section_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
    position: relative;
}

.section_header .section_title {
    margin-bottom: 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
}

.section_header .section_title::after {
    bottom: -8px;
}

.section_subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-left: 12px;
    position: absolute;
    bottom: 4px;
    left: 180px;
}

/* 인크루트 스타일 섹션 헤더 */
.section_header_incruit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.section_header_incruit .section_title {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0;
}

.section_header_incruit .section_title::after {
    display: none;
}

.more_btn {
    display: inline-block;
    color: var(--text-muted);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.more_btn:hover {
    color: var(--primary);
}

.more_btn i {
    margin-left: 5px;
}

/* 뉴스 슬라이더 */
.news_section {
    background-color: var(--bg-light);
}

.news_slider {
    position: relative;
    margin: 0 -15px;
}

.news_slider .slick-slide {
    padding: 0 15px;
}

.news_slider .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 18px;
    color: var(--text-dark);
    z-index: 1;
    cursor: pointer;
    transition: all 0.2s;
}

.news_slider .slick-arrow:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.news_slider .slick-prev {
    left: -20px;
}

.news_slider .slick-next {
    right: -20px;
}

.news_item {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news_item_img {
    height: 180px;
    overflow: hidden;
}

.news_item_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news_item:hover .news_item_img img {
    transform: scale(1.05);
}

.news_item_text {
    padding: 20px;
}

.news_item_text h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news_item_text p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
    height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news_item_date {
    font-size: 12px;
    color: var(--text-muted);
}

/* 커뮤니티 섹션 */
.community_wrap {
    display: flex;
    gap: 30px;
    margin: 0 -15px;
}

.community_box {
    flex: 1;
    padding: 25px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    position: relative;
}

.community_box h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.community_box .more_btn {
    position: absolute;
    top: 25px;
    right: 25px;
}

/* DB 섹션 */
.db_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 -15px;
}

.db_box {
    flex: 1;
    min-width: 250px;
    padding: 30px;
    background: var(--white);
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.db_box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.db_icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
}

.db_box h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.db_box p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.db_link {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.db_link:hover {
    background: var(--primary);
    color: var(--white);
}

/* GA 미팅신청 배너 */
.ga_meeting_section {
    border-bottom: 0;
    margin: 0 -15px;
    padding: 50px 15px;
}

.ga_meeting_banner {
    display: flex;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
    padding: 0 10px;
}

.ga_meeting_text {
    flex: 1;
    padding: 40px 0;
}

.ga_meeting_text h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.ga_meeting_text p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn_meeting {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary);
    color: var(--white);
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.btn_meeting:hover {
    background: #d4551a;
    color: var(--white);
}

.ga_meeting_image {
    flex: 1;
    text-align: center;
}

.ga_meeting_image img {
    max-width: 100%;
    height: auto;
}

/* 스크롤 애니메이션 트리거 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 호버 효과 강화 */
.main_section {
    transition: all 0.3s ease;
}

.main_section:hover {
    background-color: rgba(236, 101, 33, 0.01);
}

/* 반응형 개선 */
@media (max-width: 1200px) {
    .main_visual {
        padding: 50px 0;
    }
    
    .main_visual_text h2 {
        font-size: 32px;
    }
    
    .db_wrap {
        flex-wrap: wrap;
    }
    
    .db_box {
        flex: 0 0 calc(50% - 15px);
    }
    
    .section_header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .section_subtitle {
        position: static;
        margin-left: 0;
    }
}

@media (max-width: 991px) {
    .main_visual {
        padding: 50px 0;
    }
    
    .main_visual_text h2 {
        font-size: 32px;
    }
    
    .community_wrap {
        flex-direction: column;
    }
    
    .ga_meeting_banner {
        flex-direction: column;
        padding: 30px;
    }
    
    .ga_meeting_text {
        padding: 0 0 30px;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .main_visual {
        padding: 20px 10px;
    }
    
    .main_visual_text h2 {
        font-size: 22px;
        line-height: 1.3;
    }
    
    .main_visual_text p {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .main_visual_btns {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn_primary,
    .btn_outline {
        padding: 10px 20px;
        text-align: center;
        font-size: 13px;
    }
    
    .section_title {
        font-size: 18px;
    }
    
    .main_section {
        padding: 20px 10px;
        animation-delay: 0s !important;
    }
    
    .db_box {
        flex: 0 0 100%;
        padding: 20px 15px;
        min-width: auto;
    }
    
    .db_icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .community_wrap {
        gap: 15px;
        margin: 0 -5px;
    }
    
    .community_box {
        padding: 15px;
        margin: 0 5px;
    }
    
    .community_box h3 {
        font-size: 16px;
    }
    
    .ga_meeting_text h2 {
        font-size: 20px;
    }
    
    .ga_meeting_text p {
        font-size: 13px;
    }
    
    .btn_meeting {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* =================================
   인크루트 메인페이지 추가 스타일 
   ================================= */

/* 인크루트 메인 비주얼 */
.incruit_main_visual {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, #d4551a 100%);
    padding: 40px 20px;
    color: var(--white);
    margin-bottom: 20px;
    overflow: hidden;
}

.incruit_main_visual::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="2" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="2" fill="white" opacity="0.1"/><circle cx="75" cy="25" r="2" fill="white" opacity="0.1"/><circle cx="25" cy="75" r="2" fill="white" opacity="0.1"/></svg>') repeat;
    opacity: 0.3;
}

.main_visual_content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.main_text_section {
    flex: 1;
    max-width: 600px;
    margin-left: 80px;
}

.main_title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.title_highlight {
    display: block;
    font-size: 28px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 5px;
}

.title_main {
    font-size: 52px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.main_subtitle {
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.6;
}

/* 메인 검색 */
.main_search_wrap {
    margin-bottom: 35px;
}

.main_search_form {
    position: relative;
}

.search_input_group {
    display: flex;
    background: var(--white);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.main_search_input {
    flex: 1;
    border: none;
    padding: 18px 25px;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.main_search_input::placeholder {
    color: #999;
}

.main_search_btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 18px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main_search_btn:hover {
    background: #d4551a;
}

/* 퀵 버튼들 */
.main_quick_btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.quick_btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255,255,255,0.15);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.quick_btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    color: white;
}

.quick_btn i {
    font-size: 18px;
}

/* 사이드 인기검색어 */
.main_visual_side {
    flex: 0 0 300px;
}

.trending_keywords {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.trending_keywords h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.trending_list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.trending_list li {
    margin-bottom: 8px;
}

.trending_list a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    padding: 8px 0;
    transition: opacity 0.3s;
}

.trending_list a:hover {
    opacity: 0.8;
    color: white;
}

.trending_list .rank {
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.trending_list .keyword {
    flex: 1;
    font-size: 14px;
}

/* 인크루트 커뮤니티 섹션 */
.incruit_community_section {
    padding: 80px 0;
    /* background: #fafbfc; */
}

.incruit_community_section .section_header {
    text-align: center;
    margin-bottom: 50px;
}

.incruit_community_section .section_title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.incruit_community_section .title_icon {
    margin-right: 10px;
}

.incruit_community_section .section_subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0;
}

.community_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
}

.community_card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.community_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card_header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f5f5f5;
}

.card_header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
}

.card_header h3 i {
    margin-right: 8px;
    color: var(--primary);
}

.more_link {
    color: var(--primary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s;
}

.more_link:hover {
    color: #d4551a;
}

.card_content {
    font-size: 13px;
    line-height: 13px;
}

/* 뉴스 슬라이더 섹션 */
.news_slider_section {
    padding: 60px 0;
    background: white;
}

/* 반응형 - 인크루트 스타일 */
@media (max-width: 1024px) {
    .main_visual_content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .main_visual_side {
        flex: none;
        width: 100%;
        max-width: 400px;
    }
    
    .main_title {
        font-size: 36px;
    }
    
    .title_main {
        font-size: 42px;
    }
    
    .community_grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .incruit_main_visual {
        padding: 40px 10px 30px;
    }
    
    .main_title {
        font-size: 24px;
    }
    
    .title_main {
        font-size: 28px;
    }
    
    .title_highlight {
        font-size: 20px;
    }
    
    .main_subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .main_search_input {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .main_search_btn {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .search_input_group {
        margin: 0 10px;
    }
    
    .quick_btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .trending_keywords {
        padding: 15px;
        margin: 0 10px;
    }
    
    .community_grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .community_card {
        padding: 15px;
    }
    
    .incruit_community_section {
        padding: 40px 10px;
    }
    
    .incruit_community_section .section_title {
        font-size: 22px;
    }
    
    /* 뉴스 슬라이더 모바일 최적화 */
    .news-section {
        padding: 15px 5px;
    }
    
    .news-card {
        min-width: 200px;
        flex: 0 0 200px;
        padding: 12px;
    }
    
    .news-title {
        font-size: 14px;
        height: 36px;
    }
    
    .news-content {
        font-size: 12px;
        height: 48px;
    }
}

/* 모바일 (480px 이하) 추가 최적화 */
@media (max-width: 480px) {
    /* 메인 비주얼 최적화 */
    .incruit_main_visual {
        padding: 30px 5px 20px;
    }
    
    .main_text_section {
        margin-left: 0;
    }
    
    .main_title {
        font-size: 20px;
    }
    
    .title_main {
        font-size: 24px;
    }
    
    .title_highlight {
        font-size: 16px;
    }
    
    .main_subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    /* 검색 영역 모바일 최적화 */
    .search_input_group {
        margin: 0 5px;
        border-radius: 30px;
    }
    
    .main_search_input {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .main_search_btn {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    /* 컴뮤니티 섹션 모바일 */
    .incruit_community_section {
        padding: 30px 5px;
    }
    
    .incruit_community_section .section_title {
        font-size: 18px;
    }
    
    .community_card {
        padding: 12px;
    }
    
    .card_header h3 {
        font-size: 15px;
    }
    
    /* DB 섹션 모바일 */
    .db_section {
        padding: 30px 5px;
    }
    
    .db_box {
        padding: 15px 10px;
    }
    
    .db_icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .db_box h3 {
        font-size: 15px;
    }
    
    .db_box p {
        font-size: 12px;
    }
    
    /* GA 미팅 섹션 모바일 */
    .ga_meeting_section {
        padding: 30px 5px;
        margin: 0 -5px;
    }
    
    .ga_meeting_banner {
        padding: 0 15px;
    }
    
    .ga_meeting_text {
        padding: 20px 0;
    }
    
    .ga_meeting_text h2 {
        font-size: 18px;
    }
    
    .ga_meeting_text p {
        font-size: 12px;
    }
    
    .btn_meeting {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    /* 뉴스 섹션 모바일 */
    .news_slider_section {
        padding: 30px 5px;
    }
    
    .news-section-title {
        font-size: 18px;
    }
    
    .news-card {
        min-width: 180px;
        flex: 0 0 180px;
        padding: 10px;
    }
    
    .news-title {
        font-size: 13px;
        height: 32px;
    }
    
    .news-content {
        font-size: 11px;
        height: 44px;
    }
    
    .news-more {
        font-size: 11px;
    }
}
