/**
 * 다중 디자인 시스템 CSS
 * 각 디자인 옵션에 필요한 추가 스타일
 */

/* ========================================
   메인 배너 디자인 옵션
   ======================================== */

/* Design 2: 비디오 배경 배너 */
.banner-design2 {
    position: relative;
    overflow: hidden;
}

.banner-design2 .video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.banner-design2 .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.banner-design2 .banner-content-centered {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 20px;
}

.banner-design2 .info-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.banner-design2 .info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Design 3: 풀스크린 이미지 배너 */
.banner-design3 .fullscreen-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}

.banner-design3 .content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px;
    min-height: 100vh;
}

/* Design 4: 분할 화면 배너 */
.banner-design4 .split-banner {
    display: flex;
    height: 100vh;
}

.banner-design4 .split-left,
.banner-design4 .split-right {
    flex: 1;
}

.banner-design4 .split-left {
    position: relative;
    overflow: hidden;
}

.banner-design4 .split-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.banner-design4 .split-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ========================================
   프로젝트 디자인 옵션
   ======================================== */

/* Design 2: 아코디언 스타일 */
.project-design2 .accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.project-design2 .accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    cursor: pointer;
    transition: background 0.3s;
}

.project-design2 .accordion-header:hover {
    background: #e9ecef;
}

.project-design2 .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.project-design2 .accordion-item.active .accordion-content {
    max-height: 200px;
    padding: 20px;
}

/* Design 3: 타임라인 레이아웃 */
.project-design3 .timeline {
    position: relative;
    padding: 40px 0;
}

.project-design3 .timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ddd;
}

.project-design3 .timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.project-design3 .timeline-item.left .timeline-content {
    margin-right: 50%;
    padding-right: 40px;
}

.project-design3 .timeline-item.right .timeline-content {
    margin-left: 50%;
    padding-left: 40px;
}

/* ========================================
   프리미엄 디자인 옵션
   ======================================== */

/* Design 2: 탭 방식 갤러리 */
.premium-design2 .tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.premium-design2 .tab-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s;
}

.premium-design2 .tab-btn.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.premium-design2 .tab-content {
    display: none;
}

.premium-design2 .tab-content.active {
    display: block;
}

/* Design 3: 모자이크 레이아웃 */
.premium-design3 .mosaic-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.premium-design3 .mosaic-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.premium-design3 .mosaic-item.medium {
    grid-column: span 2;
}

.premium-design3 .mosaic-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.premium-design3 .mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   유니트 디자인 옵션
   ======================================== */

/* Design 2: 슬라이더 방식 */
.unit-design2 .unit-slider {
    position: relative;
    overflow: hidden;
}

.unit-design2 .unit-slide {
    display: none;
}

.unit-design2 .unit-slide.active {
    display: flex;
    gap: 40px;
}

/* Design 4: 그리드 레이아웃 */
.unit-design4 .units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.unit-design4 .unit-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

.unit-design4 .unit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ========================================
   오버뷰 디자인 옵션
   ======================================== */

/* Design 3: 아이콘 박스 */
.overview-design3 .icon-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.overview-design3 .icon-box {
    text-align: center;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 10px;
    transition: all 0.3s;
}

.overview-design3 .icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.overview-design3 .box-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Design 6: 애니메이션 카운터 */
.overview-design6 .counters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.overview-design6 .counter-box {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.overview-design6 .counter-number {
    font-size: 3rem;
    font-weight: bold;
    color: #007bff;
}

/* ========================================
   폼메일 디자인 옵션
   ======================================== */

/* Design 3: 팝업 모달 폼 */
.form-design3 .modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.form-design3 .modal-overlay.active {
    display: flex;
}

.form-design3 .modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.form-design3 .modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Design 5: 멀티스텝 폼 */
.form-design5 .progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.form-design5 .progress-step {
    flex: 1;
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border-bottom: 3px solid #ddd;
}

.form-design5 .progress-step.active {
    border-bottom-color: #007bff;
    color: #007bff;
    font-weight: bold;
}

.form-design5 .step {
    display: none;
}

.form-design5 .step.active {
    display: block;
}

/* ========================================
   반응형 미디어 쿼리
   ======================================== */

@media (max-width: 768px) {
    .banner-design4 .split-banner {
        flex-direction: column;
    }
    
    .project-design3 .timeline::before {
        left: 20px;
    }
    
    .project-design3 .timeline-item.left .timeline-content,
    .project-design3 .timeline-item.right .timeline-content {
        margin: 0;
        padding-left: 50px;
    }
    
    .premium-design3 .mosaic-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-design6 .counters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

