/* ==================== Base ==================== */
html, body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #18181b; /* zinc-900 */
}

body {
  overflow: hidden;
}

/* Cormorant Garamond reads better with slightly tighter tracking at display sizes */
.font-display {
  letter-spacing: -0.01em;
}

/* ==================== Slides ==================== */
.slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  animation: fadeIn 0.5s ease-out;
}

.slide.active {
  display: block;
}

.slide-wrapper {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .slide-wrapper {
    padding: 4rem 4rem 3rem;
  }
}

/* layout helpers used inline */
.slide-wrapper.justify-center { justify-content: center; }
.slide-wrapper.justify-between { justify-content: space-between; }
.slide-wrapper.items-center { align-items: center; }
.slide-wrapper.items-start { align-items: flex-start; }
.slide-wrapper.text-center { text-align: center; }

/* ==================== Animations ==================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================== Scrollbar (light theme) ==================== */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #fafafa;
}
::-webkit-scrollbar-thumb {
  background: #d4d4d8;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a1a1aa;
}

/* ==================== Print fallback (optional, useful for PDF export) ==================== */
@media print {
  body { overflow: visible; }
  .slide { display: block !important; position: relative; page-break-after: always; height: auto; }
  #presentation { height: auto; }
  .fixed { display: none !important; }
}
