/* --- Réseau ADIME Theme CSS --- */

:root {
    /* Brand Colors */
    --primary-color: #31a5a3;
    --primary-hover: #268583;
    --secondary-color: #bf6fad;
    --secondary-hover: #a45590;
    --accent-orange: #f8ad3e;
    --accent-orange-hover: #dea439;
    --accent-blue: #2888b6;
    --accent-blue-hover: #1c647a;
    
    /* Neutrals */
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --light-bg: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    
    /* Status Colors */
    --success-color: #10b981;
    --warning-color: var(--accent-orange);
    --warning-hover: var(--accent-orange-hover);
    --danger-color: #ef4444;
    --info-color: var(--accent-blue);
    --info-hover: var(--accent-blue-hover);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.25rem;
    
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --gradient-light: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

/* Base resets and defaults */
body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--light-bg) !important;
    font-size: 0.95rem;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-bg);
}

/* Beautiful Hero Gradients */
.hero-gradient-bg {
    background: var(--gradient-dark);
    color: #ffffff;
    padding: 3.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 2.5rem;
}
.hero-gradient-bg h1 {
    color: #ffffff;
}

/* Interactive SVG Map Styling */
.svg-map-container {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-color);
}
.svg-departement-path {
    fill: #f8fafc;
    stroke: #cbd5e1;
    stroke-width: 1.5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.svg-departement-path:hover {
    fill: #e6f7f7;
    stroke: var(--primary-color);
    stroke-width: 2;
}
.svg-departement-path.has-members {
    fill: #e6f7f7;
    stroke: var(--primary-color);
    stroke-width: 1.5;
}
.svg-departement-path.has-members:hover {
    fill: #ccf0f0;
    stroke: var(--primary-hover);
    stroke-width: 2;
}
.svg-departement-path.active {
    fill: var(--primary-color) !important;
    stroke: var(--primary-hover);
}

/* Premium Card Styles */
.premium-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
}

/* Form Styles */
.form-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border-color);
    padding: 3rem;
}
.form-control, .form-select {
    border-color: var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease-in-out;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}
.form-label {
    font-weight: 500;
    color: var(--dark-bg);
    margin-bottom: 0.5rem;
}

/* Button Customizations */
.btn-premium {
    background: var(--primary-color);
    border: none;
    color: #ffffff;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 165, 165, 0.2);
}
.btn-premium:hover {
    background: var(--primary-hover);
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 165, 165, 0.3);
    color: #ffffff;
}

/* Profile Badge styles */
.badge-role {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35em 0.75em;
    border-radius: 9999px;
    font-weight: 600;
}

/* Profile specific details */
.profile-cover {
    height: 180px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.profile-avatar-container {
    margin-top: -60px;
    margin-left: 2rem;
    position: relative;
    z-index: 10;
}
.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid #ffffff;
    box-shadow: var(--shadow-md);
    object-fit: cover;
    background-color: #f1f5f9;
}
.profile-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-right: 0.5rem;
    transition: all 0.2s ease;
}
.profile-social-link:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}
.sidebar-sticky {
    position: sticky;
    top: 2rem;
}

/* Homepage Custom Classes */
.bg-teal {
    background-color: #00a5a5 !important;
}
.text-teal {
    color: #00a5a5 !important;
}
.bg-purple {
    background-color: #bd6eaa !important;
}
.text-purple {
    color: #bd6eaa !important;
}
.tracking-wider {
    letter-spacing: 0.08em;
}

/* Rich text reusable blocks (TinyMCE templates) */
.adime-editor-btn {
    display: inline-block;
    padding: 0.75rem 1.35rem;
    border-radius: 0.5rem;
    background-color: #1b88b7;
    color: #ffffff !important;
    font-family: 'Josefin Sans', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    border: 1px solid #1b88b7;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.adime-editor-btn:hover {
    background-color: #166f96;
    border-color: #166f96;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.adime-editor-quote {
    margin: 2em 0;
    padding: 15px;
    border-left: 4px solid #1b88b7;
    background-color: #f5f5f5;
    color: #1f2020;
    font-style: italic;
}

.adime-editor-quote p {
    margin: 0;
    font-family: 'Josefin Sans', Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.72;
}

.adime-editor-separator {
    width: 100%;
    border: 0;
    border-top: 1px solid #000000;
    margin: 2rem 0;
}
.transition {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar-brand {
    font-family: var(--font-heading);
}
.blockquote {
    font-size: 1.25rem;
}
@media (max-width: 768px) {
    .blockquote {
        font-size: 1.1rem;
    }
}
