/* Enhanced animations and transitions styles */

/* Basic setup for scroll smoother */
#app {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

#smooth-wrapper {
  overflow: hidden;
}

#smooth-content {
  overflow: visible;
}

/* Make sure the render canvas is positioned properly */
#render {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Showcase video styles */
.projects-showcase {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  margin-bottom: 2rem;
}

.showcase-video {
  position: relative;
  width: 30%;
  height: 250px;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  transition: all 1.5s ease-in-out; /* Increased from 0.3s to 1.5s */
}

.showcase-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.showcase-video-selected {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 225, 255, 0.3);
}

.showcase-type-option,
.showcase-title-option,
.showcase-credit-option {
  position: absolute;
  color: white;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.7);
  left: 0;
  right: 0;
  text-align: center;
}

.showcase-type-option {
  top: 0;
}

.showcase-title-option {
  bottom: 40px;
}

.showcase-credit-option {
  bottom: 0;
  font-size: 0.8rem;
}

#showcase-type {
  text-align: center;
  margin-top: 1rem;
}

#showcase-type > div {
  display: inline-block;
  font-size: 1.2rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Separator styling */
#separator {
  height: 2px;
  background: var(--accent);
  width: 100%;
  margin: 2rem 0;
  position: relative;
}

#separator::before, 
#separator::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

#separator::before {
  left: 0;
}

#separator::after {
  right: 0;
}

/* Enhanced section styles for animations */
.section {
  opacity: 1;
  transition: opacity 2s ease-in-out; /* Increased from 0.5s to 2s */
  min-height: 100vh;
  position: relative;
}

.section:not(.in-view) {
  opacity: 0.8;
}

/* Ensure slides take up the full height for proper transitions */
#slide1, #slide2, #slide3, #slide4, #slide5 {
  min-height: 100vh;
  padding-top: 4rem;
  padding-bottom: 4rem;
}