/* ====================================================================
   CDKL5 GENE THERAPY - UNIFIED COLOR PALETTE
   Use this file across ALL pages for consistent branding
   ==================================================================== */

:root {
    /* PRIMARY BRAND COLORS */
    --primary-orange: #ff6600;
    --primary-orange-light: #ff8c00;
    --primary-blue: #303f9f;
    --primary-blue-light: #4f5bd5;
    --primary-purple: #7c4dff;
    
    /* HEADING COLORS - TWO-TONE SYSTEM */
    --heading-primary: #303f9f;      /* H1 - Page titles (strong authority) */
    --heading-secondary: #5e72eb;    /* H2, H3 - Section titles (softer, warm) */
    --heading-accent: #7c4dff;       /* Optional highlights */
    
    /* PASTEL SECTION BACKGROUNDS */
    --section-warm: #fff5f0;         /* Warm sections (family, hope, mission) */
    --section-cool: #f0f7ff;         /* Cool sections (science, information) */
    --section-accent: #f5f3ff;       /* Highlight sections */
    --section-success: #f0fdf4;      /* Progress/milestones */
    
    /* BASE BACKGROUNDS */
    --bg-page: #fffbf5;              /* Overall page background (warm cream) */
    --bg-white: #ffffff;
    --bg-light: #fafafa;
    --bg-warm: #fff5f0;
    --bg-blue-light: #f0f4ff;
    --bg-gray-light: #f5f5f5;
    
    /* TEXT COLORS */
    --text-dark: #333333;
    --text-gray: #666666;
    --text-light: #999999;
    --text-white: #ffffff;
    
    /* BORDERS & DIVIDERS */
    --border-light: #e0e0e0;
    --border-medium: #cccccc;
    --border-dark: #999999;
    
    /* ACCENT COLORS */
    --success-green: #48bb78;
    --urgent-red: #e53e3e;
    --warning-yellow: #ecc94b;
    
    /* SHADOWS */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 2px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.12);
    --shadow-orange: 0 4px 16px rgba(255, 102, 0, 0.3);
    --shadow-orange-hover: 0 6px 20px rgba(255, 102, 0, 0.4);
    
    /* GRADIENTS */
    --gradient-orange: linear-gradient(135deg, #ff6600 0%, #ff8c00 100%);
    --gradient-blue: linear-gradient(135deg, #303f9f 0%, #5e35b1 100%);
    --gradient-purple: linear-gradient(135deg, #7c4dff 0%, #b388ff 100%);
}

/* ====================================================================
   REUSABLE BUTTON STYLES
   ==================================================================== */

.btn-primary {
    background: var(--gradient-orange);
    color: var(--text-white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-orange);
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange-hover);
    color: var(--text-white);
}

.btn-secondary {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
}

/* ====================================================================
   CATEGORY PILLS / TAGS
   ==================================================================== */

.pill {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid var(--border-light);
    background: var(--bg-white);
    color: var(--text-gray);
}

.pill:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.pill.active {
    background: var(--gradient-orange);
    color: var(--text-white);
    border-color: transparent;
}

/* ====================================================================
   CONTENT BOXES / CARDS
   ==================================================================== */

.content-box {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

.content-box:hover {
    box-shadow: var(--shadow-lg);
}

.card {
    background: var(--bg-white);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

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

/* Info boxes with colored left border */
.info-box {
    background: var(--bg-gray-light);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-orange);
    border-radius: 8px;
}

.info-box-blue {
    border-left-color: var(--primary-blue);
}

.info-box-purple {
    border-left-color: var(--primary-purple);
}

/* ====================================================================
   TYPOGRAPHY
   ==================================================================== */

.page-title, h1 {
    font-size: 2.5rem;
    color: var(--heading-primary);  /* Dark blue for authority */
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.section-title, h2 {
    font-size: 2rem;
    color: var(--heading-secondary);  /* Softer blue for warmth */
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-title, h3 {
    font-size: 1.2rem;
    color: var(--heading-secondary);  /* Softer blue for warmth */
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* ====================================================================
   FORMS
   ==================================================================== */

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue-light);
    box-shadow: 0 0 0 3px rgba(79, 91, 213, 0.1);
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* ====================================================================
   LINKS
   ==================================================================== */

a {
    color: var(--primary-blue);
    transition: color 0.3s;
}

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

/* ====================================================================
   PAGE BACKGROUNDS
   ==================================================================== */

body {
    background: var(--bg-page);  /* Warm cream base */
    color: var(--text-dark);
}

/* Section background utilities */
.section-warm {
    background: var(--section-warm);  /* Soft peach for emotional sections */
}

.section-cool {
    background: var(--section-cool);  /* Soft blue for informational sections */
}

.section-accent {
    background: var(--section-accent);  /* Soft lavender for highlights */
}

.section-success {
    background: var(--section-success);  /* Soft mint for progress */
}

/* ====================================================================
   UTILITY CLASSES
   ==================================================================== */

.text-orange { color: var(--primary-orange); }
.text-blue { color: var(--primary-blue); }
.text-purple { color: var(--primary-purple); }
.text-gray { color: var(--text-gray); }
.text-white { color: var(--text-white); }

.bg-white { background: var(--bg-white); }
.bg-light { background: var(--bg-light); }
.bg-warm { background: var(--bg-warm); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
