/**
 * AgroGeo Website Fonts
 * Local font definitions for improved performance and reliability
 */

/* Plus Jakarta Sans - Regular (200-800) */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/plus-jakarta-sans-regular.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* Plus Jakarta Sans - Italic (200-800) */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/plus-jakarta-sans-italic.woff2') format('woff2');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

/* Manrope - Variable (200-800) */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* Lato - Light (300) */
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Lato - Regular (400) */
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Lato - Bold (700) */
@font-face {
  font-family: 'Lato';
  src: url('../fonts/lato-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Font fallbacks for better compatibility */
.font-heading {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.font-display {
  font-family: 'Manrope', 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.font-body {
  font-family: 'Lato', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

/* Debug: Temporary styles to verify font loading */
/*
body::before {
  content: "Font test: " attr(data-font-test);
  position: fixed;
  top: 0;
  left: 0;
  background: red;
  color: white;
  padding: 5px;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  z-index: 9999;
}
*/