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

/* Import Space Grotesk Font */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* Import Nunito Font */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');

/* Apply Nunito as default font */
body {
  font-family: 'Nunito', sans-serif, 'Poppins', 'Inter', Space Grotesk;
  font-size: 0.9rem; /* Reduced base font size */
}

/* Remove underline from all links globally */
a {
  text-decoration: none !important;
}

a:hover,
a:focus,
a:active {
  text-decoration: none !important;
}

/* Utility classes for specific font weights */
.font-thin {
  font-weight: 300;
}

.font-light {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

/* Custom Typography Classes */

/* Height limiting class */
.height-limited {
  max-height: 80vh;
  overflow-y: auto;
}

/* Headings */
.heading-primary {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem); /* Reduced: 24px to 36px responsive */
  font-weight: 800;
  line-height: 1.2;
}

/* h1.heading-4rem, h2.heading-4rem, h3.heading-4rem, h4.heading-4rem, h5.heading-4rem, h6.heading-4rem, .heading-4rem {
  font-family: 'Nunito', sans-serif !important;
  font-size: 4rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  font-display: swap !important;
} */

.font-family-nunito {
  font-family: 'Nunito', sans-serif !important;
}
.text-4rem {
  font-size: clamp(2.25rem, 6vw, 3.5rem); /* Increased font size */
  font-weight: 700 !important;
  font-family: 'Nunito', sans-serif !important;
  line-height: 1.2 !important;
}


.heading-secondary {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.25rem, 3.5vw, 2rem); /* Increased: 20px to 32px responsive */
  font-weight: 700;
  line-height: 1.3;
}

/* Global h2 styling - increased font size */
h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem); /* Increased: 24px to 36px responsive */
  font-family: 'Nunito', sans-serif;
}

.h3 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem); /* Increased font size */
  font-weight: 600;
  line-height: 1.3;
}

/* Responsive adjustments */
.text-responsive {
  font-size: clamp(0.875rem, 2.5vw, 1.25rem); /* Reduced font size */
}

/* Responsive padding and margin */
.p-responsive {
  @apply p-4 sm:p-6 md:p-8;
}

.m-responsive {
  @apply m-2 sm:m-4 md:m-6;
}

/* Responsive max-width */
.max-w-responsive {
  @apply max-w-full sm:max-w-lg md:max-w-2xl lg:max-w-4xl;
}

/* Responsive grid */
.grid-responsive {
  @apply grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3;
}

/* Responsive text alignment */
.text-responsive-center {
  @apply text-center sm:text-left;
}

/* Responsive image */
.img-responsive {
  @apply w-full h-auto object-cover;
}

/* Responsive button */
.btn-responsive {
  @apply w-full sm:w-auto px-4 py-2 sm:px-6 sm:py-3;
}

