/* Base — loaded on every page.
   Brand tokens, reset, and site-wide primitives. */

@font-face {
  font-family: 'Lovely Stories';
  src: url('../fonts/lovely-stories.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* -----------------------------------------------------------------
   Design Tokens
----------------------------------------------------------------- */
:root {
 /* Colors — Brand */
  --color-primary:        #FF5A5F;  /* final design pass (Aug 2026 brief) */
  --color-primary-dark:   #E8484D;
  --color-primary-light:  #FFE8E5;
  --color-primary-action: #E8484D;
  --color-primary-action-hover: #CF3A40;
  --color-secondary:      #BAE7D1;
  --color-secondary-dark: #8FD4B5;

  /* Colors — Surfaces */
  --color-bg:             #FFFFFF;  /* pure white per final brief; no cream bands */
  --color-bg-alt:         #F7F7F5;  /* soft surface — hover/focus only per brief */
  --color-surface:        #FFFFFF;

  /* Colors — Text */
  --color-text:           #2B2B2B;  /* charcoal body per final brief */
  --color-heading:        #171717;  /* ink black headings */
  --color-text-secondary: #666666;
  --color-text-muted:     #666666;
  --color-text-inverse:   #FFFFFF;

  /* Colors — Borders & UI */
  --color-border:         #E8E8E8;
  --color-border-light:   #F0F0EE;

 /* Typography — Families */
  --font-heading: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-display: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body:    'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-brand:   'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  /* Client-supplied script (Lovely Stories) — accent words only per brief. */
  --font-script:  'Lovely Stories', 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Typography — Sizes (modular scale) */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */
  --text-2xl:  1.5rem;    /* 24px */
  --text-3xl:  2rem;      /* 32px */
  --text-4xl:  2.5rem;    /* 40px */
  --text-5xl:  3rem;      /* 48px */

  /* Typography — Weight */
  --weight-normal:   400;
  --weight-medium:   500;
  /* Final brief: Poppins ships at 400/500 only — headings 400 ("never
     simulate bold"), Medium 500 reserved for labels/data/buttons. The legacy
     token names are remapped so existing rules resolve to loaded weights. */
  --weight-semibold: 500;
  --weight-bold:     400;

  /* Typography — Line height */
  --leading-tight:   1.25;
  --leading-normal:  1.5;
  --leading-relaxed: 1.7;

  /* Spacing — 8px base */
  --space-1:  0.25rem;  /*  4px */
  --space-2:  0.5rem;   /*  8px */
  --space-3:  0.75rem;  /* 12px */
  --space-4:  1rem;     /* 16px */
  --space-5:  1.25rem;  /* 20px */
  --space-6:  1.5rem;   /* 24px */
  --space-8:  2rem;     /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-32: 8rem;     /* 128px */

  /* Border Radius */
  --radius-sm:   0.25rem;  /*  4px */
  --radius-md:   0.375rem; /*  6px — buttons/controls per final brief */
  --radius-lg:   0.75rem;  /* 12px */
  --radius-image: 0.625rem; /* 10px — venue imagery per final brief */
  --radius-xl:   1rem;     /* 16px */
  --radius-2xl:  1.5rem;   /* 24px */
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md:  0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg:  0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl:  0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 10px 30px rgba(23, 23, 23, 0.08); /* brief: only on hover */

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   200ms ease;
  --transition-slow:   300ms ease;

  /* Z-Index Scale */
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-header:   250;
  --z-overlay:  300;
  --z-modal:    400;

  /* Layout */
  --header-height: 88px;  /* final brief header spec */
  --container-max: 1280px;
  --container-pad: var(--space-6);
}

/* -----------------------------------------------------------------
   Reset
----------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

input,
button,
textarea,
select {
  font: inherit;
}

body.neverland-wp-shell button,
body.neverland-wp-shell input[type="button"],
body.neverland-wp-shell input[type="reset"],
body.neverland-wp-shell input[type="submit"],
body.neverland-wp-shell .btn,
body.neverland-wp-shell .wp-element-button,
body.neverland-wp-shell .wp-block-button__link {
  font-weight: var(--weight-medium);
}

/* -----------------------------------------------------------------
   Base Elements
----------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-normal);  /* Poppins Regular per final brief; never simulate bold */
  line-height: var(--leading-tight);
  color: var(--color-heading);
}

h1 { font-size: var(--text-4xl); font-family: var(--font-display); font-weight: 400; }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl);  }
h5 { font-size: var(--text-lg);  }
h6 { font-size: var(--text-base); }

a {
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary);
}

p {
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

/* -----------------------------------------------------------------
   Layout
----------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.site-main {
  min-height: calc(100vh - var(--header-height));
}

/* Standard WP a11y helper — used by forms and icon-only controls. */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -----------------------------------------------------------------
   Buttons
----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);  /* 6px squared-premium per final brief */
  cursor: pointer;
  transition: background-color var(--transition-base),
              color var(--transition-base),
              border-color var(--transition-base),
              box-shadow var(--transition-base);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--color-primary-action);
  outline-offset: 2px;
}

.btn--primary {
  background-color: var(--color-primary-action);
  color: var(--color-text-inverse);
  border-color: var(--color-primary-action);
}

.btn--primary:hover {
  background-color: var(--color-primary-action-hover);
  border-color: var(--color-primary-action-hover);
  color: var(--color-text-inverse);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-primary-dark);
  border-color: transparent;
}

.btn--ghost:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-text);
  border-color: var(--color-border);
}

/* -----------------------------------------------------------------
   Venue Card (default WordPress loop fallback)
----------------------------------------------------------------- */
.venue-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-4);
  background: var(--color-surface);
  transition: box-shadow var(--transition-base);
}

.venue-card:hover {
  box-shadow: var(--shadow-md);
}


/* ---------------------------------------------------------------
   Plan badge (RFP v7 s8, Terms s3): marks Featured and Pro venues on
   cards and the venue page header. Listed shows none. Pro is the ink
   pill, Featured the white pill; both use the coral sparkle so they
   read as one family and stay legible on any photo.
--------------------------------------------------------------- */
.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 10px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: var(--weight-semibold, 600);
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(23, 23, 23, 0.16);
  pointer-events: none;
}

.plan-badge svg {
  width: 12px;
  height: 12px;
  flex: none;
  fill: var(--color-primary);
}

.plan-badge--pro {
  background: var(--color-heading);
  color: var(--color-text-inverse);
}

.plan-badge--featured {
  background: var(--color-surface);
  color: var(--color-heading);
}

/* Placement on photos: a quiet corner away from the heart and price. */
.plan-badge--on-media {
  position: absolute;
  z-index: 2;
}
