/* ===== 헤더 (오른쪽 상단 고정) ===== */

/* ===== PPT 슬라이드 ===== */
.slides-container {
  height: 100%;
  width: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  background: #000;
}

.slide {
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  background: #000;
}

.slide-img {
  width: 100vw;
  height: 100vh;
  object-fit: contain; /* cover 로 바꾸면 화면 꽉 채움 */
}


/* ===== 헤더 (왼쪽 상단 고정) ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0; /* 변경된 부분 */
  z-index: 1000;
  background: rgba(15, 23, 42, 0.6); /* #0f172a 반투명 */
  backdrop-filter: blur(8px);
  padding: 8px 12px;
  border-radius: 0 0 12px 0; /* 왼쪽 상단만 둥글게 */
}

.nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav--right { 
  justify-content: flex-start; /* 왼쪽으로 정렬 */
}


.nav-link {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-link:hover { color: #38bdf8; }

.nav-link[aria-current="page"] { color: #facc15; }

/* 헤더가 덮지 않도록 상단 여백(페이지별 필요 시) */
.page-with-top-gap { padding-top: 48px; }

/* ===== PPT 슬라이드 뷰어 ===== */
.slides-container {
  height: 100%;
  width: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  background: #000;
}

.slide {
  height: 100%;
  width: 100%;
  display: grid;
  place-items: center;
  scroll-snap-align: start;
  background: #000;
}

.slide-img {
  height: 100%;
  width: 100%;
  object-fit: cover; /* 꽉 채우려면 cover 로 변경 */
  image-rendering: auto;
}

/* 선택: 업로드/URL 도구바 */
.slides-toolbar {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 1100;
  display: flex;
  gap: 8px;
}

.file-input, .url-input, .btn {
  background: rgba(255,255,255,0.96);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 14px;
}
