/* Base + refined typography */
:root{
  --bg-overlay: rgba(20,20,25,0.45);
  --accent: #2b6ea3;
  --muted: #666;
  --card-bg: rgba(255,255,255,0.95);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: "Segoe UI", Roboto, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color:#222;
  background:#f4f4f4;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Background image (full-page, behind content) */
.page-bg{
  position:fixed;
  inset:0;
  background-image: url("images/image.png");
  background-size:cover;
  background-position:center;
  filter:brightness(0.75) contrast(0.95);
  z-index:0;
}

/* content sits above background */
.container, .site-header, .site-footer {
  position:relative;
  z-index:1;
}

/* Page layout */
.container{
  max-width:1100px;
  margin: 36px auto;
  padding: 0 20px 48px;
}

/* Header */
.site-header{
  margin: 24px auto 8px;
  padding: 18px 20px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.header-inner{
  max-width:1100px;
  margin:0 auto;
  display:flex;
  gap:18px;
  align-items:center;
}
.logo{
  width:80px;
  height:80px;
  object-fit:contain;
  border-radius:10px;
  background: rgba(255,255,255,0.05);
  padding:6px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.heading h1{
  margin:0 0 6px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size:28px;
  letter-spacing:0.6px;
}
.lead{
  margin:0 0 6px;
  color: #f0f6fb;
  opacity:0.95;
}

/* Map link */
.map-link{
  display:inline-block;
  color: #fff;
  background: rgba(0,0,0,0.25);
  padding:6px 10px;
  border-radius:6px;
  text-decoration:none;
  border:1px solid rgba(255,255,255,0.08);
  font-weight:600;
}
.map-link:hover{
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* Gallery grid */
.gallery{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap:20px;
  margin-top:20px;
}

/* Figures/cards */
.gallery figure{
  margin:0;
  background: var(--card-bg);
  padding:14px;
  border-radius:10px;
  box-shadow: 0 8px 20px rgba(18,24,30,0.12);
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:stretch;
  transition:transform .18s ease, box-shadow .18s ease;
}
.gallery figure:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(12,18,24,0.18);
}
.gallery h3{
  margin:0;
  font-size:16px;
  font-family: Georgia, 'Times New Roman', serif;
  color:#222;
  letter-spacing:0.3px;
}

/* Images */
.gallery img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:8px;
  display:block;
  border:1px solid rgba(0,0,0,0.04);
}

/* Footer */
.site-footer{
  margin-top:30px;
  padding:18px 20px;
  color:#fff;
  text-align:center;
  background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.12));
}

/* Responsive tweaks */
@media (max-width:640px){
  .header-inner{flex-direction:column; align-items:flex-start; gap:12px}
  .logo{width:64px;height:64px}
  .gallery img{height:180px}
  .heading h1{font-size:22px}
}

/* Accessibility: focus style */
a:focus, button:focus{
  outline:3px solid rgba(43,110,163,0.25);
  outline-offset:2px;
}

/* ==== Lightbox (click to enlarge) ==== */
.lightbox-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.55);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
  padding:20px;
}
.lightbox-card{
  background: var(--card-bg);
  padding:12px;
  border-radius:10px;
  box-shadow: 0 18px 36px rgba(12,18,24,0.18);
  border:1px solid rgba(0,0,0,0.06);
  max-width:95vw;
  max-height:90vh;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:auto;
}
.lightbox-card img{
  display:block;
  width:auto;
  height:auto;
  border-radius:8px;
  /* subtle transition in case browser can animate */
  transition: transform .12s ease;
}