/* UrgInf - CSS personnalisé */

/* Hero Section */
.hero-section {
    background-image: linear-gradient(135deg, rgba(26,26,46,0.7) 0%, rgba(22,33,62,0.7) 50%, rgba(15,52,96,0.7) 100%), url('../View/Images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    padding: 80px 0;
}

/* Product Cards */
.product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.product-img-placeholder {
    height: 200px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.product-img-placeholder img {
    max-height: 100%;
    object-fit: contain;
}

.product-img-placeholder-sm {
    height: 150px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.product-img-placeholder-sm img {
    max-height: 100%;
    object-fit: contain;
}

/* Product Detail */
.product-detail-img {
    min-height: 350px;
    background: #f8f9fa;
    border-radius: 12px;
}

/* Category Cards */
.card-category {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #eee;
    border-radius: 12px;
}

.card-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #0d6efd;
}

.card-category:hover .bi {
    color: #0a58ca !important;
}

/* Navbar */
.navbar-brand {
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

/* Tables specs */
.table th {
    font-weight: 600;
    color: #495057;
}

/* Badge conditions */
.badge {
    font-weight: 500;
    font-size: 0.75rem;
}

/* Footer */
footer a:hover {
    color: #fff !important;
}

/* Breadcrumb */
.breadcrumb {
    background: none;
    padding: 0;
}

/* Cards générales */
.card {
    border-radius: 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 300px;
        padding: 50px 0;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .product-detail-img {
        min-height: 250px;
    }
}

/* Search form navbar */
.navbar .form-control {
    max-width: 220px;
}

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

/* Price styling */
.h4.text-primary, .h5.text-primary, .h2.text-primary {
    font-weight: 700;
}
