body {
  margin: 0;
  font-family: Georgia, serif;
  line-height: 1.6;
  color: #333;
  background: white;
}

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

/* =========================
   NAVBAR (CLEAN CENTERED GRID)
========================= */

.navbar {
  position: sticky;
  top: 0;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 1000;
}

.navbar .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* logo (left) */
.logo {
  font-weight: bold;
  font-size: 1.2rem;
  justify-self: start;
  white-space: nowrap;
}

/* nav links (center) */
.nav-links {
  display: flex;
  gap: 1rem;
  justify-self: center;
}

/* right controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

/* hamburger */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* =========================
   MOBILE NAV
========================= */

@media (max-width: 768px) {

  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    width: 220px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    padding: 1rem;
    z-index: 2000;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* =========================
   HERO
========================= */

.hero {
  text-align: center;
  padding: 3rem 1rem;
  background: #f5f5f5;
}

/* =========================
   BUTTONS
========================= */

.btn {
  background: #0066cc;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
}

.btn.secondary {
  background: #555;
}

/* =========================
   ARTICLES
========================= */

.articles-grid {
  padding: 2rem;
}

.article-card {
  border: 1px solid #ddd;
  padding: 1rem;
  margin-bottom: 1rem;
}

.article-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* =========================
   PLACEHOLDERS
========================= */

.placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 260px;
  background: #f7f7f7;
  border: 2px dashed #cfcfcf;
  text-align: center;
}

/* =========================
   ABOUT
========================= */

.about-page {
  max-width: 850px;
  margin: 3rem auto;
}

.about-page .section {
  margin-bottom: 3rem;
}

.about-page h2 {
  margin-bottom: .75rem;
  border-bottom: 2px solid #0066cc;
  display: inline-block;
  padding-bottom: .3rem;
}

/* =========================
   CONTACT
========================= */

.contact-page {
  max-width: 800px;
  margin: 3rem auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

/* =========================
   FUTURE TOOLS
========================= */

.future-tools {
  padding-bottom: 3rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1.2rem;
}

.badge {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  border-radius: 4px;
  font-weight: bold;
}

.badge.planning {
  background: #ffe08a;
}

.badge.concept {
  background: #d6e4ff;
}

/* =========================
   FOOTER
========================= */

footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 2rem;
}

/* =========================
   DARK MODE
========================= */

body.dark {
  background: #121212;
  color: #eaeaea;
}

body.dark .navbar {
  background: #1e1e1e;
}

body.dark .article-card,
body.dark .project-card {
  background: #1e1e1e;
  border-color: #333;
}

body.dark .hero,
body.dark .newsletter {
  background: #181818;
}

body.dark footer {
  background: #0d0d0d;
}

body.dark a {
  color: #7ab7ff;
}

/* =========================
   THEME BUTTON
========================= */

.theme-toggle {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
}
/* =========================
   THANK YOU PAGE
========================= */

.thank-you {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px);
  text-align: center;
  padding: 2rem 1rem;
}

.message-wrapper {
  max-width: 450px;
  background: #ffffff;
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* override heading spacing just for this page */
.thank-you h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.thank-you p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #555;
}

/* make sure button looks consistent */
.thank-you .btn {
  display: inline-block;
}
