/* styles.css (flexbox layout, no grid or CSS variables) */

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

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #222222;      /* charcoal */
  background: #F9F9F9;  /* light */
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}
.logo {
  height: 50px;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.main-nav a {
  text-decoration: none;
  color: #222222;
  font-weight: bold;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}
.btn-primary {
  background: #BC9858;  /* gold */
  color: #fff;
}
.btn-secondary {
  background: #6C5A3A;  /* accent brown */
  color: #fff;
}

/* Hero */
.hero {
  background: #222222;
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* Why AI (flexbox fallback) */
.why-ai {
  padding: 3rem 0;
}
.why-ai h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}
.why-ai ul {
  display: flex;
  flex-wrap: wrap;
  margin: -1rem;
}
.why-ai li {
  background: #fff;
  padding: 1rem;
  border-left: 4px solid #BC9858;
  flex: 1 1 250px;
  margin: 1rem;
}

/* Services (flexbox fallback) */
.services {
  padding: 3rem 0;
}
.services h2 {
  text-align: center;
  margin-bottom: 2rem;
}
.service-cards {
  display: flex;
  flex-wrap: wrap;
  margin: -1rem;
}
.service-cards .card {
  background: #fff;
  padding: 1.5rem;
  border: 1px solid #eee;
  border-radius: 8px;
  text-align: center;
  flex: 1 1 240px;
  margin: 1rem;
  max-width: calc(33.333% - 2rem);
}
.service-cards .card h3 {
  margin-bottom: 0.75rem;
  color: #6C5A3A;
}

/* Responsive adjustments for service cards */
@media (max-width: 900px) {
  .service-cards .card {
    max-width: calc(50% - 2rem);
  }
}
@media (max-width: 600px) {
  .service-cards .card {
    max-width: 100%;
  }
}

/* Footer */
.site-footer {
  background: #222222;
  color: #fff;
  text-align: center;
  padding: 2.5rem 0;
}
.footer-inner h2 {
  margin-bottom: 0.5rem;
}
.footer-inner p {
  margin-bottom: 1rem;
}
.footer-inner .small {
  font-size: 0.875rem;
  color: #ccc;
  margin-top: 2rem;
}

/* Responsive tweaks for Hero */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}
