/* =========================================================
   ABOUT & GALLERY PAGE — Styles
   ========================================================= */

/* --- Hero Banner --- */
.about-hero {
  position: relative;
  height: 340px;
  background: url('https://images.unsplash.com/photo-1488085061387-422e29b40080?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 0;
  padding-top: 60px;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6, 78, 59, .7), rgba(6, 78, 59, .45));
}

.about-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.about-hero__tag {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 10px;
}

.about-hero__heading {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.about-hero__sub {
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, .85);
  max-width: 520px;
  margin: 0 auto;
}

/* ===== ABOUT INTRO (Learn More Section) ===== */
.about-intro {
  padding: 72px 0 52px;
  background: var(--white);
}

.about-intro__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-intro__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 64px;
}

.about-intro__row:last-child {
  margin-bottom: 0;
}

.about-intro__row--reverse .about-intro__img-wrap {
  order: 2;
}

.about-intro__row--reverse .about-intro__text {
  order: 1;
}

.about-intro__img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
}

.about-intro__img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.about-intro__img-wrap:hover img {
  transform: scale(1.04);
}

.about-intro__tag {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--orange);
  margin-bottom: 8px;
}

.about-intro__title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
  margin-bottom: 16px;
}

.about-intro__desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-intro__highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-intro__highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--charcoal);
}

.about-intro__highlight i {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(6, 95, 70, .08);
  color: var(--emerald);
  font-size: 0.72rem;
  flex-shrink: 0;
}

/* ===== STATS BAR ===== */
.about-stats {
  background: var(--emerald-dark);
  padding: 44px 0;
}

.about-stats__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.about-stats__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.1;
  margin-bottom: 6px;
}

.about-stats__label {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== GALLERY ===== */
.about-gallery {
  padding: 72px 0 80px;
  background: #f8f8f6;
}

.about-gallery__container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-gallery .section-header {
  text-align: center;
  margin-bottom: 42px;
}

/* Masonry-style grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

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

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .55) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity .35s ease;
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__overlay span {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}

/* Spanning items */
.gallery-item--tall {
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

/* Loading / Empty states */
.gallery-loading,
.gallery-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray);
  font-size: 0.84rem;
}

.gallery-loading i,
.gallery-empty i {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--emerald);
}

/* ===== PAGINATION ===== */
.gallery-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.gallery-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1.5px solid rgba(0, 0, 0, .1);
  border-radius: 6px;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
}

.gallery-pagination__btn:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.gallery-pagination__btn--active {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
}

.gallery-pagination__btn--active:hover {
  background: var(--emerald-dark);
  color: var(--white);
}

.gallery-pagination__btn:disabled {
  opacity: .4;
  cursor: default;
  pointer-events: none;
}

.gallery-pagination__btn--arrow {
  font-size: 0.7rem;
}

/* ===== LIGHTBOX ===== */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, .9);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s ease, visibility .3s ease;
}

.gallery-lightbox.open {
  visibility: visible;
  opacity: 1;
}

.gallery-lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
  transform: scale(.92);
  transition: transform .35s ease;
}

.gallery-lightbox.open .gallery-lightbox__img {
  transform: scale(1);
}

.gallery-lightbox__caption {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, .5);
  padding: 8px 22px;
  border-radius: 20px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.gallery-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s ease;
}

.gallery-lightbox__close:hover {
  background: var(--orange);
}

.gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s ease;
}

.gallery-lightbox__nav:hover {
  background: var(--orange);
}

.gallery-lightbox__nav--prev {
  left: 20px;
}

.gallery-lightbox__nav--next {
  right: 20px;
}

/* ===== CTA BANNER ===== */
.about-cta {
  background: var(--emerald);
  padding: 60px 0;
  text-align: center;
}

.about-cta__container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

.about-cta__title {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.about-cta__sub {
  font-size: 0.84rem;
  font-weight: 300;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 28px;
}

.about-cta__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.about-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background .3s ease, transform .3s ease;
}

.about-cta__btn--primary {
  background: var(--orange);
  color: var(--white);
}

.about-cta__btn--primary:hover {
  background: #c85f16;
  transform: translateY(-2px);
}

.about-cta__btn--secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .4);
}

.about-cta__btn--secondary:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .7);
  transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-intro__container {
    padding: 0 20px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }
}

@media (max-width: 768px) {
  .about-hero {
    height: 280px;
    padding-top: 56px;
  }

  .about-hero__heading {
    font-size: 1.9rem;
  }

  .about-intro {
    padding: 48px 0 36px;
  }

  .about-intro__row {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 48px;
  }

  .about-intro__row--reverse .about-intro__img-wrap {
    order: 0;
  }

  .about-intro__row--reverse .about-intro__text {
    order: 0;
  }

  .about-intro__img-wrap img {
    height: 280px;
  }

  .about-stats__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

  .about-stats__number {
    font-size: 1.7rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 10px;
  }

  .gallery-item--wide {
    grid-column: span 2;
  }

  .about-cta__title {
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
  .about-hero__heading {
    font-size: 1.5rem;
  }

  .about-hero__sub {
    font-size: 0.74rem;
  }

  .about-intro__container {
    padding: 0 12px;
  }

  .about-intro__title {
    font-size: 1.35rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 140px;
    gap: 8px;
  }

  .gallery-item--tall {
    grid-row: span 2;
  }

  .gallery-item--wide {
    grid-column: span 1;
  }

  .gallery-lightbox__nav {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .gallery-lightbox__nav--prev { left: 10px; }
  .gallery-lightbox__nav--next { right: 10px; }

  .about-cta__btns {
    flex-direction: column;
  }

  .about-cta__btn {
    justify-content: center;
  }
}
