/* RoboTalk Hotel 커스텀 스타일 */

/* RoboTalk 디바이스 CSS 아트 */
.robotalk-device {
    width: 200px;
    height: 150px;
    background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.robotalk-device::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #ec4899, #8b5cf6);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

.robotalk-device::after {
    content: 'RoboTalk';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: bold;
    color: #6b7280;
    letter-spacing: 1px;
}

/* 하단 구멍들 */
.robotalk-device {
    background-image: 
        radial-gradient(circle at 30% 85%, #d1d5db 3px, transparent 3px),
        radial-gradient(circle at 70% 85%, #d1d5db 3px, transparent 3px);
}

/* 큰 갤러리 이미지 */
.robotalk-device-large {
    width: 300px;
    height: 225px;
    background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
    border-radius: 30px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
}

.robotalk-device-large::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #ec4899, #8b5cf6);
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(236, 72, 153, 0.4);
    animation: glow 2s ease-in-out infinite alternate;
}

.robotalk-device-large::after {
    content: 'RoboTalk';
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    font-weight: bold;
    color: #6b7280;
    letter-spacing: 1.5px;
}

.robotalk-device-large {
    background-image: 
        radial-gradient(circle at 35% 85%, #d1d5db 4px, transparent 4px),
        radial-gradient(circle at 65% 85%, #d1d5db 4px, transparent 4px);
}

/* 썸네일 디바이스 */
.robotalk-device-thumb {
    width: 80px;
    height: 60px;
    background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 100%);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.robotalk-device-thumb:hover {
    transform: scale(1.05);
}

.robotalk-device-thumb::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #ec4899, #8b5cf6);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.3);
}

.robotalk-device-thumb::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #d1d5db;
    border-radius: 1px;
}

/* 측면 뷰 */
.robotalk-device-thumb.side-view {
    background: linear-gradient(90deg, #ffffff 0%, #f3f4f6 50%, #e5e7eb 100%);
}

.robotalk-device-thumb.side-view::before {
    left: 20px;
    transform: none;
    width: 25px;
    height: 25px;
}

/* 상단 뷰 */
.robotalk-device-thumb.top-view {
    background: radial-gradient(circle at center, #f3f4f6 0%, #ffffff 100%);
}

.robotalk-device-thumb.top-view::before {
    width: 40px;
    height: 40px;
    top: 10px;
}

/* 발광 효과 */
.robotalk-device-thumb.glow-effect::before {
    animation: glow 1s ease-in-out infinite alternate;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.6);
}

/* 발광 애니메이션 */
@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
    }
    to {
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.5);
    }
}

/* 갤러리 썸네일 스타일 */
.thumbnail {
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 100px;
}

.thumbnail:hover {
    background-color: #f9fafb;
    transform: translateY(-2px);
}

.thumbnail.active {
    border-color: #8b5cf6;
    background-color: #f3f4f6;
}

.thumbnail p {
    color: #6b7280;
    font-weight: 500;
}

.thumbnail.active p {
    color: #8b5cf6;
    font-weight: 600;
}

/* FAQ 스타일 */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-question:focus {
    outline: 2px solid #8b5cf6;
    outline-offset: 2px;
}

.faq-question svg {
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.faq-answer {
    transition: all 0.3s ease;
}

.faq-answer.hidden {
    display: none;
}

/* 부드러운 스크롤 */
html {
    scroll-behavior: smooth;
}

/* 네비게이션 활성 상태 */
.nav-active {
    color: #8b5cf6 !important;
    font-weight: 600;
}

/* 폼 포커스 스타일 */
input:focus, textarea:focus, select:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* 로딩 애니메이션 */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* 성공 메시지 */
.success-message {
    background-color: #10b981;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    margin-top: 16px;
    display: none;
}

.success-message.show {
    display: block;
    animation: slideIn 0.3s ease;
}

/* 오류 메시지 */
.error-message {
    background-color: #ef4444;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    margin-top: 16px;
    display: none;
}

.error-message.show {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .robotalk-device {
        width: 160px;
        height: 120px;
    }
    
    .robotalk-device::before {
        width: 60px;
        height: 60px;
    }
    
    .robotalk-device-large {
        width: 240px;
        height: 180px;
    }
    
    .robotalk-device-large::before {
        width: 90px;
        height: 90px;
    }
    
    .thumbnail-container {
        padding: 0 16px;
    }
    
    .thumbnail {
        min-width: 80px;
    }
    
    .robotalk-device-thumb {
        width: 60px;
        height: 45px;
    }
    
    .robotalk-device-thumb::before {
        width: 20px;
        height: 20px;
        top: 6px;
    }
}

/* 접근성 개선 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 다크모드 지원 (선택사항) */
@media (prefers-color-scheme: dark) {
    .robotalk-device,
    .robotalk-device-large,
    .robotalk-device-thumb {
        background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    }
    
    .robotalk-device::after,
    .robotalk-device-large::after {
        color: #d1d5db;
    }
}