.header-btn {
  margin: 2rem auto 1rem;
  text-align: center;
}

.header-btn a {
  background-color: #8B5A2B;
  color: white;
  padding: 0.6rem 1.4rem;
  border-radius: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s;
}

.header-btn a:hover {
  background-color: #714320;
}

.main-image {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  margin: 2rem auto;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 20px 0;
}

.gallery-photo {
  width: 280px;
  height: 185px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

#gallery .gallery-item {
  width: calc(25% - 1rem);
  position: relative;
}

@media (max-width: 992px) {
  #gallery .gallery-item {
    width: calc(33.333% - 1rem);
  }
}

@media (max-width: 768px) {
  #gallery .gallery-item {
    width: calc(50% - 1rem);
  }
}

@media (max-width: 576px) {
  #gallery .gallery-item {
    width: 100%;
  }
}

#gallery img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.lg-close {
  top: 10px;
  right: 10px;
  font-size: 28px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  padding: 4px 10px;
  color: white !important;
  z-index: 9999;
}

@media (max-width: 768px) {
  .lg-close {
    font-size: 32px;
    padding: 6px 14px;
  }
}

