/* /css/styles.css */

body {
  font-family: "Georgia", "Times New Roman", serif;
  background: #f4f1ea;
  color: #2b2b2b;
  margin-top: 70px;
}

.navbar {
  background: #2a1f14;
  border: none;
}

.navbar-brand,
.navbar-nav li a {
  color: #f4f1ea !important;
  letter-spacing: 1px;
}

.navbar-toggle .icon-bar {
  background: #f4f1ea;
}

.navbar-nav li a:hover {
  text-decoration: underline;
}

/* Top-level navbar links hover (match Lore dropdown hover color) */
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
  background: rgba(255, 255, 255, 0.08) !important; /* same as dropdown */
  color: #f4f1ea !important;
  text-decoration: none; /* optional: remove underline if you want */
}

.navbar-nav li a.find-seat {
  background: #8b2e2e;
  color: #fff !important;
  margin-left: 10px;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: bold;
  letter-spacing: 1px;
}

.navbar-nav li a.find-seat:hover {
  background: #a63a3a;
  text-decoration: none;
  box-shadow: 0 0 8px rgba(255, 200, 200, 0.6);
}
/* Navbar dropdown (Lore) */
.navbar-nav > .dropdown > .dropdown-toggle .caret {
  border-top-color: #f4f1ea;
  border-bottom-color: #f4f1ea;
}

.navbar-nav > .open > a,
.navbar-nav > .open > a:focus,
.navbar-nav > .open > a:hover {
  background: #2a1f14 !important;
  color: #f4f1ea !important;
}

/* Dropdown menu panel */
.navbar-nav .dropdown-menu {
  background: #2a1f14;
  border: 1px solid rgba(244, 241, 234, 0.2);
  border-radius: 6px;
  padding: 6px 0;
}

/* Dropdown links */
.navbar-nav .dropdown-menu > li > a {
  color: #f4f1ea !important;
  padding: 10px 18px;
  letter-spacing: 1px;
}

.navbar-nav .dropdown-menu > li > a:hover,
.navbar-nav .dropdown-menu > li > a:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  text-decoration: none;
}

.hero {
  text-align: center;
  padding: 100px 20px 60px;
  background: radial-gradient(circle at top, #3a2a1c, #1e150d);
  color: #f4f1ea;
}

.hero h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero p {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
}

.cta-buttons a {
  margin: 10px;
  padding: 14px 26px;
  font-size: 1.1em;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}

.cta-primary {
  background: #8b2e2e;
  color: #fff;
}

.cta-primary:hover {
  background: #a63a3a;
  color: #fff;
}

.cta-secondary {
  border: 1px solid #f4f1ea;
  color: #f4f1ea;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.section h2 {
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.social a {
  font-size: 2em;
  margin: 0 12px;
  color: #2a1f14;
}

.social a:hover {
  color: #8b2e2e;
}

footer {
  background: #2a1f14;
  color: #f4f1ea;
  padding: 30px 20px;
  text-align: center;
}

footer a {
  color: #f4f1ea;
  margin: 0 10px;
}

/* Email signup form (moved from inline styles) */
.signup-form {
  max-width: 420px;
  margin: 0 auto;
}
.signup-form .cta-primary {
  border: none;
}

/* MOBILE FIXES */
@media (max-width: 768px) {
  body {
    margin-top: 100px;
  }

  .hero {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 2.2em;
    letter-spacing: 2px;
  }

  .navbar-nav {
    background: #2a1f14;
    margin-top: 10px;
  }

  .navbar-nav li a {
    padding: 14px 20px;
  }

  .navbar-nav li a.find-seat {
    margin: 10px 15px;
    display: block;
    text-align: center;
  }
}

/* ===========================
   RIVEN RESERVE (page-specific)
   =========================== */

.rr-select,
.rr-input,
.rr-textarea,
#charterContainer select,
#charterContainer input,
#charterContainer textarea {
  width: 100%;
  padding: 10px;
  border: 2px solid #7a4a1c;
  background: #fffaf0;
  margin-bottom: 15px;
}

.rr-form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.rr-form-group {
  flex: 1;
  min-width: 260px;
}

.rr-description {
  font-size: 0.9em;
  color: #4a2f12;
}

.rr-total-box {
  background: #efe3c4;
  border: 3px solid #7a4a1c;
  padding: 20px;
  margin: 30px 0;
}

#gateOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  color: #f4f1ea;
}

#gateOverlay input {
  color: black;
  background: #fffaf0;
  border: 2px solid #7a4a1c;
  padding: 10px;
  width: 100%;
}

#gateOverlay button {
  background: #8b2e2e;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

#charterContainer {
  display: none;
}

.rr-info-box {
  background: #efe3c4;
  border: 2px solid #7a4a1c;
  padding: 20px;
  margin-bottom: 40px;
  text-align: left;
  color: #2b2b2b;
}

.rr-info-box h3 {
  margin-top: 0;
}

/* Optional: make the submit button match your site CTA */
.rr-submit {
  background: #8b2e2e;
  color: #fff;
  padding: 12px 18px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
}

.rr-submit:hover {
  background: #a63a3a;
}


/* ===========================
   REALM (page-specific)
   =========================== */

.realm-hero {
  text-align: center;
  padding: 90px 20px 40px;
  background: radial-gradient(circle at top, #3a2a1c, #1e150d);
  color: #f4f1ea;
}

.realm-hero h1 {
  font-size: 3.2em;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.realm-hero p {
  font-size: 1.15em;
  max-width: 900px;
  margin: 0 auto;
  opacity: 0.95;
}

.realm-wrap {
  max-width: 1100px;
  margin: 30px auto 70px;
  padding: 0 20px;
}

.realm-panel {
  background: #fffaf0;
  border: 2px solid rgba(122, 74, 28, 0.55);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.10);
  position: relative;
}

.realm-panel::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  pointer-events: none;
  background:
    radial-gradient(circle at 0% 0%, rgba(122,74,28,0.14), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(122,74,28,0.14), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(122,74,28,0.14), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(122,74,28,0.14), transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,0.12), transparent 55%);
}

.realm-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.realm-title {
  margin: 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.realm-sub {
  margin: 0;
  color: #5c4631;
  font-size: 0.95em;
}

.realm-tools {
  display: flex;
  gap: 10px;
  align-items: center;
}

.realm-btn {
  background: #2a1f14;
  color: #f4f1ea;
  border: 1px solid rgba(244,241,234,0.22);
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: bold;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.realm-btn:hover { background: #332619; }

.realm-btn.primary {
  background: #8b2e2e;
  border-color: rgba(255,255,255,0.12);
}

.realm-btn.primary:hover { background: #a63a3a; }

.realm-figure {
  margin: 0;
  position: relative;
  z-index: 2;
}

.realm-map-frame {
  background: #efe3c4;
  border: 2px solid #7a4a1c;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.14);
}

.realm-map {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

/* Small caption/credit area (optional) */
.realm-caption {
  margin-top: 12px;
  font-size: 0.95em;
  color: #5c4631;
}

/* ---------- Lightbox ---------- */

.realm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  background: rgba(0,0,0,0.92);
}

.realm-lightbox.is-open { display: block; }

.realm-lightbox-topbar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: #f4f1ea;
}

.realm-lightbox-title {
  font-weight: bold;
  letter-spacing: 1px;
  opacity: 0.92;
}

.realm-lightbox-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.realm-iconbtn {
  background: rgba(42,31,20,0.92);
  color: #f4f1ea;
  border: 1px solid rgba(244,241,234,0.18);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: bold;
}

.realm-iconbtn:hover { background: rgba(51,38,25,0.95); }

.realm-stage {
  position: absolute;
  inset: 60px 18px 18px 18px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(244,241,234,0.14);
  background: radial-gradient(circle at center, rgba(255,255,255,0.06), transparent 55%);
}

.realm-zoomable {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: center;
  transform: translate(-50%, -50%) scale(1);
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
  max-width: none; /* important for zoom */
}

.realm-zoomable:active { cursor: grabbing; }

/* Mobile tweaks */
@media (max-width: 768px) {
  .realm-hero { padding-top: 120px; }
  .realm-hero h1 { font-size: 2.2em; letter-spacing: 2px; }
  .realm-tools { width: 100%; justify-content: flex-start; }
  .realm-stage { inset: 62px 10px 10px 10px; }
}












/* --- ABC Tools wrapper (Minstrel’s Ledger) --- */
.abc-wrapper {
  background: #f4f1ea;
  padding: 22px;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.abc-container {
  text-align: center;
}

.abc-title {
  margin-top: 0;
}

.abc-subtitle {
  margin-bottom: 14px;
}

.abc-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.abc-select {
  min-width: 260px;
  max-width: 520px;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.2);
}

.abc-select-instrument {
  min-width: 220px;
}

.abc-btn {
  padding: 10px 14px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.2);
  background: rgba(255,255,255,0.6);
  cursor: pointer;
}

.abc-btn:hover {
  background: rgba(255,255,255,0.9);
}

#fullscreenbutton {
  float: right;
  margin-bottom: 10px;
}

/* Full-width, tall ABC iframe (page scrolls normally; iframe scroll remains as fallback) */
.abc-iframe{
  width: 100vw;
  min-height: 1400px;     /* desktop baseline */
  height: 100vh;          /* tall by default */
  border: none;

  /* full-bleed (edge-to-edge) */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
@media (max-width: 768px){
  .abc-iframe{
    min-height: 1700px;   /* phone baseline */
    height: 210vh;        /* extra tall on mobile */
  }
}


/* ===== Full-width ABC section ===== */

.abc-fullwidth {
  width: 100%;
  padding: 40px 0;
}

.abc-container {
  width: 100%;
  text-align: center;
  padding: 0 20px;
}

.abc-iframe {
  width: 100vw;
  height: 75vh;
  border: none;

  /* break out of centered layout */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

@media (max-width: 768px){
  .abc-iframe{
    display: none;
  }
}