/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Colors */
  --color-primary: #2E8B57;
  /* Forest Green */
  --color-secondary: #FFD700;
  /* Sunshine Yellow */
  --color-background: #FDFBF7;
  /* Off-White/Cream */
  --color-text: #333333;
  --color-text-light: #666666;
  --color-white: #FFFFFF;
  --color-accent: #E17055;
  /* Warm Terra Cotta for CTAs */

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Typography */
  --font-heading: 'Comfortaa', cursive;
  --font-body: 'Open Sans', sans-serif;

  /* Borders */
  --border-radius: 12px;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--color-secondary);
  color: var(--color-text);
  font-weight: 600;
  border-radius: 50px;
  box-shadow: var(--box-shadow);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn:hover {
  background-color: #F4C430;
  /* Darker yellow */
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #246B44;
  /* Darker green */
}

/* Header */
header {
  background-color: var(--color-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: var(--spacing-sm) 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 90px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  color: var(--color-text);
}

.nav-links a:hover {
  color: var(--color-primary);
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-background);
  overflow: hidden;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  /* Anchor image to bottom so kids aren't cut off */
  filter: brightness(0.7);
  /* Darken slightly for text readability */
  border-radius: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  max-width: 800px;
  padding: var(--spacing-md);
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--color-white);
  /* Override default primary color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: var(--spacing-xs);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Features Section */
.section {
  padding: var(--spacing-lg) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.feature-card {
  background: var(--color-white);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: var(--spacing-sm);
}

/* Footer */
footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-lg) 0;
  text-align: center;
}

footer a {
  color: var(--color-secondary);
}

/* Mobile */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
    /* Simple mobile hide for now - would add hamburger later */
  }
}