

.announcement-bar {
    font-size: 14px;
    background-color: #ffc107;
    color: #212529;
    display: flex;
    padding: 10px 0;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.announcement-bar i {
    font-size: 18px;
    color: #212529;
}
.announcement-bar a {
    text-decoration: none;
    color: #212529;
    font-weight: bold;
    transition: color 0.3s ease;
}
.announcement-bar a:hover {
    color: #000;
}
.no-underline {
    text-decoration: none;
}



.box-navigation {
    background: linear-gradient(90deg, hwb(53 0% 0%), #b39800);
    color: white;
    padding: 15px 0;
    font-family: 'Arial', sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    }
    
    .box-nav-ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    }
    
    .menu-item {
    position: relative;
    padding: 10px 20px;
    }
    
    .item-link {
    text-decoration: none;
    color: hsl(0, 0%, 3%);
    font-size: 30px;
    /* font-size: 16px; */
    font-weight: bold;
    transition: color 0.3s ease, transform 0.2s ease;
    }
    
    .item-link:hover {
    color: #ffd700;
    transform: scale(1.1);
    }
    .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    color: black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 999;
    width: 800px;
    padding: 20px;
    animation: fadeInDown 0.3s ease-in-out;
    }
    
    .menu-item:hover .sub-menu {
    display: block;
    }
    
    .mega-menu .menu-heading {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    }
    
    .mega-menu .menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    }
    
    .mega-menu .menu-list li {
    margin-bottom: 5px;
    }
    
    .mega-menu .menu-list li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
    }
    
    .mega-menu .menu-list li a:hover {
    color: hsl(44, 100%, 50%);
    }
    
    .collection-item img {
    border-radius: 8px;
    transition: transform 0.3s ease;
    }
    
    .collection-item:hover img {
    transform: scale(1.05);
    }
    
    .btn-primary {
    background: #007bff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 14px;
    color: white;
    transition: background 0.3s ease;
    }
    
    .btn-primary:hover {
    background: #0056b3;
    }
    
    @keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
    }



    .navbar-nav {
        display: flex;
        align-items: center;
        gap:5px; /* Espacement entre les éléments */
    }
    
    .item-link {
        text-decoration: none;
        color: black;
        font-size: 16px;
        font-weight: bold;
        transition: color 0.3s ease, transform 0.2s ease;
        padding: 10px 15px; /* Ajout de padding pour améliorer le clic */
    }
    
    .item-link:hover {
        color: #ffd700;
        transform: scale(1.1);
    }
    
    .uk-navbar-toggle {
        padding: 0;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .uk-offcanvas-bar {
        padding: 20px;
        max-width: 400px; /* Limite la largeur de l'offcanvas */
        right: 0; /* Positionne l'offcanvas à droite */
    }
    
    .uk-offcanvas-bar h3 {
        font-size: 1.5rem;
        color: #333;
    }
    
    .uk-offcanvas-bar .form-control {
        border: 1px solid #ddd;
        border-radius: 5px;
        padding: 10px;
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .uk-button-primary {
        background-color: #007bff;
        border-color: #007bff;
        color: #fff;
        border-radius: 5px;
        padding: 10px 15px;
        font-size: 16px;
        transition: background-color 0.3s ease;
    }
    
    .uk-button-primary:hover {
        background-color: #0056b3;
        border-color: #0056b3;
    }
  
    
/*jjjjjjj



.navbar a {
    text-decoration: none;
    margin: 0 20px; /* Réduction des espaces */
   /* padding: 5px 10px; /* Ajuste l'intérieur des liens 
}
*/
/*jjjjjjj*/




    .announcement-bar {
        font-size: 14px;
        background-color: #007bff;
        color: white;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1050;
    }
    .announcement-bar a {
        text-decoration: underline;
    }
    .navbar {
        font-family: 'Arial', sans-serif;
        font-size: 16px;
        padding: 10px 20px;
        margin-top: 40px; /* To offset the announcement bar */
    }
    
    .nav-link {
        color: #333 !important;
        margin-right: 15px;
        transition: color 0.3s ease;
    }
    
    .nav-link:hover {
        color: #007bff !important;
    }
    
    .navbar-brand img {
        border-radius: 50%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    .dropdown-menu {
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 10px;
    }
    
    .dropdown-icon {
        width: 25px;
        height: 25px;
        margin-right: 10px;
        border-radius: 50%;
        vertical-align: middle;
    }








    




body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, hsl(210, 29%, 97%), hsl(203, 80%, 98%));
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.machine-section {
    padding: 50px 20px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: hwb(0 2% 98%);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.machine-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.machine-card {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 5, 5, 0.2);
    border-radius: 15px;
    width: 300px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.machine-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.machine-image {
    position: relative;
    overflow: hidden;
}

.machine-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.machine-card:hover img {
    transform: scale(1.1);
}

.machine-details {
    padding: 20px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.machine-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: bold;
    color: black;
}

.machine-price {
    font-size: 1rem;
    margin-bottom: 15px;
    font-style: italic;
    color: black;
}

.view-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(13, 71, 161, 0.8);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
}

.view-more-btn:hover {
    background: rgba(13, 71, 161, 1);
    transform: translateY(-3px);
}



/* Style de la carte */
.custom-card {
    border-radius: 15px; /* Coins arrondis */
    border: none; /* Supprime la bordure par défaut */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Ombre légère pour ajouter de la profondeur */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation au survol */
  }
  
  /* Effet au survol de la carte */
  .custom-card:hover {
    transform: translateY(-5px); /* Déplacement léger vers le haut */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Ombre plus intense */
  }
  
  /* Style de l'image */
  .custom-card .card-img-top {
    border-top-left-radius: 15px; /* Coins arrondis en haut à gauche */
    border-top-right-radius: 15px; /* Coins arrondis en haut à droite */
    height: 300px; /* Hauteur de l'image */
    object-fit: cover; /* L'image couvre l'espace sans déformation */
  }
  
  /* Style du titre de la carte */
  .custom-card .card-title {
    font-size: 1.25rem; /* Taille du texte */
    font-weight: bold; /* Texte en gras */
    color: #333; /* Couleur du texte */
    margin-bottom: 10px; /* Espacement sous le titre */
  }
  
  /* Style du texte de la carte */
  .custom-card .card-text {
    font-size: 0.9rem; /* Taille du texte */
    color: #666; /* Couleur plus claire pour le texte */
    line-height: 1.5; /* Espacement entre les lignes */
    margin-bottom: 15px; /* Espacement sous le texte */
  }
  
  /* Style du bouton */
  .custom-btn {
    background-color: #3498db; /* Couleur bleu du bouton */
    border: none; /* Supprime la bordure par défaut */
    border-radius: 25px; /* Coins arrondis du bouton */
    padding: 10px 20px; /* Espacement à l'intérieur du bouton */
    font-weight: bold; /* Texte en gras */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Animation */
  }
  
  .custom-btn:hover {
    background-color: #2980b9; /* Couleur plus foncée au survol */
    transform: translateY(-2px); /* Effet de levée au survol */
  }
  

  
  /* Container for product cards */
  .product-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
  }
  
  /* Hover effect for cards */
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  /* Card image styling */
  .product-card .card-img-top {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height: 300px;
    object-fit: cover;
  }
  
  /* Card title */
  .product-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
  }
  
  /* Card price */
  .product-card .card-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #444;
    margin-bottom: 0;
  }
  
  /* Countdown timer styling */
  .countdown-timer {
    background-color: #ff4d4f;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    margin: 10px 0;
    display: inline-block;
  }



   /* Container for product cards */
   .product-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    position: relative;
    overflow: hidden;
  }
  
  /* Hover effect for cards */
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  
  /* Image container to manage multiple images */
  .card-img-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }
  
  .card-img-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
  }
  
  .card-img-container .secondary-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
  }
  
  .card-img-container:hover .secondary-image {
    opacity: 1;
  }
  
  .card-img-container:hover .primary-image {
    opacity: 0;
  }
  
  /* Card title */
  .product-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
  }
  
  /* Card price */
  .product-card .card-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #444;
    margin-bottom: 0;
  }
  
  /* Countdown timer styling */
  .countdown-timer {
    background-color: #ff4d4f;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    margin: 10px 0;
    display: inline-block;
  }




/* Style de base pour le bouton */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px; /* Largeur du bouton */
    height: 50px; /* Hauteur du bouton */
    background: linear-gradient(135deg, hwb(38 20% 14%), hwb(43 18% 20%)); /* Dégradé de couleurs */
    color: white;
    text-align: center;
    line-height: 50px; /* Alignement vertical */
    border-radius: 50%; /* Rend le bouton rond */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Ombre */
    transition: all 0.3s ease-in-out; /* Animation fluide */
    z-index: 1000; /* Toujours au-dessus des autres éléments */
    font-size: 24px; /* Taille de l'icône */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* Effet au survol */
.scroll-to-top:hover {
    background: linear-gradient(135deg, hsl(5, 63%, 49%), hwb(0 20% 14%)); /* Inverse le dégradé */
    transform: translateY(-5px); /* Déplace légèrement vers le haut */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4); /* Accentue l'ombre */
}

/* Masquer le bouton par défaut */
.scroll-to-top {
    opacity: 0;
    visibility: hidden;
}

/* Afficher le bouton lorsqu'on fait défiler la page */
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}



/*filter*/

 .uk-card {
        border-radius: 10px;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .uk-card img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .uk-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    }

    .product-details {
        padding: 10px;
    }

    .product-title {
        font-size: 18px;
        font-weight: bold;
        color: #333;
    }

    .product-price {
        font-size: 16px;
        color: #27ae60;
        font-weight: bold;
        margin-top: 5px;
    }

    .btn-view-more {
        display: inline-block;
        margin-top: 10px;
        padding: 8px 12px;
        background-color: #3498db;
        color: #fff;
        text-decoration: none;
        border-radius: 5px;
        transition: background-color 0.3s ease;
    }

    .btn-view-more:hover {
        background-color: #2980b9;
    }
