/* 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: Text set to high contrast Deep Space Blue */
  color: #101C36; 
  text-align: center;
  /* CHANGED: Transformed backdrop canvas into our signature clean Slate Mist */
  background: #F8FAFC; 
}

h1{
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  color: #101C36;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* --- HomeStay Gallery Header --- */
.gallery-bespoke-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: #ffffff; 
  /* CHANGED: Flag strip updated to Corporate Crimson Burgundy */
  border-bottom: 5px solid #B30006; 
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(16, 28, 54, 0.06);
}

.btn-antique-outline {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 800;
  /* CHANGED: Buttons match corporate brand blue default coloring */
  color: #101C36; 
  text-decoration: none;
  padding: 12px 28px;
  border: 2px solid #101C36;
  transition: all 0.3s ease;
}

.btn-antique-outline:hover {
  /* CHANGED: Filled seamlessly with Crimson Burgundy and white text elements on active hover */
  background: #B30006;
  color: #ffffff;
  border-color: #B30006;
  transform: translateY(-2px);
}

/* --- Collage Grid Section --- */
.collage-gallery {
  padding: 80px 5%;
  /* CHANGED: Background configured to clear, premium Slate Mist Canvas tint */
  background: #F8FAFC; 
}

.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 sharp Corporate Crimson Burgundy */
  color: #B30006; 
  text-transform: uppercase;
  font-weight: 800;
}

.collage-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  color: #101C36;
  margin: 10px 0;
  font-weight: 400;
  text-transform: uppercase;
}

.collage-title a {
  color: #101C36;
  text-decoration: none;
  transition: color 0.3s ease;
}

.collage-title a:hover {
  color: #B30006;
}

.collage-title span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  /* CHANGED: Adjusted subtitle alpha opacity using our brand blue core tint */
  color: rgba(16, 28, 54, 0.6);
  text-transform: none;
}

.ornate-separator {
  color: #000000;
  font-size: 20px;
 
}

/* 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: #101C36; 
  /* CHANGED: Framed with fine lines referencing deep blue graphic track strokes */
  border: 1px solid rgba(16, 28, 54, 0.1); 
  display: block;
  border-radius: 8px; /* Added subtle radius cornering to stay consistent with other layouts */
}

.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; 
}

/* Hover Caption Card Overlay */
.collage-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* CHANGED: Background hover overlay uses a clean corporate deep blue matrix */
  background: rgba(16, 28, 54, 0.96); 
  color: #ffffff;
  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 tags now use bright brand yellow for crisp readability */
  color: #FFCC00; 
  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; }
  .gallery-bespoke-header { background: #ffffff; }
}

/* SVG Logo Adjustment */
.logo-control {
  display: block;
  width: 200px; 
  height: auto;
  max-height: 70px;
  object-fit: contain;
}