/* 비전모터 웹사이트 커스텀 스타일 */

/* 기본 스타일 재정의 */
body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 로고 이미지 스타일 */
.logo-image {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

/* 네비게이션 스타일 */
.nav-link {
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #4a90e2;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #4a90e2;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* 히어로 섹션 스타일 */
.hero-section {
    background: linear-gradient(135deg, #003d7a 0%, #4a90e2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    background: rgba(0, 61, 122, 0.8);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* 버튼 스타일 */
.btn-primary {
    background: linear-gradient(135deg, #4a90e2 0%, #003d7a 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: #4a90e2;
    padding: 12px 30px;
    border: 2px solid #4a90e2;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #4a90e2;
    color: white;
    text-decoration: none;
}

/* 섹션 스타일 */
.section-padding {
    padding: 80px 0;
}

/* 카드 스타일 */
.service-card {
    transition: all 0.3s ease;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4a90e2 0%, #003d7a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

/* 통계 카운터 */
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #003d7a;
    display: block;
}

/* 이미지 스타일 */
.feature-image {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* 배경 이미지 오버레이 */
.bg-overlay {
    position: relative;
}

.bg-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 61, 122, 0.7);
    z-index: 1;
}

.bg-overlay > * {
    position: relative;
    z-index: 2;
}

/* 모바일 메뉴 */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* 스크롤 애니메이션 */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 푸터 스타일 */
.footer-link {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
    text-decoration: none;
}

/* 반응형 미디어 쿼리 */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .service-card {
        padding: 20px;
        margin-bottom: 20px;
    }
}

/* 로딩 애니메이션 */
.loading-pulse {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 스크롤 바 스타일링 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #4a90e2 0%, #003d7a 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #003d7a;
}

/* 포커스 스타일 개선 */
.focus\:outline-vision:focus {
    outline: 2px solid #4a90e2;
    outline-offset: 2px;
}

/* 히어로 로고 스타일 */
.hero-logo {
    mix-blend-mode: screen;
    filter: brightness(1.3) contrast(1.2) drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.4) contrast(1.3) drop-shadow(0 15px 30px rgba(0,0,0,0.4));
}

/* 투명 배경 히어로 로고 스타일 */
.hero-logo-transparent {
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3)) drop-shadow(0 4px 8px rgba(255,255,255,0.1));
    transition: all 0.4s ease;
    opacity: 0.95;
}

.hero-logo-transparent:hover {
    transform: scale(1.08) translateY(-2px);
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.4)) drop-shadow(0 6px 12px rgba(255,255,255,0.2));
    opacity: 1;
}