/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* General styles */
body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #faf7f4;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navigation */
header {
  background-color: #fff;
  border-bottom: 1px solid #e6e6e6;
}

nav {
  max-width: 1100px;
  margin: auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav h1 {
  font-size: 1.5rem;
  color: #c97c5d;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a:hover {
  color: #c97c5d;
}

/* Hero section */
.hero {
  position: relative;
  text-align: center;
}

.hero img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 8px;
}

.hero-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #c97c5d;
}

.hero-text p {
  margin-bottom: 1.5rem;
}

.button {
  display: inline-block;
  background-color: #c97c5d;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
}

.button:hover {
  background-color: #b56d51;
}

/* About section */
.about {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 1rem;
  text-align: center;
}

.about h2 {
  margin-bottom: 1rem;
  color: #c97c5d;
}

/* Products section */
.products {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.products h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #c97c5d;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding-bottom: 1rem;
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-card h3 {
  margin: 1rem 0 0.5rem;
  color: #c97c5d;
}

.product-card p {
  padding: 0 1rem;
  font-size: 0.95rem;
}

.image-section {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.image-section img {
  width: 100%;        /* scales down to fit container */
  max-height: 400px;  /* controls how tall it can be */
  object-fit: cover;  /* crops nicely instead of stretching */
  border-radius: 8px;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  background-color: #fff;
  border-top: 1px solid #e6e6e6;
  margin-top: 3rem;
  font-size: 0.9rem;
}
