/* ===== Global ===== */
:root{
  --gold: #D4AF37;
  --gold-dark: #B8941F;
  --text: #111827;
  --muted: #4b5563;
  --border: rgba(0,0,0,.10);
  --shadow: 0 18px 60px rgba(0,0,0,.10);
}

*{ box-sizing: border-box; }

body{
  margin:0;
  font-family: Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

.container{
  max-width:1100px;
  margin:auto;
  padding:20px;
}

a{ color: inherit; text-decoration:none; }

/* ===== Header ===== */
.header{
  position:sticky;
  top:0;
  background:#fff;
  border-bottom:1px solid #e5e5e5;
  z-index:1000;
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  font-size:16px;
}

.brand img{ height:40px; }

.nav-links{
  display:flex;
  align-items:center;
  gap:12px;
}

.nav-links a{
  font-weight:700;
  font-size:14px;
  padding:6px 10px;
  border-radius:10px;
}

.nav-links a.active{
  background: rgba(212,175,55,.14);
  border: 1px solid rgba(212,175,55,.25);
}

.nav-links select{
  padding:6px 8px;
  font-size:14px;
}

/* ===== Hero ===== */
.hero{
  padding-top: 18px;
  padding-bottom: 6px;
}

.hero h1{
  margin:0 0 10px;
  font-size:38px;
  letter-spacing: -.4px;
}

.hero p{
  margin:0;
  color: var(--muted);
  line-height:1.7;
}

/* ===== Gallery Grid ===== */
.grid{
  padding: 22px 0 60px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

@media (max-width: 950px){
  .grid{ grid-template-columns:1fr; }
}

.post{
  position:relative;
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  background:#fff;
  transition: transform 140ms ease, border 140ms ease;
}

.post:hover{
  transform: translateY(-2px);
  border-color: rgba(212,175,55,.25);
}

.post img{
  width:100%;
  height:280px;
  object-fit:cover;
  display:block;
  cursor: zoom-in;
}

.caption{
  margin:0;
  padding:14px 14px 16px;
  color:#374151;
  font-weight:700;
  line-height:1.6;
}

/* ===== Badges ===== */
.post-badge{
  position:absolute;
  top:12px;
  left:12px;
  background: rgba(212,175,55,.95);
  color:#111;
  font-size:12px;
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

.post-date{
  position:absolute;
  top:12px;
  right:12px;
  background: rgba(0,0,0,.75);
  color:#fff;
  font-size:11px;
  font-weight:800;
  padding:6px 10px;
  border-radius:999px;
}

/* ===== Footer ===== */
.footer{
  border-top: 1px solid rgba(0,0,0,.06);
  padding: 22px 0;
  background: #fff;
}

.foot{
  display:flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
}

.credit a{
  color: var(--gold-dark);
  font-weight: 900;
}

.credit a:hover{ text-decoration: underline; }

/* ===== Lightbox ===== */
.lightbox{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.lightbox.open{ display:block; }

.lightbox-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.78);
}

.lightbox-panel{
  position: relative;
  max-width: 980px;
  margin: 6vh auto 0;
  background: #0b0b0c;
  border: 1px solid rgba(212,175,55,.28);
  border-radius: 16px;
  box-shadow: 0 30px 120px rgba(0,0,0,.55);
  padding: 14px;
  width: calc(100% - 28px);
}

.lightbox-close{
  position:absolute;
  top: 10px;
  right: 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color:#fff;
  border-radius: 12px;
  padding: 8px 10px;
  cursor:pointer;
  font-weight: 900;
}

.lightbox-panel img{
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display:block;
  border-radius: 12px;
  background:#000;
}

.lightbox-caption{
  margin: 10px 2px 2px;
  color: rgba(212,175,55,.92);
  font-weight: 800;
  line-height: 1.6;
}

/* ===== Mobile ===== */
@media (max-width: 520px){
  .hero h1{ font-size: 30px; }
  .post img{ height: 240px; }
}