/* Custom styles that complement Tailwind CSS */

html {
  scroll-behavior: smooth;
}

/* Enable scroll by default */
body {
  overflow: auto;
  background: linear-gradient(180deg, #111111 0%, #050505 100%) !important;
  color: #ffffff !important;
}

/* Hide scrollbar only when modal is open */
body.modal-open {
  overflow: hidden;
}

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

::-webkit-scrollbar-track {
  background: #050505;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* Smooth transitions for all interactive elements */
a,
button {
  transition: all 0.2s ease;
}

a:hover,
button:hover {
  transform: translateY(-1px);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.btn-primary {
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.25) !important;
}

.btn-primary:hover {
  background: #d9d9d9 !important;
  color: #000000 !important;
}

.btn-secondary {
  background: transparent !important;
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
}

.btn-secondary:hover {
  background: #ffffff !important;
  color: #000000 !important;
}

/* Disable button state */
.btn-disabled {
  opacity: 0.55;
  pointer-events: none;
}

/* Responsive adjustments for very small screens */
@media (max-width: 380px) {
  .hero-copy h1 {
    max-width: 100%;
  }

  .hero-panel {
    padding: 1rem;
  }

  .hero-panel-content {
    min-height: 350px;
    padding: 1.5rem;
  }
}
