
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: #f5f7f4;
  color: #222;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Playfair Display", serif;
}


.gallery-hero {
 
  text-align: center;
  padding: 100px 20px 50px;
    background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
              url('g1.jpg') center center / cover no-repeat;
}

.gallery-hero h1 {
  
  font-size: 44px;
  color: #fff177;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.gallery-hero p {
  color: #ffffff;
  font-size: 17px;
  margin-bottom: 30px;
}


.toggle-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.tab-btn {
  background: #fff;
  border: 1px solid #cfd9cf;
  padding: 10px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  color: #000000;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  background: #f1f8f1;
  transform: translateY(-1px);
}

.tab-btn.active {
  background:rgb(104, 19, 19);
  color: #fff;
  border-color: #2e693b;
  transform: translateY(-2px);
}


.gallery-section {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s ease;
  padding: 70px 30px;
}

.gallery-section.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.gallery-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  color: #204a2c;
}


.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  max-width: 1150px;
  margin: auto;
}

.album-card {
  background: #fff;
  border-radius: 12px;   
  overflow: hidden;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.album-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.album-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}


.album-card h3 {
  text-align: center;
  padding: 14px 0;
  font-size: 18px;
  color: #20502c;
}


.glimpse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1050px;
  margin: auto;
}

.glimpse {
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: 0.3s ease;
}

.glimpse:hover {
  transform: scale(1.05);
}


.follow-btn {
  display: inline-block;
  background: #2e693b;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  padding: 12px 40px;
  border-radius: 30px;
  transition: 0.3s;
  margin: 40px auto 0;
  text-align: center;
}

.follow-btn:hover {
  background: #20582a;
}


.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  z-index: 5000;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s ease;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  animation: fadeZoom 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeZoom {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}


.close-btn,
.prev,
.next {
  position: absolute;
  color: #fff;
  font-size: 38px;
  cursor: pointer;
  user-select: none;
  transition: 0.3s ease;
}

.close-btn {
  top: 20px;
  right: 40px;
  font-weight: bold;
}

.prev, .next {
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 18px;
  border-radius: 50%;
}

.prev:hover,
.next:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.prev { left: 30px; }
.next { right: 30px; }


.caption {
  position: absolute;
  bottom: 30px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.35);
  padding: 8px 16px;
  border-radius: 20px;
}


.gallery-footer {
  text-align: center;
  padding: 18px 10px;
  background: #e9f5e7;
  color: #2b422b;
  font-size: 15px;
  border-top: 1px solid #cddacb;
  margin-top: 50px;
}


@media (max-width: 768px) {
  .gallery-hero {
    padding: 80px 15px 40px;
  }

  .gallery-hero h1 {
    font-size: 36px;
  }

  .album-card img {
    height: 200px;
  }

  .glimpse-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }

  .prev, .next {
    font-size: 30px;
    padding: 6px 14px;
  }

  .close-btn {
    font-size: 32px;
    right: 20px;
  }
}
