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

/* =========================
   GALLERY HERO SPLIT
   ========================= */

.gallery-hero-split {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* image gets more space */
  background-color: var(--color-bg-main);
  align-items: center;
  padding-top: 8rem;   /*  creates space below navbar */
}


/* Left: portrait image */
.gallery-hero-image {
  display: flex;
  justify-content: center;
}

.gallery-hero-image img {
  height: 88vh;        
  width: auto;
  max-width: 95%;
  object-fit: contain;
  border-radius: var(--radius);
}


/* Right: title + text */
.gallery-hero-text {
  padding-right: 7rem;
  max-width: 420px;
}

.gallery-hero-text h1 {
  font-family: var(--font-heading);
  font-size: 3.4rem;   /* 👈 bigger, more confident */
  font-weight: 500;
  color: var(--color-text-main);
  margin-bottom: 1.25rem;
}

.gallery-hero-text p {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.gallery-hero-text h1::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent);
  margin-top: 1rem;
}


/* Gallery grid */
.gallery-grid {
  column-count: 3;
  column-gap: 2rem;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
  break-inside: avoid;
  border-radius: var(--radius);
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: translateY(-4px);
}


.gallery-categories {
  padding: 3rem 0 1rem;
}

.category-list {
  display: flex;
  justify-content: center;
  gap: 3rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  cursor: pointer;
  position: relative;
}

.category-list li::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 4px;
  height: 4px;
  background-color: var(--color-accent);
  border-radius: 50%;
  transform: translateX(-50%) scale(0);
  transition: transform 0.25s ease;
}

.category-list li:hover::after,
.category-list li.active::after {
  transform: translateX(-50%) scale(1);
}

.category-list li.active {
  color: var(--color-text-main);
}

/* Gallery CTA */
.gallery-cta {
  text-align: center;
  padding: 6rem 0 5rem;
  background: rgba(196, 106, 74, 0.08); /* soft terracotta wash */
}

.gallery-cta p {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-text-main);
  margin-bottom: 1.5rem;
}

/* CTA button */
.btn-cta {
  background-color: var(--color-accent);
  color: #fff;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(196, 106, 74, 0.35);
}


/* Mobile adjustments */
@media (max-width: 768px) {
  .gallery-hero-split {
    grid-template-columns: 1fr;
    padding-top: 6rem;
    padding-bottom: 3rem;
  }

  .gallery-grid {
    column-count: 1;
  }

  .gallery-hero-image img {
    height: 65vh;
  }

  .gallery-hero-text {
    padding: 2.5rem;
    text-align: center;
    margin: 0 auto;
  }

  .gallery-hero-text h1 {
    font-size: 2.6rem;
  }
  .category-list {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}
