/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fdfdfd;
}

/* Header */
.header {
  background: #ffffff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2b6777;
}
.logo span {
  color: #52ab98;
}

nav ul {
  display: flex;
  list-style: none;
}
nav ul li {
  margin-left: 1.5rem;
}
nav ul li a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}
nav ul li a:hover {
  color: #52ab98;
}

/* Hero */
.hero {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.3)),
    url('https://via.placeholder.com/1600x700?text=OptiM+Skincare+Hero') center/cover no-repeat;
  color: white;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  background: #52ab98;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}
.btn:hover {
  background: #2b6777;
}

/* Products */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.products h2, .about h2, .contact h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #2b6777;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.product-card {
  background: white;
  padding: 1rem;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.product-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* About */
.about p {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

/* Contact */
form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 0 auto;
}
form input, form textarea {
  margin-bottom: 1rem;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}
form textarea {
  resize: vertical;
  height: 150px;
}

/* Footer */
.footer {
  background: #2b6777;
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
}

