/* Page Transition Styles */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-transition-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Progress bar for transitions */
.transition-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background-color: #ffc451;
  z-index: 10000;
  transition: width 0.3s ease-out;
}

/* Slide transition effect for content */
.page-content {
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.page-content.transitioning-out {
  opacity: 0;
  transform: translateY(20px);
}

.page-content.transitioning-in {
  opacity: 0;
  transform: translateY(-20px);
}

/* Logo animation during transition */
.transition-logo {
  width: 100px;
  height: auto;
  opacity: 0.8;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}
