/* AJOUTS SPÉCIFIQUES À LA PAGE MACHINES (CATALOGUE) */

/* Style pour le Hero de la page Machines */
.nav-menu a.active-page {
  color: var(--orange); 
  font-weight: 700;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 3px;
}
.hero-machines {
  /* Image d'illustration pour les machines */
  background: url('Image_9207.jpeg') no-repeat center center;
  background-size: cover;
  position: relative;
}

/* Assombrir l'image de fond pour le texte (comme dans services.html) */
.hero-machines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 1;
}

.hero-machines .hero-content {
    z-index: 2;
}

/* Style général pour les titres de section du catalogue */
.catalogue-section .section-title {
  color: var(--green);
  font-weight: 700;
  border-bottom: 3px solid var(--orange);
  display: inline-block;
  padding-bottom: 5px;
}

.catalogue-section .container > .section-title {
    display: block;
    text-align: center;
}

/* Style des cartes Machines (Grandes Machines) */
.machine-card {
  border: 1px solid var(--gray);
  transition: transform 0.3s;
}

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

.machine-card img {
    height: 200px;
    object-fit: cover;
}

.machine-card h3 {
    color: var(--green); /* Mettre en évidence le nom de la machine */
}

/* Style des cartes Outils et Produits (Plus petits) */
.tool-card img, .product-card img {
    height: 150px;
    object-fit: contain;
}
.product-details {
  display: none;
  transition: all 0.3s ease;
}

.toggle-btn {
  background-color: #0d6efd;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 8px;
}

.toggle-btn:hover {
  background-color: #0b5ed7;
}