/* ==================================================
   GALLERY PAGE – CLEAN & ALIGNED
================================================== */

/* =========================
   HERO (SMALL, LEFT ALIGNED)
========================= */
.gallery-hero {
  min-height: 320px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(43,29,20,.65), rgba(43,29,20,.65)),
    url("../images/gallery/gallery-hero.png") center/cover no-repeat;
  color: #fff;
}

.gallery-hero .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  text-align: left;
}

.gallery-hero .breadcrumb {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 6px;
}

.gallery-hero h1 {
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 10px;
}

.gallery-hero p {
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 520px;
  color: #f1f1f1;
}

/* =========================
   INTRO SECTION
========================= */
.gallery-intro {
  padding: 55px 0;
  background: #f7f3ef;
}

.gallery-intro-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.gallery-intro-content {
  max-width: 560px;
}

.gallery-intro-content h2 {
  font-size: 30px;
  margin-bottom: 12px;
  color: var(--espresso);
}

.gallery-intro-content p {
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 18px;
  color: #555;
}

.gallery-intro-list {
  padding-left: 18px;
}

.gallery-intro-list li {
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--dark-brown);
}

.gallery-intro-image img {
  max-width: 360px;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
}

/* =========================
   FILTERS (CENTERED)
========================= */
.gallery-filters {
  padding: 35px 0;
}

.gallery-filters .container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.gallery-filters button {
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 13px;
  background: #f6efe7;
  border: 1px solid #e0d4c6;
  cursor: pointer;
  transition: .3s;
}

.gallery-filters button.active,
.gallery-filters button:hover {
  background: linear-gradient(135deg,#b87333,#8b5a2b);
  color: #fff;
  border-color: transparent;
}

/* =========================
   GALLERY GRID
========================= */
.gallery-section {
  padding: 40px 0 70px;
}

.gallery-section .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.gallery-pagination-wrapper {
  display: flex;
  align-items: center;
  gap: 18px;
}

.gallery-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 25px;
}

.gallery-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  transition: .35s;
}

.gallery-item:hover {
  transform: translateY(-6px);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-item .caption {
  padding: 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

/* =========================
   PROCESS SECTION (COMPACT & FIXED)
========================= */

.gallery-process {
  background: #f7f3ef;
  padding: 32px 0;   /* MUCH smaller */
}

.gallery-process .container {
  max-width: 1080px;
  margin: auto;
  text-align: center;
}

.gallery-process h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: 22px;
}

/* GRID – FORCE 3 PER ROW */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* EXACTLY 3 */
  gap: 18px;
}

/* CARD – EQUAL HEIGHT */
.process-card {
  background: #ffffff;
  padding: 22px 18px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;

  display: flex;                 /* IMPORTANT */
  flex-direction: column;
  height: 100%;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.12);
}


/* ICON — FIXED VISIBILITY */
.process-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.process-card .icon i {
  font-size: 20px;      /* IMPORTANT: fixes invisible icon */
  line-height: 1;
}

/* TEXT */
.process-card h4 {
  font-size: 14.8px;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: 5px;
}

.process-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: #555;
  margin: 0;
}

/* =========================
   GALLERY CTA
========================= */

.gallery-cta {
  position: relative;
  background-image: url("../images/gallery/background-cta.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 70px 0;
  min-height: 340px;
}

/* DARK OVERLAY */
.gallery-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.gallery-cta .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* =========================
   LAYOUT
========================= */

.gallery-cta-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* =========================
   LEFT CONTENT
========================= */

.gallery-cta-content {
  max-width: 520px;
}

.gallery-cta-content h3 {
  font-size: 26px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.gallery-cta-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #eaeaea;
  margin-bottom: 16px;
}

/* =========================
   CTA LINK
========================= */

.cta-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: #ffcc66;
  text-decoration: none;
  position: relative;
  margin-bottom: 18px;
}

.cta-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #ffcc66;
  transition: width 0.3s ease;
}

.cta-link:hover::after {
  width: 60%;
}

/* =========================
   CONTACT INFO
========================= */

.cta-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta-contact span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: #f2f2f2;
}

.cta-contact i {
  color: #ffcc66;
  font-size: 15px;
}

/* =========================
   RIGHT IMAGE
========================= */

.gallery-cta-image img {
  max-width: 340px;
  width: 100%;
  height: auto;
}

/* =========================
   TEXT SHADOW (READABILITY)
========================= */

.gallery-cta-content h3,
.gallery-cta-content p,
.cta-contact span {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}
/* =========================
   FOOTER GAP FIX (CRITICAL)
========================= */
.site-footer {
  margin-bottom: 0 !important;
  padding-bottom: 0;
}

.site-footer + * {
  display: none !important;
}
/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  .gallery-intro-wrapper,
  .gallery-cta-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .process-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
