/* The Clarity Pages - Custom Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* Custom Tailwind utility classes */
.font-serif { font-family: 'Crimson Text', serif; }
.font-sans { font-family: 'Inter', sans-serif; }

/* Smooth transitions */
* {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #4A5D23;
}

/* Focus styles for accessibility */
input:focus, textarea:focus, button:focus {
  outline: 2px solid #9CAF88;
  outline-offset: 2px;
}

/* Custom form elements */
textarea {
  font-family: 'Crimson Text', serif;
  line-height: 1.7;
}

/* Animation for loading states */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.3s ease-out;
}

/* Card hover effects */
.card-hover {
  transition: all 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Button animations */
button {
  transition: all 0.2s ease;
}

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

button:active {
  transform: translateY(0);
}

/* Custom gradient backgrounds */
.bg-gradient-sage {
  background: linear-gradient(135deg, #9CAF88 0%, #4A5D23 100%);
}

/* Text selection styling */
::selection {
  background: #9CAF88;
  color: white;
}

/* Responsive text sizing */
@media (max-width: 768px) {
  .text-5xl { font-size: 2.5rem; }
  .text-4xl { font-size: 2rem; }
  .text-3xl { font-size: 1.75rem; }
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
  .bg-sage { background-color: #2d4d1a !important; }
  .text-sage { color: #2d4d1a !important; }
}