html {
  overflow-y: scroll;
}
* {
  box-sizing: border-box;
}
body, header, nav {
  margin: 0;
}
body {
  font-family: Georgia, serif;
  background-color: #faf6f0;
  color: #3a2e26;
  max-width: 700px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
}
h1 {
  font-size: 42px;
  color: #6b4e3d;
}
p {
  font-size: 18px;
  color: #5a4a3f;
}
h2 {
  font-size: 30px;
  color: #6b4e3d;
  margin-top: 50px;
}
.products {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.photo {
  background-color: #ece3d8;
  height: 160px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9a8878;
  font-size: 14px;
  margin-bottom: 12px;
}
.card h3 {
  color: #6b4e3d;
  margin: 8px 0 4px 0;
}
.card p {
  font-size: 15px;
}
.site-header {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 960px;
  padding: 30px 20px 0;
}
.site-logo {
  display: block;
  max-width: 700px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  padding-bottom: 10px;
}
.navbar {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 20px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e0d5c8;
}
.navbar a {
  color: #6b4e3d;
  text-decoration: none;
  font-size: 17px;
}
.navbar a:hover {
  color: #a67c52;
  text-decoration: underline;
}
.about {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-top: 20px;
  text-align: left;
}
.about-text {
  flex: 1;
}
.about-photo {
  flex: 1;
  background-color: #ece3d8;
  height: 220px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9a8878;
  font-size: 14px;
}
.hero {
  padding: 60px 0;
}
.hero-btn {
  display: inline-block;
  margin-top: 20px;
  background-color: #6b4e3d;
  color: #faf6f0;
  text-decoration: none;
  font-size: 17px;
  padding: 14px 32px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}
.hero-btn:hover {
  background-color: #543d30;
}
.contact-form {
  display: flex;
  flex-direction: column;
  text-align: left;
  max-width: 500px;
  margin: 30px auto 0;
  gap: 8px;
}
.contact-form label {
  color: #6b4e3d;
  font-size: 15px;
  margin-top: 12px;
}
.contact-form input,
.contact-form textarea {
  font-family: Georgia, serif;
  font-size: 15px;
  color: #3a2e26;
  background-color: #ffffff;
  border: 1px solid #e0d5c8;
  border-radius: 8px;
  padding: 12px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #a67c52;
}
.contact-form .hero-btn {
  align-self: flex-start;
  margin-top: 20px;
  border: none;
  font-family: Georgia, serif;
  cursor: pointer;
}
.features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #e0d5c8;
}
.feature {
  text-align: center;
}
.feature h3 {
  color: #6b4e3d;
  font-size: 20px;
  margin: 0 0 10px 0;
}
.feature p {
  font-size: 15px;
}
.site-footer {
  margin-top: 60px;
  padding: 20px 0;
  border-top: 1px solid #e0d5c8;
  text-align: center;
  color: #9a8878;
  font-size: 13px;
}
.site-footer p {
  color: #9a8878;
  font-size: 13px;
  margin: 4px 0;
}

@media (max-width: 600px) {
  body {
    margin: 20px auto;
    padding: 0 16px;
  }
  .site-header {
    padding: 16px 16px 0;
  }
  .site-logo {
    max-width: 280px;
    padding-bottom: 6px;
  }
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  p {
    font-size: 16px;
  }
  .navbar {
    gap: 14px 20px;
    flex-wrap: wrap;
    padding: 16px 0;
    margin-bottom: 16px;
  }
  .navbar a {
    font-size: 16px;
    padding: 4px 0;
  }
  .hero {
    padding: 30px 0;
  }
  .hero-btn {
    font-size: 16px;
    padding: 12px 24px;
  }
  .products {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
  }
  .card {
    padding: 14px;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
    padding-top: 30px;
  }
  .about {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .about-text {
    text-align: left;
  }
  .about-photo {
    width: 100%;
    height: 180px;
  }
  .contact-form {
    max-width: 100%;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }
}
