/* Vision Up 교육 웹사이트 스타일 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 메인 히어로 섹션 */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    animation: gradientShift 15s ease infinite;
    background-size: 400% 400%;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.15;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: floatShapes 20s ease-in-out infinite;
}

@keyframes floatShapes {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px);
}

.hero-overlay {
    position: relative;
    z-index: 2;
    background: transparent;
    width: 100%;
    padding: 4rem 0;
}

/* 네비게이션 */
.navbar-brand {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #f8f9fa !important;
}

/* 카드 스타일 */
.card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* 정보 아이템 */
.info-item {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.info-item i {
    font-size: 1.2rem;
}

/* 스케줄 아이템 */
.schedule-item {
    display: flex;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-left: 3px solid #007bff;
    background: #f8f9fa;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.schedule-item:hover {
    background: #e9ecef;
}

.schedule-item.lunch {
    border-left-color: #fd7e14;
    background: #fff3cd;
}

.schedule-item .time {
    min-width: 100px;
    font-weight: 600;
    color: #007bff;
}

.schedule-item .content {
    flex: 1;
    margin-left: 1rem;
}

/* 버튼 스타일 */
.btn {
    border-radius: 25px;
    font-weight: 500;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 1rem 2.5rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 폼 스타일 */
.form-control, .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* 댓글 스타일 */
.comment-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: box-shadow 0.3s ease;
}

.comment-item:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.comment-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: 600;
    color: #007bff;
}

.comment-date {
    color: #6c757d;
    font-size: 0.875rem;
}

.comment-content {
    margin-bottom: 0.5rem;
}

.comment-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.like-btn {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    transition: color 0.3s ease;
}

.like-btn:hover, .like-btn.liked {
    color: #dc3545;
}

.delete-btn {
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    transition: all 0.3s ease;
}

.delete-btn:hover {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
}

/* 질문 카드 */
.question-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.question-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.question-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.question-author {
    font-weight: 600;
    color: #007bff;
}

.anonymous-badge {
    background: #6c757d;
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
}

/* 설문 결과 */
.survey-result {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
}

.result-item {
    display: flex;
    justify-content: between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #bbdefb;
}

.result-item:last-child {
    border-bottom: none;
}

.result-count {
    font-weight: 600;
    color: #1976d2;
}

/* 알림 */
.alert {
    border-radius: 10px;
    border: none;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
}

/* 로딩 스피너 */
.loading {
    text-align: center;
    padding: 2rem;
}

.spinner-border {
    color: #007bff;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-overlay {
        padding: 3rem 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .schedule-item {
        flex-direction: column;
    }
    
    .schedule-item .time {
        margin-bottom: 0.5rem;
        min-width: auto;
    }
    
    .schedule-item .content {
        margin-left: 0;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 450px;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .info-item {
        padding: 0.75rem;
    }
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 추가 유틸리티 클래스 */
.text-shadow {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 4px 20px rgba(0, 0, 0, 0.2);
}

.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.rounded-xl {
    border-radius: 15px;
}