@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* 🎯 General Body Styling */
body {
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #02347c; /* Fair Motel Navy */
  text-align: center;
  background: #ffffff;
}

h1, h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: #02347c; /* Navy */
  text-transform: capitalize;
  font-weight: 600;
}

/* --- Gallery Header --- */
.gallery-bespoke-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 6%;
  background: #ffffff;
  border-bottom: 2px solid #fdb721; /* Gold Bottom Accent */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(2, 52, 124, 0.1);
}

.btn-antique-outline {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #02347c; /* Navy */
  text-decoration: none;
  padding: 14px 30px;
  border: 2px solid #02347c;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-antique-outline:hover {
  background: #02347c; 
  color: #fdb721; /* Gold Text on Hover */
  transform: translateY(-2px);
}

/* Logo Styling */
.logo-control {
  max-height: 80px;
  max-width: 220px;
  width: auto;
  height: auto;
  display: inline-block;
  transition: transform 0.3s ease;
}

/* --- Collage Grid Section --- */
.collage-gallery {
  padding: 80px 5%;
  background: #fdfdfd; 
}

.collage-header {
  text-align: center;
  margin-bottom: 60px;
}

.heritage-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 5px;
  color: #fdb721; /* Gold Accent */
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}

.collage-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: #02347c; /* Navy */
  margin: 0;
  font-weight: 700;
}

.collage-title span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #fdb721; /* Gold Accent */
  text-transform: uppercase;
  font-size: 1.1rem;
  display: block;
  letter-spacing: 4px;
  margin-top: 8px;
}

.ornate-separator {
  width: 60px;
  height: 3px;
  background: #fdb721; /* Gold */
  margin: 25px auto 0;
}

/* The Masonry Grid */
.collage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 320px;
  gap: 20px;
  max-width: 1500px;
  margin: 0 auto;
}

.collage-item {
  position: relative;
  overflow: hidden;
  background: #02347c; /* Navy base */
  border-radius: 4px; /* Subtle rounding for a modern look */
  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 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  filter: brightness(0.95); /* Better contrast for text */
}

/* Hover Caption Card */
.collage-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(2, 52, 124, 0.9); /* Deep Navy Overlay */
  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-in-out;
}

.collage-item:hover .collage-caption {
  opacity: 1;
}

.collage-item:hover img {
  transform: scale(1.1);
}

.category {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #fdb721; /* Gold Accent */
  margin-bottom: 12px;
  font-weight: 700;
}

.collage-caption h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  margin: 0;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.2;
}

/* --- Responsive Layout --- */
@media (max-width: 1024px) {
  .collage-grid { 
    grid-template-columns: repeat(2, 1fr); 
    grid-auto-rows: 280px;
  }
  .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; }
  .collage-header { margin-bottom: 30px; }
  .gallery-bespoke-header { padding: 15px; border-bottom-width: 4px; }
  .logo-control { max-height: 60px; }
  .btn-antique-outline { padding: 10px 20px; font-size: 10px; }
}

.logo-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
}