/* ============================================================
   WOW THEME — BASE STYLES
   Resets, typography, utility classes, global components
   ============================================================ */

/* ----------------------------------------------------------
   GOOGLE FONTS IMPORT
---------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,700;1,800&family=Freehand&display=swap');

/* ----------------------------------------------------------
   RESET & BOX MODEL
---------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--color-navy);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-primary);
  cursor: pointer;
  border: none;
  background: none;
}

/* ----------------------------------------------------------
   TYPOGRAPHY — HEADINGS
   Montserrat 800, italic, all caps
---------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-navy);
}

h1 { font-size: clamp(var(--text-4xl), 6vw, var(--text-7xl)); }
h2 { font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl)); }
h3 { font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl)); }
h4 { font-size: clamp(var(--text-xl),  2vw, var(--text-3xl)); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

/* Heading on light gradient or white bg */
.text-navy  { color: var(--color-navy) !important; }
.text-white { color: var(--color-white) !important; }

/* ----------------------------------------------------------
   TYPOGRAPHY — ACCENT LABELS
   Montserrat 700, all caps, letter-spaced
---------------------------------------------------------- */
.label-accent {
  font-family: var(--font-primary);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: var(--text-base);
  color: var(--color-navy-60);
}

.label-accent--white {
  color: var(--color-white-80);
}

/* ----------------------------------------------------------
   TYPOGRAPHY — SCRIPT ACCENT
   Freehand, used sparingly
---------------------------------------------------------- */
.text-script {
  font-family: var(--font-script);
  font-weight: 400;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
}

/* ----------------------------------------------------------
   TYPOGRAPHY — BODY
---------------------------------------------------------- */
p {
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-navy);
}

p.lead {
  font-size: var(--text-lg);
  line-height: 1.6;
}

.body-white p,
.body-white {
  color: var(--color-white);
}

/* ----------------------------------------------------------
   LAYOUT — CONTAINER
---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* ----------------------------------------------------------
   LAYOUT — SECTIONS
---------------------------------------------------------- */
.section {
  padding-block: var(--space-20);
}

.section--sm {
  padding-block: var(--space-12);
}

.section--lg {
  padding-block: var(--space-24);
}

/* ----------------------------------------------------------
   GRADIENT BACKGROUNDS
---------------------------------------------------------- */
.bg-grad-primary      { background: var(--grad-primary); }
.bg-grad-yellow-pink  { background: var(--grad-yellow-pink); }
.bg-grad-gold-orange  { background: var(--grad-gold-orange); }
.bg-grad-blue-cyan    { background: var(--grad-blue-cyan); }
.bg-grad-coral-peach  { background: var(--grad-coral-peach); }
.bg-grad-blue-lavender{ background: var(--grad-blue-lavender); }
.bg-navy              { background: var(--color-navy); }
.bg-white             { background: var(--color-white); }

/* ----------------------------------------------------------
   CARDS
   White, 15px radius, soft drop shadow
---------------------------------------------------------- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: var(--space-8);
  transition: box-shadow var(--transition-base),
              transform var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.card--flat {
  box-shadow: none;
  border: 1px solid var(--color-navy-20);
}

.card--sm {
  padding: var(--space-5);
}

.card--lg {
  padding: var(--space-12);
}

/* ----------------------------------------------------------
   BUTTONS
---------------------------------------------------------- */

/* Base button reset */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-primary);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--text-sm);
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-full);
  border: none;
  outline: none;
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
}

/* Primary — navy fill */
.btn-primary {
  background: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(4, 42, 93, 0.25);
}

.btn-primary:hover {
  background: #0a3d80;
  box-shadow: 0 4px 16px rgba(4, 42, 93, 0.35);
  transform: translateY(-1px);
}

/* Secondary — outline navy */
.btn-secondary {
  background: transparent;
  color: var(--color-navy);
  box-shadow: inset 0 0 0 2px var(--color-navy);
}

.btn-secondary:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

/* Ghost white — for use on dark/gradient backgrounds */
.btn-ghost-white {
  background: transparent;
  color: var(--color-white);
  box-shadow: inset 0 0 0 2px var(--color-white),
              0 2px 12px rgba(4, 42, 93, 0.2);
}

.btn-ghost-white:hover {
  background: var(--color-white);
  color: var(--color-navy);
}

/* Gradient CTA — coral peach */
.btn-gradient {
  background: var(--grad-coral-peach);
  color: var(--color-white);
  box-shadow: 0 2px 10px rgba(4, 42, 93, 0.18);
  text-shadow: 0 1px 3px rgba(4, 42, 93, 0.2);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(4, 42, 93, 0.22);
}

/* Yellow sunshine button */
.btn-sunshine {
  background: radial-gradient(circle at 60% 40%, #fff1b2, #ffe77d);
  color: #667e9d;
  box-shadow: 0 2px 10px rgba(4, 42, 93, 0.18);
}

.btn-sunshine:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(4, 42, 93, 0.22);
}

/* Sizes */
.btn-sm { font-size: var(--text-xs); padding: var(--space-2) var(--space-5); }
.btn-lg { font-size: var(--text-base); padding: var(--space-4) var(--space-10); }

/* ----------------------------------------------------------
   OUTLINED HEADING TEXT
   White fill with drop shadow — for use on gradient backgrounds
---------------------------------------------------------- */
.text-outline {
  color: var(--color-white);
  text-shadow:
    2px 2px 0 rgba(4, 42, 93, 0.3),
    -1px -1px 0 rgba(4, 42, 93, 0.15),
    0 4px 16px rgba(4, 42, 93, 0.25);
  -webkit-text-stroke: 0;
  text-stroke: 0;
}

/* ----------------------------------------------------------
   BLOB SHAPES
   Organic background decorations
---------------------------------------------------------- */
.blob {
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.blob--primary {
  background: var(--grad-primary);
}

.blob--pink {
  background: var(--grad-yellow-pink);
}

.blob--orange {
  background: var(--grad-gold-orange);
}

.blob--lavender {
  background: var(--grad-blue-lavender);
}

/* ----------------------------------------------------------
   UTILITY — FLEX & GRID HELPERS
---------------------------------------------------------- */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.gap-2  { gap: var(--space-2); }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

/* ----------------------------------------------------------
   UTILITY — TEXT ALIGNMENT
---------------------------------------------------------- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* ----------------------------------------------------------
   UTILITY — SPACING
---------------------------------------------------------- */
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }

/* ----------------------------------------------------------
   UTILITY — POSITION
---------------------------------------------------------- */
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ----------------------------------------------------------
   ACCESSIBILITY
---------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: 3px solid var(--grad-primary-from);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ----------------------------------------------------------
   RESPONSIVE — BREAKPOINTS
   Mobile-first. Adjust grid/layout at these widths.
---------------------------------------------------------- */

/* Tablet: 768px */
@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: var(--space-12);
  }

  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-2xl); }
}

/* Mobile: 480px */
@media (max-width: 480px) {
  .container {
    padding-inline: var(--space-4);
  }

  .btn-lg {
    font-size: var(--text-sm);
    padding: var(--space-3) var(--space-6);
  }
}
