/* Header Styling */
.top-header {
  background-color: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
}

.original-navigation li {
  color: #000;
}

.burger-icon .line {
  background-color: #000;
}

.close-icon {
  color: #000;
}

.slide-navigation {
  background-color: #fff;
}

.slide-navigation li {
  border-bottom: 1px solid #000;
}

.slide-navigation a {
  color: #000;
}

hr {
  width: 180px;
  height: 2px;
  background-color: black;
  border-radius: 500px;
  margin-bottom: 20px;
}

.page-content .inner-section {
  display: flex;
  margin-top: 30px;
  background-color: #fff;
  flex-wrap: wrap;
}

.gallery-container {
  margin: 20px auto;
  padding: 10px;
}

.sorting {
  margin-bottom: 20px;
  font-weight: bold;
}

select {
  padding: 8px;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid #000;
}

/*Filter buttons*/
.filter-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  background-color: #f0f0f0;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  background-color: #333;
  color: #fff;
  transform: scale(1.05);
}

.filter-btn.active {
  background-color: #333;
  color: #fff;
  box-shadow: 0 3px 10px rgba(50, 50, 50, 0.4);
}

/* Grid-Gallery Section*/
.gallery-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px;
  background-color: #fff;
  text-align: center;
}

.gallery-title {
  margin-bottom: 20px;
  font-size: 2.4rem;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  justify-items: center;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1; /* keeps images square */
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

.load-more {
  display: block;
  margin: 2rem auto;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.load-more:hover {
  background-color: #222;
}

/* Fullscreen lightbox */
.lightbox {
  display: none; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9); 
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.lightbox.show {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

#lightbox-nav {
  position:absolute;
  top:50%;
  width:100%;
  display:flex;
  justify-content: space-between;
  pointer-events: none;
}

.lightbox-arrow {
  pointer-events: auto;
  font-size:50px;
  color:white;
  margin: 0 20px;
  cursor: pointer;
  user-select: none;
}


/*Scroll toTop Button*/
#scrollTopBtn {
  display: none;
  position: fixed;
  height: 60px; width: 60px;
  bottom: 40px; right: 40px;
  font-size: 24px;
  border:none;
  background-color:#333;
  color:white;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(58, 58, 58, 0.3);
}