/* Custom styles for GESSTEC IFRO site */

/* Smooth transitions */
* {
  transition: all 0.3s ease;
}

/* Navigation */
.nav-link {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.5rem 1rem;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.22);
}

.nav-link--active {
  background: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.7);
}

/* Section helpers */
.section-kicker {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.section-subtitle {
  font-weight: 600;
  color: #374151;
}

/* Data table */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: #f3f4f6;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #374151;
}

.data-table tr:hover {
  background: #f9fafb;
}

.search-input {
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  width: 100%;
  background: #ffffff;
}

.search-input:focus {
  outline: 2px solid #059669;
  outline-offset: 2px;
}

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

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

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

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

/* Mobile menu animation */
#mobile-menu {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card hover effects */
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Button animations */
.btn-animate:hover {
  transform: scale(1.05);
}

/* Text selection */
::selection {
  background-color: #059669;
  color: white;
}

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

/* Print styles */
@media print {
  header,
  footer,
  #mobile-menu {
    display: none !important;
  }

  main {
    margin: 0 !important;
    padding: 20px !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .text-gray-600 {
    color: #000 !important;
  }

  .text-gray-700 {
    color: #000 !important;
  }
}

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