/*
Theme Name: CampVibe
Theme URI: https://www.campvibe.app/
Author: Josh Bounds
Description: Custom single-page marketing theme for CampVibe.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: campvibe
*/

:root {
  --bg: #f7f4ef;
  --bg-deep: #efe9de;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-border: rgba(64, 52, 37, 0.08);
  --text: #1e1b17;
  --muted: #675f56;
  --forest: #5fc769;
  --forest-deep: #2f7f43;
  --sunset: #ff9d42;
  --ember: #f5672f;
  --shadow: 0 28px 70px rgba(70, 52, 30, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 172, 88, 0.28), transparent 32%),
    radial-gradient(circle at top right, rgba(95, 199, 105, 0.22), transparent 30%),
    linear-gradient(180deg, #fffaf4 0%, var(--bg) 45%, var(--bg-deep) 100%);
}

.wp-site-blocks {
  padding-top: 0.75rem;
  padding-bottom: 3rem;
}

.wp-site-blocks > * + * {
  margin-block-start: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.25rem 0 4rem;
}

.inner-content {
  padding-top: 2rem;
}

.site-header {
  position: sticky;
  top: 0.75rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  margin-bottom: 2rem;
  background: rgba(255, 250, 244, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(104, 81, 45, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  box-shadow: 0 18px 28px rgba(92, 68, 38, 0.18);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy strong,
.hero h1,
.section-heading h2,
.highlight-copy h2,
.showcase-card h2,
.closing-cta h2,
.wp-block-site-title {
  font-family: "Sora", sans-serif;
}

.brand-copy strong {
  font-size: 1rem;
}

.brand-copy .wp-block-site-tagline,
.brand-copy span:last-child {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible,
.screen-tab:hover,
.screen-tab:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fffdf9;
  background: linear-gradient(135deg, var(--forest-deep), var(--forest));
  box-shadow: 0 18px 34px rgba(47, 127, 67, 0.28);
}

.button-primary .wp-block-button__link,
.button-secondary .wp-block-button__link {
  background: transparent;
  color: inherit;
  padding: 0;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(79, 58, 35, 0.1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 9rem);
  padding: 2rem 0 3rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--forest-deep);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-text,
.highlight-copy p,
.feature-card p,
.showcase-card p,
.faq-list p,
.faq-card p,
.closing-cta p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.75rem 0 2rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-metrics li,
.metric-card,
.feature-card,
.gallery-card,
.highlight-points article,
.faq-list details,
.faq-card,
.showcase-card,
.phone-frame,
.footer-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-metrics li {
  padding: 1rem;
}

.metric-card {
  padding: 1rem;
}

.metric-card p {
  margin: 0;
  color: var(--muted);
}

.metric-card strong {
  color: var(--text);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.hero-visual {
  position: relative;
}

.hero-stack {
  position: relative;
  min-height: 760px;
}

.hero-stack-card,
.screenshot-card {
  background: linear-gradient(180deg, rgba(255, 253, 250, 0.94), rgba(248, 242, 235, 0.88));
  border: 1px solid var(--surface-border);
  border-radius: 44px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-stack-card {
  position: absolute;
  padding: 0.8rem;
}

.hero-stack-card-main {
  top: 5rem;
  right: 0;
  width: min(390px, 78%);
  z-index: 3;
}

.hero-stack-card-map {
  top: 14rem;
  left: 0;
  width: min(250px, 46%);
  transform: rotate(-8deg);
  z-index: 2;
}

.hero-stack-card-profile {
  right: 2rem;
  bottom: 0;
  width: min(250px, 46%);
  transform: rotate(8deg);
  z-index: 1;
}

.glow {
  position: absolute;
  filter: blur(36px);
  opacity: 0.9;
  pointer-events: none;
}

.glow-sunrise {
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 157, 66, 0.42), transparent 72%);
}

.glow-forest {
  bottom: 6%;
  left: 6%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(95, 199, 105, 0.32), transparent 72%);
}

.showcase-card {
  width: min(460px, 100%);
  padding: 1.3rem;
  margin-bottom: 1rem;
}

.card-label {
  margin: 0 0 0.55rem;
  color: var(--sunset);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.showcase-card h2 {
  margin: 0 0 0.6rem;
  font-size: 1.6rem;
  line-height: 1.15;
}

.showcase-card p {
  margin: 0;
  font-size: 0.98rem;
}

.phone-frame {
  width: min(390px, 100%);
  padding: 0.8rem;
  border-radius: 44px;
  background: linear-gradient(180deg, rgba(255, 253, 250, 0.94), rgba(248, 242, 235, 0.88));
}

.phone-image {
  width: 100%;
  border-radius: 34px;
  aspect-ratio: 393 / 852;
  object-fit: cover;
}

.logo-band,
.screen-story-section,
.feature-grid,
.experience-section,
.highlight-strip,
.pricing-preview,
.faq-section,
.closing-cta {
  padding: 2rem 0;
}

.logo-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0 0 1rem;
}

.logo-band div {
  padding: 1rem;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(79, 58, 35, 0.08);
  border-radius: 999px;
  font-weight: 700;
}

.logo-band p {
  margin: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.highlight-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.05;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.grid + .grid {
  margin-top: 1rem;
}

.screen-story-grid {
  display: grid;
  gap: 1.25rem;
}

.screen-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.25rem;
  align-items: center;
}

.screen-story-reverse .story-copy {
  order: 2;
}

.screen-story-reverse .screenshot-card,
.screen-story-reverse .story-screen-pair {
  order: 1;
}

.story-copy {
  padding: 0.5rem 0;
}

.story-copy h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.story-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.screenshot-card {
  padding: 0.8rem;
}

.screenshot-card-wide {
  max-width: 410px;
  justify-self: start;
}

.story-screen-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.screenshot-card-compact {
  padding: 0.75rem;
}

.screenshot-card-offset {
  margin-top: 3rem;
}

.feature-card {
  padding: 1.35rem;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--forest-deep);
  background: linear-gradient(135deg, rgba(95, 199, 105, 0.15), rgba(255, 157, 66, 0.15));
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 800;
}

.feature-card h3,
.highlight-points h3 {
  margin: 0 0 0.45rem;
  font-size: 1.22rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.98rem;
}

.experience-layout {
  gap: 1rem !important;
}

.gallery-card {
  padding: 0.7rem;
}

.gallery-card img {
  width: 100%;
  border-radius: 26px;
}

.highlight-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.25rem;
  align-items: start;
}

.highlight-copy,
.highlight-points {
  padding: 1rem 0;
}

.highlight-points {
  display: grid;
  gap: 1rem;
}

.highlight-points article {
  padding: 1.3rem;
}

.highlight-points p,
.faq-list p {
  margin: 0;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-card {
  padding: 1.15rem 1.25rem;
}

.closing-cta {
  max-width: 820px;
}

.closing-cta h2 {
  margin: 0 0 0.8rem;
  font-family: "Sora", sans-serif;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.05;
}

.closing-cta p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.faq-list details {
  padding: 1.15rem 1.25rem;
}

.faq-list summary,
.faq-card summary {
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker,
.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-list p,
.faq-card p {
  margin-top: 0.8rem;
}

.campvibe-form-notice {
  padding: 1rem 1.2rem;
  margin: 0 0 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow);
}

.campvibe-form-notice-success {
  background: rgba(95, 199, 105, 0.14);
  color: var(--forest-deep);
}

.campvibe-form-notice-error {
  background: rgba(245, 103, 47, 0.12);
  color: #8a3f1b;
}

.campvibe-lead-form {
  display: grid;
  gap: 1rem;
}

.campvibe-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.campvibe-form-full {
  grid-column: 1 / -1;
}

.campvibe-lead-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
}

.campvibe-lead-form label span {
  color: var(--text);
  font-size: 0.94rem;
}

.campvibe-lead-form input,
.campvibe-lead-form select,
.campvibe-lead-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(79, 58, 35, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font: inherit;
}

.campvibe-lead-form textarea {
  resize: vertical;
}

.campvibe-submit-button {
  justify-self: start;
  min-height: 50px;
  padding: 0.9rem 1.35rem;
  border: 0;
  border-radius: 999px;
  color: #fffdf9;
  background: linear-gradient(135deg, var(--forest-deep), var(--forest));
  box-shadow: 0 18px 34px rgba(47, 127, 67, 0.28);
  font-weight: 800;
  cursor: pointer;
}

.campvibe-pricing-callout {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.campvibe-checkout-summary {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(79, 58, 35, 0.1);
}

.campvibe-checkout-summary p {
  margin: 0 0 0.65rem;
  font-weight: 800;
}

.campvibe-checkout-summary ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.campvibe-checkbox-row {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.6;
}

.campvibe-checkbox-row input {
  margin-top: 0.2rem;
}

@media (max-width: 780px) {
  .campvibe-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .hero,
  .highlight-strip,
  .screen-story {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .logo-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screen-story-reverse .story-copy,
  .screen-story-reverse .screenshot-card,
  .screen-story-reverse .story-screen-pair {
    order: initial;
  }

  .screenshot-card-wide {
    max-width: 390px;
    justify-self: auto;
  }
}

@media (max-width: 780px) {
  .page-shell {
    width: min(calc(100% - 1rem), var(--max-width));
    padding-top: 0.5rem;
  }

  .site-header {
    position: static;
    border-radius: 30px;
    padding: 0.9rem;
  }

  .site-nav,
  .brand-copy span:last-child {
    display: none;
  }

  .brand-copy .wp-block-site-tagline {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 0.5rem;
  }

  .hero-stack {
    min-height: auto;
    display: grid;
    gap: 1rem;
  }

  .hero-stack-card {
    position: static;
    width: 100%;
    transform: none;
  }

  .hero-metrics,
  .grid,
  .story-screen-pair,
  .experience-layout,
  .logo-band {
    grid-template-columns: 1fr;
  }

  .showcase-card,
  .phone-frame,
  .screenshot-card-wide {
    width: 100%;
  }

  .screenshot-card-offset {
    margin-top: 0;
  }
}
