body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f4f1e8;
  color: #222;
}

header {
  background-color: #d7c7a3;
  padding: 25px;
  text-align: center;
}

header h1 {
  font-family: 'Cinzel', serif;
}

nav {
  background-color: #333;
  padding: 12px;
  text-align: center;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 12px;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

main {
  max-width: 1000px;
  margin: 25px auto;
  padding: 0 20px;
}

section {
  background-color: white;
  padding: 20px;
  margin-bottom: 25px;
  border: 1px solid #ccc;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #333;
  color: white;
}

/* Home page about section */
.about-section {
  display: flex;
  gap: 25px;
  align-items: center;
}

.about-text {
  flex: 2;
}

.hero-card {
  flex: 1;
  background: #1f2937;
  padding: 18px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.25);
  animation-name: floatCard;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.hero-card img {
  width: 100%;
  border-radius: 12px;
}

/* Product cards on home page */
.products {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.product-card {
  width: 30%;
  box-sizing: border-box;
  border: 1px solid #ccc;
  padding: 15px;
  background-color: #fafafa;
}

.product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.product-card a {
  color: inherit;
  text-decoration: none;
}

.product-card:hover {
  background-color: #f3f3f3;
}

/* Individual product pages */
.product-page {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.product-image {
  width: 35%;
}

.product-image img {
  width: 100%;
  height: auto;
  border: 1px solid #ccc;
}

.product-info {
  width: 65%;
}

.product-short {
  font-style: italic;
}

/* Required CSS animation */
@keyframes floatCard {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Smaller screens */
@media (max-width: 750px) {
  .about-section,
  .products,
  .product-page {
    flex-direction: column;
  }

  .product-card,
  .product-image,
  .product-info {
    width: 100%;
  }

  nav a {
    display: block;
    margin: 8px 0;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #999;
  font-size: 16px;
  font-family: Arial, sans-serif;
}

.contact-form button {
  width: 200px;
  padding: 12px;
  background-color: #333;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #555;
}