/**
 * Global CSS overrides to disable bounce/transform effects
 * This fixes the card hover bounce effect throughout the site
 */

/*
 * Navbar logo: navbar-logo.png; intrinsic size can be large. Sizing
 * also exists in core/base.html inline styles, but full-page @cache_page views
 * can serve HTML with a stale CSP nonce while the response header nonce is
 * fresh — browsers then block those inline <style> blocks. A linked sheet
 * keeps the logo constrained when that happens.
 */
.navbar-brand .logo-img {
    height: 36px;
    width: 36px;
    max-height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Target all cards and common elements that might have transform effects */
.card:hover,
.factory-card:hover,
.project-card:hover,
.contact-card:hover,
.benefit-card:hover,
.process-card:hover,
.testimonial-card:hover,
.file-preview:hover,
.service-icon-item:hover,
.btn-feature:hover,
.detail-item:hover,
.btn:hover {
    transform: none !important;
}

/* Exception for our improved expand project button - allow hover effects */
.btn-expand-project:hover {
    transform: none !important; /* We use opacity and box-shadow instead */
}

/* Override any other specific transform animations */
#images-preview-list .card:hover, 
#drawings-preview-list .card:hover,
.fade-in.visible {
    transform: none !important;
}

/* Additional selectors for any elements that might have transform effects */
[class*="-card"]:hover {
    transform: none !important;
} 