@charset "utf-8";

/* 메인 영역 서식 */
        /* =========================================
           1. 기본 설정 (Reset & Variables)
           ========================================= */
        :root {
            --primary-color: #D02336;
            --text-dark: #333;
            --text-light: #fff;
            --bg-gray: #f5f5f5;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
        }

        body {
            color: var(--text-dark);
            line-height: 1.6;
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        /* =========================================
           2. 공통 레이아웃 (Common Layout)
           ========================================= */
        .container {
            width: 100%;
            max-width: 1600px;
            margin: 0 auto;
            padding: 80px 0;
        }

        .container.pt-0 {
            padding-top: 0;
        }

        .section-title {
            color: var(--primary-color);
            font-size: 2rem;
            margin-bottom: 20px;
            text-transform: capitalize;
        }

        /* =========================================
           3. 헤더 (Header)
           ========================================= */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 20px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--text-light);
            background-color: rgba(0, 0, 0, 0.6);
            z-index: 1000;
            backdrop-filter: blur(5px);
        }

        .logo {
            font-weight: bold;
            font-size: 1.2rem;
            z-index: 1001;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        nav ul li a {
            font-size: 0.9rem;
            text-transform: uppercase;
            transition: color 0.3s;
        }

        nav ul li a:hover {
            color: var(--primary-color);
        }

        /* 햄버거 버튼 (PC에서는 숨김) */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            gap: 5px;
            z-index: 1001;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background-color: var(--text-light);
            border-radius: 3px;
            transition: all 0.3s ease-in-out;
        }

        /* =========================================
           4. 히어로 섹션 (Hero Section)
           ========================================= */
        #hero {
            width: 100%;
            height: 60vh;
            background: linear-gradient(rgba(0, 0, 0, 0.427), rgba(0, 0, 0, 0.4)), url(../images/corgimage.png) center no-repeat;
            background-size: 100% 100%;
            color: var(--text-light);
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 0 5%;
            padding-top: 80px;
        }

        #hero h2 {
            font-size: 2.2rem;
            margin-bottom: 40px;
            max-width: 1000px;
        }

        #hero p {
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 800px;
        }

        /* =========================================
           5. 특징 카드 섹션 (Feature Cards)
           ========================================= */
        #feature-cards {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 40px;
            padding: 0 5%;
            position: relative;
            z-index: 10;
        }

        .feature-card {
            color: white;
            padding: 40px 20px;
            border-radius: 10px;
            height: 400px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            row-gap: 20px;
            background-size: cover;
            background-position: center;
        }

        .card-1 { background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7)), url('../images/intro_img1.jpg'); }
        .card-2 { background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7)), url('../images/intro_img2.jpg'); }
        .card-3 { background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7)), url('../images/intro_img3.jpg'); }

        .feature-card > h3 {
            font-size: 1.4rem;
        }

        .feature-card > p{
            font-size: 1rem;
        }

        /* =========================================
           6. 회사 소개 (About & Philosophy)
           ========================================= */
        .about-wrap {
            display: flex;
            flex-wrap: wrap;
            /* gap: 40px; */
            flex-direction: column;
        }
/*         
        .about-item {
            flex: 1 1 400px;
        } */
        
        .about-item.right {
            text-align: right;
        }

        /* =========================================
        7. 연혁 (History) - 세로 스크롤 및 더보기
        ========================================= */
        .history-title {
            color: var(--primary-color);
            margin-bottom: 40px;
        }

        /* 전체 래퍼: 초기에는 높이가 450px로 고정됨 */
        .history-container {
            position: relative;
            max-height: 450px; 
            overflow: hidden;
            transition: max-height 0.8s ease-in-out;
        }

        /* 더보기 눌렀을 때 전체가 다 보이도록 높이 확장 */
        .history-container.expanded {
            max-height: 3000px; /* 모든 연혁을 덮을 만큼 넉넉한 값 */
        }

        /* 하단 그라데이션 (안개 효과) */
        .history-fade {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 120px;
            background: linear-gradient(to bottom, rgba(245,245,245,0), rgba(255,255,255,1));
            transition: opacity 0.5s;
            pointer-events: none;
            z-index: 5;
        }

        /* 펼쳐지면 그라데이션 사라짐 */
        .history-container.expanded .history-fade {
            opacity: 0; 
        }

        .history-wrapper {
            position: relative;
            padding: 10px 0;
        }

        /* 세로 직선 */
        .timeline-line {
            position: absolute;
            top: 15px;
            bottom: 0;
            left: 80px; /* 년도 글씨 너비에 맞춤 */
            width: 1px;
            background-color: #888;
            transform: translateX(-50%);
            z-index: 1;
        }

        .timeline-item {
            display: flex;
            position: relative;
            margin-bottom: 50px;
        }

        /* 년도 텍스트 */
        .time-year {
            width: 80px;
            text-align: right;
            padding-right: 30px;
            font-size: 1.4rem;
            font-weight: 700;
            color: #555;
            line-height: 1.2;
        }

        /* 동그라미 (초기에는 속이 빔) */
        .time-circle {
            position: absolute;
            left: 80px;
            top: 0px;
            transform: translateX(-50%);
            width: 16px;
            height: 16px;
            border-radius: 50%;
            border: 2px solid #666;
            background-color: #fff; /* 배경을 하얗게 해서 빈 것처럼 보이게 */
            z-index: 2;
            transition: background-color 0.4s ease, border-color 0.4s ease;
        }

        /* JS로 스크롤 시 추가되는 채워진 동그라미 클래스 */
        .time-circle.filled {
            background-color: #666;
            border-color: #666;
        }

        /* 우측 텍스트 내용 */
        .time-content {
            flex: 1;
            padding-left: 30px;
        }

        .history-row {
            margin-bottom: 12px;
            font-size: 1rem;
            color: #444;
            display: flex;
            align-items: flex-start;
            gap: 15px;
        }

        /* 월 (Month) 표시 */
        .history-row span {
            color: #888;
            font-weight: 500;
            min-width: 25px;
        }

        /* 더보기 버튼 스타일 */
        .btn-more-wrap {
            text-align: center;
            margin-top: 20px;
        }

        .btn-more {
            background-color: var(--primary-color);
            color: #fff;
            border: none;
            padding: 15px 80px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .btn-more:hover {
            background-color: #9d1525;
        }

        /* 반응형 (모바일) 미디어 쿼리 안에 추가해 주세요 */
        @media (max-width: 768px) {
            .timeline-line { left: 60px; }
            .time-year { width: 60px; padding-right: 15px; font-size: 1.2rem; }
            .time-circle { left: 60px; }
            .time-content { padding-left: 20px; }
        }

        /* =========================================
           8. 서비스 (Services)
           ========================================= */
        .service-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .service-item {
            background-color: #444;
            color: white;
            padding: 28px 80px;
            border-radius: 10px;
            display: flex;
            /* gap: 120px;; */
            align-items: center;
        }

        .service-item > h3 {
            display: block;
            width: 400px;
        }

        .service-item > ul {
            display: block;
        }

        
        /* =========================================
        Projects - 원형 카드 레이아웃
        ========================================= */
        .projects-section {
            padding: 80px 0;
        }

        .projects-section .section-title {
            color: var(--primary-color);
            margin-bottom: 8px;
        }

        .projects-section .section-desc {
            font-size: 1.2rem;
            color: #333;
            font-weight: 600;
            margin-bottom: 60px;
        }

        /* 원들을 가로로 배치하는 컨테이너 */
        .circle-container {
            display: flex;
            justify-content: center;
            gap: 80px; /* 원 사이의 간격 */
            flex-wrap: wrap; 
        }

        /* =========================================
        Projects - 원형 카드 레이아웃 (그림자 추가)
        ========================================= */
        .project-circle {
            width: 360px;
            height: 360px;
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: #fff;
            
            /* 1. 부드럽고 넓게 퍼지는 그림자 효과 (Drop Shadow) 추가 */
            /* 수평 오프셋(0), 수직 오프셋(20px), 흐림 반경(50px), 확산 반경(0), 색상(rgba로 투명도 조절) */
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
            
            padding: 40px;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease; /* 호버 애니메이션 추가 */
            overflow: hidden; /* 원형 밖으로 텍스트가 나가지 않도록 설정 */
        }

        /* 마우스 올렸을 때 그림자도 함께 변하도록 효과 추가 (선택사항) */
        .project-circle:hover {
            transform: translateY(-10px); /* 살짝 위로 이동 */
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); /* 그림자가 더 깊어지고 진해짐 */
        }

        /* 각 원의 배경색 지정 */
        .circle-gray {
            background-color: #454545;
        }

        .circle-navy {
            background-color: #0c0b3e;
        }

        /* 원 안의 텍스트 스타일 */
        .project-circle h3 {
            font-size: 1.6rem;
            margin-bottom: 40px;
            font-weight: 700;
        }

        .project-circle ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .project-circle li {
            font-size: 1rem;
            margin-bottom: 20px;
            line-height: 1.4;
        }

        .project-circle li:last-child {
            margin-bottom: 0;
        }


        
        /* =========================================
           9. 프로젝트 (Projects)
           ========================================= */
        .project-showcase {
            width: 100%;
            height: 60vh;
            padding: 40px 0;
        }

        .project-title {
            font-size: 2rem;
        }
        
        .mockup-container {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            width: 100%;

        }
        
        .mockup {
            width: 200px;
            height: 400px;
            background-color: white;
            border-radius: 16px;
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
            background-size: cover;
            background-position: center;
        }

        .mockup-1 { background-image: url('../images/bizib_screenshot_1.png'); }
        .mockup-2 { background-image: url('../images/bizib_screenshot_2.png'); }
        .mockup-3 { background-image: url('../images/bizib_screenshot_3.png'); }
        .mockup-4 { background-image: url('../images/bizib_screenshot_4.png'); }

        /* 기본 폰트 설정 (웹 폰트 예시: Pretendard) */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');


body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

/* 메인 섹션 배경 및 레이아웃 */
.project-showcase {
    /* 이 섹션에만 폰트 적용 */
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    background-color: #4256eb; /* 이미지와 유사한 블루 컬러 */
    width: 100%;
    min-height: 60vh;
    overflow: hidden;
}
.project-showcase2 {
    /* 이 섹션에만 폰트 적용 */
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    background-color: #EB9D43; /* 이미지와 유사한 블루 컬러 */
    width: 100%;
    min-height: 60vh;
    overflow: hidden;
}

.container_bizib {
    max-width: 1400px;
    width: 100%;
    margin: 0 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* 텍스트 영역 스타일 */
.hero-content {
    flex: 1;
    color: #ffffff;
    z-index: 10;
    margin-bottom: 200px;
}

.app-logo-wrap {
    margin-bottom: 30px;
}

.app-logo {
    width: 100px; /* 로고 크기 조절 */
    height: 100px;
    border-radius: 25px;
    background-color: #fff; /* 로고 배경이 투명할 경우를 대비한 흰색 배경 */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.hero-title {
    font-size: 2.6rem;
    line-height: 1.5;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.bold-box {
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: -0.5px;
}

/* 오른쪽 목업 이미지 영역 레이아웃 (Absolute Positioning 활용) */
.hero-mockups {
    flex: 1.2;
    height: 600px;
    position: relative;
}

/* 공통 목업 스타일 */
.mockup {
    position: absolute;
    border-radius: 24px; /* 핸드폰 모서리 둥글게 */
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); /* 그림자 효과 */
    max-width: 280px; /* 목업 기본 너비 (이미지 비율에 따라 조절 필요) */
    height: auto;
}

/* 각 목업의 개별 위치 (이미지 크기에 따라 top, right 값을 미세조정 하세요) */
.m-center {
    top: 60%;
    right: 45%;
    transform: translateY(-50%);
    max-width: 300px;
    z-index: 5;
}

.m-left {
    top: 80%;
    right: 75%;
    transform: translateY(-50%);
    z-index: 4;
}

.m-top-right {
    top: -5%;
    right: 15%;
    z-index: 3;
}

.m-bottom-right {
    bottom: -46%;
    right: 15%;
    z-index: 6;
}

.m-top-mid {
    top: -55%;
    right: 45%;
    max-width: 240px;
    z-index: 2;
}

/* 커리어 */
.careers-section {
    height: 70vh;
}
.s-mockup {
    position: absolute;
    max-width: 280px; /* 목업 기본 너비 (이미지 비율에 따라 조절 필요) */
    height: auto;
    display: inline-block;
}
.s-mockup > img {
    width: 100%;
}

.s-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 500;
}

.s-left {
    right: 40%;
    bottom: 36%;
}

.s-mid {
    right: 25%;
    bottom: 29%;
}

.s-right {
    right: 20%;
    bottom : 66%;

}

/* --------------문화------------------------ */
.culture-section {
  position: relative;
  height: 70vh;
  margin-bottom: 40px;
}

/* 우측 이미지 배치 */
.main-image-wrapper {
  position: absolute;
  right: 20%;
  top: 20%;
  width: 700px; /* 전체의 70% 차지 */
  height: 500px;
  border-radius: 50px; /* 이미지 모서리 둥글게 */
  overflow: hidden;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 육각형 공통 스타일 */
.hex {
  position: absolute;
  width: 188px;  /* 육각형 너비 */
  height: 210px; /* 육각형 높이 */
  background-color: rgba(243, 241, 241, 0.9); /* 약간 투명한 흰색 */
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  z-index: 10; /* 이미지보다 위에 오도록 */
}

.hex-inner {
  padding: 20px;
}

.sub-text { font-size: 12px; margin-bottom: 5px; color: #5a5a5a; }
.main-text { font-size: 18px; font-weight: bold; color: #2c2c2c; }

/* 육각형 개별 위치 잡기 (이미지와 겹치도록 설정) */
/* 이미지와 같이 벌집 모양으로 맞물리게 좌표를 미세 조정하세요 */
.hex-1 { top: 20%; left: 20%; }
.hex-2 { top: 20%; left: 32%; } /* 이미지와 겹치는 부분 */
.hex-3 { top: 44%; left: 14%; }
.hex-4 { top: 44%; left: 26%; }
.hex-5 { top: 68%; left: 20%; }
.hex-6 { top: 68%; left: 32%; }

/* 반응형 디자인 (화면이 작아질 때 세로로 배치) */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        padding-top: 100px;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 80px;
    }
    
    .hero-mockups {
        width: 100%;
        height: 500px;
        transform: scale(0.8); /* 화면이 작아지면 목업 크기 축소 */
    }
    
    .m-left { right: 60%; }
    .m-center { right: 25%; }
}

        /* =========================================
        10. 파트너스 (Partners) - 무한 스크롤 (Marquee)
        ========================================= */
        .partners-section {
            overflow: hidden; /* 화면 밖으로 삐져나가는 로고 숨김 */
        }

        .partners-section .section-title {
            margin-bottom: 10px;
        }

        .about-item > p {
            font-size: 1.2rem;
            font-weight: bold;
        }

        .container .section-desc {
            font-size: 1.2rem;
            color: #333;
            font-weight: 600;
            margin-bottom: 50px;
        }

        /* 롤링되는 전체 트랙을 감싸는 박스 */
        .marquee-container {
            width: 100%;
            overflow: hidden;
            position: relative;
            padding: 30px 0; /* 위아래 넉넉히 줘서 그림자가 잘리지 않게 함 */
        }

        /* 흘러가는 트랙 (가로로 쭉 나열) */
        .marquee-track {
            display: flex;
            gap: 40px;          /* 동그라미 사이의 간격 */
            width: max-content; /* 내부 컨텐츠 크기만큼 가로로 늘어남 */
            /* CSS 애니메이션 적용 (20초 동안 왼쪽으로 이동, 무한 반복) */
            animation: scroll-left 20s linear infinite;
        }

        /* 마우스를 올리면 에스컬레이터가 잠시 멈춤 (선택사항, 지우셔도 됨) */
        .marquee-track:hover {
            animation-play-state: paused;
        }

        /* 로고가 들어가는 하얀색 원 (Drop Shadow 적용) */
        .partner-circle {
            width: 160px;
            height: 160px;
            border-radius: 50%;
            background-color: #fff;
            /* 요청하신 부드럽고 입체적인 Drop Shadow */
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0; /* 화면이 좁아져도 원이 찌그러지지 않음 */
            padding: 30px;  /* 원 안쪽 여백 */
            transition: transform 0.3s ease;
        }

        /* 원에 마우스를 올렸을 때 살짝 커지는 효과 */
        .partner-circle:hover {
            transform: scale(1.05);
        }

        /* PNG 이미지 크기 설정 */
        .partner-circle img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain; /* 이미지가 잘리지 않고 비율 유지하며 쏙 들어감 */
        }

        /* 왼쪽으로 흘러가는 애니메이션 키프레임 */
        @keyframes scroll-left {
            0% { transform: translateX(0); }
            /* JS에서 로고들을 정확히 2배로 복사했으므로 절반(-50%)만 이동하면 무한루프가 자연스럽게 이어짐 */
            100% { transform: translateX(-50%); } 
        }

        /* =========================================
           11. 푸터 (Footer)
           ========================================= */
        footer {
            background-color: #333;
            color: #ccc;
            padding: 60px 5%;
        }
        
        footer h3 {
            color: var(--primary-color);
            margin-bottom: 20px;
        }

        /* =========================================
           12. 반응형 미디어 쿼리 (Media Queries)
           ========================================= */
        @media (max-width: 992px) {
            #feature-cards {
                grid-template-columns: repeat(3, 1fr);
            }
            #hero h2 { font-size: 2.5rem; }
        }

        @media (max-width: 768px) {
            /* 햄버거 버튼 보이기 */
            .hamburger {
                display: flex;
            }

            /* 위에서 아래로 내려오는 가로형 모바일 메뉴 스타일링 */
            nav {
                position: absolute;
                top: 100%; /* 헤더 바로 아래 위치 */
                left: 0;
                width: 100%; /* 전체 가로 크기 */
                background-color: rgba(0, 0, 0, 0.95);
                display: flex;
                
                /* 부드러운 애니메이션 효과를 위한 설정 */
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.4s ease-in-out;
            }

            /* 메뉴가 열렸을 때 (JS로 클래스 추가) */
            nav.active {
                max-height: 400px; /* 모든 메뉴가 보일 만큼 넉넉한 높이 */
            }

            nav ul {
                width: 100%;
                flex-direction: column;
                align-items: center;
                padding: 20px 0; /* 메뉴 위아래 여백 */
                gap: 20px;
            }

            nav ul li a {
                font-size: 1.1rem;
                display: block;
                padding: 10px;
            }

            /* 햄버거 버튼 애니메이션 (X 모양) */
            .hamburger.active span:nth-child(1) {
                transform: translateY(8px) rotate(45deg);
            }
            .hamburger.active span:nth-child(2) {
                opacity: 0;
            }
            .hamburger.active span:nth-child(3) {
                transform: translateY(-8px) rotate(-45deg);
            }

            /* 기타 반응형 레이아웃 조절 */
            #feature-cards {
                grid-template-columns: 1fr;
                margin-top: 20px;
            }
            .feature-card {
                height: 28vh;
            }
            
            #hero h2 { font-size: 2rem; }

            .container {
                padding : 20px 5%;
            }

            .about-wrap {
                display: flex;
                flex-direction: column;
                row-gap: 40px;
            }


            
            .service-item {
                padding: 20px 20px;
                flex-direction: column;
                align-items:start;
                gap: 20px;
            }


            /* Partners 모바일 반응형 */
            .marquee-track {
                gap: 20px;
            }

            .partner-circle {
                width: 110px;
                height: 110px;
                padding: 20px;
            }

            


        }