@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


.product-card.off {
    pointer-events: none;
    opacity: 0.5 !important;
    filter: grayscale(100%);
}


/* Marquee Container Moderno */
.marquee-container {
    width: 100%;

    z-index: 1000;
    overflow: hidden;
}

.btn-primary-disabled {
    background-color: gray;
    cursor: not-allowed;

}



.btn-home {
    background-color: #ff2525;
    font-size: 1.3rem;
}

.text-up-product-card {
    position: absolute;
    left: 75%;
    text-align: center;
    margin: 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    padding: 2px;
    background-color: rgb(231, 222, 222);
    width: 50px;
}

.marquee-inner {
    display: flex;
    background: linear-gradient(90deg, #861616, #da2013);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 5px 0;
    position: relative;
}

.marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-icon {
    font-size: 20px;
    margin-right: 15px;
}

.marquee-text {
    font-size: 18px;

    font-weight: 600;
    letter-spacing: 0.5px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Efeito de gradiente nas bordas */
.marquee-inner::before,
.marquee-inner::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
}

.marquee-inner::before {
    left: 0;
    background: linear-gradient(90deg, rgb(121, 29, 29), rgba(211, 47, 47, 0));
}

.marquee-inner::after {
    right: 0;
    background: linear-gradient(90deg, rgba(211, 47, 47, 0), rgb(117, 36, 36));
}

/* Botões de controle */
.marquee-controls {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    z-index: 3;
}

.control-btn {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

/* Responsividade */
@media (max-width: 768px) {
    .marquee-content {
        animation-duration: 15s;
    }

    .price-update {
        font-size: 0.64rem;
    }

    .marquee-controls {
        right: 10px;
    }

    .control-btn {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 480px) {
    .marquee-icon {
        font-size: 10px;
        margin-right: 10px;
    }

    .marquee-text {
        font-size: 15px;
    }

    .marquee-inner {
        padding: 12px 0;
    }
}

:root {
    --primary: #8B0000;
    --secondary: #d64545;
    --light: #f8f9fa;
    --dark: #212529;
    --accent: #ffc107;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;

}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

header {
    transition: 1s;
    background: transparent;
    /* Remove o fundo colorido */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 0rem 1rem 0rem 1rem;
    position: fixed;
    border-radius: 0px 0px 3px 3px;
    box-shadow: 2px 15px 15px rgba(0, 0, 0, 0.226);
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Quando for rolado */
header.scrolled {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    /* Pode adicionar um pouco de transparência para escurecer levemente */
    background-image: linear-gradient(to right, rgb(17, 4, 4), rgb(15, 13, 13));
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.btn-whatsapp {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--dark);
    padding: 5px;
    width: 140px;
    font-weight: 500;
    text-decoration: none;
    color: white;
    border-radius: 5px;

}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--accent)
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
}

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://feed.continente.pt/media/ommdf45c/istock-1200498591.jpg?anchor=center&mode=crop&width=1090&height=467&rnd=132811206410970000&format=webp') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.5s;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.8s;
}

.btn {
    display: inline-block;
    color: white;
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
    font-weight: 500;
}

.btn:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--dark);
}

.hero .btns {
    display: flex;
    justify-content: space-around;
    align-items: center;
    opacity: 0;
    gap: 1rem;
    width: 100%;
    height: 30px;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 1.1s;
}

.section {
    padding: 5rem 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    height: 3px;
    width: 70px;
    background-color: var(--accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
}

.about-image.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.about-text.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.products {
    background-color: #f9f9f9;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s, transform 0.5s;
}

.product-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.product-info p {
    color: #666;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.location {
    background-color: white;
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.9);
    transition: all 1s ease;
}

.map-container.animate {
    opacity: 1;
    transform: scale(1);
}

.map-info {
    margin-top: 2rem;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.info-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 250px;
    margin: 1rem;
    border-left: 5px solid var(--primary);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.info-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.info-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-card p,
.info-card address {
    color: #666;
    font-style: normal;
}

footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

.footer-col p {
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.close-menu {
    display: none;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding: 1.5rem 0;
    background-color: #1a1a1a;
    color: #bbb;
    font-size: 0.9rem;
}

.to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.to-top.active {
    opacity: 1;
    visibility: visible;
}

.to-top:hover {
    background-color: var(--secondary);
    transform: translateY(-5px);
}

@keyframes fadeInUp {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary {
    position: absolute;
    top: 85%;
}

.product-card.animate {
    height: 525px;
}

.price-update {
    position: absolute;
    top: 78%;
}



@media (max-width: 992px) {



    body {
        overflow-x: hidden;
    }

    .close-menu {
        display: block;
    }


    .about-content {
        flex-direction: column;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {

    .price-update {
        position: absolute;
        top: 70%;
    }


    .text-up-product-card {
        left: 50%;
        padding: 0px;
    }

    .product-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* Garante sempre duas colunas */
        gap: 10px;
        /* Espaçamento entre os itens */
    }

    .product-card.animate {
        height: 245px;
        padding-bottom: 10px;
        font-size: 0.8rem;
        width: 100%;
    }

    .product-info h3 {
        font-size: 0.8rem;
    }

    .product-price-container {
        margin-bottom: 0px;
    }


    .product-image {
        height: 100px;
    }

    .product-info p {
        display: none;
    }

    .product-info {
        padding: 0.3rem;
    }

    .btn {
        font-size: 0.6rem;
        padding: 10px;
    }

    .btn-primary {
        position: absolute;
        margin-bottom: 5px;
        padding: 8px;
        
        width: max-content;
        text-align: center;
        top: 83%;
    }

    .price {
        font-size: 0.8rem;
    }


    .hamburger {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-image: linear-gradient(to right, rgb(17, 4, 4), rgb(15, 13, 13));
        flex-direction: column;
        padding: 2rem;
        transition: right 0.3s;
        z-index: 1001;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        transition: 1s;
        flex-direction: column;
        margin-top: 2rem;
    }

    nav ul li a {

        width: 230px;
        /* Define a largura desejada */
        height: 40px;
        display: inline-block;
        /* Para garantir que as dimensões definidas se apliquem corretamente */
        text-align: start;
        /* Centraliza o texto horizontalmente */
        line-height: 40px;
        /* Ajusta a linha de altura para centralizar verticalmente */
        color: white;
        /* Cor do texto */
        text-decoration: none;
        /* Remove sublinhado padrão */
    }


    nav ul li {
        transition: 1s;
        margin: 1rem 0;
        border-radius: 2px;
        padding: 5px;
        padding-left: 10px;
    }



    .close-menu {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 375px) {
    .price-update {
        font-size: 0.54rem;
    }
}