/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #fff;
    line-height: 1.6;
    background-color: #000; /* Fundo preto para contraste */
}

#robbu-whatsapp-button {
    z-index: 99;
}

#robbu-whatsapp-button {
    display: flex;
    position: fixed;
    background: #4b4949;
    bottom: 25px;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    box-shadow: 2px 2px 12px rgb(0, 0, 0);
    transition: 0.4s;
    align-items: center;
    justify-content: center;
}

#robbu-whatsapp-button > .rwb-tooltip {
    position: absolute;
    bottom: 100%;
    margin-bottom: 20px;
    border-radius: 4px;
    padding: 15px;
    color: #ffffff;
    font-size: 16px;
    white-space: nowrap;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.87);
    opacity: 0;
    transition: 0.4s;
    pointer-events: none;
    text-shadow: 0 0 5px #ffffff, 0 0 10px #ffffff;
}

#robbu-whatsapp-button > .rwb-tooltip:after {
    display: block;
    content: "";
    position: absolute;
    top: 85%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 7px 0 7px;
    border-color: #fff transparent transparent transparent;
    transition: 0.4s;
}

#robbu-whatsapp-button.left {
    left: 25px;
}

#robbu-whatsapp-button.left > .rwb-tooltip {
    left: 0;
    transform: translateX(-10%);
}

#robbu-whatsapp-button.left > .rwb-tooltip:after {
    left: 23px;
}

#robbu-whatsapp-button:not(.left) {
    right: 25px;
}

#robbu-whatsapp-button:not(.left) > .rwb-tooltip {
    right: 0;
    transform: translateX(10%);
}

#robbu-whatsapp-button:not(.left) > .rwb-tooltip:after {
    right: 23px;
}

#robbu-whatsapp-button > img {
    display: block;
    width: 50px;
    height: 50px;
}

#robbu-whatsapp-button:hover {
    background: #ffffff;
    box-shadow: 3px 3px 12px rgba(14, 81, 39, 0.4);
}

#robbu-whatsapp-button:hover > .rwb-tooltip {
    opacity: 1;
    transform: translateX(0);
}

#robbu-whatsapp-button:hover > .rwb-tooltip:after {
    top: 100%;
    transition-delay: 0.4s;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Fundo de partículas */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Estilos para o menu responsivo */
header {
    background: rgb(0, 0, 0);
    opacity: 95%;
    padding: 2vh 0;
    position: sticky;
    top: 0;
    z-index: 9;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo {
    width: 80px;
    margin-left: -2vh;
    margin-bottom: -4vh;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    justify-content: center;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    padding: 0px;
    padding-left: 4vh;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #2c8ac0;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    header .logo {
        width: 80px;
        margin-left: 0px;
        margin-bottom: 0px;
    }

    nav {
        z-index: 2 !important;
        display: none;
        position: absolute;
        top: 70px;
        right: 2vh;
        background: rgba(57, 60, 61, 0.9);
        padding: 30%;
        border-radius: 10px;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
        align-items: center;
    }

    nav ul li a {
        color: #fff;
        text-decoration: none;
        font-size: 24px;
        font-weight: bold;
        transition: color 0.3s ease;
    }

    nav.active {
        display: flex;
    }
}

/* Projects Section */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 56px;
    text-align: center;
    margin-top: -60px;
    margin-bottom: 40px;
    color: #9400d3;
    text-shadow: 0 0 5px #9400d3, 0 0 5px #9400d3;
    z-index: 1;
    position: relative;
}

.projects {
    padding: 5vh 0;
    text-align: center;
    height: 100%;
    background-image: url('./Assets/backgroundcards.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.616);
    background-blend-mode: multiply;
    z-index: 1;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.project-card {
    background-image: url('./Assets/bg-preto-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

/* Estilos para a lista de funcionalidades */
.project-card ul {
    list-style: none; /* Remove os marcadores padrão */
    text-align: left;
    margin: 15px 0;
    padding: 0;
}

.project-card ul li {
    margin: 10px 0;
    color: #ccc;
    font-size: 1rem;
    position: relative;
    padding-left: 20px; /* Espaço para o ícone */
}

.project-card ul li::before {
    content: "✔"; /* Ícone de check */
    color: #00ff00; /* Verde neon */
    text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

/* Efeito hover nos itens da lista */
.project-card ul li:hover {
    color: #fff;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff;
    cursor: default;
}

.image-container {
    position: relative;
    height: 200px;
}

.top-image, .bottom-image {
    position: absolute;   
    transform: translateX(-50%);
    width: 50%;
    height: auto;
    opacity: 1;
    transition: opacity 2s ease;
}

.bottom-image {
    z-index: 1;
}

.top-image {
    z-index: 2;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px #8a2be280;
}

.project-card h3 {
    color: #87ceeb;
    margin-bottom: 10px;
    text-shadow: 0 0 3px #87ceeb, 0 0 10px #87ceeb;
}

.project-card p {
    color: #ccc;
    text-shadow: 0 0 5px #ccc, 0 0 20px #ccc;
}

/* Estilos para promoção */
.promo-text {
    color: #ff00ff;
    font-weight: bold;
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff;
    margin: 10px 0;
}

.original-price {
    color: #ccc;
    text-decoration: line-through;
    font-size: 1.2rem;
}

.promo-price {
    color: #00ff00;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00;
    margin: 10px 0;
}
.project-real{    
    font-size: 1.2rem;
    font-weight: bold;    
    margin: 10px 0;
    cursor: pointer;
}

.cta-button {
    background-color: #8a2be2; /* Roxo */
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, text-shadow 0.3s ease;
    text-shadow: 0 0 5px #ffffff, 0 0 10px #ffffff, 0 0 20px #ffffff; /* Efeito neon */
}

.cta-button:hover {
    background-color: #9400d3; /* Roxo mais escuro */
    box-shadow: 0 0 10px #8a2be2, 0 0 20px #8a2be2; /* Sombra neon */
    text-shadow: 0 0 5px #ffffff, 0 0 10px #ffffff, 0 0 20px #ffffff; /* Efeito neon */
}

.clickable {
    cursor: pointer;
    transition: color 1s ease;
}

.clickable:hover {
    color: #ff00ff;
    font-weight: bold;
    text-shadow: 0 0 1px #ff00ff, 0 0 1px #ff00ff;
   
    text-decoration: underline;
}

/* Estilo do Modal */
.modal {
    display: none; /* Escondido por padrão */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Fundo escuro semi-transparente */
    overflow: auto;
}

.modal-content {
    background-color: #1a1a1a;
    margin: auto; /* Centraliza o modal */
    padding: 20px;
    border-radius: 10px;
    width: 90%; /* Largura responsiva */
    max-width: 600px; /* Largura máxima */
    text-align: center;
    position: relative;
    top: 50%; /* Posiciona no centro vertical */
    transform: translateY(-50%); /* Ajusta o centro vertical */
}

/* Botão para fechar o modal */
.close {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 10px;
    cursor: pointer;
}

.close:hover {
    color: #8a2be2; /* Roxo neon ao passar o mouse */
}

/* Botões dentro do modal */
.modal-content button {
    background-color: #8a2be2;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    margin: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.modal-content button:hover {
    background-color: #9400d3; /* Roxo mais escuro */
}

/* Estilo do botão selecionado */
.modal-content button.selected {
    background-color: #6a1b9a; /* Roxo mais claro */
    box-shadow: 0 0 10px #6a1b9a, 0 0 20px #6a1b9a; /* Efeito neon */
}

/* Estilo dos vídeos */
.video-container {
    display: none; /* Escondido por padrão */
    margin-top: 20px;
}

video {
    width: 100%;
    border-radius: 10px;
}

/* Media Query para dispositivos móveis */
@media (max-width: 768px) {
    .modal-content {
        top: 50%; /* Centraliza verticalmente */
        transform: translateY(-50%); /* Ajusta o centro vertical */
        width: 95%; /* Aumenta a largura para ocupar mais espaço */
        max-width: none; /* Remove a largura máxima */
        padding: 15px; /* Reduz o padding para telas menores */
    }

    .modal-content h2 {
        font-size: 1.5rem; /* Reduz o tamanho do título */
    }

   /* Botões dentro do modal */
    .modal-content button {
        background-color: #8a2be2;
        color: #fff;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        margin: 10px;
        cursor: pointer;
        font-size: 16px;
        transition: background-color 0.3s ease;
    }

.modal-content button:hover {
    background-color: #9400d3; /* Roxo mais escuro */
}

    .video-container {
        margin-top: 10px; /* Reduz o espaçamento acima do vídeo */
    }
}

/* Footer */
footer {
    background: #111;
    padding: 10px 0;
    text-align: center;
    color: #ccc;
}