/* Custom styles beyond compiled Tailwind */

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  transform: translateY(-160%);
  background: #ffffff;
  color: #060c18;
  padding: 0.65rem 0.9rem;
  border-radius: 0.35rem;
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .text-white\/60, .text-white\/50, .text-white\/40 { color: rgba(240, 244, 249, 0.72); }
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.bg-grid-pattern {
  background-image:
    linear-gradient(rgba(26,110,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,110,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.glow-blue {
  box-shadow: 0 0 30px rgba(26,110,255,0.3), 0 0 60px rgba(26,110,255,0.1);
}

.process-line::after {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(100% + 8px);
  width: calc(100% - 16px);
  height: 2px;
  background: linear-gradient(90deg, rgba(26,110,255,0.5), rgba(26,110,255,0.1));
}

/* Scroll-triggered animations */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
}
.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > .fade-up:nth-child(1) { transition-delay: 0s; }
.stagger-children > .fade-up:nth-child(2) { transition-delay: 0.08s; }
.stagger-children > .fade-up:nth-child(3) { transition-delay: 0.16s; }
.stagger-children > .fade-up:nth-child(4) { transition-delay: 0.24s; }
.stagger-children > .fade-up:nth-child(5) { transition-delay: 0.32s; }
.stagger-children > .fade-up:nth-child(6) { transition-delay: 0.40s; }

/* Pulsing dot */
.dot-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Scroll indicator bounce */
.bounce-chevron {
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Lightbox transitions */
.lightbox-enter {
  opacity: 0;
}
.lightbox-enter-active {
  opacity: 1;
  transition: opacity 0.2s ease;
}
.lightbox-exit {
  opacity: 1;
}
.lightbox-exit-active {
  opacity: 0;
  transition: opacity 0.2s ease;
}

/* Mobile menu slide */
.mobile-menu-enter {
  transform: translateX(100%);
  opacity: 0;
}
.mobile-menu-enter-active {
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}
.mobile-menu-exit {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-exit-active {
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

/* Hero section animation */
.hero-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.hero-right {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: 0.2s;
}
.hero-right.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-badges {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 0.5s;
}
.hero-badges.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery tab transition */
.gallery-grid {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-grid.entering {
  opacity: 0;
  transform: translateY(16px);
}
.gallery-grid.entered {
  opacity: 1;
  transform: translateY(0);
}

/* Nav transition */
.nav-scrolled {
  background: rgba(6, 12, 24, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}
.nav-top {
  background: transparent;
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

/* Image hover zoom */
.img-zoom-container {
  overflow: hidden;
}
.img-zoom-container img {
  transition: transform 0.7s ease;
}
.img-zoom-container:hover img {
  transform: scale(1.1);
}
