.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Lightbox styles */
#lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.hidden-content {
  display: none !important;
}

/* Site Header */
header {
  padding: 0 !important;
}

.site-header {
  background: url(/assets/images/header-klubovna.jpg) no-repeat center;
  background-size: cover;
  min-height: 200px;
  display: flex;
  align-items: center;
}

.site-branding {
  padding: 2rem 0;
  text-align: center;
}

.site-title {
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  margin: 0;
}

.home-link {
  text-decoration: none;
}

/* Dropdown summary overrides */
details.dropdown summary {
  background: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: whitesmoke !important;
}

details.dropdown summary:focus {
  outline: none !important;
  box-shadow: none !important;
  color: whitesmoke !important;
}

details.dropdown summary::after {
  content: none;
}

nav li a {
  text-decoration: none;
  color: whitesmoke;
  position: relative;
  left: 9px;
  top: -2px;
}

.main-nav {
  background-color: #1f429d;
  margin-bottom: 0;
}

.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
}
