/* ============================================
   Venue Page — PNG frame overlay wraps the map
   ============================================ */

.venue {
  position: relative;
  min-height: 100vh;
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.venue__bg {
  position: absolute;
  inset: 0;
  z-index: var(--z-base);
}

.venue__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(11, 31, 43, 0.45) 0%,
    rgba(11, 31, 43, 0.2) 40%,
    rgba(1, 15, 22, 0.7) 100%);
}

.venue__panel {
  position: relative;
  z-index: var(--z-content);
  max-width: 1100px;
  width: 96%;
  margin: var(--space-12) auto;
  padding: var(--space-10) var(--space-8);
  background: rgba(1, 15, 22, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--color-border-subtle);
  text-align: center;
}

.venue__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-text-primary);
  margin: 0 0 var(--space-8);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  line-height: 1.2;
}

/* PNG frame contains: BIRUNI UNIVERSITY logo + Topkapi Campus text + brushstroke map frame.
   Frame area in the PNG is roughly the bottom 60%; we position the iframe to sit inside it. */
.venue__frame {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 1800 / 1495;
}

.venue__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/images/venue-frame.webp') no-repeat center/contain;
  z-index: 2;
  pointer-events: none;
}

.venue__map {
  position: absolute;
  top: 41%;
  left: 11%;
  width: 78%;
  height: 47%;
  z-index: 1;
  overflow: hidden;
  background: #f5f5f0;
}

.venue__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 700px) {
  .venue__panel { padding: var(--space-5) var(--space-3); }
  .venue__heading { font-size: var(--text-xl); }
}
