/* Critical CSS - Above the fold styles */
@tailwind base;

/* Essential base styles */
html {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #1e293b;
}

/* Header critical styles */
header {
  background-color: #ffffff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Navigation critical styles */
nav a {
  color: #475569;
  text-decoration: none;
  transition: color 0.15s ease-out;
}

nav a:hover {
  color: #1e293b;
}

/* Button critical styles */
.btn-primary {
  background-color: #be185d;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: background-color 0.15s ease-out;
}

.btn-primary:hover {
  background-color: #9d174d;
}

.btn-secondary {
  background-color: transparent;
  color: #be185d;
  padding: 0.75rem 1.5rem;
  border: 2px solid #be185d;
  border-radius: 0.5rem;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: all 0.15s ease-out;
}

.btn-secondary:hover {
  background-color: #be185d;
  color: #ffffff;
}

/* Hero section critical styles */
.hero-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-out;
}

/* Typography critical styles */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.875rem;
}

/* Mobile navigation critical styles */
#mobile-menu-button {
  display: none;
}

@media (max-width: 768px) {
  #mobile-menu-button {
    display: flex;
  }
  
  .md\:hidden {
    display: none !important;
  }
  
  h1 {
    font-size: 2.25rem;
  }
}

/* Utility classes */
.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles for accessibility */
*:focus {
  outline: 2px solid #be185d;
  outline-offset: 2px;
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}