/**
 * Theme Name:     Child
 * Author:         Muffin group
 * Template:       betheme
 * Text Domain:	   child
 * Description:    The biggest WordPress Theme ever
 */




/* Card Panels Grid Section */
.card-panels-grid {
  display: grid;
  grid-gap: 1rem;
  max-width: 1024px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 600px) {
  .card-panels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 800px) {
  .card-panels-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.one.tablet-one-second.mobile-one{
	padding : 0 !important;
}

.card-panels {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 1rem;
  width: 100%;
  text-align: center;
  color: whitesmoke;
  background-color: whitesmoke;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1), 
    0 2px 2px rgba(0,0,0,0.1), 
    0 4px 4px rgba(0,0,0,0.1), 
    0 8px 8px rgba(0,0,0,0.1),
    0 16px 16px rgba(0,0,0,0.1);
  height: 350px;
}

.card-panels:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  background-size: cover;
  background-position: center;
  transition: transform 1050ms cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none;
}

.card-panels-1:before {
  background-image: url(https://inovapanels.com/wp-content/uploads/2025/11/gamme-vehicule-isotherme-iso-van.jpg);
}

.card-panels-2:before {
  background-image: url(https://inovapanels.com/wp-content/uploads/2025/11/revetement-car.jpeg);
}

.card-panels-3:before {
  background-image: url(https://inovapanels.com/wp-content/uploads/2025/11/forgon.jpg#157);
}

.card-panels-4:before {
  background-image: url(https://inovapanels.com/wp-content/uploads/2025/11/taiga-porte-ouverte-1.jpg);
}

.card-panels-5:before {
  background-image: url(https://inovapanels.com/wp-content/uploads/2025/11/CabaneDeChantier-e1617367362235.png);
}
.card-panels-6:before {
  background-image: url(https://inovapanels.com/wp-content/uploads/2025/11/machineaglace-1.png#159);
}
.card-panels:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  pointer-events: none;
  background-image: linear-gradient(
    to bottom,
    hsla(0, 0%, 0%, 0) 0%,
    hsla(0, 0%, 0%, 0.009) 11.7%,
    hsla(0, 0%, 0%, 0.034) 22.1%,
    hsla(0, 0%, 0%, 0.072) 31.2%,
    hsla(0, 0%, 0%, 0.123) 39.4%,
    hsla(0, 0%, 0%, 0.182) 46.6%,
    hsla(0, 0%, 0%, 0.249) 53.1%,
    hsla(0, 0%, 0%, 0.320) 58.9%,
    hsla(0, 0%, 0%, 0.394) 64.3%,
    hsla(0, 0%, 0%, 0.468) 69.3%,
    hsla(0, 0%, 0%, 0.540) 74.1%,
    hsla(0, 0%, 0%, 0.607) 78.8%,
    hsla(0, 0%, 0%, 0.668) 83.6%,
    hsla(0, 0%, 0%, 0.721) 88.7%,
    hsla(0, 0%, 0%, 0.762) 94.1%,
    hsla(0, 0%, 0%, 0.790) 100%
  );
  transform: translateY(-50%);
  transition: transform 1400ms cubic-bezier(0.19, 1, 0.22, 1);
}

.card-panels-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 1rem;
  transition: transform 700ms cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 1;
}

.card-panels-content > * + * {
  margin-top: 1rem;
}

.card-panels-title {
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.2;
    background: #27348b;
    padding: 5px 10px;
    border-radius: 3px;
    color: white;
}

.card-panels-copy {
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.35;
}

.card-panels-btn {
  cursor: pointer;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.65rem;
  font-weight: bold;
  letter-spacing: 0.025rem;
  text-transform: uppercase;
  color: white;
  background-color: black;
  border: none;
}

.card-panels-btn:hover {
  background-color: #0d0d0d;
}

.card-panels-btn:focus {
  outline: 1px dashed yellow;
  outline-offset: 3px;
}

/* Hover Effects for Desktop */
@media (hover: hover) and (min-width: 600px) {
  .card-panels:after {
    transform: translateY(0);
  }

  .card-panels-content {
    transform: translateY(calc(100% - 4.5rem));
  }

  .card-panels-content > *:not(.card-panels-title) {
    opacity: 0;
    transform: translateY(1rem);
    transition: transform 700ms cubic-bezier(0.19, 1, 0.22, 1),
                opacity 700ms cubic-bezier(0.19, 1, 0.22, 1);
  }

  .card-panels:hover,
  .card-panels:focus-within {
    align-items: center;
  }

  .card-panels:hover:before,
  .card-panels:focus-within:before {
    transform: translateY(-4%);
  }

  .card-panels:hover:after,
  .card-panels:focus-within:after {
    transform: translateY(-50%);
  }

  .card-panels:hover .card-panels-content,
  .card-panels:focus-within .card-panels-content {
    transform: translateY(0);
  }

  .card-panels:hover .card-panels-content > *:not(.card-panels-title),
  .card-panels:focus-within .card-panels-content > *:not(.card-panels-title) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 87.5ms;
  }

  .card-panels:focus-within:before,
  .card-panels:focus-within:after,
  .card-panels:focus-within .card-panels-content,
  .card-panels:focus-within .card-panels-content > *:not(.card-panels-title) {
    transition-duration: 0s;
  }
}


 