/* ==========================================================
   CatholicDisney.com Design System - Bright, Sunny & Cheerful
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Bright, Fresh Color Palette */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-soft: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-highlight: #fffbeb;

  /* Borders & Dividers */
  --border-subtle: #e2e8f0;
  --border-light: #f1f5f9;
  --border-focus: #3b82f6;
  --border-gold: #f59e0b;

  /* Primary Disney Sky Blue & Royal Blue */
  --blue-primary: #1a73e8;
  --blue-dark: #0f4bb5;
  --blue-light: #e8f0fe;
  --blue-gradient: linear-gradient(135deg, #1a73e8 0%, #3b82f6 100%);

  /* Warm Florida Sunshine & Gold */
  --sun-gold: #f59e0b;
  --sun-yellow: #fbbf24;
  --sun-light: #fef3c7;
  --sun-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  --badge-gold-bg: #fef9c3;

  /* Cheerful Accents */
  --coral-accent: #f43f5e;
  --coral-light: #ffe4e6;
  --green-accent: #10b981;
  --green-light: #d1fae5;
  --purple-accent: #8b5cf6;
  --purple-light: #ede9fe;

  /* High Legibility Text Colors */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-blue: #1d4ed8;

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Soft, Friendly Shadows */
  --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-gold: 0 8px 20px rgba(245, 158, 11, 0.25);
  --shadow-blue: 0 8px 20px rgba(26, 115, 232, 0.25);

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  background-image: 
    radial-gradient(circle at 10% 5%, rgba(59, 130, 246, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 90% 12%, rgba(251, 191, 36, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(244, 63, 94, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
}

p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

a {
  color: var(--blue-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--blue-dark);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

/* Text Gradient Utility */
.text-gradient-sun {
  background: var(--sun-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-blue {
  background: var(--blue-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
