

.feature-carrusel-container {
    width: 100vw;
    overflow: hidden;
    padding: 2rem 0;
    background-color: var(--engbakken-trans);
}

.feature-carrusel-container h1{
    color:white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
    margin-left: 2rem;
}

.carrusel-controller {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-right: 0;
    transform: translateX(-2.5rem); 
    pointer-events: none;
    z-index: 2;
}

.carrusel-controller .arrow {
    color: black;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    text-align: center;
    line-height: 2.5rem;
    font-size: 2rem;
    cursor: pointer;
    pointer-events: all;
    user-select: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.carrusel-controller .arrow:hover {
    background: white;
    color: var(--logo-color);
    transform: scale(1.4);
}

.carrusel-controller .arrow.left:hover {
    transform: translateX(-0.3rem) scale(1.2);
}

.carrusel-controller .arrow.right:hover {
    transform: translateX(0.3rem) scale(1.2);
}




.carrusel-track {
    display: flex;
    gap: 1rem;
    scroll-behavior: smooth;
    overflow-x: auto;
    padding: 1rem;
    margin-left: 2rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.carrusel-card {
    flex: 0 0 auto;
    width: 30rem;
    max-width: 800px;
    height: auto;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    scroll-snap-align: start;
}

#Anvendelsesområder.feature-carrusel-container .carrusel-card h3{
    text-align: center;
}

.feature-carrusel-container h1 {
  font-size: 2rem; /* tilpas som ønsket */
}

.feature-carrusel-container h1 img {
  display: inline;
  vertical-align: middle;  /* centrer billedet ift. tekstlinjen */
  height: 3.5rem;
  margin-left: 1rem; /* lidt afstand fra teksten */
  margin-right: 0rem; /* lidt afstand fra teksten */
  margin-bottom: 0.6rem;
}

.center-track {
  justify-content: center;
}



.carrusel-card ul{
    padding: 1rem 1.2rem;
}

.carrusel-card h3{
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}


.defence-solutions-container .product-grid-button.rotate-down {
    justify-content: center;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.271);
    font-weight: 550;
    font-size: 1.5rem;
}

.accordion {
    margin-bottom: 1rem;
    position: relative;
}

.toggle {
    display: none;
}

.summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 0.5rem;
    font-weight: bold;
    border-radius: 5px;
}

.carrusel-card .open-close-icon{
    align-self: right;
    width: 1.5rem;
    height: 1.5rem;
    fill:white;
    transition: transform 0.3s ease;
}

.summary:hover {
    background-color: var(--logo-color);
    border-radius: 25px;
}

.sub-box {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.3s ease;
    padding: 0 1rem;
    background-color: white;
    color: black;
    border-radius: 10px;
    text-align: center;
}

.accordion:hover .sub-box{
    max-height: 150px;
    opacity: 1;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
}

/* Når checkbox er checked → vis indhold */
.toggle:checked ~ .sub-box {
    max-height: 150px;
    opacity: 1;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
    background-color: var(--dl-color-gray-700);
}

.toggle:checked + .summary .open-close-icon {
    transform: rotate(45deg); /* plus bliver til et kryds */
    fill:black;
}

/* Roter ikon ved åben tilstand */
.toggle:hover + .summary .open-close-icon {
    transform: rotate(45deg); /* plus bliver til et kryds */
}