@import "tailwindcss";

/* Custom brand colors */
@theme {
  --color-brand-50: #e8f0f5;
  --color-brand-100: #d1e1eb;
  --color-brand-200: #a3c3d7;
  --color-brand-300: #75a5c3;
  --color-brand-400: #4787af;
  --color-brand-500: #3a6b8c;
  --color-brand-600: #2d5a7b;
  --color-brand-700: #254a66;
  --color-brand-800: #1c3a51;
  --color-brand-900: #142a3c;
  --font-sans: 'Plus Jakarta Sans', 'DM Sans', system-ui, sans-serif;
}

/* Custom font */
@layer base {
  html {
    font-family: 'Plus Jakarta Sans', 'DM Sans', system-ui, sans-serif;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-weight: 700;
  }
}

/* Modern animations */
@layer utilities {
  .animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
  }

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

  .animate-scale-in {
    animation: scaleIn 0.4s ease-out forwards;
  }

  .animate-slide-right {
    animation: slideRight 0.5s ease-out forwards;
  }

  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes scaleIn {
    from {
      opacity: 0;
      transform: scale(0.9);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  @keyframes slideRight {
    from {
      opacity: 0;
      transform: translateX(-20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  }

  .glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .gradient-text {
    background: linear-gradient(135deg, #2d5a7b 0%, #4787af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Custom focus styles */
*:focus-visible {
  outline: 2px solid #2d5a7b;
  outline-offset: 2px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #254a66;
}
