/* ============================================================
   Myrtle Beach Event Space — professional redesign
   Design bar: Airbnb Experiences / Peerspace / VenueReport
   System fonts only. No emojis as visual elements.
   ============================================================ */

:root {
  /* Restrained coastal palette — deep tones, used sparingly */
  --ink: #1d3036;
  --ink-soft: #33484e;
  --sea: #0f6e73;
  --sea-deep: #0a4a4e;
  --sea-ink: #083336;
  --sand: #faf8f2;
  --sand-deep: #f2ecdd;
  --line: #e6ddc9;
  --coral: #c96a45;
  --coral-deep: #a9522f;
  --white: #ffffff;
  --muted: #5f6f73;
  --faint: #8a979b;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(29, 48, 54, 0.05), 0 10px 30px rgba(29, 48, 54, 0.07);
  --shadow-lift: 0 2px 4px rgba(29, 48, 54, 0.06), 0 16px 40px rgba(29, 48, 54, 0.12);

  /* Subtle wave texture used on art panels (white lines, low opacity) */
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='20' viewBox='0 0 96 20'%3E%3Cpath d='M0 10 Q 12 4 24 10 T 48 10 T 72 10 T 96 10' fill='none' stroke='%23ffffff' stroke-opacity='0.13' stroke-width='1.5'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ---------- typography ---------- */
h1, h2, h3, .serif {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); }
p { margin: 0 0 1em; }
a { color: var(--sea); text-underline-offset: 2px; }
a:hover { color: var(--sea-deep); }
img { max-width: 100%; display: block; }

::selection { background: rgba(15, 110, 115, 0.18); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* ---------- header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--sea-deep);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0; /* hides the wave emoji — replaced by SVG below */
  position: relative; flex: none;
}
.brand-mark::before {
  content: ""; width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 13.5c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2 2.5 2 5 2' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M2 18c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2 2.5 2 5 2' fill='none' stroke='%23ffffff' stroke-opacity='0.55' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.brand-name {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.12rem; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em;
}
.brand-name small {
  display: block; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.66rem; font-weight: 600; color: var(--faint);
  letter-spacing: 0.09em; text-transform: uppercase; margin-top: 2px;
}
.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  text-decoration: none; color: var(--ink-soft); padding: 9px 14px;
  border-radius: var(--radius-sm); font-size: 0.94rem; font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.nav a:hover { background: var(--sand-deep); color: var(--ink); }
.nav a.cta { background: var(--coral); color: #fff; font-weight: 600; margin-left: 6px; }
.nav a.cta:hover { background: var(--coral-deep); color: #fff; }
@media (max-width: 640px) { .nav a:not(.cta) { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer; border: none;
  background: var(--coral); color: #fff; font-weight: 600; font-size: 1rem;
  letter-spacing: 0.01em; padding: 14px 28px; border-radius: 10px;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(169, 82, 47, 0.25);
  font-family: inherit;
}
.btn:hover { background: var(--coral-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(169, 82, 47, 0.3); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn.secondary {
  background: var(--white); color: var(--sea-deep);
  border: 1.5px solid var(--sea); box-shadow: none;
}
.btn.secondary:hover { background: var(--sea); border-color: var(--sea); color: #fff; box-shadow: 0 4px 14px rgba(15, 110, 115, 0.25); }
.btn.big { font-size: 1.08rem; padding: 16px 38px; }
/* The "Find my space" CTAs begin with an inline target emoji — collapse it */
.btn.big[href]::first-letter { font-size: 0; }
.btn:focus-visible, .nav a:focus-visible, .card:focus-visible {
  outline: 2px solid var(--sea); outline-offset: 3px;
}

/* ---------- hero ---------- */
.hero {
  background: var(--sea-ink);
  background-image: var(--wave);
  background-size: 96px 20px;
  color: #fff; padding: 88px 0 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(720px 340px at 18% 0%, rgba(255, 255, 255, 0.07), transparent 65%);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero h1 { color: #fff; margin: 0 0 16px; max-width: 660px; }
.hero p.lede {
  font-size: 1.16rem; line-height: 1.6; max-width: 600px;
  margin: 0 0 30px; color: rgba(255, 255, 255, 0.82);
}
.hero .btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn.secondary {
  background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55);
}
.hero .btn.secondary:hover { background: #fff; border-color: #fff; color: var(--sea-deep); }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section h2 { font-size: clamp(1.6rem, 3.2vw, 2.15rem); margin: 0 0 10px; }
.section .sub { color: var(--muted); margin: 0 0 32px; max-width: 640px; font-size: 1.05rem; }
@media (max-width: 640px) { .section { padding: 48px 0; } }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); display: flex; flex-direction: column;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

/* Card art: sophisticated duotone panels with a subtle wave texture.
   The injected emoji glyph is collapsed; the panel carries the design. */
.card-art {
  height: 148px; position: relative; overflow: hidden;
  font-size: 0; line-height: 0; /* hides emoji text node */
  background-color: var(--sea);
  background-image: var(--wave);
  background-size: 96px 20px;
  display: block;
}
.card-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}
.card-art.pool      { background-color: #155e78; }
.card-art.garden    { background-color: #2f5d40; }
.card-art.vine      { background-color: #5c3d50; }
.card-art.water     { background-color: #1f3d5e; }
.card-art.stage     { background-color: #54294b; }
.card-art.island    { background-color: #14655a; }
.card-art.ballroom  { background-color: #3a3a68; }
.card-art.club      { background-color: #2c5238; }
.card-art.sky       { background-color: #8a4c33; }

.card-body { padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.08rem; line-height: 1.32; }
/* Event-type cards render an emoji before the label — collapse it */
#event-cards .card-body h3::first-letter { font-size: 0; }
.card-body .meta { font-size: 0.84rem; color: var(--faint); font-weight: 500; letter-spacing: 0.01em; }
.card-body .tagline { font-size: 0.95rem; color: var(--muted); margin: 0; line-height: 1.55; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.chip {
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.015em;
  background: var(--sand-deep); color: var(--sea-deep);
  border-radius: 999px; padding: 5px 11px; white-space: nowrap;
}
.chip.warn { background: #fbf0e2; color: #96600f; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; counter-reset: step; }
.step {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: 14px;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--sea);
}
.step h3 { margin: 0 0 8px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.96rem; line-height: 1.6; }

/* ---------- quiz ---------- */
.quiz-shell { max-width: 680px; margin: 0 auto; }
.quiz-progress {
  height: 6px; background: var(--sand-deep); border-radius: 99px;
  overflow: hidden; margin-bottom: 30px;
}
.quiz-progress i {
  display: block; height: 100%; background: var(--sea);
  border-radius: 99px; transition: width 0.25s ease;
}
.quiz-q h2 { font-size: clamp(1.5rem, 3.4vw, 1.9rem); margin: 0 0 8px; }
.quiz-q .q-hint { color: var(--muted); margin: 0 0 22px; font-size: 1.02rem; }
.opt-grid { display: grid; gap: 10px; }
.opt {
  display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 15px 18px; font-size: 1rem; font-weight: 500; color: var(--ink); width: 100%;
  font-family: inherit; transition: border-color 0.12s, box-shadow 0.12s, transform 0.1s;
}
.opt:hover { border-color: var(--sea); box-shadow: 0 2px 10px rgba(15, 110, 115, 0.12); }
.opt:active { transform: scale(0.995); }
.opt .emoji { display: none; } /* emoji replaced by clean typographic rows */
.quiz-back {
  background: none; border: none; color: var(--muted); cursor: pointer;
  margin-top: 20px; font-size: 0.94rem; font-family: inherit; padding: 4px 0;
}
.quiz-back:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.num-input {
  font-size: 1.5rem; font-weight: 600; padding: 12px 18px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  width: 210px; text-align: center; color: var(--ink); background: #fff;
  font-family: inherit;
}
.num-input:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(15, 110, 115, 0.14); }
.quiz-actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- venue profile ---------- */
.venue-hero {
  border-radius: var(--radius); overflow: hidden; color: #fff;
  padding: 60px 40px; margin: 28px 0 8px; box-shadow: var(--shadow);
  font-size: 1rem; line-height: 1.65; /* restores type inside card-art */
  background-color: var(--sea-deep);
  background-image: var(--wave);
  background-size: 96px 20px;
  position: relative;
}
.venue-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 45%);
}
.venue-hero h1 { color: #fff; margin: 0 0 10px; font-size: clamp(1.9rem, 4.5vw, 2.8rem); position: relative; z-index: 1; }
.venue-hero .tagline { font-size: 1.14rem; color: rgba(255, 255, 255, 0.85); margin: 0 0 18px; position: relative; z-index: 1; }
.venue-hero .meta { display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 1; }
.venue-hero .chip { background: rgba(255, 255, 255, 0.16); color: #fff; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 28px 0; }
.fact { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.fact .k {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--faint); margin-bottom: 5px;
}
.fact .v { font-weight: 600; font-size: 1.04rem; color: var(--ink); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0; }
@media (max-width: 700px) { .two-col { grid-template-columns: 1fr; } }
.list-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.list-card h3 { margin: 0 0 12px; font-size: 1.12rem; }
.list-card ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.list-card li { margin-bottom: 7px; line-height: 1.55; }
.price-box {
  background: var(--white); border: 1px solid var(--line);
  border-left: 4px solid var(--sea);
  border-radius: var(--radius-sm); padding: 22px 24px; margin: 24px 0;
}
.price-box h3 { margin: 0 0 8px; font-size: 1.12rem; }
.price-box p { margin: 0; color: var(--ink-soft); }
.disclaimer {
  font-size: 0.87rem; color: var(--muted); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 18px; margin: 24px 0; line-height: 1.6;
}

/* ---------- forms ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 24px 20px; } }
.field label {
  display: block; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.02em; margin-bottom: 6px; color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d8d0ba; border-radius: var(--radius-sm);
  font-size: 1rem; font-family: inherit; color: var(--ink); background: #fff;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(15, 110, 115, 0.14);
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.55; }
.form-note { font-size: 0.86rem; color: var(--muted); margin-top: 14px; line-height: 1.55; }
.form-success { text-align: center; padding: 40px 20px; }
.form-success .big-emoji { font-size: 0; margin-bottom: 18px; } /* replaced by CSS check */
.form-success .big-emoji::before {
  content: ""; display: inline-block; width: 60px; height: 60px; border-radius: 50%;
  background: var(--sea) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 28px no-repeat;
}
.form-success h3 { font-size: 1.4rem; margin: 0 0 10px; }
.form-success p { color: var(--muted); max-width: 440px; margin: 0 auto 8px; }
.demo-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em;
  background: #fbf3df; color: #8a6d1b; border: 1px solid #e7d6a8; border-radius: 6px;
  padding: 4px 10px; text-transform: uppercase; margin-bottom: 12px;
}

/* ---------- guides ---------- */
.guide-body { font-size: 1.02rem; }
.guide-body p { color: var(--ink-soft); }
.guide-body h1 { margin: 14px 0 18px; }
.guide-body h2 { margin: 40px 0 12px; font-size: clamp(1.35rem, 2.8vw, 1.7rem); }
.faq {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; margin: 18px 0;
}
.faq h3 { margin: 0 0 8px; font-size: 1.06rem; }
.faq p { margin: 0; color: var(--muted); line-height: 1.6; }
.venue-link-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 15px 18px; margin: 10px 0; text-decoration: none; color: var(--ink);
  transition: border-color 0.12s, box-shadow 0.12s;
}
.venue-link-row:hover { border-color: var(--sea); box-shadow: 0 2px 10px rgba(15, 110, 115, 0.1); }
.venue-link-row .go { color: var(--coral-deep); font-weight: 700; white-space: nowrap; font-size: 0.92rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #c9d8da; margin-top: 72px; padding: 56px 0 32px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 700px) { .site-footer .cols { grid-template-columns: 1fr; gap: 24px; } }
.site-footer h4 {
  color: #fff; margin: 0 0 12px; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; font-family: inherit;
}
.site-footer a {
  color: #c9d8da; text-decoration: none; display: block;
  margin-bottom: 8px; font-size: 0.93rem; width: fit-content;
}
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer p { font-size: 0.93rem; margin: 0 0 10px; line-height: 1.6; color: #a9bcbe; }
.fine {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding-top: 20px; font-size: 0.82rem; color: #8ba0a3; line-height: 1.6;
}

/* ---------- misc ---------- */
.breadcrumb { font-size: 0.87rem; color: var(--faint); margin: 22px 0 0; }
.breadcrumb a { color: var(--faint); text-decoration: none; }
.breadcrumb a:hover { color: var(--sea); text-decoration: underline; text-underline-offset: 3px; }
.results-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 22px;
}
.results-head h2 { margin: 0; }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-bar select {
  padding: 11px 14px; border: 1px solid #d8d0ba; border-radius: var(--radius-sm);
  font-size: 0.94rem; font-family: inherit; background: #fff; color: var(--ink);
}
.filter-bar select:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(15, 110, 115, 0.14); }
.empty-state { text-align: center; padding: 64px 20px; color: var(--muted); }
.empty-state h3 { color: var(--ink); }
.cta-band {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 44px 32px; text-align: center;
  margin: 56px 0; box-shadow: var(--shadow);
}
.cta-band h2 { margin: 0 0 10px; }
.cta-band p { color: var(--muted); margin: 0 0 24px; font-size: 1.05rem; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
