/* website/static/website/demos/zuri_hope/css/base.css */

:root {
    /* --- PALETTE OFFICIELLE ZURI HOPE --- */
    
    /* 1. L'Orange (Énergie & Logo) */
    --primary-color: #FF9F1C; 
    --primary-hover: #e68a00; /* Un orange un peu plus dense pour les survols */

    /* 2. Le Bleu Clair (Titres & Actions secondaires) */
    --accent-color: #3b80ca; 
    --accent-hover: #2d65a3;

    /* 3. Le Bleu Marine (Confiance & Grands blocs) */
    --secondary-color: #0c3f74; 
    --secondary-hover: #082d54;

    /* --- COULEURS DE STRUCTURE --- */
    --text-color: #333333;
    --bg-color: #FFFFFF;
    --light-bg: #F8F9FA; 
    --border-color: #E0E0E0;

    /* --- TYPOGRAPHIE & LAYOUT --- */
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
    
    /* Strictly following Loovidra Standard */
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #F1F1F1;
        --bg-color: #121212;
        --light-bg: #1E1E1E;
        --border-color: #333333;
        --secondary-color: #457B9D;
    }
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    margin: 0;
    /* ✅ Add this line */
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}


/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Anti-Spam Honeypot (Hidden Field) */
.form-honey {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* --- ANIMATIONS (Paste at the bottom of base.css) --- */

/* The starting state: invisible and slightly lower */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* The active state: visible and in place */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Specific delays if we want items to appear one by one */
.delay-200 {
    transition-delay: 0.2s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* Pulse animation for important buttons */
@keyframes pulse-orange {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 165, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 165, 0, 0);
    }
}

.cta-button {
    animation: pulse-orange 2s infinite;
}
/* Compensation header fixed */
main { padding-top: var(--header-height); }
