/* CSS Variables for consistent theming */
:root {
    /* Egyptian-inspired color palette */
    --primary-gold: #D4AF37;
    --deep-gold: #B8860B;
    --rich-blue: #1e3a8a;
    --dark-navy: #0f172a;
    --warm-sand: #f7f3e9;
    --light-sand: #fefcf7;
    --accent-red: #dc2626;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-light: #e5e7eb;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-large: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Typography scale */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --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: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    
    /* Spacing scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
  }
  
  /* Reset and base styles */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    scroll-behavior: smooth;
    font-size: 16px;
  }
  
  body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--light-sand) 0%, var(--warm-sand) 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Container and layout */
  body {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-8) var(--space-6);
    background: white;
    box-shadow: var(--shadow-large);
    border-radius: 12px;
    margin-top: var(--space-8);
    margin-bottom: var(--space-8);
    position: relative;
  }
  
  /* Decorative elements */
  body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-gold), var(--deep-gold), var(--primary-gold));
    border-radius: 12px 12px 0 0;
  }
  
  body::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(30, 58, 138, 0.1));
    border-radius: 20px;
    z-index: -1;
    pointer-events: none;
  }
  
  /* Typography hierarchy */
  h1 {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-navy);
    margin-bottom: var(--space-8);
    text-align: center;
    position: relative;
    padding-bottom: var(--space-6);
  }
  
  h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-gold), var(--deep-gold));
    border-radius: 2px;
  }
  
  h2 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--rich-blue);
    margin-top: var(--space-16);
    margin-bottom: var(--space-6);
    position: relative;
    padding-left: var(--space-6);
  }
  
  h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-gold), var(--deep-gold));
    border-radius: 2px;
  }
  
  h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--dark-navy);
    margin-top: var(--space-12);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--border-light);
    position: relative;
  }
  
  h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-gold);
  }