/* ===== Denerys Gallery Showcase ===== */

* { box-sizing: border-box; }

.gal-poster {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 26px 22px 24px;
  background: linear-gradient(180deg, #fbf5ee 0%, #f5ece1 100%);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(40, 10, 5, 0.35);
  font-family: var(--default-font, 'Hanken Grotesk', sans-serif);
}

/* ---------- Decorative rings ---------- */
.gal-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: repeating-radial-gradient(
    circle at center,
    transparent 0,
    transparent 16px,
    rgba(151, 30, 23, 0.06) 17px,
    rgba(151, 30, 23, 0.06) 18px
  );
}
.gal-ring--1 { width: 360px; height: 360px; top: -120px; right: -120px; }
.gal-ring--2 { width: 260px; height: 260px; top: 140px; right: -90px; opacity: .8; }

/* ---------- Diamonds (left margin motif) ---------- */
.gal-diamonds {
  position: absolute;
  left: 10px;
  top: 360px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}
.diamond {
  position: relative;
  width: 24px;
  height: 24px;
  transform: rotate(45deg);
  border: 2.5px solid #971E17;
}
.diamond::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 2.5px solid #caa45a;
}

/* ---------- Header ---------- */
.gal-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.gal-logo-img { height: 38px; }

.gal-follow {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.gal-follow__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #971E17, #caa45a);
  color: #fff;
  font-size: .8rem;
}
.gal-follow__text {
  font-size: .58rem;
  line-height: 1.1;
  color: #470804;
  font-weight: 600;
}
.gal-follow__text strong { display: block; font-weight: 800; }

/* ---------- Title ---------- */
.gal-title {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 18px;
}
.gal-title h1 {
  margin: 0;
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #470804 0%, #971E17 55%, #caa45a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gal-subtitle {
  display: block;
  margin-top: 2px;
  font-size: 1.3rem;
  letter-spacing: 4px;
  color: #470804;
  -webkit-text-fill-color: #470804;
  background: none;
}
.gal-tagline {
  margin: 8px 0 0;
  font-size: .8rem;
  font-weight: 600;
  color: #6b5a52;
}

/* ---------- Grid ---------- */
.gal-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: repeat(4, 70px);
  gap: 12px;
  margin-bottom: 14px;
}

.gal-cell {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
}
.gal-cell--pill { border-radius: 60px; grid-row: span 2; }
.gal-cell--rect { border-radius: 28px; }

.gal-cell--dish    { grid-column: 1; grid-row: 1 / 3; background-image: url('../images/our-dish-image-3.jpg'); }
.gal-cell--kitchen { grid-column: 3; grid-row: 1 / 3; background-image: url('../images/video-gallery-img-9.jpg'); }
.gal-cell--special { grid-column: 2; grid-row: 2; background-image: url('../images/special-menu-img-3.jpg'); }
.gal-cell--ingredients { grid-column: 2; grid-row: 3; background-image: url('../images/our-ingredients-image.png'); background-color: #fbf5ee; }

.gal-cell--dining   { background-image: url('../images/post-3.jpg'); }
.gal-cell--dessert  { background-image: url('../images/post-4.jpg'); }
.gal-cell--wine     { background-image: url('../images/post-6.jpg'); }

.gal-cell--qr {
  grid-column: 1;
  grid-row: 3 / 5;
  background: linear-gradient(160deg, #caa45a, #a9803a);
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  text-align: center;
  color: #2e1c08;
}
.gal-cell--qr canvas {
  background: #fff;
  border-radius: 10px;
  padding: 6px;
}
.gal-qr__info { margin: 2px 0 0; font-size: .62rem; font-weight: 700; }
.gal-qr__link { margin: 0; font-size: .58rem; font-weight: 600; line-height: 1.2; }

.gal-cell--reserve {
  grid-column: 2;
  grid-row: 1;
  background: linear-gradient(135deg, #971E17, #470804);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 12px 14px;
  color: #fff;
  animation: gal-pulse 2.4s ease-in-out infinite;
}
.gal-reserve__title {
  margin: 0;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.1;
}
.gal-reserve__date {
  margin: 6px 0 0;
  font-size: .62rem;
  font-weight: 600;
  opacity: .9;
}

.gal-cell--text {
  background: linear-gradient(160deg, #5c0d0d, #2e0606);
  color: #fff;
  padding: 14px;
  text-align: left;
}
.gal-cell--text p {
  margin: 0;
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.35;
}

/* image label helper */
.gal-cell[data-label]::after {
  content: attr(data-label);
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .55rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
  background: rgba(0, 0, 0, .3);
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

/* fade-in on scroll */
.gal-cell { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.gal-cell.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Flame accents ---------- */
.gal-flames {
  position: absolute;
  top: -18px;
  right: -16px;
  width: 70px;
  height: 70px;
  pointer-events: none;
}
.gal-flame {
  position: absolute;
  width: 22px;
  animation: gal-flicker 2.6s ease-in-out infinite;
}
.gal-flame--gold   { color: #caa45a; top: 2px; right: 22px; animation-delay: 0s; }
.gal-flame--red    { color: #971E17; top: 22px; right: -2px; width: 18px; animation-delay: .4s; }
.gal-flame--maroon { color: #470804; top: 36px; right: 28px; width: 14px; animation-delay: .8s; }

@keyframes gal-flicker {
  0%, 100% { transform: scale(1) translateY(0); opacity: .9; }
  50%      { transform: scale(1.12) translateY(-3px); opacity: 1; }
}
@keyframes gal-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(151, 30, 23, .4); }
  50%      { box-shadow: 0 0 0 8px rgba(151, 30, 23, 0); }
}

/* ---------- Bottom strip ---------- */
.gal-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.gal-strip .gal-cell { height: 110px; border-radius: 28px; }

/* ---------- Follow row ---------- */
.gal-follow-row {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  font-size: .62rem;
  color: #6b5a52;
}
.gal-follow-row a {
  font-size: .85rem;
  font-weight: 800;
  color: #470804;
  text-decoration: none;
}

/* ---------- View menu bar ---------- */
.gal-discover {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 40px;
  background: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: .95rem;
  color: #470804;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 20px -8px rgba(40, 10, 5, .3);
  transition: transform .15s ease, box-shadow .15s ease;
}
.gal-discover:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(40, 10, 5, .4); color: #470804; }
.gal-discover:active { transform: translateY(0); }
.gal-discover__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #971E17;
}

/* ---------- Responsive ---------- */
@media (max-width: 380px) {
  .gal-title h1 { font-size: 2rem; }
  .gal-grid { grid-template-rows: repeat(4, 58px); }
  .gal-strip .gal-cell { height: 90px; }
}
