/* QUANT venue — Bootstrap layout + branded polish */

:root {
  --venue-navy: #14173a;
  --venue-navy-mid: #1c1f4c;
  --venue-cyan: #00a0e9;
  --venue-cyan-deep: #0284c7;
  --venue-ink: #0f172a;
  --venue-muted: #475569;
  --venue-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --venue-shadow: 0 22px 50px rgba(20, 23, 58, 0.1);
  --venue-shadow-sm: 0 12px 28px rgba(20, 23, 58, 0.07);
  --venue-jump-offset: 72px;
}

/* —— Reveal on scroll —— */
.venue-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--venue-ease), transform 0.7s var(--venue-ease);
}

.venue-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.venue-reveal-delay-1 { transition-delay: 0.08s; }
.venue-reveal-delay-2 { transition-delay: 0.16s; }
.venue-reveal-delay-3 { transition-delay: 0.24s; }

/* —— Sticky section nav (below site navbar) —— */
.venue-jumpnav {
  top: var(--venue-jump-offset) !important;
  z-index: 1020;
  padding: 0.65rem 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(0, 160, 233, 0.12);
  box-shadow: 0 8px 24px rgba(20, 23, 58, 0.04);
}

.venue-jumpnav-scroll {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.venue-jumpnav-scroll::-webkit-scrollbar { display: none; }

.venue-jump-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 160, 233, 0.16);
  background: #fff;
  color: var(--venue-navy-mid);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s var(--venue-ease), box-shadow 0.2s, background 0.2s, color 0.2s;
}

.venue-jump-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 160, 233, 0.14);
  color: var(--venue-cyan-deep);
}

.venue-jump-link.is-active {
  background: linear-gradient(135deg, var(--venue-navy-mid), var(--venue-cyan-deep));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 160, 233, 0.28);
}

/* —— Hero —— */
.venue-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.25rem, 8vw, 5.75rem) 0 clamp(2.5rem, 5vw, 3.75rem);
  background:
    radial-gradient(ellipse 70% 55% at 90% 0%, rgba(0, 160, 233, 0.18), transparent 50%),
    radial-gradient(ellipse 55% 45% at 5% 90%, rgba(28, 31, 76, 0.12), transparent 48%),
    linear-gradient(165deg, #eaf5fc 0%, #f7fbfe 45%, #ffffff 100%);
}

.venue-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 31, 76, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 31, 76, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 15%, transparent 72%);
  pointer-events: none;
  opacity: 0.7;
}

.venue-hero::after {
  content: "";
  position: absolute;
  width: min(420px, 70vw);
  height: min(420px, 70vw);
  border-radius: 50%;
  right: -140px;
  top: -160px;
  border: 1px solid rgba(0, 160, 233, 0.18);
  pointer-events: none;
  animation: venueOrb 12s ease-in-out infinite;
}

@keyframes venueOrb {
  0%, 100% { transform: translate(0, 0); opacity: 0.55; }
  50% { transform: translate(-18px, 14px); opacity: 0.9; }
}

.venue-hero .container,
.venue-section .container,
.practical-section .container {
  position: relative;
  z-index: 2;
}

.venue-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.05rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 160, 233, 0.2);
  color: var(--venue-cyan-deep);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 22px rgba(0, 160, 233, 0.12);
  animation: venueFadeUp 0.7s var(--venue-ease) both;
}

.venue-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.85rem, 5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--venue-navy);
  margin-bottom: 1rem;
  letter-spacing: -0.035em;
  animation: venueFadeUp 0.75s var(--venue-ease) 0.08s both;
}

.venue-subtitle {
  font-size: clamp(0.98rem, 2.2vw, 1.06rem);
  line-height: 1.85;
  color: var(--venue-muted);
  max-width: 820px;
  margin-bottom: 1.5rem;
  animation: venueFadeUp 0.75s var(--venue-ease) 0.14s both;
}

.venue-hero-actions {
  animation: venueFadeUp 0.75s var(--venue-ease) 0.2s both;
}

@keyframes venueFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.venue-summary-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 1.25rem;
  padding: 1.35rem 1.25rem;
  box-shadow: var(--venue-shadow-sm);
  transition: transform 0.3s var(--venue-ease), box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.venue-summary-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--venue-navy-mid), var(--venue-cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media (hover: hover) {
  .venue-summary-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--venue-shadow);
    border-color: rgba(0, 160, 233, 0.22);
  }
  .venue-summary-card:hover::before { opacity: 1; }
  .venue-summary-card:hover .venue-summary-icon {
    transform: scale(1.06) rotate(-4deg);
  }
}

.venue-summary-icon {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
  background: linear-gradient(145deg, var(--venue-cyan), var(--venue-navy-mid));
  margin-bottom: 1rem;
  box-shadow: 0 10px 22px rgba(0, 160, 233, 0.28);
  transition: transform 0.3s var(--venue-ease);
}

.venue-summary-card h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--venue-ink);
  margin-bottom: 0.55rem;
}

.venue-summary-card p {
  color: var(--venue-muted);
  line-height: 1.7;
}

/* —— Buttons (Bootstrap .btn + brand) —— */
.btn-venue-primary,
.btn-venue-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.7rem 1.35rem;
  transition: transform 0.25s var(--venue-ease), box-shadow 0.25s;
}

.btn-venue-primary {
  background: linear-gradient(135deg, var(--venue-navy-mid), var(--venue-cyan-deep));
  border: none;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(0, 160, 233, 0.3);
}

.btn-venue-primary:hover,
.btn-venue-primary:focus {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 160, 233, 0.38);
}

.btn-venue-ghost {
  background: #fff;
  color: var(--venue-navy-mid) !important;
  border: 1.5px solid rgba(0, 160, 233, 0.22);
  box-shadow: 0 8px 18px rgba(20, 23, 58, 0.05);
}

.btn-venue-ghost:hover,
.btn-venue-ghost:focus {
  color: var(--venue-cyan-deep) !important;
  border-color: rgba(0, 160, 233, 0.4);
  transform: translateY(-2px);
}

/* —— Host —— */
.venue-section {
  padding: clamp(3rem, 6vw, 4.75rem) 0;
  background: #fff;
}

.venue-host-box {
  background:
    linear-gradient(145deg, rgba(0, 160, 233, 0.06), transparent 40%),
    linear-gradient(180deg, #f4f9fd 0%, #ffffff 100%);
  border: 1px solid rgba(0, 160, 233, 0.16);
  border-radius: 1.5rem;
  padding: clamp(1.35rem, 4vw, 2.15rem);
  box-shadow: var(--venue-shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--venue-ease), box-shadow 0.3s;
}

@media (hover: hover) {
  .venue-host-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 60px rgba(20, 23, 58, 0.12);
  }
}

.venue-host-box::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  right: -50px;
  top: -60px;
  background: rgba(0, 160, 233, 0.08);
  pointer-events: none;
}

.venue-host-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  max-width: 320px;
  background: #fff;
  border: 1px solid #e8edf7;
  border-radius: 1.25rem;
  position: relative;
  z-index: 1;
}

.venue-host-logo img {
  max-height: 100px;
  width: auto;
}

.venue-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(0, 160, 233, 0.1);
  color: var(--venue-cyan-deep);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(0, 160, 233, 0.14);
}

/* —— Practical sections —— */
.practical-section,
#gallery {
  scroll-margin-top: calc(var(--venue-jump-offset) + 56px);
}

.practical-section {
  padding: clamp(3rem, 6vw, 4.75rem) 0;
  background: #fff;
}

.practical-section.alt {
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(0, 160, 233, 0.08), transparent 55%),
    linear-gradient(180deg, #f5fafd 0%, #ffffff 100%);
}

.practical-heading h2,
.venue-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.45rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--venue-navy);
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.practical-heading p {
  color: var(--venue-muted);
  line-height: 1.8;
  font-size: clamp(0.98rem, 2vw, 1.05rem);
}

.document-map {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--venue-shadow-sm);
  transition: transform 0.3s var(--venue-ease), box-shadow 0.3s;
  cursor: zoom-in;
}

@media (hover: hover) {
  .document-map:hover {
    transform: translateY(-4px);
    box-shadow: var(--venue-shadow);
  }
  .document-map:hover img {
    transform: scale(1.03);
  }
}

.document-map img {
  display: block;
  transition: transform 0.45s var(--venue-ease);
}

.document-map figcaption {
  padding: 0.85rem 1rem 1rem;
  color: var(--venue-muted);
  line-height: 1.55;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, #fafcff, #f4f9fd);
}

.campus-key-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s var(--venue-ease), box-shadow 0.25s, border-color 0.25s;
}

@media (hover: hover) {
  .campus-key-item:hover {
    transform: translateX(4px);
    border-color: rgba(0, 160, 233, 0.22);
    box-shadow: 0 12px 26px rgba(0, 160, 233, 0.1);
  }
}

.key-swatch {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 0.2rem;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.travel-block {
  padding: 1.25rem 1.25rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: var(--venue-shadow-sm);
  transition: transform 0.3s var(--venue-ease), box-shadow 0.3s, border-color 0.3s;
}

@media (hover: hover) {
  .travel-block:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 160, 233, 0.2);
    box-shadow: var(--venue-shadow);
  }
  .travel-block:hover .travel-icon {
    transform: scale(1.06);
  }
}

.travel-icon {
  width: 52px;
  height: 52px;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--venue-cyan), var(--venue-navy-mid));
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 10px 22px rgba(0, 160, 233, 0.28);
  transition: transform 0.3s var(--venue-ease);
}

.travel-copy h3 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  font-weight: 800;
  color: var(--venue-navy);
  margin-bottom: 0.55rem;
}

.travel-copy p,
.travel-copy li {
  color: var(--venue-muted);
  line-height: 1.75;
}

.travel-copy ul {
  margin: 0.75rem 0 0.5rem;
  padding-left: 1.15rem;
}

.travel-copy a,
.info-card a,
.tip-card a {
  color: var(--venue-cyan-deep);
  font-weight: 700;
  text-decoration: none;
}

.travel-copy a:hover,
.info-card a:hover,
.tip-card a:hover {
  text-decoration: underline;
}

.quick-note {
  margin-top: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(0, 160, 233, 0.08), rgba(28, 31, 76, 0.04));
  border: 1px solid rgba(0, 160, 233, 0.16);
  color: var(--venue-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.info-card,
.tip-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 1.25rem;
  padding: 1.35rem 1.25rem;
  box-shadow: var(--venue-shadow-sm);
  transition: transform 0.3s var(--venue-ease), box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.info-card::after,
.tip-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(0, 160, 233, 0.06);
  pointer-events: none;
}

@media (hover: hover) {
  .info-card:hover,
  .tip-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 160, 233, 0.22);
    box-shadow: var(--venue-shadow);
  }
  .info-card:hover .info-card-icon {
    background: linear-gradient(145deg, var(--venue-cyan), var(--venue-navy-mid));
    color: #fff;
    transform: scale(1.06);
  }
}

.info-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(0, 160, 233, 0.16), rgba(28, 31, 76, 0.1));
  color: var(--venue-cyan-deep);
  font-size: 1.28rem;
  margin-bottom: 1rem;
  transition: transform 0.3s var(--venue-ease), color 0.3s, background 0.3s;
}

.info-card h3,
.tip-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--venue-navy);
  margin-bottom: 0.65rem;
}

.info-card p,
.tip-card p {
  color: var(--venue-muted);
  line-height: 1.75;
  margin: 0;
}

/* —— Gallery —— */
.gallery-section {
  background:
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(0, 160, 233, 0.08), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #eef7fc 100%);
}

.venue-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: rgba(0, 160, 233, 0.1);
  color: var(--venue-cyan-deep);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(0, 160, 233, 0.14);
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #e8f4fc;
  box-shadow: var(--venue-shadow-sm);
  cursor: zoom-in;
  transition: transform 0.3s var(--venue-ease), box-shadow 0.3s;
  min-height: 220px;
}

.gallery-card-lg { min-height: clamp(240px, 40vw, 380px); }
.gallery-card-sm { min-height: clamp(220px, 35vw, 260px); }

@media (hover: hover) {
  .gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--venue-shadow);
  }
  .gallery-card.real-photo:hover img {
    transform: scale(1.07);
  }
  .gallery-card:hover .gallery-overlay {
    transform: translateY(0);
  }
  .gallery-card:hover .gallery-zoom-hint {
    opacity: 1;
    transform: scale(1);
  }
}

.gallery-card.real-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  transition: transform 0.55s var(--venue-ease);
}

.gallery-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.15rem 1.1rem 1rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(20, 23, 58, 0.82) 100%);
  color: #fff;
  transform: translateY(6px);
  transition: transform 0.3s var(--venue-ease);
  z-index: 1;
}

.gallery-overlay h5 {
  margin: 0;
  font-weight: 800;
  font-size: 1.02rem;
  color: #fff;
}

.gallery-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  font-weight: 700;
  font-size: 0.82rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  margin-bottom: 0.65rem;
}

.gallery-zoom-hint {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--venue-navy-mid);
  opacity: 0.85;
  transform: scale(0.95);
  transition: opacity 0.25s, transform 0.25s;
  z-index: 2;
}

/* Always show zoom hint on touch devices */
@media (hover: none) {
  .gallery-zoom-hint { opacity: 1; }
  .gallery-overlay { transform: none; }
}

/* —— Bootstrap modal lightbox —— */
.venue-modal-content {
  background: #0f1738 !important;
}

.venue-modal-img {
  max-height: min(78vh, 900px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* —— Breakpoints —— */
@media (max-width: 991.98px) {
  :root { --venue-jump-offset: 64px; }
}

@media (max-width: 575.98px) {
  .venue-jump-link {
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
  }

  .btn-venue-primary,
  .btn-venue-ghost {
    width: 100%;
  }

  .venue-hero-actions {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .venue-reveal,
  .venue-badge,
  .venue-title,
  .venue-subtitle,
  .venue-hero-actions,
  .venue-hero::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
