/* Gallery Page */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: #fefefe;
  color: #333;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #004d40;
  color: white;
}
.navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
}
.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.navbar ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}
.navbar ul li a:hover,
.navbar ul li a.active {
  text-decoration: underline;
}

.gallery-header {
  text-align: center;
  padding: 2rem;
  background: #e3f2fd;
}
.gallery-header h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.filter-buttons button {
  padding: 0.5rem 1rem;
  background: #00796b;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.filter-buttons button.active,
.filter-buttons button:hover {
  background: #004d40;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 2rem;
}
.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
}

footer {
  background-color: #012c3b;
  color: white;
  text-align: center;
  padding: 10px 0;
  margin-top: 120px;
}

/* Responsive */
@media (max-width: 768px) {
  .features {
    flex-direction: column;
  }
  .navbar ul {
    flex-direction: column;
    gap: 1rem;
  }
}