/**
 * 애플리케이션 슬라이더 스타일시트
 * 파일명: application-slider.css
 * 위치: /theme/THEME_NAME/css/application-slider.css
 */

/* 슬라이더 컨테이너 */
.app-slider-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 40px auto;
    padding: 60px 80px;
    overflow: hidden;
}

/* 슬라이더 래퍼 */
.app-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* 슬라이더 트랙 */
.app-slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 앱 화면 아이템 */
.app-slider-item {
    flex: 0 0 auto;
    width: 320px;
}

/* 앱 화면 프레임 (휴대폰 모양) */
.app-screen-frame {
    position: relative;
    width: 290px;
    height: 640px;
    background: #ffffff;  /* 흰색 배경 */
    border-radius: 30px;
    box-shadow: 
        0 0 0 12px #1a1a1a,
        0 0 0 14px #333,
        0 20px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.app-slider-item:hover .app-screen-frame {
    transform: translateY(-10px);
}

/* 노치 (상단 카메라 부분) */
.app-screen-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 25px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

/* 앱 화면 이미지 */
.app-screen-frame img {
    position: absolute;
    top: 25px;  /* 노치 높이만큼 아래로 */
    left: 0;
    width: 100%;
    height: calc(100% - 25px);  /* 노치 높이 제외 */
    object-fit: contain;
    object-position: center;
    display: block;
}

/* 오버레이 */
.app-screen-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    color: #fff;
    padding: 40px 25px 30px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.app-slider-item:hover .app-screen-overlay {
    transform: translateY(0);
}

.app-screen-overlay h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: #fff;
}

.app-screen-overlay p {
    font-size: 15px;
    margin: 0;
    color: #fff;
}

/* 네비게이션 버튼 */
.app-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 32px;
    font-family: Arial, sans-serif;
    color: #333;
    font-weight: bold;
}

.app-slider-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.app-slider-prev {
    left: 15px;
}

.app-slider-prev::before {
    content: '‹';
}

.app-slider-next {
    right: 15px;
}

.app-slider-next::before {
    content: '›';
}

.app-slider-nav i {
    display: none;
}

/* 인디케이터 (도트) */
.app-slider-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
}

.app-slider-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.app-slider-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

.app-slider-indicators .indicator.active {
    background: #ffffff;
    width: 35px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 반응형 */
@media screen and (max-width: 1200px) {
    .app-slider-container {
        padding: 50px 60px;
    }
    .app-slider-item {
        width: 280px;
    }
    .app-screen-frame {
        width: 280px;
        height: 560px;
    }
}

@media screen and (max-width: 768px) {
    .app-slider-container {
        padding: 40px 50px;
    }
    .app-slider-track {
        gap: 20px;
    }
    .app-slider-item {
        width: 240px;
    }
    .app-screen-frame {
        width: 240px;
        height: 480px;
    }
    .app-slider-nav {
        width: 45px;
        height: 45px;
    }
}

@media screen and (max-width: 480px) {
    .app-slider-container {
        padding: 30px 20px;
    }
    .app-slider-item {
        width: 200px;
    }
    .app-screen-frame {
        width: 200px;
        height: 400px;
    }
}
/* CSS Document */

