@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800;900&family=Barlow+Condensed:wght@400;700&family=Nixie+One&family=Arizonia&display=swap');

:root {
    /* Color Palette */
    --cop-primary: #0A192F;
    --cop-accent: #291040; /* Dark Purple */
    --cop-accent-light: #852CD8; /* Vibrant Purple */
    --cop-accent-green: #95C11F; /* Connected Green */
    --cop-accent-beige: #F1F4D3; /* Giving Beige */
    --cop-surface: #FFFFFF;
    --cop-background: #F8F9FA;
    --cop-text-dark: #1A1D20;
    --cop-text-light: #888888;
    --cop-gold: #e8cc6f;
    
    /* Figma Specifics */
    --cop-gradient-title: linear-gradient(44deg, #291040 0%, #000000 100%);
    --cop-font-main: 'Barlow', sans-serif;
    --cop-font-condensed: 'Barlow Condensed', sans-serif;
    --cop-font-accent: 'Arizonia', cursive;
    --cop-font-nixie: 'Nixie One', cursive;

    /* Decorative Colors */
    --cop-decor-purple: #8919D1;
    --cop-decor-blue: #165695;
    --cop-decor-red: #291040;
    --cop-decor-grey: #999999;
    --cop-decor-warm: #C8A58D;

    /* Typography Fluid Variables */
    --cop-heading-1: clamp(2.2rem, 7vw, 5rem);
    --cop-heading-2: clamp(1.8rem, 5vw, 4rem);
    --cop-body-text: clamp(1rem, 1.2vw, 1.15rem);

    /* Animation Transitions */
    --cop-transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Global Typography Application (Safe) */
body, h1, h2, h3, h4, h5, h6, p, li, a, button, input, textarea, select, .cop-hero-kicker {
    font-family: var(--cop-font-main) !important;
}

/* Specific Accent Font Restoration (Curly Fonts) */
.cop-pastor-name-slant,
.cop-pastor-name-script,
.cop-weekly-welcome-script,
.cop-giving-script,
.cop-accent-font {
    font-family: var(--cop-font-accent) !important;
}



/* Icon Protections (Font Awesome) */
.fas, .far, .fa, [class*="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", sans-serif !important;
    font-weight: 900 !important;
}
.fab, [class*="fa-facebook"], [class*="fa-instagram"], [class*="fa-youtube"] {
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", sans-serif !important;
    font-weight: 400 !important;
}

/* WP Admin Bar Protection (Restores broken icons) */
#wpadminbar, #wpadminbar * {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}
#wpadminbar .ab-icon:before, 
#wpadminbar .ab-item:before, 
#wpadminbar .dashicons {
    font-family: dashicons !important;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--cop-text-dark);
}

/* Elementor Global Typography Overrides */
:root {
    --e-global-typography-primary-font-family: "Barlow", Sans-serif !important;
    --e-global-typography-secondary-font-family: "Barlow", Sans-serif !important;
    --e-global-typography-text-font-family: "Barlow", Sans-serif !important;
    --e-global-typography-accent-font-family: "Arizonia", Cursive !important;
}


/* Scroll Reveal Classes */
.cop-reveal { opacity: 0; transform: translateY(30px); transition: var(--cop-transition); }
.cop-reveal.active { opacity: 1; transform: translateY(0); }
.cop-reveal-delay-1 { transition-delay: 0.1s; }
.cop-reveal-delay-2 { transition-delay: 0.2s; }
.cop-reveal-delay-3 { transition-delay: 0.3s; }
