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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
}

header {
  display: flex;
  justify-content: space-between;
  padding: 15px 50px;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
}

nav a.active,
nav a:hover {
  color: #2563eb;
}

.hero {
  height: 70vh;
  background: url("https://images.unsplash.com/photo-1564013799919-ab600027ffc6") center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
}

.btn {
  padding: 10px 15px;
  background: #2563eb;
  color: white;
  border-radius: 8px;
  text-decoration: none;
}

.container {
  padding: 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

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

.card-content {
  padding: 15px;
}

.price {
  color: green;
}

footer {
  text-align: center;
  padding: 20px;
  background: #1f2937;
  color: white;
  margin-top: auto;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
}

#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

#lightbox img {
  max-width: 90%;
}