* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #fff8fa;
  color: #222;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #111;
  color: white;
  padding: 18px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: bold;
}

.logo span {
  color: #ffb6c8;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 22px;
}

nav a:hover {
  color: #ffb6c8;
}

.hero {
  min-height: 85vh;
  background:
    linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
    url("https://images.unsplash.com/photo-1445205170230-053b83016050") center/cover;
  display: flex;
  align-items: center;
  padding: 0 8%;
  color: white;
}

.hero-content {
  max-width: 650px;
}

.hero h1 {
  font-size: 58px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 21px;
  margin-bottom: 30px;
}

.btn, button {
  background: linear-gradient(135deg, #ffb6c8, #d6336c);
  border: none;
  padding: 13px 25px;
  border-radius: 30px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
}

.info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 40px 8%;
}

.info div {
  background: white;
  padding: 25px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
  font-size: 18px;
}

.section {
  padding: 60px 8%;
  text-align: center;
}

.section h2 {
  font-size: 38px;
  margin-bottom: 30px;
}

.filter {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 35px;
}

input, select, textarea {
  width: 100%;
  padding: 13px;
  border-radius: 12px;
  border: 1px solid #ddd;
  margin-bottom: 13px;
}

.filter input,
.filter select {
  max-width: 260px;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
  transition: .3s;
}

.card:hover {
  transform: translateY(-8px);
}

.card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
  text-align: left;
}

.price {
  color: #d6336c;
  font-size: 21px;
  font-weight: bold;
  margin: 10px 0;
}

.category {
  background: #ffe1ea;
  color: #d6336c;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
}

.admin-section {
  background: #111;
  color: white;
}

.admin-card,
.admin-box {
  background: white;
  color: #222;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,.12);
}

.admin-card {
  max-width: 400px;
  margin: auto;
}

.admin-panel {
  margin-top: 30px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.admin-box {
  text-align: left;
}

.admin-box h3 {
  margin-bottom: 18px;
  color: #d6336c;
}

.list-item {
  background: #fff3f6;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.delete {
  background: #111;
  padding: 9px 14px;
  margin-top: 10px;
}

.logout {
  margin-bottom: 25px;
}

.hidden {
  display: none;
}

.contact {
  background: #fff;
  padding: 55px 8%;
  text-align: center;
}

.contact h2 {
  margin-bottom: 20px;
}

footer {
  background: #000;
  color: white;
  text-align: center;
  padding: 18px;
}

@media(max-width: 950px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
  }

  nav a {
    margin: 8px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .info,
  .products,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .filter {
    flex-direction: column;
    align-items: center;
  }
}