/* Font Pairing: Montserrat (Logo-Matched Headings) + Inter (Clean UI Body Text) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@700;800;900&display=swap');
/* 🎯 Light Theme Body Canvas Base Layer with Clear Typography Styling */
body {
  font-family: 'Inter', sans-serif;   
  margin: 0;
  padding: 0;
  color: #111111; /* Brand Dark Charcoal Text */
  text-align: center;
  background-color: #ffffff;
}

h1, h2, h3 {
 font-family: 'Montserrat', sans-serif;
  color: #111111; /* Brand Dark Charcoal Titles */
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

/* --- Gallery Header Navigation Hub (White/Charcoal/Lime Variant) --- */
.gallery-bespoke-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: #ffffff;
  border-bottom: 3px solid #76C034; /* Brand Logo Lime Accent Border */
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 25px rgba(17, 17, 17, 0.08);
}

.btn-antique-outline {
  
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #76C034; /* Logo Lime Text */
  text-decoration: none;
  padding: 12px 28px;
  border: 1px solid #76C034; /* Fine Lime Hairline Border */
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  background: transparent;
}

.btn-antique-outline:hover {
  background: #76C034;
  color: #ffffff; /* High contrast inverse color mapping */
  transform: translateY(-2px);
}

/* --- Collage Grid Section --- */
.collage-gallery {
  position: relative;
  padding: 40px 0;
  /* SAFE GRID MATRIX EFFECT: Rendered inline directly on the background canvas */
  background-color: #ffffff;
  background-image: 
    linear-gradient(rgba(17, 17, 17, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: top left;
}

.collage-header {
  text-align: center;
  margin-bottom: 60px;
}

.heritage-tag {
  
  font-size: 11px;
  letter-spacing: 6px;
  color: #76C034; /* Brand Logo Lime Tagline */
  text-transform: uppercase;
  font-weight: 700;
}

.collage-title {
  
  font-size: 3.5rem;
  color: #111111; /* Brand Dark Charcoal Main Heading */
  margin: 15px 0;
  text-transform: uppercase;
  font-weight: 900;
  text-decoration: none;
}

/* Color modifications inside title highlights */
.collage-title span {
  
  font-style: normal;
  font-weight: 400;
  color: #76C034; /* Accent text highlights shift to Logo Lime */
}

.ornate-separator {
  color: #76C034;
  font-size: 20px;
  opacity: 0.45;
}

/* The Masonry Grid Layout Engine */
.collage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4%;
  box-sizing: border-box;
}

.collage-item {
  position: relative;
  overflow: hidden;
  background: #faf9f6; /* Pale grey-white step-down canvas background */
  border: 1px solid rgba(118, 192, 52, 0.35); /* Elegant Logo Lime framing outline */
  display: block;
}

.item-wide { grid-column: span 2; }
.item-tall { grid-row: span 2; }

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
  opacity: 1; /* Clean visibility brightness for light grid layouts */
}

/* Hover Caption Overlap Card */
.collage-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 17, 17, 0.95); /* Deep high opacity Charcoal mask layer protection */
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  text-align: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.collage-item:hover .collage-caption {
  opacity: 1;
}

.collage-item:hover img {
  transform: scale(1.04);
  opacity: 0.15;
}

.category {
  
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #76C034; /* Brand Logo Lime metadata labels */
  margin-bottom: 12px;
  font-weight: 700;
}

.collage-caption h3 {
  
  font-size: 1.35rem;
  color: #ffffff; /* White text over Dark Charcoal hover mask layer */
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

/* ==========================================================================
   Responsive Adaptations (Tablets & Mobile Viewports)
   ========================================================================== */
@media (max-width: 1024px) {
  .collage-gallery {
    padding: 60px 0;
  }

  .collage-grid { 
    grid-template-columns: repeat(2, 1fr); 
  }
  
  .item-wide, .item-tall { 
    grid-column: span 1; 
    grid-row: span 1; 
  }
  
  .collage-title { 
    font-size: 2.5rem; 
  }
}

@media (max-width: 767px) {
  .collage-gallery {
    padding: 40px 0;
    background-size: 40px 40px; /* Tighter matrix structure on responsive views */
  }

  .collage-grid { 
    grid-template-columns: 1fr; 
    grid-auto-rows: 250px; 
    gap: 15px;
  }
  
  .collage-title { 
    font-size: 2rem; 
  }
  
  .gallery-bespoke-header { 
    background: #ffffff; 
    padding: 12px 4%;
  }
}

/* SVG Corporate Logo Controller */
.logo-control {
  display: block;
  width: 200px; 
  height: auto;
  max-height: 70px;
  object-fit: contain;
}