﻿/* HEADER TRANSPARENTE */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    /*background: transparent;*/
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

    header .nav-link {
        color: #aaaaaa !important;
    }

    /* Navbar fica branca ao passar o mouse */
    header:hover {
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    /* Navbar fica branca quando rolar a página */
    header.scrolled {
        top: 0px;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

        /* Deixar links pretos quando a navbar estiver branca */
        header.scrolled .nav-link,
        header:hover .nav-link {
            color: #000 !important;
            text-shadow: none;
        }

        header.scrolled .topbar-text,
        header:hover .topbar-text {
            color: #fff !important;
            text-shadow: none;
        }

    header.activatemenu {
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: background 0.3s ease, box-shadow 0.3s ease;
        color: #000 !important;
    }

    /* Ajuste do logo (opcional para versão transparente) */
    header .navbar-brand img {
        transition: filter 0.3s;
    }

    header.scrolled .navbar-brand img,
    header:hover .navbar-brand img {
        filter: none; /* Se quiser escurecer ou clarear, pode usar brightness() */
    }

.product-footer {
    flex-grow: 1;
    display: flex;
    align-items: end;
    padding: 1rem 1.25rem;
    justify-content: center;
    height: 80px;
}

.product-card {
    transition: box-shadow 0.23s, border 0.23s, transform 0.23s;
    min-height: 500px;
    max-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.8em;
    white-space: normal;
    font-size: 1rem;
    line-height: 1.4;
}

@media (max-width: 576px) {
    .product-card {
        min-height: 450px;
        max-height: 460px;
    }

    .product-title {
        -webkit-line-clamp: 4;
        height: 5.6em;
    }
}

@media (max-width: 768px) {
    .product-card {
        min-height: 480px;
        max-height: 500px;
    }

    .product-title {
        -webkit-line-clamp: 4;
        height: 5.6em;
    }
}

.product-card .product-footer {
    display: block;
    opacity: 0;
    transition: opacity 0.3s;
    height: 80px;
}

.card-img-top {
    position: relative;
}

    .card-img-top .hover-img {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    width: 100%;
    /* transform: scale(1.03); */
}

    .product-card:hover .main-img {
        display: block;
    }

    .product-card:hover .hover-img {
        display: block;
    }

    .product-card:hover .product-footer {
        display: block;
        opacity: 1;
    }

.product-card .product-instalments {
    display: block;
    opacity: 0;
    transition: opacity 0.15s;
}

.product-card:hover .product-instalments {
    display: block;
    opacity: 1;
}

/* BANNER FULLSCREEN */
.fullscreen-banner {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    display: block;
    overflow: hidden;
}

@media (max-width: 768px) {
    .fullscreen-banner {
        object-fit: cover; /* Mostra a imagem inteira */
    }
}

.homeBanner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/*.homeBanner img {
    width: 100%;
    height: 100%;
    object-fit: cover;*/ /* Preenche sem distorcer */
/*}*/

/*@media (max-width: 768px) {
    .homeBanner img {
        object-fit: fill;*/ /* Mostra a imagem inteira */
/*}
}*/

/* Navbar principal */
.navbar-sticky,
.navbar {
    /*    background: transparent;*/
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Links ficam pretos no estado branco */
header.scrolled .nav-link,
header:hover .nav-link {
    color: #000 !important;
}

.playlist-area {
    position: absolute;
    display: block;
    z-index: 10;
}

/* Posição para Desktop */
.responsive-invisible ~ .playlist-area {
    top: 57.74%;
    left: 9.47%;
    width: 36.84%;
    height: 13.86%;
}

/* Posição para Mobile */
.responsive-visible ~ .playlist-area {
    top: 58.76%;
    left: 6.73%;
    width: 54.71%;
    height: 13.56%;
}

@media (max-width: 768px) {
    /* Posição para Mobile */
    .playlist-area {
        top: 42%;
        left: 25%;
        width: 55%;
        height: 36%;
    }
}