/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Raleway:wght@600;700;800&display=swap');

/* ===== BRAND COLOURS ===== */
:root {
  /* Primary */
  --red: #E62B3C;
  --light-blue: #09B2E9;
  --dark-blue: #223947;

  /* Secondary */
  --yellow: #EFB33C;
  --green: #8CC142;
  --light-grey: #F2F2F3;

  /* Neutrals */
  --white: #FFFFFF;
  --black: #1A1A1A;
  --text-grey: #555555;
  --border-grey: #E0E0E0;

  /* ===== TYPOGRAPHY ===== */
  --font-heading: 'Raleway', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.25rem;

  /* ===== SPACING ===== */
  --section-padding: 5rem 0;
  --section-padding-sm: 3rem 0;
  --container-width: 1200px;
  --container-padding: 0 1.5rem;

  /* ===== TRANSITIONS ===== */
  --transition: all 0.3s ease;

  /* ===== SHADOWS ===== */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

/* ===== BASE TYPOGRAPHY ===== */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--black);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

/* ===== HEADING ACCENT PATTERN ===== */
.accent {
  color: var(--red);
}

.dark-bg .accent {
  color: var(--white);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: #c9222f;
  border-color: #c9222f;
}

.btn-secondary {
  background: var(--dark-blue);
  color: var(--white);
  border-color: var(--dark-blue);
}
.btn-secondary:hover {
  background: #1a2d38;
  border-color: #1a2d38;
}

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

/* ===== COLOUR OVERLAY UTILITIES ===== */
.overlay-red {
  position: relative;
}
.overlay-red::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(230, 43, 60, 0.85);
  z-index: 1;
}
.overlay-red > * { position: relative; z-index: 2; }

.overlay-dark {
  position: relative;
}
.overlay-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(34, 57, 71, 0.9);
  z-index: 1;
}
.overlay-dark > * { position: relative; z-index: 2; }
