/* ================================================
   피스톤 체대입시 통합 스타일시트 (style.css)
   ================================================ */

/* =========================
   기본 설정 (모든 페이지 공통)
   ========================= */
html,
body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  min-width: 320px;
  position: relative;
}

* {
  box-sizing: border-box;
}

html {
  scroll-snap-type: y proximity; /* 부드럽게 섹션에 맞춤 */
  scroll-padding-top: 80px; /* 네비게이션 바 높이만큼 여백 */
}

section {
  scroll-snap-align: start;
  scroll-snap-stop: normal; /* 자연스러운 스크롤 */
}

/* =========================
   공통 효과 및 유틸리티
   ========================= */

/* 글래스 효과 */
.glass {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 히어로 그라디언트 */
.hero-gradient {
  background: linear-gradient(135deg, #1f2937 0%, #111827 50%, #7f1d1d 100%);
}

/* 카드 호버 효과 */
.card-hover {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* 텍스트 그라디언트 */
.text-gradient {
  background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 격투기 테마 효과 */
.combat-shadow {
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.3);
}

.combat-border {
  border: 2px solid transparent;
  background: linear-gradient(45deg, #ef4444, #f59e0b) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

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

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

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

/* 격투기 아이콘 애니메이션 */
.combat-icon {
  transition: all 0.3s ease;
}

.combat-icon:hover {
  transform: scale(1.2) rotate(10deg);
  color: #ef4444;
}

/* =========================
   네비게이션 스타일 (모든 페이지 공통)
   ========================= */

/* 네비게이션 스크롤 효과 - 투명도 문제 해결 */
.sticky-nav {
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(20px);
  width: 100vw !important;
  max-width: 100vw !important;
  left: 0 !important;
  right: 0 !important;
}

.sticky-nav.scrolled {
  background: rgba(0, 0, 0, 1); /* 완전 불투명 */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* 모바일 메뉴 */
.mobile-nav {
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  will-change: transform;
  z-index: 9999 !important;
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  height: 100vh !important;
  width: 90vw !important;
  max-width: 380px !important;
  background: rgba(17, 24, 39, 0.9) !important;
  backdrop-filter: blur(20px) !important;
}
.mobile-nav.open {
  transform: translateX(0);
}

/* 네비게이션 메뉴 항목 */
.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link:hover {
  color: #ef4444;
  transform: translateY(-1px);
}

/* 모바일 네비게이션 */
.mobile-nav-link {
  position: relative;
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(75, 85, 99, 0.3);
  transition: all 0.3s ease;
  touch-action: manipulation;
}

.mobile-nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  transition: width 0.3s ease;
}

.mobile-nav-link:hover::before,
.mobile-nav-link.active::before {
  width: 4px;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: #ef4444;
  padding-left: 1rem;
  background: rgba(239, 68, 68, 0.05);
}

/* 햄버거 메뉴 버튼 */
.mobile-menu-button {
  position: relative;
  z-index: 60;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  touch-action: manipulation;
  background: rgba(0, 0, 0, 0.3) !important;
  border: 1px solid rgba(239, 68, 68, 0.3);
  min-width: 44px !important;
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.mobile-menu-button:hover {
  background: rgba(239, 68, 68, 0.1);
  transform: scale(1.1);
}

.mobile-menu-button:active {
  transform: scale(0.95);
}

/* 모바일 메뉴 오버레이 */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 40;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* 로고 호버 효과 */
.logo-link {
  transition: all 0.3s ease;
}

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

/* 닫기 버튼 스타일 */
.close-button {
  position: relative;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

.close-button:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  transform: rotate(90deg);
}

.close-button:active {
  transform: rotate(90deg) scale(0.9);
}

/* =========================
   홈페이지 전용 스타일 (index.html)
   ========================= */

/* 격투기 특화 애니메이션 */
.fighter-entrance {
  animation: fadeIn 1.5s ease-out, slideRight 1.5s ease-out;
}

.training-reveal {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.training-reveal.animate {
  opacity: 1;
  transform: translateX(0);
}

/* 임팩트 버튼 */
.impact-button {
  position: relative;
  overflow: hidden;
}

.impact-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.impact-button:hover::before {
  left: 100%;
}

/* =========================
   입시정보 페이지 스타일 (admission-info.html)
   ========================= */

/* 정보 카드 */
.info-card {
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(75, 85, 99, 0.3);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.info-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4);
  border-color: rgba(239, 68, 68, 0.4);
}

/* 탭 스타일 */
.tab-btn {
  transition: all 0.3s ease;
  position: relative;
}

.tab-btn.active {
  color: #ef4444;
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  border-radius: 2px 2px 0 0;
}

/* 대학 카드 */
.university-card {
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(75, 85, 99, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.university-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -8px rgba(0, 0, 0, 0.3);
  border-color: rgba(239, 68, 68, 0.4);
}

/* 통계 카드 */
.stat-card {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.1),
    rgba(245, 158, 11, 0.1)
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* 프로그레스 바 */
.progress-bar {
  background: rgba(75, 85, 99, 0.3);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  border-radius: 9999px;
  transition: width 1s ease-in-out;
}

/* 타임라인 */
.timeline-item::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
}

.timeline-item:last-child::before {
  bottom: 2rem;
}

.timeline-dot {
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
}

/* =========================
   오시는길 페이지 스타일 (location.html)
   ========================= */

/* 지도 컨테이너 */
.map-container {
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(75, 85, 99, 0.3);
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: hue-rotate(200deg) saturate(0.8) brightness(0.9);
}

/* 교통수단 카드 */
.transport-card {
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(75, 85, 99, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.transport-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -8px rgba(0, 0, 0, 0.3);
  border-color: rgba(239, 68, 68, 0.4);
}

.transport-card.subway {
  border-left: 4px solid #00a84d;
}

.transport-card.bus {
  border-left: 4px solid #3b82f6;
}

.transport-card.car {
  border-left: 4px solid #f59e0b;
}

/* 연락처 카드 */
.contact-card {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.1),
    rgba(245, 158, 11, 0.1)
  );
  backdrop-filter: blur(10px);
  border: 1px solid rgba(239, 68, 68, 0.2);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -8px rgba(239, 68, 68, 0.2);
}

/* 버튼 스타일 */
.btn-primary {
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.3);
}

/* 아이콘 애니메이션 */
.icon-bounce {
  animation: bounce 2s infinite;
}

/* =========================
   학원소식 페이지 스타일 (news.html)
   ========================= */

/* 카테고리 필터 버튼 */
.filter-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.filter-btn.active {
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  color: white;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.filter-btn:not(.active):hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  transform: translateY(-2px);
}

/* 게시물 카드 */
.post-card {
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(75, 85, 99, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
}

.post-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.post-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  border-color: rgba(239, 68, 68, 0.4);
}

.post-card:hover .card-image {
  transform: scale(1.1);
}

.post-card:hover .post-title {
  color: #ef4444;
}

/* 카드 이미지 */
.card-image {
  transition: transform 0.5s ease;
  background: linear-gradient(135deg, #374151, #1f2937);
}

/* 카테고리 배지 */
.category-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  backdrop-filter: blur(10px);
}

.category-news {
  background: rgba(59, 130, 246, 0.9);
  color: white;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.category-success {
  background: rgba(34, 197, 94, 0.9);
  color: white;
  box-shadow: 0 2px 10px rgba(34, 197, 94, 0.3);
}

.category-event {
  background: rgba(168, 85, 247, 0.9);
  color: white;
  box-shadow: 0 2px 10px rgba(168, 85, 247, 0.3);
}

.category-notice {
  background: rgba(239, 68, 68, 0.9);
  color: white;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3);
}

/* 검색 입력 필드 */
.search-input {
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(75, 85, 99, 0.5);
  transition: all 0.3s ease;
}

.search-input:focus {
  background: rgba(31, 41, 55, 1);
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* 페이지네이션 */
.pagination-btn {
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.pagination-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  transform: translateY(-2px);
}

.pagination-btn.active {
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  color: white;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

/* 뱃지 스타일 */
.badge-new {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.375rem;
  font-weight: 700;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.badge-hot {
  background: linear-gradient(135deg, #f50b0b, #d97706);
  color: white;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.375rem;
  font-weight: 700;
  position: absolute;
  top: 4rem;
  left: 1rem;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

/* 그리드 레이아웃 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

/* 게시물 메타 정보 */
.post-meta {
  transition: all 0.3s ease;
}

.post-card:hover .post-meta {
  color: #f3f4f6;
}

/* 그라디언트 오버레이 */
.gradient-overlay {
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

/* 로딩 애니메이션 */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ef4444;
  animation: spin 1s ease-in-out infinite;
}

/* =========================
   애니메이션 및 키프레임
   ========================= */

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

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideRight {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes combat {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.05) rotate(2deg);
  }
}

@keyframes cardHover {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-8px) scale(1.02);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* 애니메이션 클래스들 */
.animate-float {
  animation: float 6s ease-in-out infinite;
}
.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}
.animate-slide-up {
  animation: slideUp 0.8s ease-out;
}
.animate-slide-right {
  animation: slideRight 0.8s ease-out;
}
.animate-combat {
  animation: combat 2s ease-in-out infinite;
}
.animate-slide-in-up {
  animation: slideInUp 0.6s ease-out;
}

/* =========================
   반응형 디자인
   ========================= */

@media (max-width: 1024px) {
  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .mobile-nav {
    width: 85%;
    max-width: 320px;
    height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav-link {
    font-size: 1rem;
    padding: 1.25rem 0;
  }

  .hero-section-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .card-hover:hover {
    transform: translateY(-5px) scale(1.01);
  }

  h1,
  h2,
  h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .filter-btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }

  .post-card:hover {
    transform: translateY(-6px) scale(1.02);
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .map-container {
    height: 300px;
  }

  .sticky-nav > div {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .logo-link {
    font-size: 1.25rem !important;
  }

  .mobile-nav-link {
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    padding: 1rem 1.5rem !important;
    font-size: 1.1rem !important;
  }

  .mobile-nav-link ion-icon {
    font-size: 1.5rem !important;
    margin-right: 1rem !important;
    flex-shrink: 0 !important;
  }
}

@media (max-width: 480px) {
  .mobile-nav {
    width: 100%;
    max-width: 100%;
  }

  .logo-text {
    font-size: 1.25rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .map-container {
    height: 250px;
  }
}

@media (min-width: 769px) {
  .map-container {
    height: 400px;
  }
}

/* =========================
   접근성 및 UX 개선
   ========================= */

/* 포커스 스타일 */
.nav-link:focus,
.mobile-nav-link:focus,
.mobile-menu-button:focus,
.filter-btn:focus,
.search-input:focus {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
}

/* 키보드 네비게이션 */
.keyboard-navigation *:focus {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
}

/* 애니메이션 감소 설정 */
@media (prefers-reduced-motion: reduce) {
  *,
  .nav-link,
  .mobile-nav,
  .mobile-nav-link,
  .card-hover,
  .info-card,
  .post-card {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 고대비 모드 지원 */
@media (prefers-contrast: high) {
  .text-gradient {
    background: none;
    color: #ef4444;
    -webkit-text-fill-color: unset;
  }

  .glass {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #ef4444;
  }
}

/* 인쇄 스타일 */
@media print {
  .animate-float,
  .combat-shadow,
  video,
  iframe,
  .mobile-nav,
  .mobile-overlay {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .text-gradient {
    color: black !important;
    background: none !important;
    -webkit-text-fill-color: black !important;
  }
}

/* =========================
   스크롤바 커스터마이징
   ========================= */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1f2937;
}

::-webkit-scrollbar-thumb {
  background: #ef4444;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #dc2626;
}

/* =========================
   추가 효과 (임팩트 버튼용)
   ========================= */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: rippleEffect 1s linear;
  pointer-events: none;
}

/* 1. Hero 섹션 상단 여백 문제 해결 */
/* 기존 pt-24 대신 모바일에서 더 큰 패딩 */
@media (max-width: 768px) {
  /* Hero 섹션 상단 여백 증가 */
  section[id='home'] {
    padding-top: 6rem !important; /* pt-24 = 6rem, 더 큰 여백으로 변경 */
  }

  /* 또는 특정 클래스가 있다면 */
  .hero-section,
  section.pt-24 {
    padding-top: 7rem !important;
  }
}

/* 2. 사이드메뉴 z-index 조정 */
.mobile-nav {
  z-index: 10000 !important; /* 기존 9999보다 높게 */
}

.mobile-overlay {
  z-index: 9999 !important; /* 기존 9998보다 높게 */
}

/* 3. 네비게이션 바 z-index 조정 */
.sticky-nav {
  z-index: 50 !important; /* 사이드메뉴보다 낮게 */
}

/* 4. 모바일에서 로고 크기 조정 */
@media (max-width: 768px) {
  .sticky-nav .logo-link {
    font-size: 1.1rem !important;
    z-index: 51 !important;
  }

  /* 사이드메뉴가 열렸을 때 로고 숨기기 (선택사항) */
  body.menu-open .sticky-nav .logo-link {
    opacity: 0.5;
  }
}
