/* Optimized Font Pairing: Unified Clean UI Stack */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&display=swap');

/* 🎯 Light Theme Clean Body Styling */
body {
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  padding: 0;
  /* CHANGED: Swapped white text for Deep Corporate Charcoal to suit light layout rules */
  color: #2D2926; 
  text-align: center;
  /* CHANGED: Transformed dark navy backdrop into our signature Warm Linen canvas */
  background: #FAF9F6; 
}

h1, h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  color: #2D2926;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.5px;
}

/* --- Valu Inn Gallery Header --- */
.gallery-bespoke-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: #ffffff; 
  /* CHANGED: Header bottom flag strip set to Primary Logo Crimson Red */
  border-bottom: 5px solid #9E0B13; 
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(45, 41, 38, 0.08);
}

.btn-antique-outline {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 800;
  /* CHANGED: Outlined button labels default cleanly to deep corporate text color */
  color: #2D2926; 
  text-decoration: none;
  padding: 12px 28px;
  border: 2px solid #2D2926;
  transition: all 0.3s ease;
}

.btn-antique-outline:hover {
  /* CHANGED: Interactive hover filled seamlessly with Logo Crimson Red and white labels */
  background: #9E0B13;
  color: #ffffff;
  border-color: #9E0B13;
  transform: translateY(-2px);
}

/* --- Collage Grid Section --- */
.collage-gallery {
  padding: 80px 5%;
  background: #FAF9F6; /* Matches Warm Linen Core Background */
}

.collage-header {
  text-align: center;
  margin-bottom: 60px;
}

.heritage-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 6px;
  /* CHANGED: Meta tags updated to Primary Crimson Red for sharp visual clarity */
  color: #9E0B13; 
  text-transform: uppercase;
  font-weight: 800;
}

.collage-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  color: #2D2926;
  margin: 10px 0;
  font-weight: 900;
  text-transform: uppercase;
}

.collage-title a {
  color: #2D2926;
  text-decoration: none;
  transition: color 0.3s ease;
}

.collage-title a:hover {
  color: #9E0B13;
}

.collage-title span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: rgba(45, 41, 38, 0.6);
  text-transform: none;
}

.ornate-separator {
  color: #9E0B13;
  font-size: 20px;
  opacity: 0.3;
}

/* The Masonry Grid */
.collage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.collage-item {
  position: relative;
  overflow: hidden;
  background: #2D2926; 
  /* CHANGED: Framed with fine lines referencing corporate deep charcoal elements */
  border: 1px solid rgba(45, 41, 38, 0.1); 
  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.2, 1, 0.3, 1), opacity 0.5s ease;
  opacity: 1; /* Keeping layout crisp and bright for the light template */
}

/* Hover Caption Card */
.collage-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* CHANGED: Background hover canvas uses a clean solid Logo Crimson matrix */
  background: rgba(158, 11, 19, 0.96); 
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  text-align: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.collage-item:hover .collage-caption {
  opacity: 1;
}

.collage-item:hover img {
  transform: scale(1.05);
  opacity: 0.15;
}

.category {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 4px;
  /* CHANGED: Captions category text uses high contrast Vintage Cream script accents */
  color: #F6E9C9; 
  margin-bottom: 12px;
  font-weight: 700;
}

.collage-caption h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* --- Responsive Layout --- */
@media (max-width: 1024px) {
  .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: 600px) {
  .collage-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .collage-title { font-size: 2rem; }
  /* CHANGED: Responsive backdrop header adjusted for clean Light UI canvas output */
  .gallery-bespoke-header { background: #ffffff; }
}

/* SVG Logo Adjustment */
.logo-control {
  display: block;
  width: 200px; 
  height: auto;
  max-height: 70px;
  object-fit: contain;
}