/* ===== GALLERY PAGE ===== */

nav a.nav-active { color: var(--saffron); border-bottom: 2px solid var(--saffron); padding-bottom: 2px; }

/* HERO */
.gal-hero {
  position: relative;
  min-height: auto;
  height: auto;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #fff5ee 0%, #fffaf5 50%, #f0fff4 100%);
}
.gal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,106,0,.07) 0%, rgba(19,136,8,.05) 100%);
  z-index: 1;
}
.gal-hero-portrait {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  z-index: 0;
  animation: floatUp .8s ease both;
}
.gal-hero-content {
  display: none !important;
  position: relative;
  z-index: 2;
  padding: 100px 0 50px 0;
  max-width: 600px;
}
.gal-hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--saffron);
  margin-bottom: 10px;
}
.gal-hero-content > p { font-size: 1rem; color: #555; margin-bottom: 20px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: #888; }
.breadcrumb a { color: var(--saffron); font-weight: 600; }
.breadcrumb i { font-size: .65rem; color: #bbb; }

/* MAIN SECTION */
.gal-main { background: #fff; }

/* FILTER TABS */
.gal-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.gf-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 30px;
  border: 2px solid var(--saffron);
  background: transparent;
  color: var(--saffron);
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
  font-size: .82rem;
  font-family: inherit;
}
.gf-btn.active, .gf-btn:hover { background: var(--saffron); color: #fff; }
.gf-count {
  background: rgba(255,255,255,.3);
  border-radius: 20px;
  padding: 1px 7px;
  font-size: .72rem;
  font-weight: 700;
}
.gf-btn.active .gf-count, .gf-btn:hover .gf-count { background: rgba(255,255,255,.25); }
.gf-btn:not(.active) .gf-count { background: rgba(255,106,0,.12); color: var(--saffron); }

/* IMAGE GRID */
.gal-grid {
  columns: 4;
  column-gap: 14px;
}
.gal-item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .4s ease, transform .4s ease, box-shadow .3s;
}
.gal-item.visible { opacity: 1; transform: translateY(0); }
.gal-item:nth-child(2n)  { transition-delay: .05s; }
.gal-item:nth-child(3n)  { transition-delay: .1s; }
.gal-item:nth-child(4n)  { transition-delay: .15s; }
.gal-item:hover { box-shadow: 0 8px 28px rgba(0,0,0,.18); }
.gal-item img {
  width: 100%;
  display: block;
  transition: transform .4s ease;
}
.gal-item:hover img { transform: scale(1.06); }
.gal-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,106,0,.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: .3s;
  color: #fff;
  text-align: center;
}
.gal-item:hover .gal-item-overlay { opacity: 1; }
.gal-item-overlay i { font-size: 1.6rem; margin-bottom: 6px; }
.gal-item-overlay span { font-size: .78rem; font-weight: 600; line-height: 1.4; }
.gal-item.hidden { display: none; }

/* EMPTY STATE */
.gal-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #aaa;
  gap: 14px;
}
.gal-empty i { font-size: 3rem; color: #ddd; }
.gal-empty p { font-size: .95rem; }

/* LIGHTBOX */
.gal-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.gal-lightbox.open { display: flex; }
.glb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.92);
}
.glb-inner {
  position: relative;
  z-index: 1;
  max-width: 88vw;
  text-align: center;
}
.glb-inner img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.glb-inner p {
  color: #eee;
  font-size: .85rem;
  margin-top: 12px;
}
.glb-inner span {
  color: #aaa;
  font-size: .78rem;
  display: block;
  margin-top: 4px;
}
.glb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: .2s;
}
.glb-close:hover { background: var(--saffron); }
.glb-prev, .glb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: .2s;
}
.glb-prev { left: 20px; }
.glb-next { right: 20px; }
.glb-prev:hover, .glb-next:hover { background: var(--saffron); }

/* CTA (reuse from work.css) */
.work-cta {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 70px 0;
}
.work-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.work-cta-text h2 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.work-cta-text h2 span { color: var(--saffron); }
.work-cta-text p { color: #aaa; font-size: .9rem; }
.work-cta-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-cta-green {
  background: var(--green);
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-block;
  transition: .3s;
  font-family: inherit;
}
.btn-cta-green:hover { background: #0f6b06; }

/* SCROLL TOP */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--saffron);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: .3s;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(255,106,0,.4);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }

/* RESPONSIVE */
@media(max-width:1100px) { .gal-grid { columns: 3; } }
@media(max-width:992px) {
  .gal-hero-content { padding: 80px 0 40px 0; }
  .gal-hero-content h1 { font-size: 2.2rem; }
}
@media(max-width:768px)  {
  .gal-grid { columns: 2; }
  .gal-hero-content { padding: 80px 20px 40px; text-align: center; margin: 0 auto; max-width: 100%; }
  .gal-hero { min-height: auto; height: auto; }
}
@media(max-width:480px)  {
  .gal-grid { columns: 1; }
  nav, .header .btn-primary { display: none; }
  .hamburger { display: block; }
}

/* ── FONT INHERIT ─────────────────────────────────── */
input, select, textarea, button { font-family: 'Poppins', sans-serif; }

/* ── FLOAT UP KEYFRAME ────────────────────────────── */
@keyframes floatUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
