/* Critical CSS - Inline styles for above-the-fold content */

/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navigation critical styles */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

/* Hero section critical styles */
.hero-section {
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

/* Container */
.container-custom {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Grid for hero */
@media (min-width: 1024px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
  }
}

/* Typography */
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
  color: #2D7A7A;
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
  }
}

/* Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #2D7A7A;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.2s;
}

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

/* Loading skeleton */
.skeleton-hero {
  width: 384px;
  height: 384px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 1.5rem;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Prevent layout shift */
.section-padding-reduced {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .section-padding-reduced {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}
