.products {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    width: 100%;
    background-color: #e6e6e6f3;
    gap: 1rem;
}


.products .header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    text-transform: uppercase;
    padding: 2rem;
}

.products .header hr {
    height: 2px;
    border: none;
    background-color: #52742c;
    width: 80%;
}

.products .header h1 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 900;
}

.products .header h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
}

.presentation {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    padding: 3rem;
    clip-path: polygon(7% 0, 100% 0, 100% 87%, 93% 100%, 0 100%, 0% 60%, 0 13%);
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    max-height: 90vh;
}

.presentation .overlay {
    display: flex;
    flex-direction: row;
    background-color: white;
    border-radius: 16px;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
    background-color: transparent;

}

.presentation .description {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: left;
    text-wrap: wrap;
    width: 50%;
    justify-content: center;

}

.presentation .description h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 900;
    padding: 1rem;
}

.presentation .description p {
    font-size: 2;
    letter-spacing: 0.1rem;
    line-height: 1.3rem;
}

.presentation .img-container {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.presentation .img-container img {
    width: 30vw;
    border-radius: 10px;
}

.products .content {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: 0 auto;
}

.product-block {
    display: flex;
    flex-direction: column;
    margin-bottom: 60px;
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.6s ease-in-out;
    opacity: 0;
    transform: translateX(100px);
    clip-path: polygon(87% 0, 100% 27%, 100% 100%, 51% 100%, 51% 100%, 0 100%, 0 0);
    width: 100%;

}

.product-block.animate-left {
    transform: translateX(-100px);
}

.product-block.visible {
    opacity: 1;
    transform: translateX(0);

}

.product-block:hover {
    transform: scale(1.01);
    opacity: 1;
}


.product-block:nth-child(even) {
    flex-direction: column-reverse;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 51% 100%, 12% 100%, 0 67%, 0 0);


}

.product-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    border: none;
    object-position: center;
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem;
    width: 100%;
    color: #000000;
}

.product-info h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.product-info p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f4f4f4;
    padding: 0.8rem;
    border-radius: 10px;
}

.spec-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.spec-text {
    display: flex;
    flex-direction: column;
}

.spec-value {
    font-weight: bold;
    font-size: 1.1rem;
}

.spec-label {
    font-size: 0.9rem;
    color: #555;
}


.zoom-wrapper {
    position: relative;
    overflow: hidden;
    cursor: normal;
    width: 100%;
    max-width: 550px;
    border-radius: 16px;
    isolation: isolate;
}

.zoom-img {
    width: 100%;
    transform-origin: top left;
    will-change: transform;
    pointer-events: none;
    transition: none !important;
    border-radius: inherit;
    display: block;
}


@media (min-width: 900px) {
    .product-block {
        flex-direction: row;
    }

    .product-block:nth-child(even) {
        flex-direction: row-reverse;
    }
}

@media (max-width: 900px) {

    .presentation{
        text-align: center;
    }
    .presentation.farm {
        display: flex;
        background-image: url("https://biofly-zone.b-cdn.net/img/products/farming-drones/farming-drone.png");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        padding: 0;
        color: #ffffff;
        gap: 0;
    }

    .presentation.multi{
        display: flex;
        background-image: url("https://biofly-zone.b-cdn.net/img/products/multi-funtion-drones/multi_700.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        padding: 0;
        color: #ffffff;
        gap: 0;
    }

    .presentation.cleaning{
        display: flex;
        background-image: url("https://biofly-zone.b-cdn.net/img/products/multi-funtion-drones/multi-funtion-drone.png");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        padding: 0;
        color: #ffffff;
        gap: 0;
    }

    .presentation.multi ul{
        display: none;
    }

    .presentation.multi h1{
        font-size: 1.5rem;
    }


    .presentation .img-container {
        display: none;
    }

    .presentation .overlay {
        display: flex;
        background-color: rgba(0, 0, 0, 0.411);
        width: 100%;
        height: 100%;
        padding: 2rem;
    }

    .presentation .description {
        width: 100%;
        height: 100%;
        font-size: 1rem;
        padding: 0;
        text-align: center;
        
    }
    .presentation .description h1{
        font-size: 1.5rem;
    }



    .product-block {
        flex-direction: column;
        clip-path: none;
        align-items: center;


    }

    .product-block:nth-child(even) {
        flex-direction: column;
        clip-path: none;
    }

    .spec-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background: #f4f4f4;
        padding: 0.3rem;
        border-radius: 10px;
    }
    .product-info{
        padding: 10px;
    }

    .spec-value{
        font-size: 0.9rem;
    }

    .spec-label{
        font-size: 0.8rem;
    }
}

