/* CARROT EDU 전역 스타일 */

/* 상단 네비게이션 바 스타일 */
.navbar {
    background: white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 15px 0;
    z-index: 9999;
    position: relative;
}

.navbar-brand {
    font-weight: 700;
    color: #FF6F00 !important;
    font-size: 1.4rem;
    text-decoration: none;
}

.navbar-brand i {
    margin-right: 8px;
    color: #FF6F00;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.nav-link:hover {
    color: #FF6F00 !important;
    background: rgba(255, 111, 0, 0.1);
    transform: translateY(-1px);
}

.nav-link i {
    margin-right: 6px;
    color: #FF6F00;
}

/* 푸터 네비게이션 스타일 */
.footer-nav-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: white;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-banner {
    background: linear-gradient(135deg, #FF6F00, #FF8F00);
    color: white;
    text-align: center;
    padding: 8px 0;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.footer-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 0;
    background: white;
    width: 100%;
    margin: 0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: 12px;
    text-align: center;
    flex: 1;
    max-width: 120px;
}

.nav-item i {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: #333;
    transition: all 0.3s ease;
}

.nav-item span {
    font-size: 0.8rem;
    color: #666;
    transition: all 0.3s ease;
}

.nav-item:hover {
    color: #000;
    background: rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.nav-item:hover i {
    transform: scale(1.15);
    color: #000;
}

.nav-item:hover span {
    color: #000;
    font-weight: 600;
}

/* 바디 하단 여백 */
body {
    margin-bottom: 0;
    padding-bottom: 0;
    min-height: 100vh;
    position: relative;
}

/* 메인 컨테이너 여백 추가 */
.main-container {
    margin-bottom: 0;
    padding-bottom: 100px;
}

/* 반응형 */
@media (max-width: 480px) {
    .footer-nav {
        padding: 12px 0;
    }
    
    .nav-item {
        padding: 8px 15px;
        max-width: 100px;
    }
    
    .nav-item i {
        font-size: 1.2rem;
    }
    
    .nav-item span {
        font-size: 0.75rem;
    }
    
    body {
        margin-bottom: 75px;
    }
} 