/* ======================================
   HERO SECTION (Corrected Final Version)
   ====================================== */

.vault-hero{
  position: relative;
  width: 100%;
  height: 100svh;            /* better on mobile than 100vh */
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: none;
}

/* image */
.vault-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: url("https://cocowoodlakes.pages.dev/core/images/clubhouse.jpg") center/cover no-repeat;
  transform: scale(1.02);
  z-index: 1;
}

/* overlay */
.vault-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 50% 45%,
      rgba(0,0,0,.20) 0%,
      rgba(0,0,0,.55) 70%,
      rgba(0,0,0,.72) 100%),
    linear-gradient(to bottom,
      rgba(0,0,0,.45),
      rgba(0,0,0,.35));
  z-index: 2;
}

/* content */
.vault-hero-content{
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;

  padding: clamp(1rem, 3vw, 2.5rem);
  text-align: center;
}

/* logo sizing + "white conversion" */
.hero-logo{
  display: block;
  width: min(86vw, 560px);
  height: auto;
  max-height: min(70svh, 560px);

  filter:
    invert(1)
    brightness(1.15)
    contrast(1.1)
    drop-shadow(0 10px 22px rgba(0,0,0,.55));
}

@media (max-width: 720px){
  .vault-hero{ min-height: 520px; }
  .hero-logo{
    width: min(92vw, 480px);
    max-height: 62svh;
  }
}

@media (max-width: 420px){
  .vault-hero{ min-height: 480px; }
  .hero-logo{
    width: 94vw;
    max-height: 58svh;
  }
}

/* ======================================
   SEARCH BAR (FULL RESTORED STYLING)
   ====================================== */

.vault-hero-search {
  display: flex;
  align-items: center;
  background: #ffffffee;
  border-radius: 36px;
  padding: 0.5rem 0.75rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  width: 70%;
  margin: 0 auto;
}

.vault-hero-search input {
  flex: 1;
  font-size: 1.15rem;
  border: none;
  padding: 0.75rem 1rem;
  background: transparent;
  outline: none;
  color: #222;
}

.vault-hero-search button {
  background: #222;
  color: #fff;
  border: none;
  padding: 0.6rem 0.9rem;
  margin-left: 0.4rem;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vault-hero-search button:hover {
  background: #444;
}


.center-image{
  display:block;
  margin:0 auto;
  max-width:100%;
  height:auto;

  width:300px; /* default cap */
}

@media (max-width: 720px){
  .center-image{ width:250px; }
}

@media (max-width: 420px){
  .center-image{ width:200px; }
}

.menu-trigger h2{
  font-family: "house-of-cards", serif;
  font-weight: 700;
  font-style: normal;

  /* optional cleanup so it behaves like button text */
  margin: 0;
  line-height: 1;
}

.masonry-gallery {
    column-count: 1;
    column-gap: 1rem;

}

.lightbox-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:14px;
  margin-top:.75rem;
}

.lb-card{
  margin:0;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,.12);
  background:#fff;
}

.lb-card a{ display:block; }

.lb-card img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
  transition:transform .18s ease;
}

.lb-card a:hover img{ transform:scale(1.02); }

.lb-card figcaption{
  padding:.55rem .7rem .65rem;
  font-size:.95rem;
  line-height:1.2;
  font-weight:600;
}

.gallery-header {
padding-top: 10px;
padding-bottom: 10px;

}
.error-404-header{
  text-align:center;
  margin:0;
  padding:10px 0;
  color:#2f6e3b;
}
.error-404-p{
  text-align:center;
  margin:0;
  padding:10px 0;
}

