/* Custom styles for AF-SAFI static site */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary-color: #0f2b48;
  --secondary-color: #d97706;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1f2937;
  background-color: #f8fafc;
  -webkit-font-smoothing: antialiased;
}

[dir="rtl"] body, [dir="rtl"] {
  font-family: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
}

/* Smooth dropdown transitions */
.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-group:hover .dropdown-menu,
.dropdown-group:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Image zoom on card hover */
.img-zoom {
  transition: transform 0.3s ease;
}
.img-zoom:hover {
  transform: scale(1.03);
}

/* Prose customizations */
.prose h1, .prose h2, .prose h3, .prose h4 {
  color: #0f2b48;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.prose p {
  margin-bottom: 1em;
  line-height: 1.75;
}

.prose ul {
  list-style-type: disc;
  padding-left: 1.5em;
  margin-bottom: 1em;
}

[dir="rtl"] .prose ul {
  padding-left: 0;
  padding-right: 1.5em;
}

.prose li {
  margin-bottom: 0.5em;
}
