/* Custom CSS for additional styling beyond TailwindCSS */

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #ffd700;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ffc107;
}

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

/* Social Icon Styles */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: #D4AF37;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #1f2937;
}

/* Novos gradientes para transições suaves entre seções */
.gradient-section {
  background: linear-gradient(180deg, #10281a 0%, #1b3b24 100%);
}
.gradient-section-invert {
  background: linear-gradient(180deg, #1b3b24 0%, #10281a 100%);
}
.gradient-divider {
  height: 80px;
  background: linear-gradient(
    180deg,
    rgba(16, 40, 26, 0) 0%,
    #1b3b24 50%,
    rgba(16, 40, 26, 0) 100%
  );
}
.gradient-gold {
  background: linear-gradient(135deg, #d4af37 0%, #ffe066 100%);
}
.gradient-green {
  background: linear-gradient(135deg, #10281a 0%, #3b7a57 100%);
}

/* Glowing effects atualizados */
.glow-gold {
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}
.glow-gold:hover {
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}
.glow-green {
  box-shadow: 0 0 20px rgba(59, 122, 87, 0.2);
}
.glow-green:hover {
  box-shadow: 0 0 30px rgba(59, 122, 87, 0.4);
}
/* Fade in animation for sections */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* Divider for section transitions */
.section-divider {
  width: 100vw;
  height: 60px;
  background: linear-gradient(
    180deg,
    rgba(16, 40, 26, 0) 0%,
    #1b3b24 50%,
    rgba(16, 40, 26, 0) 100%
  );
  margin: 0;
  border: none;
}

/* Custom button animations */
.btn-pulse {
  animation: pulse 2s infinite;
}

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

/* Loading animation */
.loading-spinner {
  border: 3px solid #1a1a1a;
  border-top: 3px solid #ffd700;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

/* Magnetic button effect */
.magnetic {
  transition: transform 0.3s ease;
}

/* Reveal animation for sections */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom typography */
.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Backdrop blur fallback */
.backdrop-blur-fallback {
  background-color: rgba(10, 10, 10, 0.95);
}

@supports (backdrop-filter: blur(10px)) {
  .backdrop-blur-fallback {
    backdrop-filter: blur(10px);
    background-color: rgba(10, 10, 10, 0.8);
  }
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .mobile-padding {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .mobile-text-center {
    text-align: center;
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .text-gray-400 {
    color: #ffffff;
  }

  .border-gray-800 {
    border-color: #ffffff;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
