@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

/* 🎯 Light Theme Clean Body Styling */
body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  color: #032142; /* Updated: Dark navy text color */
  text-align: center;
  background: #ffffff; 
}

h1{
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  color: #032142; /* Updated: Dark navy */
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* --- Gallery Bespoke Header --- */
.gallery-bespoke-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: #ffffff; 
  border-bottom: 5px solid #032142; /* Updated: Solid dark navy bottom flag strip */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(3, 33, 66, 0.08);
}

.btn-antique-outline {
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #032142; /* Updated: Dark navy default tone */
  text-decoration: none;
  padding: 12px 28px;
  border: 2px solid #032142; /* Updated: Dark navy border */
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-antique-outline:hover {
  background: #004fd2; /* Updated: Primary accent blue on hover */
  color: #ffffff;
  border-color: #004fd2; /* Updated: Primary accent blue border */
  transform: translateY(-2px);
}

/* --- Collage Grid Section --- */
.collage-gallery {
  padding: 80px 5%;
  background: #ffffff; 
}

.collage-header {
  text-align: center;
  margin-bottom: 60px;
}

.heritage-tag {
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 6px;
  color: #004fd2; /* Updated: Primary accent blue tag */
  text-transform: uppercase;
  font-weight: 700;
}

.collage-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem;
  color: #032142; /* Updated: Dark navy */
  margin: 10px 0;
  font-weight: 700;
  text-transform: uppercase;
}

.collage-title a {
  color: #032142; /* Updated: Dark navy link */
  text-decoration: none;
  transition: color 0.3s ease;
}

.collage-title a:hover {
  color: #004fd2; /* Updated: Primary accent blue hover */
}

.collage-title span {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: rgba(3, 33, 66, 0.6); /* Updated: Adjusted opacity for dark navy subtitle */
  text-transform: none;
}

.ornate-separator {
  color: #004fd2; /* Updated: Primary accent blue separator */
  font-size: 20px;
  opacity: 0.5;
}

/* The Masonry Grid */
.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: #032142; /* Updated: Dark navy background base */
  border: 1px solid #dce3ec; /* Updated: Clean light border tone */
  display: block;
  border-radius: 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 Caption Card Overlay */
.collage-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 33, 66, 0.94); /* Updated: Deep dark navy hover 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: 'Open Sans', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #f8fafd; /* Updated: Light tint category text */
  margin-bottom: 12px;
  font-weight: 700;
  border-bottom: 1px solid rgba(248, 250, 253, 0.3); /* Updated: Light tint border line */
  padding-bottom: 4px;
}

.collage-caption h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* --- 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.5rem; }
}

@media (max-width: 600px) {
  .collage-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .collage-title { font-size: 2rem; }
  .gallery-bespoke-header { background: #ffffff; }
}

/* SVG/PNG Logo Adjustment */
.logo-control {
  display: block;
  width: 200px; 
  height: auto;
  max-height: 70px;
  object-fit: contain;
}