@charset "utf-8";

/**
 * ZZAN STUDIO Official Layout - A Type 메인 전용 스타일
 */

/* A Type 컨테이너 설정 */
.type-a-container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 30px 20px;
    font-family: 'Pretendard', sans-serif;
}

/* 섹션 타이틀 헤더 */
.type-a-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--zzan-border);
}
.type-a-header h2 {
    font-size: 28px;
    font-weight: 700;
    font-family: 'Montserrat', 'Pretendard', sans-serif !important;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -1px;
}
.type-a-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--zzan-gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}
.type-a-more:hover { color: var(--zzan-neon); }
.type-a-more svg { width: 14px; height: 14px; transition: transform 0.3s; }
.type-a-more:hover svg { transform: translateX(3px); }

/* 섹션 간격 및 공통 설정 */
.type-a-section { margin-bottom: 0px; }
.type-a-section.quick-links-section { 
    margin-bottom: 60px; 
    position: relative; 
    padding: 100px 0; 
    overflow: visible;
    width: 100vw; 
    left: 50%; 
    right: 50%; 
    margin-left: -50vw; 
    margin-right: -50vw; 
}

@media screen and (max-width: 768px) {
    .type-a-section.quick-links-section { overflow: hidden !important; }
}

/* 퀵링크 섹션 배경 및 레이아웃 */
.quick-links-section .quick-section-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.quick-links-section .quick-section-bg .bg-img { width: 100%; height: 100%; background-size: cover; background-position: center; }
.quick-links-section .quick-section-bg .bg-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: var(--zzan-neon); 
    opacity: 0.8;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 5; 
}

/* 유튜브 배경 영상 래퍼 */
.youtube-wrap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 2; }
.youtube-wrap iframe { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    width: 100vw; 
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%) scale(1.2);
    pointer-events: none; 
}

.quick-links-section .type-a-header { position: relative; z-index: 10; border-bottom: none; margin-bottom: 40px; display: block; }
.quick-links-section .type-a-header h2 { font-size: 42px; margin-bottom: 10px; }
.quick-links-section .type-a-header .quick-desc { font-size: 18px; opacity: 0.8; font-weight: 500; }

/* 1. 퀵링크 배너 스타일 (Swiper) */
.type-a-quick {
    width: 100%;
    position: relative;
    z-index: 10;
    overflow: visible;
}

/* 슬라이더 네비게이션 버튼 */
.quick-nav-prev, .quick-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    opacity: 0;
}
.quick-links-section:hover .quick-nav-prev, 
.quick-links-section:hover .quick-nav-next { opacity: 1; }

.quick-nav-prev { left: -40px; }
.quick-nav-next { right: -40px; }
.quick-nav-prev:hover, .quick-nav-next:hover { background: var(--zzan-neon); border-color: var(--zzan-neon); box-shadow: 0 0 20px var(--zzan-neon); }

.quick-nav-prev svg, .quick-nav-next svg { width: 24px; height: 24px; }

@media screen and (max-width: 1024px) {
    .quick-nav-prev, .quick-nav-next { display: none; }
}

/* 개별 퀵링크 카드 아이템 */
.quick-card {
    display: block;
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--zzan-select-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.quick-card:hover {
    transform: translateY(-5px);
    border-color: var(--zzan-neon);
}

/* 카드 배경 오버레이 (그라데이션) */
.quick-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
    transition: background 0.3s ease;
}
html[data-theme="light"] .quick-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.6) 100%);
}
.quick-card:hover .quick-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 20%, rgba(0,0,0,0.95) 100%);
}

.quick-inner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 10;
    box-sizing: border-box;
}

/* 카드 상단 아이콘 이미지 */
.quick-icon {
    display: block;
    width: auto;
    height: 24px;
    margin-bottom: 12px;
    opacity: 0.9;
}
.quick-icon img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.quick-text h3 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.quick-text p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin: 0;
    line-height: 1.5;
    word-break: keep-all;
    font-weight: 500;
}

/* 2. 위젯 혼합 섹션 (그리드 레이아웃) */
.type-a-mixed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.mixed-list, .mixed-highlight {
    min-width: 0;
    width: 100%;
}
.widget-4-slider {
    overflow: hidden;
    position: relative;
    padding-bottom: 40px !important;
}

/* 갤러리 위젯용 페이지네이션 */
.widget-4-pagination {
    bottom: 5px !important;
    text-align: center;
    width: 100%;
    z-index: 10;
}
.widget-4-pagination .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.3;
    width: 8px;
    height: 8px;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}
.widget-4-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--zzan-neon);
    width: 20px;
    border-radius: 4px;
}

/* 모바일 최적화 스타일 */
@media screen and (max-width: 768px) {
    .type-a-container { padding: 40px 20px; }
    .type-a-section { margin-bottom: 60px; }
    .type-a-header h2 { font-size: 28px; }
    
    .quick-card { height: 320px; }
    .quick-inner { padding: 20px; }
    .quick-text h3 { font-size: 20px; }
    .quick-text p { font-size: 14px; }
    
    .quick-slider { padding-right: 20px; }
    .type-a-mixed { grid-template-columns: 1fr; gap: 40px; }
}
