/*
Theme Name: MerchBooth
Theme URI: https://merchbooth.shop
Author: MerchBooth
Description: Custom lightweight WordPress theme for MerchBooth — pop-up merch stores, bulk orders, organizations, and fundraisers.
Version: 1.4.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: merchbooth
*/

:root {
  --mb-blue: #1268ff;
  --mb-blue-dark: #0d4ed8;
  --mb-black: #0b0b0d;
  --mb-charcoal: #17181c;
  --mb-gray: #6b7280;
  --mb-light: #f5f7fb;
  --mb-white: #ffffff;
  --mb-border: #e5e7eb;
  --mb-radius: 18px;
  --mb-shadow: 0 16px 45px rgba(12, 22, 48, .10);
  --mb-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--mb-black);
  background: var(--mb-white);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(92%, var(--mb-max)); margin: 0 auto; }


.launch-bar {
  background: var(--mb-black);
  color: white;
  text-align: center;
  font-size: .92rem;
  font-weight: 750;
  letter-spacing: .01em;
}
.launch-bar-inner { padding: 9px 0; }
.launch-bar a { color: #9ec1ff; text-decoration: underline; text-underline-offset: 3px; font-weight: 900; }
.launch-bar a:hover { color: white; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229,231,235,.9);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { width: 310px; max-height: 60px; object-fit: contain; object-position: left center; }
.site-title { font-size: 1.5rem; font-weight: 900; }
.nav-wrap { display: flex; align-items: center; gap: 20px; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; align-items: center; }
.primary-nav a { font-weight: 700; font-size: .96rem; }
.primary-nav a:hover { color: var(--mb-blue); }
.header-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
  transition: .2s ease;
  border: 0;
  cursor: pointer;
}
.header-cta, .btn-primary { background: var(--mb-blue); color: white; }
.header-cta:hover, .btn-primary:hover { background: var(--mb-blue-dark); transform: translateY(-1px); }
.btn-secondary { background: var(--mb-black); color: white; }
.btn-secondary:hover { background: #27272a; transform: translateY(-1px); }
.btn-light { background: white; color: var(--mb-black); border: 1px solid var(--mb-border); }

.hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(circle at 80% 10%, rgba(18,104,255,.14), transparent 31%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(18,104,255,.10);
  color: var(--mb-blue-dark);
  font-size: .83rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
h1 { font-size: clamp(3rem, 7vw, 5.8rem); line-height: .96; letter-spacing: -.055em; margin: 20px 0 24px; }
.hero p { font-size: 1.22rem; color: #4b5563; max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 16px; color: var(--mb-gray); font-size: .92rem; }

.hero-side { display: grid; gap: 22px; }
.hero-feature-image {
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--mb-shadow);
  border: 1px solid rgba(229,231,235,.9);
}
.hero-feature-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.hero-card {
  background: var(--mb-black);
  color: white;
  border-radius: 30px;
  padding: 34px;
  box-shadow: 0 28px 80px rgba(5, 12, 30, .24);
  transform: rotate(1.5deg);
}
.hero-card .mini-label { color: #a8c5ff; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
.hero-card h3 { font-size: 2rem; line-height: 1.08; margin: 12px 0 14px; }
.hero-card ul { margin: 22px 0 0; padding-left: 20px; color: #e5e7eb; }

.section { padding: 82px 0; }
.section.alt { background: var(--mb-light); }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -.04em; margin: 0 0 14px; }
.section-head p { font-size: 1.08rem; color: var(--mb-gray); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: white;
  border: 1px solid var(--mb-border);
  border-radius: var(--mb-radius);
  padding: 28px;
  box-shadow: var(--mb-shadow);
}
.card h3 { margin: 12px 0 8px; font-size: 1.35rem; }
.card p { color: var(--mb-gray); margin: 0; }
.step-number {
  width: 42px; height: 42px; border-radius: 50%; background: var(--mb-blue); color: white;
  display: grid; place-items: center; font-weight: 900;
}

.price-card {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 36px;
  align-items: center;
  background: var(--mb-black);
  color: white;
  border-radius: 28px;
  padding: 44px;
}
.price-big { font-size: clamp(4.5rem, 9vw, 7.5rem); font-weight: 950; letter-spacing: -.07em; line-height: .85; color: #fff; }
.price-big span { font-size: 1rem; letter-spacing: 0; color: #a1a1aa; display: block; margin-top: 14px; }
.price-card ul { margin: 0; padding-left: 20px; color: #e5e7eb; }

.fundraiser {
  border-radius: 28px;
  padding: 44px;
  background: linear-gradient(135deg, #eef5ff, #ffffff);
  border: 1px solid #d7e5ff;
}
.fundraiser strong { color: var(--mb-blue-dark); }

.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.example-card { border-radius: 24px; overflow: hidden; color: white; background: #111827; position: relative; box-shadow: var(--mb-shadow); }
.example-card.image-card { min-height: 520px; padding: 0; }
.example-card.image-card img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; display: block; }
.example-card.image-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.02) 38%, rgba(0,0,0,.82) 100%); pointer-events: none; }
.example-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px; z-index: 2; }

.example-card.creator-card {
  min-height: 520px;
  background: linear-gradient(145deg, #09090b 0%, #101828 58%, #1268ff 140%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
}
.creator-icons {
  position: absolute;
  inset: 34px 34px auto 34px;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 2.2rem;
  font-weight: 900;
}
.creator-icons span {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
}

.example-card h3 { margin: 0 0 4px; font-size: 1.8rem; }
.example-card p { margin: 0; color: rgba(255,255,255,.9); max-width: 540px; }

.cta-band { padding: 70px 0; background: var(--mb-blue); color: white; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.04em; margin: 0; }

.page-hero { padding: 72px 0 42px; background: var(--mb-light); }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); }
.content-wrap { width: min(92%, 920px); margin: 0 auto; padding: 58px 0 80px; }

.form-card { background: white; border: 1px solid var(--mb-border); border-radius: 24px; padding: 32px; box-shadow: var(--mb-shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field.full { grid-column: 1 / -1; }
label { display: block; font-weight: 800; margin-bottom: 7px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], select, textarea {
  width: 100%; border: 1px solid #d1d5db; border-radius: 12px; padding: 13px 14px; font: inherit; background: white;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(18,104,255,.15); border-color: var(--mb-blue); }
.help { font-size: .87rem; color: var(--mb-gray); margin-top: 5px; }
.notice { border-radius: 14px; padding: 14px 16px; margin-bottom: 22px; }
.notice.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.notice.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.checkline { display: flex; gap: 10px; align-items: flex-start; }
.checkline input { margin-top: 5px; }

.site-footer { background: #09090b; color: white; padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 32px; }
.footer-logo { width: 280px; filter: brightness(0) invert(1); }
.site-footer p, .site-footer a { color: #c7c9d1; }
.site-footer a:hover { color: white; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid #27272a; margin-top: 34px; padding-top: 20px; color: #8f93a1; font-size: .9rem; }

.mobile-toggle { display: none; border: 0; background: none; font-size: 1.5rem; }

@media (max-width: 860px) {
  .hero-grid, .price-card, .footer-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .examples { grid-template-columns: 1fr; }
  .example-card.image-card, .example-card.image-card img, .example-card.creator-card { min-height: 430px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .mobile-toggle { display: block; }
  .primary-nav { display: none; position: absolute; left: 4%; right: 4%; top: 78px; background: white; padding: 18px; border: 1px solid var(--mb-border); border-radius: 16px; box-shadow: var(--mb-shadow); }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 10px; }
  .header-cta { display: none; }
  .brand img { width: 230px; }
  .hero { padding-top: 64px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .section { padding: 62px 0; }
  .hero-card, .price-card, .fundraiser, .form-card { padding: 24px; }
  .hero-feature-image img { height: 220px; }
  h1 { font-size: 3rem; }
}
