/* smart-home.css */
body {
  margin: 0;
  font-family: 'Kanit', sans-serif;
  background-color: #f5f7fa;
  color: #333;
}

.smart-header {
  background: #202124;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.smart-header h1 {
  margin: 0;
  font-size: 2.5rem;
}

.smart-header span {
  color: #3ecf8e;
}

.smart-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 10px 0;
  margin: 0;
  background: #2d2f33;
}

.smart-nav a {
  text-decoration: none;
  color: #ddd;
  padding: 8px 12px;
  border-radius: 5px;
  transition: 0.3s;
}

.smart-nav a:hover,
.smart-nav a.active {
  background-color: #3ecf8e;
  color: #fff;
}

.smart-main {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

section {
  margin-bottom: 50px;
}

.overview p,
.smart-lifestyle li,
.automation p {
  font-size: 1rem;
  line-height: 1.6;
}

.automation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.auto-block {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.auto-block:hover {
  transform: translateY(-5px);
}

.smart-comparison table {
  width: 100%;
  border-collapse: collapse;
}

.smart-comparison th,
.smart-comparison td {
  padding: 12px;
  border-bottom: 1px solid #ccc;
  text-align: left;
}

.smart-comparison th {
  background-color: #eef1f5;
}

.testimonial blockquote {
  background: #fff;
  padding: 20px;
  font-style: italic;
  border-left: 5px solid #3ecf8e;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
  border-radius: 6px;
}

.newsletter form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.newsletter input[type="email"] {
  flex: 1;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.newsletter button {
  background-color: #3ecf8e;
  border: none;
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
}

.newsletter button:hover {
  background-color: #35b67a;
}

.smart-footer {
  background: #202124;
  color: #bbb;
  padding: 20px;
  text-align: center;
}

.smart-footer ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.smart-footer a {
  color: #3ecf8e;
  text-decoration: none;
}
