/* ==========================================================================
   Microtel Inn & Suites by Wyndham Perry - Brand Typography & Core Styles
   Primary Navy: #002b5c | Accent Gold/Yellow: #FFD200 | Slate Gray: #475569
   ========================================================================== */

/* 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');

/* Reset & Base Layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f8fafc;
  color: #1a1a1a;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Headings: Custom tailored to mirror the geometric weight of the Microtel Logo */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: #002b5c; /* Primary Navy */
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

/* --- Navigation Header --- */
.gallery-bespoke-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: #ffffff; 
  border-bottom: 4px solid #002b5c; /* Navy baseline boundary */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 43, 92, 0.08);
}

.btn-slate-outline {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 800;
  color: #002b5c; 
  text-decoration: none;
  padding: 12px 28px;
  border: 2px solid #002b5c;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-slate-outline:hover {
  background: #002b5c; /* Solid Navy on hover */
  color: #FFD200;      /* Brand Gold text shift */
  border-color: #002b5c;
  transform: translateY(-2px);
}

/* --- Collage Grid Section --- */
.collage-gallery {
  padding: 80px 5%;
  background: #f8fafc; 
}

.collage-header {
  text-align: center;
  margin-bottom: 60px;
}

.heritage-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 5px;
  color: #002b5c; /* Navy Descriptor Anchor Tag */
  text-transform: uppercase;
  font-weight: 800;
}

.collage-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  color: #002b5c;
  margin: 10px 0;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.2;
}

.collage-title a {
  color: #002b5c;
  text-decoration: none;
  transition: color 0.3s ease;
}

.collage-title a:hover {
  color: #d9b100; /* Gold Accent Hover */
}

.ornate-separator {
  color: #FFD200; /* Brand Yellow Separator */
  font-size: 20px;
  margin-top: 10px;
}

/* The Masonry Grid Layout */
.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: #002b5c; 
  border: 1px solid rgba(0, 43, 92, 0.1); 
  border-radius: 8px;
  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;
}

/* Hover Caption Overlays */
.collage-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 43, 92, 0.92); /* Rich Navy Dark Overlay */
  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: 3px;
  color: #FFD200; /* Brand Yellow category tag inside cards */
  margin-bottom: 12px;
  font-weight: 800;
}

.collage-caption h2,
.collage-caption h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* --- Responsive Viewports --- */
@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.4rem; }
}

@media (max-width: 600px) {
  .collage-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; gap: 15px; }
  .collage-title { font-size: 1.8rem; }
  .gallery-bespoke-header { background: #ffffff; padding: 12px 4%; }
}

/* SVG / Image Logo Sizing Adjustments */
.logo-control {
  display: block;
  width: 200px; 
  height: auto;
  max-height: 70px;
  object-fit: contain;
}