/**
 * CSS Reset
 */

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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--swd-font-family);
  font-size: var(--swd-font-size);
  line-height: var(--swd-line-height);
  color: var(--swd-primary-text);
  background: var(--swd-primary-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--swd-accent-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/**
 * CSS Variables
 */

:root {
  /* Colors */
  --swd-primary-bg: #ffffff;
  --swd-primary-text: #000000;
  --swd-secondary-text: #666666;
  --swd-accent-color: #0066cc;
  --swd-border-color: #e0e0e0;

  /* Typography */
  --swd-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  --swd-heading-font: Georgia, 'Times New Roman', serif;
  --swd-code-font: 'Courier New', Courier, monospace;
  --swd-font-size: 18px;
  --swd-line-height: 1.6;

  /* Spacing */
  --swd-spacing-xs: 0.5rem;
  --swd-spacing-sm: 1rem;
  --swd-spacing-md: 2rem;
  --swd-spacing-lg: 3rem;
  --swd-spacing-xl: 4rem;

  /* Transitions */
  --swd-transition-speed: 0.3s;
  --swd-transition-fast: 0.15s;
  --swd-transition-slow: 0.6s;

  /* Layout */
  --swd-aspect-ratio-16-9: 56.25%;
  --swd-aspect-ratio-4-3: 75%;
  --swd-aspect-ratio-16-10: 62.5%;

  /* Z-index */
  --swd-z-background: 0;
  --swd-z-content: 1;
  --swd-z-controls: 10;
  --swd-z-overlay: 100;
}

/**
 * Typography Styles
 */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--swd-heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--swd-primary-text);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

ul,
ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.5rem;
}

code {
  font-family: var(--swd-code-font);
  background: #f5f5f5;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9em;
}

pre {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 5px;
  overflow-x: auto;
  margin-bottom: 1rem;
}

pre code {
  background: none;
  padding: 0;
}

blockquote {
  border-left: 4px solid var(--swd-accent-color);
  padding-left: 1.5rem;
  margin: 1rem 0;
  font-style: italic;
  color: var(--swd-secondary-text);
}

/**
 * Default Layout Styles
 */

.swd-layout-default {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  text-align: left;
}

.swd-layout-default h1,
.swd-layout-default h2 {
  margin-bottom: 2rem;
}

/**
 * Cover Layout Styles
 */

.swd-layout-cover {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem;
}

.swd-layout-cover h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.swd-layout-cover p {
  font-size: 1.5rem;
  color: var(--swd-secondary-text);
}

/**
 * Center Layout Styles
 */

.swd-layout-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem;
}

.swd-layout-center > * {
  max-width: 800px;
}

/**
 * Two Columns Layout Styles
 */

.swd-layout-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem;
  align-items: center;
}

.swd-layout-two-cols .swd-col {
  min-width: 0;
}

.swd-layout-two-cols .swd-col-left {
  text-align: left;
}

.swd-layout-two-cols .swd-col-right {
  text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
  .swd-layout-two-cols {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/**
 * Three Columns Layout Styles
 */

.swd-layout-three-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem;
  align-items: start;
}

.swd-layout-three-cols .swd-col {
  min-width: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .swd-layout-three-cols {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/**
 * Quote Layout Styles
 */

.swd-layout-quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem;
}

.swd-layout-quote blockquote,
.swd-layout-quote .swd-quote-text {
  font-size: 2.5rem;
  font-style: italic;
  line-height: 1.4;
  margin: 0 0 2rem 0;
  border: none;
  padding: 0;
  max-width: 900px;
}

.swd-layout-quote cite,
.swd-layout-quote .swd-quote-author {
  font-size: 1.5rem;
  font-style: normal;
  color: var(--swd-secondary-text);
}

/* .swd-layout-quote cite::before,
.swd-layout-quote .swd-quote-author::before {
  content: '— ';
} */

/**
 * Section Layout Styles
 */

.swd-layout-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem;
  background: var(--swd-accent-color);
  color: white;
}

.swd-layout-section h1,
.swd-layout-section h2,
.swd-layout-section h3 {
  color: white;
  font-size: 3.5rem;
  margin: 0;
}

.swd-layout-section p {
  font-size: 1.5rem;
  opacity: 0.9;
}

/**
 * Image Layouts Styles - image-left, image-right, full-image
 */

/* Image Right Layout */
.swd-layout-image-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem;
  align-items: center;
}

.swd-layout-image-right .swd-col-text {
  padding-right: 2rem;
}

.swd-layout-image-right .swd-col-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swd-layout-image-right .swd-col-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Image Left Layout */
.swd-layout-image-left {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem;
  align-items: center;
}

.swd-layout-image-left .swd-col-text {
  padding-left: 2rem;
}

.swd-layout-image-left .swd-col-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swd-layout-image-left .swd-col-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Full Image Layout */
.swd-layout-full-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.swd-layout-full-image .swd-image-overlay-text {
  position: relative;
  z-index: 2;
  padding: 3rem;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.swd-layout-full-image .swd-image-overlay-text h1,
.swd-layout-full-image .swd-image-overlay-text h2,
.swd-layout-full-image .swd-image-overlay-text h3 {
  color: white;
  font-size: 4rem;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .swd-layout-image-right,
  .swd-layout-image-left {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .swd-layout-image-right .swd-col-text,
  .swd-layout-image-left .swd-col-text {
    padding: 0;
  }
}

/**
 * Light Theme
 */

.swd-theme-light {
  --swd-primary-bg: #ffffff;
  --swd-primary-text: #000000;
  --swd-secondary-text: #666666;
  --swd-accent-color: #0066cc;
  --swd-border-color: #e0e0e0;
}

/**
 * Dark Theme
 */

.swd-theme-dark {
  --swd-primary-bg: #1a1a1a;
  --swd-primary-text: #ffffff;
  --swd-secondary-text: #b0b0b0;
  --swd-accent-color: #4a9eff;
  --swd-border-color: #333333;
}

.swd-theme-dark code {
  background: #2d2d2d;
  color: #f8f8f2;
}

.swd-theme-dark pre {
  background: #2d2d2d;
}

.swd-theme-dark .swd-layout-section {
  background: #4a9eff;
  color: #ffffff;
}

.swd-theme-dark p,
.swd-theme-dark li {
  color: var(--swd-secondary-text);
}

/**
 * Gradient Theme
 */

.swd-theme-gradient {
  --swd-primary-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --swd-primary-text: #ffffff;
  --swd-secondary-text: #f0f0f0;
  --swd-accent-color: #ffd700;
  --swd-border-color: rgba(255, 255, 255, 0.2);
  color: var(--swd-secondary-text);
}

.swd-theme-gradient .swd-wrapper {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.swd-theme-gradient h1,
.swd-theme-gradient h2,
.swd-theme-gradient h3,
.swd-theme-gradient h4,
.swd-theme-gradient h5,
.swd-theme-gradient h6 {
  color: #ffffff;
}

.swd-theme-gradient code {
  background: rgba(255, 255, 255, 0.1);
  color: #ffd700;
}

.swd-theme-gradient pre {
  background: rgba(0, 0, 0, 0.3);
}

.swd-theme-gradient .swd-layout-section {
  background: rgba(255, 215, 0, 0.2);
  color: #ffffff;
}

.swd-theme-gradient .swd-control-prev,
.swd-theme-gradient .swd-control-next {
  color: #764ba2;
}
/**
 * Minimal Theme
 */

.swd-theme-minimal {
  --swd-primary-bg: #fafafa;
  --swd-primary-text: #2c3e50;
  --swd-secondary-text: #7f8c8d;
  --swd-accent-color: #000000;
  --swd-border-color: #ecf0f1;
  --swd-font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --swd-heading-font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.swd-theme-minimal h1,
.swd-theme-minimal h2,
.swd-theme-minimal h3 {
  font-weight: 300;
  letter-spacing: -0.02em;
}

.swd-theme-minimal .swd-layout-section {
  background: #000000;
  color: #ffffff;
}

.swd-theme-minimal code {
  background: #ecf0f1;
  color: #2c3e50;
}

.swd-theme-minimal pre {
  background: #ecf0f1;
  border-left: 3px solid #000000;
}

/**
 * Corporate Theme
 */

.swd-theme-corporate {
  --swd-primary-bg: #ffffff;
  --swd-primary-text: #2c3e50;
  --swd-secondary-text: #5d6d7e;
  --swd-accent-color: #2874a6;
  --swd-border-color: #d5d8dc;
  --swd-font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --swd-heading-font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.swd-theme-corporate h1,
.swd-theme-corporate h2,
.swd-theme-corporate h3 {
  color: #1a5490;
  font-weight: 600;
}

.swd-theme-corporate .swd-layout-section {
  background: #2874a6;
}

.swd-theme-corporate .swd-layout-section * {
  color: #ffffff;
}

.swd-theme-corporate code {
  background: #ebf5fb;
  color: #1a5490;
}

.swd-theme-corporate pre {
  background: #ebf5fb;
  border: 1px solid #aed6f1;
}

.swd-theme-corporate blockquote {
  border-left-color: #2874a6;
}

/**
 * Creative Theme
 */

.swd-theme-creative {
  --swd-primary-bg: #fff8e7;
  --swd-primary-text: #2d1b00;
  --swd-secondary-text: #6b4226;
  --swd-accent-color: #ff6b6b;
  --swd-border-color: #ffe0b2;
  --swd-font-family: 'Comic Sans MS', 'Chalkboard SE', 'Marker Felt', cursive;
  --swd-heading-font: 'Impact', 'Arial Black', sans-serif;
}

.swd-theme-creative .swd-wrapper {
  background: linear-gradient(to bottom, #fff8e7 0%, #ffe0b2 100%);
}

.swd-theme-creative h1,
.swd-theme-creative h2,
.swd-theme-creative h3 {
  color: #ff6b6b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.swd-theme-creative .swd-layout-section {
  background: #ff6b6b;
  transform: rotate(-3deg);
}

.swd-theme-creative .swd-layout-section * {
  color: #ffffff;
  transform: rotate(+3deg);
}

.swd-theme-creative code {
  background: #ffe0b2;
  color: #d84315;
}

.swd-theme-creative pre {
  background: #ffe0b2;
  border: 3px solid #ff6b6b;
  transform: rotate(0.5deg);
}

.swd-theme-creative blockquote {
  border-left: 5px solid #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
  padding: 1rem 1.5rem;
}

/**
 * Academic Theme
 */

.swd-theme-academic {
  --swd-primary-bg: #f5f5f0;
  --swd-primary-text: #1a1a1a;
  --swd-secondary-text: #4a4a4a;
  --swd-accent-color: #8b0000;
  --swd-border-color: #d4d4ce;
  --swd-font-family: 'Times New Roman', Times, serif;
  --swd-heading-font: 'Times New Roman', Times, serif;
}

.swd-theme-academic h1,
.swd-theme-academic h2,
.swd-theme-academic h3 {
  color: #8b0000;
  font-weight: 700;
  text-align: left;
  border-bottom: 2px solid #8b0000;
  padding-bottom: 0.5rem;
}

.swd-theme-academic .swd-layout-section {
  background: #8b0000;
}

.swd-theme-academic .swd-layout-section * {
  color: #f5f5f0;
}

.swd-theme-academic code {
  background: #e8e8e3;
  color: #1a1a1a;
  font-family: 'Courier New', Courier, monospace;
}

.swd-theme-academic pre {
  background: #e8e8e3;
  border: 1px solid #8b0000;
  font-size: 0.85em;
}

.swd-theme-academic blockquote {
  border-left: 4px solid #8b0000;
  background: rgba(139, 0, 0, 0.05);
  font-style: italic;
  padding: 1rem 1.5rem;
}

.swd-theme-academic ul,
.swd-theme-academic ol {
  line-height: 1.8;
}

.swd-theme-academic table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
}

.swd-theme-academic th,
.swd-theme-academic td {
  border: 1px solid #8b0000;
  padding: 0.5rem;
  text-align: left;
}

.swd-theme-academic th {
  background: #8b0000;
  color: #f5f5f0;
}

/**
 * Navigation Controls Styles
 */

.swd-controls {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: var(--swd-z-controls, 100);
  display: flex;
  gap: 0.5rem;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.swd-controls-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Position variants */
.swd-controls[data-position="bottom-left"] {
  right: auto;
  left: 2rem;
}

.swd-controls[data-position="edges"] {
  display: flex;
  justify-content: space-between;
  width: 100%;
  left: 0;
  right: 0;
  padding: 0 2rem;
}

.swd-control-prev,
.swd-control-next {
  background: var(--swd-accent-color, #007acc);
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.swd-control-prev:hover,
.swd-control-next:hover {
  background: var(--swd-accent-color, #005a9e);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.swd-control-prev:active,
.swd-control-next:active {
  transform: scale(0.95);
}

.swd-control-prev:disabled,
.swd-control-next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.swd-control-prev:disabled:hover,
.swd-control-next:disabled:hover {
  background: var(--swd-accent-color, #007acc);
  transform: none;
}

/* SVG icon sizing */
.swd-control-prev svg,
.swd-control-next svg {
  width: 24px;
  height: 24px;
}

/* Print: hide controls */
@media print {
  .swd-controls {
    display: none;
  }
}

/**
 * Progress Bar Styles
 */

.swd-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  z-index: var(--swd-z-controls, 100);
  opacity: 1;
  transition: opacity 0.3s ease;
}

.swd-progress-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Position variants */
.swd-progress[data-position="top"] {
  bottom: auto;
  top: 0;
}

.swd-progress-bar {
  height: 100%;
  background: var(--swd-accent-color, #007acc);
  transition: width 0.3s ease;
  width: 0;
}

/* Theme variations */
.swd-theme-dark .swd-progress {
  background: rgba(255, 255, 255, 0.1);
}

.swd-theme-light .swd-progress {
  background: rgba(0, 0, 0, 0.1);
}

/* Print: hide progress bar */
@media print {
  .swd-progress {
    display: none;
  }
}

/**
 * SenangWebs Deck - Transition Animations
 */

/* Transition Variables */
:root {
  --swd-transition-speed: 500ms;
  --swd-transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enable transitions */
.swd-transitions-enabled .swd-slide {
  transition: all var(--swd-transition-speed) var(--swd-transition-timing);
}

/* Transition speeds */
.swd-wrapper[data-transition-speed="fast"] {
  --swd-transition-speed: 300ms;
}

.swd-wrapper[data-transition-speed="normal"] {
  --swd-transition-speed: 500ms;
}

.swd-wrapper[data-transition-speed="slow"] {
  --swd-transition-speed: 800ms;
}

/* ===== SLIDE TRANSITION ===== */
.swd-wrapper[data-transition="slide"] .swd-slide {
  transition: transform var(--swd-transition-speed) var(--swd-transition-timing),
              opacity var(--swd-transition-speed) var(--swd-transition-timing);
}

/* Slide Left (Forward) */
.swd-transition-out.slide-left {
  transform: translateX(-100%);
  opacity: 0;
}

.swd-transition-in.slide-left {
  transform: translateX(100%);
  opacity: 0;
  animation: slideInFromRight var(--swd-transition-speed) var(--swd-transition-timing) forwards;
}

@keyframes slideInFromRight {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Slide Right (Backward) */
.swd-transition-out.slide-right {
  transform: translateX(100%);
  opacity: 0;
}

.swd-transition-in.slide-right {
  transform: translateX(-100%);
  opacity: 0;
  animation: slideInFromLeft var(--swd-transition-speed) var(--swd-transition-timing) forwards;
}

@keyframes slideInFromLeft {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ===== FADE TRANSITION ===== */
.swd-wrapper[data-transition="fade"] .swd-slide {
  transition: opacity var(--swd-transition-speed) var(--swd-transition-timing);
}

.swd-fade-out {
  opacity: 0;
}

.swd-fade-in {
  opacity: 0;
  animation: fadeIn var(--swd-transition-speed) var(--swd-transition-timing) forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ===== ZOOM TRANSITION ===== */
.swd-wrapper[data-transition="zoom"] .swd-slide {
  transition: transform var(--swd-transition-speed) var(--swd-transition-timing),
              opacity var(--swd-transition-speed) var(--swd-transition-timing);
}

/* Zoom Out (old slide) */
.swd-zoom-out {
  transform: scale(0.8);
  opacity: 0;
}

/* Zoom In (new slide - forward) */
.swd-zoom-in {
  transform: scale(1.2);
  opacity: 0;
  animation: zoomIn var(--swd-transition-speed) var(--swd-transition-timing) forwards;
}

@keyframes zoomIn {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Zoom Out (new slide - backward) */
.swd-zoom-out.swd-transition-in {
  transform: scale(0.8);
  opacity: 0;
  animation: zoomOut var(--swd-transition-speed) var(--swd-transition-timing) forwards;
}

@keyframes zoomOut {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== FLIP TRANSITION ===== */
.swd-wrapper[data-transition="flip"] .swd-slide {
  transition: transform var(--swd-transition-speed) var(--swd-transition-timing),
              opacity var(--swd-transition-speed) var(--swd-transition-timing);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

/* Flip Left (Forward) */
.swd-flip-out.flip-left {
  transform: rotateY(-90deg);
  opacity: 0;
}

.swd-flip-in.flip-left {
  transform: rotateY(90deg);
  opacity: 0;
  animation: flipInFromRight var(--swd-transition-speed) var(--swd-transition-timing) forwards;
}

@keyframes flipInFromRight {
  to {
    transform: rotateY(0);
    opacity: 1;
  }
}

/* Flip Right (Backward) */
.swd-flip-out.flip-right {
  transform: rotateY(90deg);
  opacity: 0;
}

.swd-flip-in.flip-right {
  transform: rotateY(-90deg);
  opacity: 0;
  animation: flipInFromLeft var(--swd-transition-speed) var(--swd-transition-timing) forwards;
}

@keyframes flipInFromLeft {
  to {
    transform: rotateY(0);
    opacity: 1;
  }
}

/* ===== NO TRANSITION ===== */
.swd-wrapper[data-transition="none"] .swd-slide {
  transition: none;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .swd-wrapper .swd-slide,
  .swd-transitions-enabled .swd-slide {
    transition: none !important;
    animation: none !important;
  }
  
  .swd-wrapper[data-transition] .swd-slide {
    transition: none !important;
  }
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
  /* Faster transitions on mobile */
  :root {
    --swd-transition-speed: 350ms;
  }
  
  /* Disable complex transitions on low-end devices */
  .swd-wrapper[data-transition="flip"] .swd-slide,
  .swd-wrapper[data-transition="zoom"] .swd-slide {
    transform-style: flat;
  }
}

/* ===== TRANSITION PERFORMANCE ===== */
.swd-slide {
  /* Use GPU acceleration */
  will-change: transform, opacity;
  
  /* Force GPU layer */
  transform: translateZ(0);
  
  /* Optimize rendering */
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Remove will-change when not transitioning */
.swd-slide.swd-slide-active:not(.swd-transition-in):not(.swd-transition-out) {
  will-change: auto;
}

/**
 * Print Styles - For PDF export
 */

@media print {
  .swd-print-mode .swd-slide {
    page-break-after: always;
    page-break-inside: avoid;
  }

  .swd-print-mode .swd-slide.swd-print-slide {
    position: relative !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    width: 100%;
    height: auto;
    min-height: 100vh;
  }

  .swd-controls,
  .swd-progress,
  .swd-slide-numbers {
    display: none !important;
  }
}

/**
 * SenangWebs Deck - Main CSS Entry Point
 */

/* Base Styles */

/* Layout Styles */

/* Theme Styles */

/* Component Styles */

/* Core Presentation Styles */
.swd-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--swd-primary-bg);
}

.swd-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.swd-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slide visibility states */
.swd-slide-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.swd-slide-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.swd-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.swd-slide.past {
  transform: translateX(-100%);
}

.swd-slide.future {
  transform: translateX(100%);
}

.swd-slide-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.swd-slide-content {
  position: relative;
  z-index: 1;
  max-width: 90%;
  max-height: 90%;
  padding: 2rem;
}

