/* ========================================
   POVIN STUDIO - Main Stylesheet
   Light Theme: White + #94B1C8
   ======================================== */

:root {
  /* ── POVIN 브랜드 컬러 (#94B1C8 스틸블루 기반) ── */
  --primary:        #94B1C8;   /* 메인 스틸블루 */
  --primary-dark:   #6E97B2;   /* 진한 스틸블루 */
  --primary-darker: #4E7A99;   /* 더 진한 블루 (텍스트용) */
  --primary-light:  #BDD1DE;   /* 밝은 스틸블루 */
  --primary-pale:   #EAF1F6;   /* 아주 연한 블루 */
  --primary-ultra:  #F4F8FB;   /* 거의 화이트 블루 */

  /* ── 다크/텍스트 톤 ── */
  --black:          #1E2E3A;   /* 소프트 다크 네이비 */
  --dark:           #2C3E4F;   /* 메인 텍스트 */
  --dark2:          #3D5166;   /* 서브 텍스트 */
  --dark3:          #4E6578;   /* 라이트 다크 */

  /* ── 중립 & 배경 ── */
  --gray:           #7A95A8;
  --gray-light:     #B0C4D0;
  --gray-ultra:     #D8E6ED;
  --white:          #FFFFFF;
  --off-white:      #F7FAFB;   /* 기본 배경 */
  --section-bg:     #EDF4F8;   /* 섹션 배경 */
  --section-light:  #F2F7FA;
  --border:         #D6E5EE;   /* 테두리 */

  /* ── 폰트 ── */
  --font-kr: 'Noto Sans KR', sans-serif;
  --font-en: 'Playfair Display', serif;

  /* ── 기타 ── */
  --shadow:      0 2px 16px rgba(100,140,165,0.12);
  --shadow-md:   0 4px 24px rgba(100,140,165,0.16);
  --shadow-lg:   0 8px 48px rgba(100,140,165,0.22);
  --shadow-card: 0 2px 12px rgba(148,177,200,0.15);
  --radius:      12px;
  --radius-sm:   8px;
  --transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-kr);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* 가로 스크롤 방지 */
html, body { overflow-x: hidden; max-width: 100%; }

/* ========== 스크롤바 ========== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ========== 네비게이션 ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148,177,200,0.2);
  box-shadow: 0 2px 16px rgba(100,140,165,0.10);
  transition: var(--transition);
  padding: 0 24px;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(100,140,165,0.18);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
}
/* 로고 이미지 */
.nav-logo-img {
  height: 44px;
  width: 22px;          /* 세로 긴 이미지 → 좁은 너비로 상단 집중 */
  object-fit: cover;
  object-position: top center;
  /* 원본 핑크베이지 → #94B1C8 스틸블루로 변환 */
  filter: brightness(0) saturate(100%) invert(72%) sepia(15%) saturate(500%) hue-rotate(170deg) brightness(95%);
  transition: var(--transition);
  flex-shrink: 0;
}
.footer-logo-img {
  height: 52px;
  width: 26px;
  object-fit: cover;
  object-position: top center;
  /* 흰색으로 변환 */
  filter: brightness(0) invert(1);
  opacity: 0.85;
  flex-shrink: 0;
}
/* 관리자 로그인 카드 로고 */
.admin-login-logo {
  height: 72px;
  width: 36px;
  object-fit: cover;
  object-position: top center;
  /* #94B1C8 블루로 변환 */
  filter: brightness(0) saturate(100%) invert(72%) sepia(15%) saturate(500%) hue-rotate(170deg) brightness(95%);
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* 사이드바 로고 */
.sidebar-logo-img {
  height: 40px;
  width: 20px;
  object-fit: cover;
  object-position: top center;
  /* #4E7A99 진한 블루로 변환 */
  filter: brightness(0) saturate(100%) invert(42%) sepia(25%) saturate(700%) hue-rotate(170deg) brightness(85%);
  flex-shrink: 0;
}
.logo-icon { color: var(--primary); font-size: 1.5rem; }
.logo-text {
  font-family: var(--font-en);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--dark);
  line-height: 1;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  color: var(--dark2);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: 0.5px;
}
.nav-link:hover, .nav-link.active { color: var(--primary-darker); }
.nav-btn-reserve {
  background: var(--primary);
  color: var(--white) !important;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
}
.nav-btn-reserve:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(148,177,200,0.4); }
.nav-admin {
  color: var(--gray-light) !important;
  font-size: 0.75rem !important;
}
.nav-admin:hover { color: var(--primary) !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
}

/* ========== 버튼 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-kr);
  letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91,175,214,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--dark);
}
.btn-white:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }
.btn-dark {
  background: var(--dark);
  color: var(--white);
  border: 1.5px solid var(--dark3);
}
.btn-dark:hover { background: var(--dark3); transform: translateY(-2px); }

/* ========== 히어로 ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  /* 보정: 밝기·대비·채도 살짝 보정 */
  filter: brightness(0.88) contrast(1.06) saturate(1.12);
  transform: scale(1.03);
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
              transform 3.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-slide.prev {
  opacity: 0;
  transform: scale(1.03);
}
.hero-slider-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(15, 25, 35, 0.30) 0%,
    rgba(15, 25, 35, 0.18) 40%,
    rgba(15, 25, 35, 0.42) 80%,
    rgba(15, 25, 35, 0.62) 100%
  );
}
/* 도트 인디케이터 */
.hero-dots {
  position: absolute;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 1.5px solid rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.hero-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}
/* 진행 바 */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.15);
  z-index: 10;
}
.hero-progress-bar {
  height: 100%;
  background: rgba(255,255,255,0.75);
  width: 0%;
  transition: width linear;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}
.hero-sub {
  font-family: var(--font-en);
  color: rgba(255,255,255,0.92);
  font-size: 0.9rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s 0.2s forwards;
  text-shadow: 0 1px 4px rgba(0,0,0,0.12);
}
.hero-title {
  font-family: var(--font-en);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s 0.4s forwards;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35), 0 1px 4px rgba(0,0,0,0.2);
}
.hero-desc {
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 0.8s 0.6s forwards;
  text-shadow: 0 1px 8px rgba(0,0,0,0.28);
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
  opacity: 0;
  animation: fadeInUp 0.8s 0.8s forwards;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  animation: fadeInUp 0.8s 1s forwards;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
  letter-spacing: 1px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}
.hero-scroll {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
}
.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.3);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollPulse 1.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ========== 공지 배너 ========== */
.notice-bar {
  background: var(--primary);
  overflow: hidden;
  padding: 12px 0;
}
.notice-inner {
  display: flex;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  overflow: hidden;
}
.notice-text-wrap {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}
.notice-label {
  background: rgba(255,255,255,0.28);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  white-space: nowrap;
  margin-right: 16px;
  flex-shrink: 0;
}
.notice-text {
  color: rgba(255,255,255,0.95);
  font-size: 0.85rem;
  white-space: nowrap;
  display: inline-block;
  animation: marquee 22s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== 섹션 공통 ========== */
.section {
  padding: 100px 24px;
  background: var(--white);
}
.section-dark {
  background: var(--primary-pale);
}
.section-light {
  background: var(--section-bg);
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-sub {
  font-family: var(--font-en);
  color: var(--primary);
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-dark .section-sub { color: var(--primary-darker); }
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.section-dark .section-title { color: var(--dark); }
.section-desc {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.8;
}
.section-dark .section-desc { color: var(--gray); }

/* ========== 스튜디오 그리드 ========== */
.studios-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 32px;
  padding: 0 24px;
}
.studio-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}
.studio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.studio-thumb {
  height: 240px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.studio-thumb-a { background: linear-gradient(135deg, #D6EDF7 0%, #A8D8EE 60%, #7EC4E0 100%); }
.studio-thumb-b { background: linear-gradient(135deg, #BDD1DE 0%, #94B1C8 60%, #7A9DB8 100%); }
.studio-thumb-icon {
  font-size: 4rem;
  opacity: 0.3;
}
.studio-thumb-a .studio-thumb-icon { color: var(--primary-dark); }
.studio-thumb-b .studio-thumb-icon { color: var(--primary-darker); }
.studio-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(91,175,214,0.85);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
}
.studio-status-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}
.status-available { background: rgba(34,197,94,0.2); color: #22c55e; }
.studio-body { padding: 24px; }
.studio-name {
  font-family: var(--font-en);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.studio-concept { color: var(--primary); font-size: 0.8rem; margin-bottom: 12px; }
.studio-desc { color: var(--gray); font-size: 0.875rem; line-height: 1.7; margin-bottom: 16px; }
.studio-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.studio-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--gray);
}
.studio-meta-item i { color: var(--primary); }
.studio-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.studio-price span { color: var(--primary); }

/* ========== 요금 카드 ========== */
.pricing-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  padding: 0 24px;
}
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.pricing-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: 1px;
  box-shadow: 0 2px 10px rgba(148,177,200,0.4);
}
.pricing-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.pricing-name {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.pricing-sub { color: var(--gray); font-size: 0.85rem; margin-bottom: 20px; }
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1.5px solid var(--border);
}
.price-amount {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  font-family: var(--font-en);
}
.price-unit { color: var(--gray); font-size: 0.875rem; }
.pricing-features {
  margin-bottom: 28px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark2);
  font-size: 0.875rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--section-bg);
}
.pricing-features li i { color: var(--primary); font-size: 0.75rem; flex-shrink: 0; }

/* ========== 요금 카드 - 인원 안내 & 계산 예시 ========== */
.pricing-capacity-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--primary-pale);
  border: 1px solid var(--primary-light);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 20px;
  margin-top: -8px;
}
.capacity-base {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
}
.capacity-base i { margin-right: 4px; }
.capacity-extra {
  color: var(--gray);
  font-size: 0.75rem;
}
.pricing-info-card {
  background: var(--section-bg) !important;
  border: 1.5px solid var(--border) !important;
}
.price-calc-example {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 8px;
}
.price-example-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--section-bg);
  font-size: 0.8rem;
  color: var(--gray);
}
.price-example-row:last-child { border-bottom: none; }
.price-example-result {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.78rem;
}

/* ========== 공간 카드 - 인원 안내 ========== */
.studio-capacity-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--gray);
  background: var(--section-bg);
  border-radius: 6px;
  padding: 7px 10px;
  margin-bottom: 14px;
}

/* ========== 이용방법 ========== */
.howto-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0 24px;
}
.step-item {
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.step-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-num {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(148,177,200,0.25);
  line-height: 1;
  margin-bottom: 8px;
}
.step-icon { font-size: 2rem; color: var(--primary); margin-bottom: 12px; }
.step-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-item p { font-size: 0.825rem; color: var(--gray); line-height: 1.7; }
.step-arrow { color: var(--primary-light); font-size: 1.5rem; }

/* ========== 규정 ========== */
.rules-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  padding: 0 24px;
}
.rule-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.rule-card:hover { transform: translateY(-4px); }
.rule-card > i { font-size: 2rem; color: var(--primary); margin-bottom: 12px; }
.rule-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.rule-card p { font-size: 0.825rem; color: var(--gray); line-height: 1.7; }

/* ========== CTA ========== */
.cta-section {
  background: linear-gradient(135deg, #6E97B2 0%, var(--primary) 50%, #BDD1DE 100%);
  padding: 80px 24px;
  text-align: center;
}
.cta-content h2 { font-size: 2.2rem; font-weight: 700; color: var(--white); margin-bottom: 12px; text-shadow: 0 1px 6px rgba(0,0,0,0.1); }
.cta-content p { color: rgba(255,255,255,0.9); margin-bottom: 32px; font-size: 1rem; }
.cta-section .btn-white { font-size: 1rem; padding: 16px 36px; }

/* ========== 푸터 ========== */
.footer { background: var(--black); color: rgba(255,255,255,0.6); }
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding: 60px 24px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand .logo-text { color: var(--white); font-size: 1.05rem; letter-spacing: 2px; }
.footer-brand p { font-size: 0.825rem; line-height: 1.8; color: rgba(255,255,255,0.4); }
.footer h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; letter-spacing: 1px; text-transform: uppercase; }
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-links a:hover { color: var(--primary); }
.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-link {
  width: 40px; height: 40px;
  background: var(--dark3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
  font-size: 1rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--primary); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

/* ========== 애니메이션 ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== 반응형 ========== */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(148,177,200,0.2);
    box-shadow: 0 8px 24px rgba(100,140,165,0.15);
    z-index: 999;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-menu.open { display: flex; }
  .nav-link {
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    width: 100%;
    display: block;
    color: var(--dark);
    border-bottom: 1px solid rgba(148,177,200,0.1);
  }
  .nav-link:last-child { border-bottom: none; }
  .nav-link:hover, .nav-link.active {
    background: var(--primary-pale);
    color: var(--primary-darker);
  }
  .nav-btn-reserve {
    background: var(--primary) !important;
    color: var(--white) !important;
    text-align: center;
    margin-top: 8px;
    border-radius: 10px !important;
    border-bottom: none !important;
    font-weight: 700;
    font-size: 0.95rem;
  }
  .nav-btn-reserve:hover {
    background: var(--primary-dark) !important;
  }
  .nav-admin {
    text-align: center;
    font-size: 0.8rem !important;
    color: var(--gray) !important;
    border-bottom: none !important;
    margin-top: 2px;
  }
  .hamburger { display: flex; }
  .hero-btns { flex-direction: column; align-items: center; }
  .howto-steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 1.5rem; }

  /* 스튜디오 카드 모바일 */
  .studios-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 20px;
  }
  .studio-card { width: 100%; }

  /* 요금 카드 모바일 */
  .pricing-grid {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 20px;
  }

  /* 섹션 패딩 모바일 */
  .section { padding: 64px 16px; }
  .section-header { margin-bottom: 36px; }

  /* 이용방법 모바일 */
  .howto-steps { padding: 0 16px; }
  .step-item { min-width: 0; width: 100%; max-width: 100%; }

  /* 규정 모바일 */
  .rules-grid { grid-template-columns: 1fr 1fr; padding: 0 16px; gap: 14px; }

  /* CTA 모바일 */
  .cta-content h2 { font-size: 1.6rem; }
}
/* 소형 모바일 (375px 이하) */
@media (max-width: 375px) {
  .studios-grid { padding: 0 12px; }
  .pricing-grid { padding: 0 12px; }
  .rules-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.75rem; }
  .stat-num { font-size: 1.3rem; }
}


/* ========================================
   BOOKING PAGE
   ======================================== */

/* ── 공간 유형 전환 탭 바 ── */
.space-type-bar {
  background: var(--white);
  border-bottom: 1px solid #e5e5e5;
  padding: 0 24px;
  position: sticky;
  top: 72px;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.space-type-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 4px;
  padding: 10px 0;
}
.space-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 28px;
  border: 2px solid #e5e5e5;
  border-radius: 10px;
  background: var(--off-white);
  cursor: pointer;
  font-family: var(--font-kr);
  transition: var(--transition);
  min-width: 130px;
}
.space-type-btn i { font-size: 1.2rem; color: var(--gray); transition: var(--transition); }
.space-type-btn span { font-size: 0.9rem; font-weight: 700; color: var(--gray); }
.space-type-btn small { font-size: 0.72rem; color: var(--gray-light); }
.space-type-btn.active {
  border-color: var(--primary);
  background: rgba(91,175,214,0.07);
}
.space-type-btn.active i   { color: var(--primary); }
.space-type-btn.active span { color: var(--dark); }
.space-type-btn:hover:not(.active) { border-color: var(--primary-light); }

/* 파티룸 Coming Soon 버튼 */
.party-coming-soon {
  position: relative;
  overflow: visible;
  opacity: 0.72;
  cursor: not-allowed !important;
}
.party-coming-soon[disabled] {
  pointer-events: none;
}
.party-coming-soon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 11px;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 5px,
    rgba(168,85,247,0.06) 5px,
    rgba(168,85,247,0.06) 10px
  );
  pointer-events: none;
}
.coming-soon-badge {
  position: absolute;
  top: -11px;
  right: -8px;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 10px rgba(124,58,237,0.35);
  animation: badgePulse 2s ease-in-out infinite;
  z-index: 2;
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 3px 10px rgba(124,58,237,0.35); }
  50%       { transform: scale(1.06); box-shadow: 0 4px 16px rgba(124,58,237,0.55); }
}

/* 토스트 애니메이션 */
@keyframes toastSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes toastFadeOut {
  from { opacity: 1; transform: translateX(-50%) translateY(0); }
  to   { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

.booking-page {
  min-height: 100vh;
  background: var(--off-white);
  padding-top: 72px;
}
.booking-header {
  background: linear-gradient(135deg, #6E97B2 0%, var(--primary) 60%, #BDD1DE 100%);
  padding: 60px 24px;
  text-align: center;
}
.booking-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.1);
}
.booking-header p { color: rgba(255,255,255,0.9); font-size: 0.95rem; }

.booking-body {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 32px;
  padding: 40px 24px;
}

/* 캘린더 */
.calendar-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.calendar-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
}
.cal-nav-btn {
  width: 36px; height: 36px;
  background: var(--section-bg);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
  font-size: 1rem;
  transition: var(--transition);
}
.cal-nav-btn:hover { background: var(--primary); color: var(--white); }
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}
.weekday {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray);
  padding: 8px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.weekday:first-child { color: #ef4444; }
.weekday:last-child { color: #3b82f6; }
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 4px 2px;
}
.cal-day:hover:not(.disabled):not(.other-month) { background: var(--primary-light); }
.cal-day.today { background: var(--dark); color: var(--white); }
.cal-day.selected { background: var(--primary) !important; color: var(--white) !important; font-weight: 700; }
.cal-day.has-reservation::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
}
.cal-day.fully-booked { background: rgba(239,68,68,0.08); color: #ef4444; cursor: not-allowed; }
.cal-day.fully-booked::after { background: #ef4444; }
.cal-day.disabled { opacity: 0.3; cursor: not-allowed; pointer-events: none; }
.cal-day.other-month { opacity: 0.25; }
.cal-day.sunday { color: #ef4444; }
.cal-day.saturday { color: #3b82f6; }

.calendar-legend {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--gray);
}
.legend-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.legend-dot.available { background: var(--primary); }
.legend-dot.full { background: #ef4444; }
.legend-dot.today { background: var(--dark); }

/* 시간 슬롯 */
.timeslot-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--section-bg);
}
.timeslot-section h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}
.studio-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.studio-tab {
  padding: 7px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--gray-light);
  background: none;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--gray);
  transition: var(--transition);
  font-family: var(--font-kr);
}
.studio-tab.active { background: var(--primary); color: var(--white); border-color: var(--primary); }
.studio-tab:hover:not(.active) { border-color: var(--primary); color: var(--primary); }

/* ========== 비주얼 타임바 ========== */
.time-bar-wrap {
  margin-bottom: 20px;
}
.time-bar-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.tbl-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--gray);
}
.tbl-dot {
  width: 10px; height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}
.tbl-free     { background: rgba(34,197,94,0.25); border: 1px solid rgba(34,197,94,0.5); }
.tbl-booked   { background: rgba(239,68,68,0.18); border: 1px solid rgba(239,68,68,0.4); }
.tbl-selected { background: var(--primary); }

/* 타임바 본체 */
.time-bar {
  display: flex;
  width: 100%;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid #e5e5e5;
  position: relative;
}
.time-bar-cell {
  flex: 1;
  position: relative;
  transition: background 0.15s;
  min-width: 0;
}
.time-bar-cell.tb-free     { background: rgba(34,197,94,0.12); }
.time-bar-cell.tb-booked   { background: rgba(239,68,68,0.12); }
.time-bar-cell.tb-selected { background: rgba(91,175,214,0.35); }
/* 라벨 — 1시간 단위이므로 모든 셀에 표시 */
.tb-label {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.58rem;
  color: rgba(0,0,0,0.45);
  white-space: nowrap;
  pointer-events: none;
  font-weight: 600;
}

/* ========== 시간 피커 행 ========== */
.time-picker-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 16px;
}
.time-picker-group { flex: 1; }
.time-picker-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.min-hours-badge {
  background: rgba(91,175,214,0.15);
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: auto;
}
.time-select {
  cursor: pointer;
  font-weight: 600;
}
.time-select:disabled { opacity: 0.45; cursor: not-allowed; }
.time-picker-arrow {
  color: var(--gray-light);
  font-size: 1.2rem;
  padding-bottom: 10px;
  flex-shrink: 0;
}

/* ========== 선택 시간 칩 ========== */
.time-selection-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(91,175,214,0.10);
  border: 1.5px solid var(--primary-light);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-top: 4px;
}
.chip-clear {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  font-size: 0.9rem;
  transition: var(--transition);
  padding: 2px 4px;
}
.chip-clear:hover { color: #ef4444; }

/* ========== 파티룸 패키지 카드 ========== */
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 4px;
}
.package-card {
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
}
.package-card:hover:not(.pkg-booked) { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }
.package-card.pkg-selected { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(91,175,214,0.2); }
.package-card.pkg-highlight { border-color: var(--primary-light); }
.package-card.pkg-booked { opacity: 0.55; pointer-events: none; }
.pkg-header {
  padding: 16px;
  text-align: center;
  border-bottom: 1px solid;
  position: relative;
}
.pkg-icon { font-size: 1.8rem; }
.pkg-badge {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--primary);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}
.pkg-badge-full { background: #ef4444; color: white; }
.pkg-body { padding: 14px 16px; }
.pkg-name { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.pkg-time {
  font-size: 0.8rem; color: var(--gray);
  display: flex; align-items: center; gap: 5px; margin-bottom: 4px;
}
.pkg-overnight { font-size: 0.75rem; color: #8b5cf6; display: flex; align-items: center; gap: 5px; margin-bottom: 4px; }
.pkg-price { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-top: 8px; }
.pkg-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  border-top: 1px solid #f0f0f0;
}
.pkg-footer-btn {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray);
  font-family: var(--font-kr);
  transition: var(--transition);
}
.pkg-footer-btn:hover { color: var(--primary); background: rgba(201,169,110,0.06); }
.pkg-footer-selected { color: #22c55e !important; background: rgba(34,197,94,0.06) !important; }
.pkg-footer-full { color: #ef4444; background: rgba(239,68,68,0.05); cursor: not-allowed; }

/* 선택된 패키지 표시 */
.selected-package-display {
  background: rgba(201,169,110,0.06);
  border: 1.5px solid var(--primary-light);
  border-radius: 10px;
  padding: 12px 16px;
}
.selected-pkg-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
}

/* 예약 폼 */
.booking-form-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: 90px;
}
.form-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}
.form-subtitle { color: var(--gray); font-size: 0.85rem; margin-bottom: 24px; }
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-group label .required { color: var(--primary); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e5e5e5;
  border-radius: 8px;
  font-size: 0.875rem;
  font-family: var(--font-kr);
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(91,175,214,0.12); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.booking-summary {
  background: var(--section-bg);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
}
.booking-summary h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--gray);
  padding: 4px 0;
}
.summary-row.total {
  border-top: 1px solid #e5e5e5;
  margin-top: 8px;
  padding-top: 10px;
  font-weight: 700;
  color: var(--dark);
  font-size: 0.95rem;
}
.summary-row.total span:last-child { color: var(--primary); }
.summary-notice {
  margin-top: 12px;
  padding: 10px 13px;
  background: #fff8f0;
  border: 1.5px solid #f97316;
  border-radius: 8px;
  font-size: 0.78rem;
  color: #c2410c;
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 7px;
}
.summary-notice i {
  color: #f97316;
  font-size: 0.85rem;
  margin-top: 1px;
  flex-shrink: 0;
}
.summary-notice strong { color: #c2410c; font-weight: 700; }
.booking-terms {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.8rem;
  color: var(--gray);
}
.booking-terms input { margin-top: 2px; accent-color: var(--primary); }

/* ========== 공간 정보 즉시 반영 패널 ========== */
.space-info-panel {
  background: linear-gradient(135deg, var(--primary-pale), rgba(91,175,214,0.08));
  border: 1.5px solid var(--primary-light);
  border-radius: 10px;
  padding: 0;
  margin-bottom: 16px;
  transition: var(--transition);
  overflow: hidden;
}
.space-info-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}
.space-info-icon {
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(91,175,214,0.15);
}
.space-info-text { flex: 1; min-width: 0; }
.space-info-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.space-info-detail {
  font-size: 0.73rem;
  color: var(--gray);
  line-height: 1.4;
}
.space-info-price {
  text-align: right;
  flex-shrink: 0;
}
.space-info-price span {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
}
.space-info-price small {
  font-size: 0.7rem;
  color: var(--gray);
}

/* ========== 주차 옵션 ========== */
.parking-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}
.parking-opt {
  cursor: pointer;
}
.parking-opt input[type="radio"] {
  display: none;
}
.parking-opt-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 12px;
  border: 2px solid #e5e5e5;
  border-radius: 10px;
  background: var(--white);
  transition: var(--transition);
  text-align: center;
}
.parking-opt-inner i {
  font-size: 1.4rem;
  color: var(--gray-light);
  transition: var(--transition);
}
.parking-opt-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray);
  transition: var(--transition);
}
.parking-opt-sub {
  font-size: 0.7rem;
  color: var(--gray-light);
}
.parking-opt:has(input:checked) .parking-opt-inner,
.parking-opt.selected .parking-opt-inner {
  border-color: var(--primary);
  background: rgba(91,175,214,0.07);
}
.parking-opt:has(input:checked) .parking-opt-inner i,
.parking-opt.selected .parking-opt-inner i {
  color: var(--primary);
}
.parking-opt:has(input:checked) .parking-opt-label,
.parking-opt.selected .parking-opt-label {
  color: var(--primary-dark);
}
.parking-opt:hover .parking-opt-inner {
  border-color: var(--primary-light);
}

/* ========================================
   ADMIN PAGE
   ======================================== */
.admin-page {
  min-height: 100vh;
  background: #f0f2f5;
  padding-top: 72px;
}
.admin-login {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.admin-login-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.admin-login-card .logo-icon { font-size: 2.5rem; color: var(--primary); display: block; margin-bottom: 8px; }
.admin-login-card h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.admin-login-card p { color: var(--gray); font-size: 0.875rem; margin-bottom: 32px; }
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 72px);
}
.admin-sidebar {
  background: var(--primary-pale);
  padding: 24px 0;
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow-y: auto;
  border-right: 1.5px solid var(--border);
}
.sidebar-logo {
  padding: 0 24px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.sidebar-logo .logo-text { font-size: 1rem; color: var(--dark); }
.sidebar-user {
  padding: 0 24px 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.sidebar-user p { font-size: 0.75rem; color: var(--gray); }
.sidebar-user span { font-size: 0.875rem; font-weight: 600; color: var(--primary-darker); }
.sidebar-menu { padding: 0 12px; }
.sidebar-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--dark2);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 4px;
  border: none;
  background: none;
  width: 100%;
  font-family: var(--font-kr);
  text-align: left;
}
.sidebar-menu-item:hover { background: rgba(148,177,200,0.2); color: var(--dark); }
.sidebar-menu-item.active { background: var(--primary); color: var(--white); font-weight: 700; }
.sidebar-menu-item i { width: 18px; text-align: center; }
.sidebar-badge {
  background: #ef4444;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  margin-left: auto;
}
.admin-content { padding: 32px; overflow-y: auto; }
.admin-page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
}
.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.icon-gold  { background: rgba(91,175,214,0.15); color: var(--primary); }
.icon-green { background: rgba(34,197,94,0.12);  color: #22c55e; }
.icon-blue  { background: rgba(91,175,214,0.12); color: var(--primary-dark); }
.icon-red { background: rgba(239,68,68,0.12); color: #ef4444; }
.stat-card-info h4 { font-size: 0.8rem; font-weight: 500; color: var(--gray); margin-bottom: 4px; }
.stat-card-info .stat-val { font-size: 1.8rem; font-weight: 700; color: var(--dark); line-height: 1; }

/* 예약 테이블 */
.admin-section {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  overflow: hidden;
}
.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-section-header h3 { font-size: 1rem; font-weight: 700; color: var(--dark); }
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-select {
  padding: 7px 14px;
  border: 1.5px solid #e5e5e5;
  border-radius: 8px;
  font-size: 0.8rem;
  font-family: var(--font-kr);
  cursor: pointer;
  outline: none;
}
.filter-select:focus { border-color: var(--primary); }
.search-input-wrap {
  position: relative;
}
.search-input-wrap i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  font-size: 0.8rem;
}
.search-input {
  padding: 7px 14px 7px 30px;
  border: 1.5px solid #e5e5e5;
  border-radius: 8px;
  font-size: 0.8rem;
  font-family: var(--font-kr);
  outline: none;
  width: 180px;
}
.search-input:focus { border-color: var(--primary); }
.reservations-table { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th {
  text-align: left;
  padding: 12px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}
td {
  padding: 14px 16px;
  font-size: 0.875rem;
  color: var(--dark);
  border-bottom: 1px solid #f8f8f8;
  vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: #fafafa; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
}
.status-pending { background: rgba(251,191,36,0.15); color: #d97706; }
.status-confirmed { background: rgba(34,197,94,0.12); color: #16a34a; }
.status-cancelled { background: rgba(239,68,68,0.1); color: #dc2626; }
.action-btns { display: flex; gap: 6px; }
.action-btn {
  padding: 5px 12px;
  border-radius: 6px;
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-kr);
}
.btn-confirm { background: rgba(34,197,94,0.12); color: #16a34a; }
.btn-confirm:hover { background: #22c55e; color: white; }
.btn-cancel-action { background: rgba(239,68,68,0.1); color: #dc2626; }
.btn-cancel-action:hover { background: #ef4444; color: white; }
.btn-view { background: rgba(59,130,246,0.1); color: #3b82f6; }
.btn-view:hover { background: #3b82f6; color: white; }
.btn-memo { background: rgba(107,114,128,0.1); color: #6b7280; }
.btn-memo:hover { background: #6b7280; color: white; }

/* 알림 목록 */
.notification-list { padding: 0; }
.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 24px;
  border-bottom: 1px solid #f8f8f8;
  transition: var(--transition);
  cursor: pointer;
}
.notification-item:last-child { border-bottom: none; }
.notification-item:hover { background: #fafafa; }
.notification-item.unread { background: rgba(201,169,110,0.04); }
.notif-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.notif-icon-new { background: rgba(201,169,110,0.15); color: var(--primary); }
.notif-icon-cancel { background: rgba(239,68,68,0.1); color: #ef4444; }
.notif-body { flex: 1; }
.notif-title { font-size: 0.875rem; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
.notif-desc { font-size: 0.8rem; color: var(--gray); }
.notif-time { font-size: 0.75rem; color: var(--gray-light); white-space: nowrap; }
.unread-dot {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

/* 모달 */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.modal-title { font-size: 1.2rem; font-weight: 700; }
.modal-close {
  width: 32px; height: 32px;
  background: var(--section-bg);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  color: var(--gray);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: #fee2e2; color: #ef4444; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.detail-item label { font-size: 0.75rem; color: var(--gray); font-weight: 600; display: block; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.detail-item span { font-size: 0.9rem; font-weight: 600; color: var(--dark); }
.detail-item.full { grid-column: 1 / -1; }
.memo-textarea {
  width: 100%;
  padding: 12px;
  border: 1.5px solid #e5e5e5;
  border-radius: 8px;
  font-size: 0.875rem;
  font-family: var(--font-kr);
  resize: vertical;
  min-height: 100px;
  outline: none;
}
.memo-textarea:focus { border-color: var(--primary); }
.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

/* Toast 알림 */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--dark);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 0.875rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s ease;
  max-width: 320px;
  border-left: 4px solid var(--primary);
}
.toast.toast-success { border-left-color: #22c55e; }
.toast.toast-error { border-left-color: #ef4444; }
.toast.toast-info { border-left-color: #3b82f6; }
.toast.toast-warning { border-left-color: #f59e0b; background: #fffbeb; }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(100%); }
  to { opacity: 1; transform: translateX(0); }
}

/* 빈 상태 */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--gray);
}
.empty-state i { font-size: 3rem; margin-bottom: 12px; opacity: 0.3; }
.empty-state p { font-size: 0.95rem; }

/* 로딩 */
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--primary-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1024px) {
  .booking-body { grid-template-columns: 1fr; }
  .booking-form-section { position: relative; top: 0; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: relative; height: auto; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .admin-content { padding: 20px; }
}

/* ══════════════════════════════════════════
   배너 관리 탭 스타일
══════════════════════════════════════════ */

/* 헤더 영역 */
.banner-mgr-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.banner-mgr-header h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

/* 슬라이드 목록 */
.banner-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

/* 슬라이드 아이템 */
.banner-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1.5px solid #e8edf2;
  border-radius: 12px;
  padding: 12px 16px;
  cursor: default;
  transition: box-shadow 0.2s, border-color 0.2s, opacity 0.2s;
  position: relative;
}
.banner-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(148,177,200,0.18);
}
.banner-item-disabled {
  opacity: 0.45;
  background: #f7f8fa;
}
.banner-item-dragging {
  opacity: 0.4;
  border-style: dashed;
}
.banner-item-dragover {
  border-color: var(--primary);
  background: #f0f6fb;
  box-shadow: 0 0 0 3px rgba(148,177,200,0.3);
}

/* 드래그 핸들 */
.banner-item-handle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: grab;
  color: #aaa;
  min-width: 28px;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.banner-item-handle:hover { color: var(--primary); background: var(--primary-light); }
.banner-item-handle:active { cursor: grabbing; }
.banner-item-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
}

/* 썸네일 */
.banner-item-thumb {
  width: 90px;
  height: 60px;
  border-radius: 8px;
  background-color: #eee;
  background-size: cover;
  flex-shrink: 0;
  border: 1px solid #e0e0e0;
}

/* 정보 */
.banner-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.banner-item-url {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.banner-item-pos {
  font-size: 0.75rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 액션 버튼 그룹 */
.banner-item-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.banner-action-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1.5px solid #e5e5e5;
  background: #fff;
  color: var(--gray);
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.banner-action-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.banner-action-btn:disabled { opacity: 0.3; cursor: default; pointer-events: none; }
.banner-action-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.banner-action-btn.edit:hover { border-color: #3b82f6; color: #3b82f6; background: #eff6ff; }
.banner-action-btn.delete:hover { border-color: #ef4444; color: #ef4444; background: #fef2f2; }

/* 저장 바 */
.banner-save-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1.5px solid #e8edf2;
  flex-wrap: wrap;
}
.banner-save-hint {
  font-size: 0.82rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 배너 편집 모달 - 미리보기 */
.banner-preview-box {
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 8px;
}
.banner-preview-label {
  background: #f5f5f5;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray);
  padding: 6px 12px;
  border-bottom: 1px solid #e5e5e5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.banner-preview-img {
  height: 180px;
  background-color: #e8edf2;
  background-size: cover;
  transition: background-position 0.3s;
}

@media (max-width: 640px) {
  .banner-item { flex-wrap: wrap; }
  .banner-item-thumb { width: 70px; height: 48px; }
  .banner-item-actions { width: 100%; justify-content: flex-end; }
  .banner-mgr-header { flex-direction: column; }
  .banner-save-bar { flex-direction: column; align-items: flex-start; }
}
