/* Page Transitions */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.page-transition .logo-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 30px;
}

.page-transition .logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: pulse 2s infinite ease-in-out;
}

.page-transition .circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(26, 188, 156, 0.1) 0%, transparent 70%);
  animation: ripple 2s infinite ease-out;
}

.page-transition .loader {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-bottom: 15px;
}

.page-transition .loader::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: var(--primary-gradient);
  animation: loading 1.5s infinite linear;
}

.page-transition .loading-text {
  font-size: 0.9rem;
  color: var(--text-gray);
  letter-spacing: 2px;
  text-transform: uppercase;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes ripple {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

@keyframes loading {
  0% { left: -50%; }
  100% { left: 100%; }
}

/* Section Transitions */
.section-transition {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 0;
  background: var(--accent-cyan);
  z-index: 9000;
  transition: width 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.section-transition.active {
  width: 100%;
}

/* Progress indicator for scroll */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-gradient);
  z-index: 1002;
  transition: width 0.1s linear;
} 