@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');

/* 1. Root & Box‑Sizing */
html {
  font-size: 100%; /* 1rem = 16px */
}
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Global Styles */
body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #181818;
  color: #f4f4f4;
  line-height: 1.6;
  font-size: 1rem; /* use rem everywhere */
}

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

/* 4. App Wrapper */
.App {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

/* 5. Example Responsive Typography */
h1, .hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
h2, .section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}
p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
}

/* 6. Auto‑Fit Grid Utility */
.stats-grid,
.events-grid,
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* 7. Button Example */
.cta-button,
.secondary-button {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 50px;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.2s;
}
.cta-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

/* 8. Key Breakpoints */
@media (max-width: 768px) {
  .container { width: 95%; }
  .stats-grid,
  .events-grid,
  .sponsors-grid {
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .cta-button,
  .secondary-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}
