@font-face {
  font-family: 'Gentium Book Basic';
  src: url('/fonts/gentium-book-basic.regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  html {
    font-family: 'Gentium Book Basic', 'Georgia', serif;
    font-size: 18px;
  }

  body {
    @apply bg-gray-50 text-gray-900 dark:bg-gray-50 dark:text-gray-100;
    font-family: 'Gentium Book Basic', 'Georgia', serif;
    line-height: 1.6;
    font-size: 1rem;
  }
}

@layer components {
  .bible-text {
    @apply leading-relaxed text-gray-800 dark:text-gray-200;
    font-family: 'Gentium Book Basic', 'Georgia', serif;
  }

  .verse-number {
    @apply font-semibold text-blue-600 dark:text-blue-400 mr-1;
    font-family: 'Arial', sans-serif;
  }

  .book-title {
    @apply text-2xl font-bold text-center mb-6 text-gray-900 dark:text-gray-100;
    font-family: 'Gentium Book Basic', 'Georgia', serif;
  }

  .chapter-title {
    @apply text-xl font-semibold mb-4 text-gray-700 dark:text-gray-300;
    font-family: 'Gentium Book Basic', 'Georgia', serif;
  }

  /* Font size utility classes that override CSS classes */
  .font-size-small .bible-text {
    @apply text-sm;
  }
  
  .font-size-small .verse-number {
    @apply text-xs;
  }

  .font-size-medium .bible-text {
    @apply text-lg;
  }
  
  .font-size-medium .verse-number {
    @apply text-sm;
  }

  .font-size-large .bible-text {
    @apply text-2xl;
  }
  
  .font-size-large .verse-number {
    @apply text-lg;
  }
}
