:root {
  --primary: #2d35a6;
  --primary-dark: #1f2d86;
  --text: #172554;
  --muted: #334155;
  --border: #c9daef;
  --surface: #ffffff;
  --radius: 16px;
  --shadow: 0 12px 28px rgba(45, 53, 166, 0.16);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 0% 0%, #e8f4ff 0%, #f5faff 44%, #eef2ff 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #d2e1f4;
  backdrop-filter: blur(8px);
}

.page-main {
  padding: 2rem 0 3rem;
}

.hero {
  margin-bottom: 1.2rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--primary-dark);
  background: #fff4b5;
}

h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
}

p {
  margin: 0;
  color: var(--muted);
}

.back-link {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-tile {
  position: relative;
  min-height: 320px;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.3)), var(--tile-bg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  transition: background 0.28s ease;
}

.gallery-tile:hover::after {
  background: rgba(0, 0, 0, 0.26);
}

.tile-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.tile-title {
  margin: 0 0 0.8rem;
  color: #fff;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 800;
}

.tile-btn {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.58rem 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.tile-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.95rem;
}

.photo-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 18px rgba(45, 53, 166, 0.1);
  cursor: pointer;
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-card:hover img {
  transform: scale(1.08);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2, 6, 23, 0.88);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(94vw, 1120px);
  max-height: 88vh;
  border-radius: 12px;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  color: #fff;
  background: rgba(31, 45, 134, 0.72);
  cursor: pointer;
}

.lightbox-close {
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.5rem;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.4rem;
}

.lightbox-nav.prev {
  left: 12px;
}

.lightbox-nav.next {
  right: 12px;
}

@media (max-width: 760px) {
  .gallery-tile {
    min-height: 260px;
  }
}
.success-msg {
  margin-top: 10px;
  font-weight: 600;
  display: none;
}
.site-footer {
  background: #1f2d86;
  color: white;
  padding: 30px 0; /* reduce overall height */
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px; /* reduce spacing */
  align-items: start;
}

.site-footer h4 {
  margin-bottom: 8px;
  font-size: 16px;
}

.site-footer p {
  margin: 4px 0; /* reduce text spacing */
  color: #f4f8ff;
}

.site-footer a {
  color: #f4f8ff;
}

/* SOCIAL ICON FIX */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-link svg {
  width: 24px;   /* VERY IMPORTANT */
  height: 24px;  /* VERY IMPORTANT */
  fill: white;
}

/* MAP SIZE FIX */
.footer-map iframe {
  width: 100%;
  height: 150px; /* reduce map height */
  border: 0;
}

.footer-map {
  align-self: start;
}

/* FOOTER NOTE */
.footer-note {
  text-align: center;
  margin-top: 15px;
  font-size: 12px;
  opacity: 0.8;
}
@media (max-width: 940px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
