/* Matching the Hand-Painted Brush Style of Red Roof */
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Engagement&family=Montserrat:wght@400;600;700;800&display=swap');

/* Reset & Base Layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  /* Montserrat provides a professional, clean balance to the wild headings */
  font-family: 'Montserrat', sans-serif;
  background-color: #fdfaf0; 
  color: #1a1a1a;
  line-height: 1.6;
}

/* HEADINGS: Mimics the 'Red Roof' brush strokes */
h1, h2, h3 {
  font-family: 'Permanent Marker', cursive;
  font-weight: 400;
  letter-spacing: 1px;
  /* Slight tilt to mimic the 'slanted' feel of the logo */
  transform: rotate(-1deg); 
}

/* --- Elite Houston Gallery Header (Light Bar) --- */
.gallery-bespoke-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: #0d1733; /* Contrast Header */
  border-bottom: 5px solid #007bff; /* Elite Blue Accent */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-antique-outline {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 800;
  color: #ffffff; /* Elite Navy Text */
  text-decoration: none;
  padding: 12px 28px;
  border: 2px solid #ffffff;
  transition: all 0.3s ease;
}

.btn-antique-outline:hover {
  background: #007bff; /* Elite Blue Hover */
  color: #ffffff;
  border-color: #007bff;
  transform: translateY(-2px);
}

/* --- Collage Grid Section --- */
.collage-gallery {
  padding: 80px 5%;
  background: #ffffff; /* Elite Midnight Navy Body */
}

.collage-header {
  text-align: center;
  margin-bottom: 60px;
}

.heritage-tag {
  font-size: 11px;
  letter-spacing: 6px;
  color: #007bff; /* Elite Blue Accent */
  text-transform: uppercase;
  font-weight: 700;
}

.collage-title {
  text-decoration: none;
  font-weight: 800;
  font-size: 3.5rem;
  color: #0d1733;
  margin: 10px 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Base styles for generic header spans */
.collage-title span {
  font-weight: 300;
  color: rgb(230 179 51);
  text-transform: none;
  font-size: 2.2rem;
  margin-left: 10px;
  letter-spacing: 0;
}

/* FIX: Specific overrides to format the ampersand cleanly */
.collage-title span.ampersand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;                /* Makes it bold enough to match 'Permanent Marker' thickness */
  color: #0d1733;                  /* Keeps it the same color as "Elite Inn" and "Suites" */
  font-size: 3.2rem;               /* Adjusts scale to match the 3.5rem height of surrounding text */
  display: inline-block;
  transform: rotate(1deg);         /* Counteracts the overall -1deg heading tilt so it sits perfectly upright */
  margin: 0 8px;                   /* Clean spacing on left and right sides */
  vertical-align: middle;          /* Vertically centers it with the raw text */
}

.ornate-separator {
  color: #007bff;
  font-size: 20px;
  opacity: 0.8;
}

/* 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: #080f24; /* Darker Navy for depth */
  border: 1px solid rgba(0, 123, 255, 0.15); /* Subtle Blue border */
  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 0.8s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.5s ease;
  opacity: 0.9;
}

/* Hover Caption Card */
.collage-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 23, 51, 0.95); /* Elite 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;
}

.collage-item:hover .collage-caption {
  opacity: 1;
}

.collage-item:hover img {
  transform: scale(1.1);
  opacity: 0.3;
}

.category {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #007bff; /* Elite Blue */
  margin-bottom: 12px;
  font-weight: 700;
}

.collage-caption h3 {
  font-size: 1.4rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- 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; }
  .collage-title span.ampersand { font-size: 2.2rem; }
}

@media (max-width: 600px) {
  .collage-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .collage-title { font-size: 2rem; }
  .collage-title span.ampersand { font-size: 1.8rem; }
  .gallery-bespoke-header { padding: 10px 15px; }
}

/* Logo Sizing */
.logo-control {
  display: block;
  width: 160px; 
  height: auto;
}