/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

body {
    background-color: #ffffff;
    color: #fcf5f5;
    text-align: center;
    line-height: 1.6;

}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: rgba(0, 0, 0, 0.986);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1.neon-text {
    font-size: 2rem;
    color: #f8f8fd;
    text-shadow: 0 0 10px #ebeae6, 0 0 20px #f3f3f2;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #0011ff;
}


.hero {
    background: url(../../public/images/1.png) no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}


@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 80vh;
        /* Ajusta a altura mínima */
        padding: 20px;
        /* Adiciona espaçamento interno */
    }

    .hero-text {
        width: 90%;
        font-size: 1rem;
        /* Reduz tamanho da fonte */
    }

    .btn-center {
        bottom: 20px;
        /* Ajusta a posição do botão */
    }

    .btn-center button {
        padding: 10px 30px;
        font-size: 6px;
    }
}



.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.327);
    z-index: 1;
}


.hero-text {
    position: relative;
    z-index: 2;
}

.btn-center {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    /* Garante que ele fique sobre a imagem */
    bottom: 50px;
    /* Ajuste para a posição desejada */
    left: 50%;
    transform: translateX(-50%);
    /* Centraliza horizontalmente */
    z-index: 10;
}

.btn-center button {
    background-color: #ff6702;
    color: white;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-center button:hover {
    background: #e65c00;
}



#ctaButton {
    pointer-events: auto;
}



.btn-glow {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #020055;
    color: #000;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px #020055;
    font-weight: bold;
}

.btn-glow:hover {
    background: #020055;
    box-shadow: 0 0 15px #020055;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.service-item {
    background: rgb(3, 3, 3);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.service-item img {
    width: 100%;
    border-radius: 10px;
}


h2 {
    color: #050505;
}

footer {
    background: #111;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.footer-contact img {
    width: 80px;
}

.footer-info {
    text-align: left;
}

.footer-social a img {
    width: 30px;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.footer-social a img:hover {
    transform: scale(1.1);
}

.footer-bottom {
    margin-top: 20px;
    font-size: 0.9rem;
}

/* Estilização da seção do portfólio */
.portfolio {
    padding: 50px 0;
    text-align: center;
    background-color: #000000;
    color: #fff;
}

/* Mantém os itens alinhados em linha */
.portfolio-list {
    display: flex;
    justify-content: flex-start;
    /* Mantém os itens alinhados corretamente */
    gap: 20px;
    overflow-x: auto;
    padding: 20px;
    max-width: 100%;
}


/* Cada item do portfólio */
.portfolio-item {
    background: rgba(12, 12, 12, 0.445);
    padding: 15px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    width: 300px;
    /* Define um tamanho fixo para manter alinhado */
    flex-shrink: 0;
    /* Impede que os itens diminuam e quebrem a linha */
    overflow: hidden;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.973);
}

/* Imagens do portfólio */
.portfolio-item img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.neon-text {
    color: #fff;
}

/* Títulos */
.portfolio-item h3 {
    margin-top: 12px;
    font-size: 1.3rem;
}

/* Descrição */
.portfolio-item p {
    font-size: 1rem;
    margin-top: 8px;
    color: #ccc;
}

/* Estilizando a barra de rolagem apenas no .portfolio-list */
.portfolio-list::-webkit-scrollbar {
    height: 8px;
    /* Altura da barra de rolagem */
}

.portfolio-list::-webkit-scrollbar-track {
    background: #222;
    /* Cor do fundo da barra */
    border-radius: 10px;
}

.portfolio-list::-webkit-scrollbar-thumb {
    background: #666;
    /* Cor da barra */
    border-radius: 10px;
}

.portfolio-list::-webkit-scrollbar-thumb:hover {
    background: #888;
    /* Cor ao passar o mouse */
}


/* Responsividade */
@media (max-width: 768px) {
    .portfolio-list {
        flex-wrap: nowrap;
        /* Mantém os itens em linha */
        overflow-x: auto;
        /* Permite rolagem horizontal */
    }
}



.blog-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}

.blog-item {
    display: flex;
    background: rgb(7, 7, 7);
    padding: 20px;
    border-radius: 10px;
    max-width: 800px;
    align-items: center;
    transition: transform 0.3s ease;
}

.blog-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.blog-item img {
    width: 300px;
    height: auto;
    border-radius: 10px;
    margin-right: 20px;
}

.blog-content {
    text-align: left;
    color: #ffffff;
}

.blog-content h2 {
    color: #ebeae6;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.blog-content p {
    font-size: 1rem;
    margin-bottom: 10px;
}

.btn-glow {
    display: inline-block;
    padding: 10px 15px;
    background: #020055;
    color: #fffcfc;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-glow:hover {
    background: #ff8800;
}

/* Responsividade */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .portfolio-list {
        flex-direction: column;
    }

    .portfolio-item {
        max-width: 100%;
    }

    .blog-item {
        flex-direction: column;
        text-align: center;
    }

    .blog-item img {
        width: 100%;
        margin-bottom: 20px;
    }
}