/* Custom styles for Thornbox website */

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

/* Animations */
.animate-fade-in {
  animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus styles for better accessibility */
:focus {
  outline: 2px solid #0f4c81;
  outline-offset: 2px;
}

/* Custom button hover effect */
.btn-hover-effect:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(15, 76, 129, 0.2),
    0 10px 10px -5px rgba(15, 76, 129, 0.1);
}

/* Custom image hover effect */
.img-hover-effect {
  transition: transform 0.3s ease;
}

.img-hover-effect:hover {
  transform: scale(1.03);
}

/* Mobile menu animation */
#mobile-menu {
  transition: max-height 0.3s ease-in-out;
  max-height: 0;
  overflow: hidden;
}

#mobile-menu.visible {
  max-height: 300px;
}

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

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

::-webkit-scrollbar-thumb {
  background: #0f4c81;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0d3d68;
}

/* Print styles */
@media print {
  nav,
  footer,
  .no-print {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  a {
    text-decoration: none;
    color: #000;
  }

  .container {
    width: 100%;
    max-width: 100%;
  }
}
