/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

body {
  background-color: #fff;
  color: #000;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #000;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
}

header h1 {
  font-size: 1.8rem;
  color: #9AC66D;
  font-weight: 900;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
}

nav a:hover {
  color: #9AC66D;
}

/* Search + Login */
header div {
  display: flex;
  align-items: center;
  gap: 10px;
}

header input[type="text"] {
  padding: 6px 12px;
  border-radius: 20px;
  border: none;
  outline: none;
}

header button {
  background-color: #9AC66D;
  border: none;
  padding: 7px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
}

header button:hover {
  background-color: #82af54;
}

/* Hero Section (Home) */
section.hero {
  background-color: #e8f1e2;
  background: url('../Images/main.jpeg') center/cover;
  margin: 20px 50px;
  padding: 80px;
  height:500px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

section.hero h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #000;
}

section.hero h2 span {
  color: #7ea753;
}

section.hero p {
  margin-top: 10px;
  font-size: 1rem;
}

section.hero button {
  margin-top: 20px;
  background-color: #9AC66D;
  border: none;
  padding: 10px 25px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
}

/* Product Cards */
section.products {
  margin: 40px 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  text-align: center;
}

article {
  background-color: #f6f6f6;
  border-radius: 10px;
  padding: 20px;
}

article img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

article h3 {
  font-size: 1rem;
  font-weight: bold;
}

article p strong {
  color: #7ea753;
  font-size: 1.2rem;
}

article button {
  margin-top: 10px;
  background-color: #9AC66D;
  color: black;
  border: none;
  padding: 8px 25px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

/* Newsletter */
section.newsletter {
  margin: 60px 50px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

section.newsletter h3 {
  font-size: 1.2rem;
  width: 60%;
  font-weight: 700;
}

section.newsletter form {
  display: flex;
  align-items: center;
}

section.newsletter input[type="email"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px 0 0 8px;
  outline: none;
}

section.newsletter button {
  background-color: #9AC66D;
  border: none;
  padding: 10px 20px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  font-weight: bold;
}

/* Footer */
footer {
  background-color: #000;
  color: white;
  padding: 30px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  color: #9AC66D;
  font-weight: 900;
  font-size: 1.5rem;
}

footer ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

footer a {
  color: #9AC66D;
  font-size: 1.2rem;
  text-decoration: none;
}

footer a:hover {
  color: white;
}
