@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: #33414e; /* Fairfield Slate */
  text-align: center;
  background: #ffffff;
}

h1, h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: #33414e;
  text-transform: capitalize; /* More modern than full uppercase */
  font-weight: 600;
}

/* --- Fairfield Gallery Header --- */
.gallery-bespoke-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 6%;
  background: #ffffff;
  border-bottom: 1px solid #e1e8ed; /* Clean professional border */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0,0,0,0.03);
}

.btn-antique-outline {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #33414e; /* Slate */
  text-decoration: none;
  padding: 14px 30px;
  border: 1px solid #33414e;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-antique-outline:hover {
  background: #33414e; 
  color: #ffffff;
  transform: translateY(-2px);
}

/* Logo Styling */
.logo-control {
  max-height: 70px;
  max-width: 200px;
  width: auto;
  height: auto;
  display: inline-block;
  transition: transform 0.3s ease;
}

/* --- Collage Grid Section --- */
.collage-gallery {
  padding: 80px 5%;
  background: #f8f9fa; /* Very light cool grey */
}

.collage-header {
  text-align: center;
  margin-bottom: 60px;
}

.heritage-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 5px;
  color: #8DB3C7; /* Fairfield Blue 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: #33414e; /* Slate */
  margin: 0;
  font-weight: 600;
}

.collage-title span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #8DB3C7; /* Blue Accent */
  text-transform: uppercase;
  font-size: 1rem;
  display: block;
  letter-spacing: 3px;
  margin-top: 5px;
}

.ornate-separator {
  width: 50px;
  height: 2px;
  background: #8DB3C7;
  margin: 25px auto 0;
}

/* The Masonry Grid */
.collage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 300px;
  gap: 25px;
  max-width: 1400px;
  margin: 0 auto;
}

.collage-item {
  position: relative;
  overflow: hidden;
  background: #33414e; /* Slate base */
  border: 1px solid #f0f0f0;
  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);
}

/* Hover Caption Card */
.collage-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(51, 65, 78, 0.85); /* Slate Overlay */
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  text-align: center;
  opacity: 0;
  transition: all 0.5s ease;
}

.collage-item:hover .collage-caption {
  opacity: 1;
}

.collage-item:hover img {
  transform: scale(1.08);
}

.category {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #8DB3C7; /* Blue Accent */
  margin-bottom: 12px;
  font-weight: 700;
}

.collage-caption h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  margin: 0;
  color: #ffffff;
  font-weight: 500;
  font-style: italic;
}

/* --- 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.8rem; }
}

@media (max-width: 600px) {
  .collage-grid { 
    grid-template-columns: 1fr; 
    grid-auto-rows: 280px; 
    gap: 15px;
  }
  .collage-title { font-size: 2.2rem; }
  .collage-header { margin-bottom: 40px; }
  .gallery-bespoke-header { padding: 15px; }
  .logo-control { max-width: 160px; }
}

.logo-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
}