
/* index.css - restored gallery index styling */

/* Header styles */
.site-header {
  background-color: #003366;
  padding: 1em 0;
  color: #ffffff;
  text-align: center;
  position: relative;
}
.top-nav {
  position: absolute;
  top: 0.5em;
  right: 1em;
}
.top-nav a {
  color: #ffffff;
  margin-left: 1em;
  text-decoration: none;
  font-weight: bold;
}
.site-title {
  margin: 0;
  font-size: 2em;
}

/* Footer */
.site-footer {
  background-color: #003366;
  color: #ffffff;
  text-align: center;
  padding: 1em;
  margin-top: 2em;
}

/* Filters */
.filters {
  text-align: center;
  padding: 1em;
  background-color: #f9f9f9;
}
.filters a {
  color: #003366;
  margin: 0 0.5em;
  text-decoration: none;
  font-weight: bold;
}

/* Gallery Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1em;
  justify-items: center;
  padding: 1em;
}
.item {
  background-color: #f9f9f9;
  border: 2px solid #003366;
  border-radius: 8px;
  overflow: hidden;
  width: 150px;
  text-align: center;
  transition: transform 0.2s;
}
.item:hover {
  transform: scale(1.03);
}
.item img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}
.title {
  padding: 0.5em;
  font-weight: bold;
}

/* Buttons */
button {
  width: 90%;
  background-color: #003366;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 0.5em 0;
  cursor: pointer;
  margin: 0.5em auto;
  display: block;
}
button:hover {
  background-color: #0055a5;
}

/* Pagination */
.pagination {
  text-align: center;
  padding: 1em;
}
.pagination a, .pagination .current {
  margin: 0 0.25em;
  color: #003366;
  text-decoration: none;
}
.pagination .current {
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  .top-nav {
    position: static;
    margin-bottom: 1em;
  }
}
