/* ============================================================
   PHOTO COLLAGE GALLERY - DAYS INN BY WYNDHAM WOOSTER
   Primary Corporate Navy: #012b55 | Brand Blue Accent: #0086da | Light Gray Canvas: #f8fafc
   ============================================================ */

/* 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;           /* Highly legible font for body text */
  background-color: #F5EFEB;                  /* Property exterior soft warm cream */
  color: #1A1A1A;                             /* High contrast dark slate for text readability */
  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;                           /* Extra bold to emulate blocky logo font */
                              /* Exact Microtel logo deep blue */
  text-transform: uppercase;
  letter-spacing: -0.01em;                    /* Tightened slightly for a structured corporate feel */
  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 #012b55; /* Corporate Navy baseline accent boundary */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(1, 43, 85, 0.08);
}

.btn-slate-outline {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 800;
  color: #012b55; 
  text-decoration: none;
  padding: 12px 28px;
  border: 2px solid #012b55;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-slate-outline:hover {
  background: #0086da; /* Brand Blue Shift on interaction hover */
  color: #ffffff;
  border-color: #0086da;
  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: #012b55; /* Brand Blue Descriptor Anchor Tag */
  text-transform: uppercase;
  font-weight: 800;
}

.collage-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.8rem;
  color: #012b55;
  margin: 10px 0;
  font-weight: 700;
  text-transform: uppercase;
}

.collage-title a {
  color: #012b55;
  text-decoration: none;
  transition: color 0.3s ease;
}

.collage-title a:hover {
  color: #0086da;
}

.ornate-separator {
  color: #0086da;
  font-size: 20px;
  opacity: 0.4;
}

/* 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: #012b55; 
  border: 1px solid rgba(1, 43, 85, 0.08); 
  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(1, 43, 85, 0.95); /* High Contrast Navy 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: #0086da; /* Pop Blue category descriptor within cards */
  margin-bottom: 12px;
  font-weight: 700;
}

.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.8rem; }
}

@media (max-width: 600px) {
  .collage-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; gap: 15px; }
  .collage-title { font-size: 2.2rem; }
  .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;
}