body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #ededed;
}

.slideshow-container {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-content {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: 100vh;
}

.slide-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 3vw 4vw;
  padding-bottom: 15vw;
  position: relative;
  min-height: 100vh;
  overflow-y: auto;
}

.slide-left h1 {
  margin: 0 0 1.2em 0;
  font-size: 2.2em;
}

.slide-left p {
  font-size: 1.2em;
  margin-bottom: 2em;
  color: #444;
  flex: 1;
}

.nav-buttons {
  display: flex;
  gap: 1em;
  position: fixed;
  bottom: 8vw;
  left: 4vw;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-buttons button {
  padding: 0.7em 1.5em;
  font-size: 1em;
  border: none;
  border-radius: 4px;
  background: #007bff;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.nav-buttons button:hover {
  background: #0056b3;
}

.slide-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-right video {
  max-height: 90vh;
  max-width: 100%;
  width: auto;
  height: 90vh;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.slide-right img {
  max-height: 90vh;
  max-width: 100%;
  width: auto;
  height: 90vh;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  object-fit: contain;
  display: block;
}

/* Gallery tile images: keep aspect ratio, no distortion */
.gallery img {
  max-width: 300px;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  background: #fff;
  padding: 4px;
  cursor: pointer;
}

/* Modal styles for image popup */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}
.modal.active {
  display: flex;
}
.modal img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  background: #fff;
  padding: 8px;
}
.modal-close {
  position: absolute;
  top: 32px;
  right: 48px;
  color: #fff;
  font-size: 2.5em;
  cursor: pointer;
  z-index: 1001;
}

/* Sidebar Navigation */
.menu-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1000;
  font-size: 24px;
  cursor: pointer;
  background: rgba(0, 123, 255, 0.9);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background 0.3s;
}

.menu-toggle:hover {
  background: rgba(0, 86, 179, 0.9);
}

.sidebar-nav {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: #fff;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  z-index: 999;
  transition: left 0.3s ease;
  overflow-y: auto;
}

.sidebar-nav.active {
  left: 0;
}

.nav-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: flex-end;
}

.nav-close {
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.nav-close:hover {
  color: #333;
}

.nav-links {
  padding: 20px;
}

.nav-links a {
  display: block;
  padding: 15px 0;
  text-decoration: none;
  color: #007bff;
  font-size: 16px;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #0056b3;
  background: #f8f9fa;
  margin: 0 -20px;
  padding-left: 20px;
}

.nav-links a:last-child {
  border-bottom: none;
}

@media (max-width: 900px) {
  .slide-content {
    flex-direction: column;
  }
  .slide-left, .slide-right {
    flex: none;
    width: 100vw;
    height: 50vh;
    box-shadow: none;
    padding: 2vw 4vw;
  }
  .slide-right video {
    height: 45vh;
    max-height: 45vh;
  }
  .slide-right img {
    height: 45vh;
    max-height: 45vh;
  }
} 