/* Styles pour la boutique cosmétiques */

/* Hero Slider */
.hero-slider {
    margin-bottom: 3rem;
}

.carousel-item {
    height: 400px;
}

.slider-content {
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.slider-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.8), rgba(255, 107, 157, 0.6));
    z-index: 1;
}

.slider-text {
    position: relative;
    z-index: 2;
    color: white;
}

.slider-text h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slider-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

/* Navigation des catégories */
.category-link {
    text-decoration: none;
    color: inherit;
}

.category-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.category-card i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-card h6 {
    margin: 0;
    font-weight: 600;
    color: #2c3e50;
}

/* Sections de produits */
.products-section {
    padding: 3rem 0;
}

/* Cartes de produits - VERSION AMÉLIORÉE */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.product-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.no-image {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 3rem;
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.product-badges .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border-radius: 15px;
}

.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-actions .btn {
    border-radius: 50%;
    width: 35px;
    height: 35px;
    margin-left: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-info {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    line-height: 1.3;
}

.product-brand {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.product-price {
    margin-bottom: 1rem;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.price-old {
    font-size: 1rem;
    color: #6c757d;
    text-decoration: line-through;
    margin-right: 0.5rem;
}

/* Formulaire de commande */
.order-section .card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 15px;
}

.order-section .card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 15px 15px 0 0;
    border: none;
}

.order-section .form-control,
.order-section .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
}

.order-section .form-control:focus,
.order-section .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(233, 30, 99, 0.25);
}

/* Responsive boutique - VERSION AMÉLIORÉE */
@media (max-width: 768px) {
    .slider-text h1 {
        font-size: 2rem;
    }
    
    .slider-text p {
        font-size: 1rem;
    }
    
    .product-image {
        height: 150px;
    }
    
    .category-card {
        padding: 1rem;
    }
    
    .product-info {
        padding: 0.75rem;
    }
    
    .product-name {
        font-size: 0.9rem;
    }
    
    .product-brand {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero-slider .carousel-item {
        height: 300px;
    }
    
    .slider-text h1 {
        font-size: 1.5rem;
    }
    
    .slider-text p {
        font-size: 0.9rem;
    }
    
    .product-info {
        padding: 1rem;
    }
}
