/* Basic Reset */
* {
  box-sizing: border-box;
}

.gallery-wrappe {
  font-family: 'Segoe UI', sans-serif;
  color: #1f2937;
  background: #fff;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  background: url('/assets/image/slider9.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
lay h1 {
  font-size: 4rem;
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #facc15;
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.05em;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px);
  padding: 2rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
.gallery-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}
/* Filter Buttons */
.filter-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2rem;
}

.filter-controls button {
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  background-color: #eee;
  transition: 0.3s;
}

.filter-controls button:hover {
  background-color: #ccc;
}

.filter-controls .active {
  background-color: #333;
  color: white;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* Items */
.gallery-item {
  position: relative;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  text-align: center;
  font-size: 0.85rem;
  color: #444;
  padding: 0.5rem 0;
}

/* Lightbox */
.lightbox-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 10, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 1rem;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.lightbox-content img,
.lightbox-content video {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: white;
  color: black;
  border: none;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  width: 36px;
  height: 36px;
}
