@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* 🎯 General Body Styling */
body {
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #001d2e; /* Property Navy */
  text-align: center;
  background: #ffffff;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #001d2e;
  text-transform: uppercase;
  font-weight: 700;
}

/* --- Clarion Gallery Header --- */
.gallery-bespoke-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: #ffffff;
  border-bottom: 3px solid #001d2e; /* Navy Base Border */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.btn-antique-outline {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #001d2e; /* Navy */
  text-decoration: none;
  padding: 12px 28px;
  border: 2px solid #001d2e;
  transition: all 0.3s ease;
}

.btn-antique-outline:hover {
  background: #00c1d4; /* Teal Hover */
  color: #fff;
  border-color: #00c1d4;
  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;
}

.logo-control:hover {
  transform: scale(1.03);
}

/* --- Collage Grid Section --- */
.collage-gallery {
  padding: 80px 5%;
  background: #f4f7f9; /* Soft cool grey background */
}

.collage-header {
  text-align: center;
  margin-bottom: 60px;
}

.heritage-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  letter-spacing: 6px;
  color: #00c1d4; /* Teal Accent */
  text-transform: uppercase;
  font-weight: 700;
}

.collage-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: #001d2e; /* Navy */
  margin: 10px 0;
  text-transform: uppercase;
  font-weight: 700;
}

.collage-title span {
  font-style: italic; /* Matches "Pointe" logo style */
  font-weight: 400;
  color: #00c1d4; /* Teal Accent */
  text-transform: none;
}

.ornate-separator {
  color: #001d2e;
  font-size: 20px;
  margin-top: 5px;
  opacity: 0.3;
}

/* 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: #001d2e; /* Navy base for image load-in */
  border: 1px solid #e1e8ed;
  display: block;
}

/* Masonry Spanning */
.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;
}

/* Hover Caption Card */
.collage-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 29, 46, 0.92); /* 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;
  border: 10px solid transparent; /* Hidden frame until hover */
}

.collage-item:hover .collage-caption {
  opacity: 1;
  border: 1px solid #00c1d4; /* Teal Frame on hover */
}

.collage-item:hover img {
  transform: scale(1.1);
  filter: grayscale(100%) blur(2px);
  opacity: 0.4;
}

.category {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #00c1d4; /* Teal */
  margin-bottom: 12px;
  font-weight: 700;
}

.collage-caption h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin: 0;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 1px;
}

/* --- 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: 250px; 
    gap: 15px;
  }
  .collage-title { font-size: 2.2rem; }
  .collage-header { margin-bottom: 40px; }
  .gallery-bespoke-header { padding: 10px 15px; }
}
/* Ensure the wrapper is a flex container to align items */
.logo-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 100%; /* Allows it to fill the header height */
}

/* SVG Specific Styling */
.logo-control {
  display: block;
  /* CRITICAL: SVGs need a defined width/height to be visible */
  width: 220px; 
  height: auto;
  max-height: 80px; 
  
  /* Ensures the SVG maintains aspect ratio */
  object-fit: contain;
  
  /* Transition for the hover effect you had */
  transition: transform 0.3s ease;
}

.logo-control:hover {
  transform: scale(1.05);
}

