/* Custom styles that complement Tailwind */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background: rgba(212, 160, 23, 0.3);
  color: #fff;
}

/* Focus visible */
:focus-visible {
  outline: 2px solid #d4a017;
  outline-offset: 2px;
}

/* Prevent layout shift on images */
img {
  max-width: 100%;
  height: auto;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a1628;
}
::-webkit-scrollbar-thumb {
  background: #1b3a6b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d4a017;
}

/* Geometric shape animations */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(-20px) rotate(45deg); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-15px) scale(1.05); }
}

.geo-shape--diamond {
  animation: float 6s ease-in-out infinite;
}

.geo-blob {
  animation: float-slow 8s ease-in-out infinite;
}

/* Service card shine effect */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 160, 23, 0.05), transparent);
  transition: left 0.5s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card {
  position: relative;
  overflow: hidden;
}

/* Pulse animation for hero badge */
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(212, 160, 23, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 160, 23, 0); }
}

.animate-pulse {
  animation: pulse-ring 2s ease-in-out infinite;
}

/* Hamburger animation */
.hamburger-line {
  transition: all 0.3s ease;
}

#mobile-menu.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

#mobile-menu.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  width: 24px;
}
