/* main.css */

/* 1) Global Reset & Font */
html, body {
  margin: 0;
  padding: 0;
  background: #36393f;
  color: #ddd;
  font-family: 'Roboto Slab', serif;
}

/* 2) Basic Page Layout */
body {
  /* If we want a normal scroll layout, do NOT do `display: flex; align-items: center;` on body. */
  /* Let pages stack top-to-bottom. */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top Navigation */
.top-nav {
  background: #2f3136;
  border-bottom: 1px solid #202225;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-nav .brand a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links li a {
  text-decoration: none;
  color: #ffb300;
  font-weight: 600;
}
.nav-links li a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 20px;
}
.hero h1 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 10px;
}
.hero p.hero-tagline {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 20px;
}
.hero-cta {
  display: inline-flex; /* horizontally stack CTA buttons */
  gap: 15px;
}
.cta-button {
  background: #ffb300;
  color: #000;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
}
.cta-button:hover {
  background: #e6a100;
}

/* About / Explainer Section */
.about-section {
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.about-section h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
  color: #fff;
}
.about-section p {
  color: #ddd;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Features/Tools Section */
.features {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.features h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: #2f3136;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.feature-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #ffb300;
}
.feature-card p {
  margin-bottom: 10px;
  color: #ccc;
}
.feature-card a {
  color: #ffb300;
  text-decoration: none;
  font-weight: 600;
}
.feature-card a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  margin-top: auto; /* push footer to bottom if body is short */
  text-align: center;
  padding: 20px 10px;
  font-size: 0.9rem;
  background: #2f3136;
  color: #ccc;
  border-top: 1px solid #202225;
}
.site-footer a {
  color: #ffb300;
  text-decoration: none;
  margin: 0 5px;
}
.site-footer a:hover {
  text-decoration: underline;
}

/* Media Queries for Responsive Adjustments */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero p.hero-tagline {
    font-size: 1.1rem;
  }
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    padding: 10px 0;
  }
}

/* 
   Done!
   The site-wide layout & coloring is controlled here.
   Each sub-page (Brainstormatron, Intro to LLMs) 
   can add their own specialized container styling.
*/
