/* CSS personnalisé pour IBARA */

/* Variables globales */
:root {
    --color-primary: #0ea5e9; /* sky-600 */
    --color-primary-hover: #0284c7; /* sky-700 */
    --color-secondary: #64748b; /* slate-500 */
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Animations personnalisées */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Améliorations Tailwind */
.btn-primary {
    background-color: var(--color-primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
}

/* Fix pour les images */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile menu transition */
[data-mobile-menu] {
    transition: all 0.3s ease-in-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
