/* --------------------------------------------------- */
/* ---------------- PRODUCTS CATALOG ----------------- */
/* --------------------------------------------------- */

.products-catalog-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 50px 50px 0 50px;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    height: calc(100vh - 200px);
}

.card-content {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    max-width: 1200px;
    height: auto;
    background: white;
    overflow: hidden;
    align-items: start;
    justify-content: center;
}


.card-content-left {
    flex-direction: row;
}

.card-content-right {
    flex-direction: row-reverse;
}

.card-content-box {
    width: 50%;
    height: 100%;
}

.card-types {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: start;
    gap: 10px;
    width: 100%;
}

.type-card {
    width: 155px;
    height: 35px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 10px;
}

.card-image {
    width: 100%;
    height: 100%;
}

.text-container {
    display: flex;
    flex-direction: column;
    justify-content:space-around;
    align-items: center;
    text-align: center;
    gap: 30px;
    width: 50%;
    padding: 20px 50px;
}

.text-container h2 {
    height: 20%;
    font-size: 2em;
    margin-bottom: 10px;
}

.text-container p {
    height: 80%;
    font-size: 1.2em;
    color: #555;
    text-align: justify;
}

.type-card h3 {
    color: var(--orange);
    text-align: start;
}

.type-card p {
    font-size: 12px;
    text-align: start;
}

.products-tags {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.product-tag {
    background-color: var(--light-grey);
    color: #fff;
    border-radius: 5px;
    padding: 2px 5px;
    list-style: none;
    transition: 400ms;
}

.product-tag:link,
.product-tag:visited {
    text-decoration: none;
    color: #fff;
}

.product-tag:hover {
    background-color: var(--orange);
}

/* Barra de navegação (lado direito) */
.nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Estilização das bolinhas */
.card-dot {
    width: 15px;
    height: 15px;
    background-color: gray;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border: 2px solid transparent;
}

/* Quando a bolinha está ativa */
.card-dot.active {
    background-color: var(--orange);
    border: 2px solid white;
}

/* Tooltip para mostrar o título do card */
.card-dot::after {
    content: attr(data-title);
    position: absolute;
    right: 25px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

/* Mostrar tooltip ao passar o mouse */
.card-dot:hover::after {
    opacity: 1 !important;
}

/* Quando a bolinha está ativa pela rolagem */
.card-dot.active::after {
    opacity: 1;
    animation: fadeOut 1s forwards 1s;
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

@media (max-width: 1280px) {

}

@media (max-width: 1024px) {
    .card {
        height: auto;
        margin: 50px 0;
    }

    .card-content {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        height: auto;
        gap: 10px;
    }

    .card-content-box {
        width: 100%;
    }

    .text-container {
        width: 100%;
        gap: 10px;
    }

    .nav {
        right: 5px;
    }
}

@media (max-width: 767px) {
    .products-catalog-section {
        margin: 20px 25px 0 25px;
    }

    .card {
        margin: 20px 0;
    }

    .text-container {
        padding: 10px 50px;
    }


    .nav {
        display: none;
    }

    .text-container h2 {
        font-size: 1.5em;
        margin-bottom: 5px;
    }
}

/* ---------------------------- */

/* SLIDER */

/* Container do slider */
.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Slider */
.slider {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Imagens */
.slide {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ativar slide visível */
.active {
    display: block;
}

/* Botões de navegação */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.1);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 5px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Indicadores (bolinhas) */
.dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: #333;
}
