/* Custom styles for the static site */

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

/* Custom gradient animations */
@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.gradient-animate {
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
}

/* Enhanced button hover effects */
.btn-glow:hover {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5), 0 0 40px rgba(34, 197, 94, 0.3),
    0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Floating animation for elements */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* Text glow effect */
.text-glow {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3),
    0 0 20px rgba(255, 255, 255, 0.2), 0 0 30px rgba(255, 255, 255, 0.1);
}

/* Image orientation fix */
.adriano-image {
  object-fit: cover;
  object-position: center;
  transform: rotate(10deg);
  image-orientation: from-image;
}

/* Force portrait orientation */
.portrait-fix {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center top;
  transform: rotate(120deg);
}

/* Backdrop blur fallback */
@supports not (backdrop-filter: blur(10px)) {
  .backdrop-blur-fallback {
    background-color: rgba(255, 255, 255, 0.1);
  }
}

/* Responsive design helpers */
@media (max-width: 640px) {
  .hero-title-mobile {
    font-size: 2.5rem;
    line-height: 1.1;
  }
}

/* Loading animation */
.loading-dots {
  display: inline-block;
}

.loading-dots::after {
  content: "";
  animation: dots 2s infinite;
}

@keyframes dots {
  0%,
  20% {
    content: "";
  }
  40% {
    content: ".";
  }
  60% {
    content: "..";
  }
  80%,
  100% {
    content: "...";
  }
}
