/* ==========================================================================
   Stagecoach Inn Motel - Custom Gallery & Layout Styles
   Light Elegant Theme: Crisp Off-White Background | Deep Espresso Header | Cognac Gold Accents
   ========================================================================== */

/* Font Pairing: Montserrat (Headings & UI) + Inter (Clean UI 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: #FAFAFA; /* Soft Clean Off-White */
  color: #211510; /* Deep Espresso Text */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: #211510;
  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: #211510; /* Dark Espresso Header Base */
  border-bottom: 3px solid #C39053; /* Warm Cognac Gold Accent Line */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-slate-outline {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 11px;
  font-weight: 800;
  color: #FFFFFF; 
  text-decoration: none;
  padding: 12px 28px;
  border: 2px solid #C39053;
  border-radius: 6px;
  transition: all 0.3s ease;
  background: transparent;
}

.btn-slate-outline:hover {
  background: #C39053; /* Cognac Gold Fill */
  color: #211510; 
  box-shadow: 0 4px 12px rgba(195, 144, 83, 0.3);
  transform: translateY(-2px);
}

/* --- Collage Grid Section --- */
.collage-gallery {
  padding: 80px 5%;
  background: #FAFAFA; 
}

.collage-header {
  text-align: center;
  margin-bottom: 60px;
}

.heritage-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 5px;
  color: #000; /* Warm Cognac Tag */
  text-transform: uppercase;
  font-weight: 800;
}

.collage-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  color: #211510;
  margin: 10px 0;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.2;
}

.collage-title a {
  color: #211510;
  text-decoration: none;
  transition: color 0.3s ease;
}

.collage-title a:hover {
  color: #C39053; /* Gold Hover Accent */
}

.ornate-separator {
  color: #000000; /* Warm Gold Diamond */
  font-size: 20px;
  margin-top: 10px;
}

/* 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: #FFFFFF; 
  border: 1px solid rgba(195, 144, 83, 0.25); 
  border-radius: 12px;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.collage-item:hover {
  border-color: #C39053;
  box-shadow: 0 12px 28px -6px rgba(33, 21, 16, 0.18);
  transform: translateY(-4px);
}

.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 Overlay & Light Glassmorphism */
.collage-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(33, 21, 16, 0.85); /* Smooth Espresso Overlay */
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  text-align: center;
  opacity: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.4s ease;
}

.collage-item:hover .collage-caption {
  opacity: 1;
}

.collage-item:hover img {
  transform: scale(1.06);
}

.category {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #E2A761; /* Vibrant Warm Gold Badge */
  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: 800;
  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 { padding: 12px 4%; }
}

/* Logo Sizing Control */
.logo-control {
  display: block;
  width: auto; 
  height: 60px;
  max-height: 60px;
  object-fit: contain;
}