/*
===========================================
HEADER.CSS - 헤더 컨테이너 및 로고 스타일
===========================================
목적: 
- 헤더 컨테이너의 기본 스타일 (고정 위치, 배경, 스크롤 효과)
- 로고 스타일링 및 애니메이션
- 스크롤 시 헤더 변화 효과

네비게이션 메뉴 관련 스타일은 nav.css에서 관리
===========================================
*/

/* 헤더 컨테이너 스타일 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
  padding: 1rem;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(255, 107, 107, 0.15);
  backdrop-filter: blur(10px);
}

/* 스크롤 시 네비게이션 색상 변화 */
.header.scrolled .nav-menu a,
.header.scrolled .logo-text {
  color: var(--text-color);
  text-shadow: none;
}

.header.scrolled .mobile-menu-btn {
  color: var(--text-color);
  text-shadow: none;
}

/* 로고 스타일 */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0.5rem;
  position: relative;
  z-index: 1001;
}

.logo a {
  display: block;
  line-height: 0;
}

.logo-image {
  height: 100px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

.logo a:hover .logo-image {
  transform: scale(1.05);
}

/* 모바일에서 로고 크기 조정 */
@media (max-width: 768px) {
  .header {
    background: transparent;
    box-shadow: none;
  }

  .logo-image {
    height: 80px;
  }
}
