/* Atlantic Nexus - Modern Light Corporate Styles */

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Custom Light Corporate Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f8fafc;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #059669;
}

/* Corporate Card Transitions */
.vipa-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.vipa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.08), 0 4px 8px -4px rgba(15, 23, 42, 0.04);
    border-color: #a7f3d0;
}

/* Active Category Filter Button */
.cat-filter-btn.active {
    background-color: #059669 !important;
    color: #ffffff !important;
    border-color: #059669 !important;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25) !important;
}

/* Active Gallery Filter Button */
.gal-filter-btn.active {
    background-color: #059669 !important;
    color: #ffffff !important;
    border-color: #059669 !important;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25) !important;
}

/* Mobile Drawer Transitions */
#mobile-drawer-backdrop {
    transition: opacity 0.3s ease;
}
#mobile-drawer-content {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Image zoom effect on hover */
.zoom-container img {
    transition: transform 0.5s cubic-bezier(0.2, 0, 0.2, 1);
}
.zoom-container:hover img {
    transform: scale(1.04);
}

/* --- PERFORMANCE OPTIMIZATION: CONTENT VISIBILITY --- */
/* Defer rendering of off-screen heavy sections until scrolled into view */
#produits, #galerie, #categories, #reseau {
    content-visibility: auto;
    contain-intrinsic-size: 1px 800px;
}

/* Spinner animation for form submit */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.animate-spin-custom {
    animation: spin 0.8s linear infinite;
}

/* Smooth fade-in for status messages */
.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/*
 * NOTE POUR LA PRODUCTION (Compilation Tailwind CLI) :
 * Pour compiler et purger les classes CSS en production sans passer par le CDN JIT :
 * 1. Installer Tailwind CLI : npm install -D tailwindcss
 * 2. Générer le bundle minifié : npx tailwindcss -i styles.css -o dist/styles.min.css --minify
 * 3. Remplacer le CDN dans index.html par : <link rel="stylesheet" href="dist/styles.min.css">
 */

