/* CSS Reset e Configurações Globais */
:root {
    --dark-bg: #2B2B2B;
    --primary-blue: #00A9CE;
    --primary-red: #D92525;
    --light-text: #F0F0F0;
    --white: #FFFFFF;
    --grey-accent: #444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    margin: 0;
    min-height: 200vh;
    /* Apenas para forçar a barra de rolagem */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

h1,
h2,
h3 {
    color: var(--white);
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
}

/* Cabeçalho e Navegação */

/* Estilos Gerais (Mantidos e Otimizados) */
:root {
    --light-text: #ffffff;
    /* Exemplo de variável de cor */
    --primary-blue: #00aaff;
    /* Exemplo de variável de cor */
    --grey-accent: #555;
    /* Exemplo de variável de cor */
}

.header {
    background-color: rgba(43, 43, 43, 0.9);
    border-bottom: 1px solid var(--grey-accent);
    padding: 15px 0;
    position: fixed;
    height: 10vh;
    /* Altura do header */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease-in-out;
}

.header.header-escondido {
    transform: translateY(-100%);
}

nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    width: 100%;

}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    height: 100%;
}


.coladinho {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
}

.icone img {
    height: 8vh;
    justify-content: center;
    align-items: center;
    width: auto;
    border-radius: 10px;
    margin-top: 15%;
}

.nome {
    font-size: 1.2rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    font-family: "Days One", sans-serif;
    font-weight: 400;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-items: center;
    gap: 30px;
}

.nav-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--light-text);
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-blue);
}

@media (max-width: 768px) {

    /* 1. Prepara o pai para ser a referência de posicionamento */
    .navbar {

        /* Podemos manter o space-between caso você adicione um menu hamburguer no futuro */
        justify-content: space-between;
    }

    /* 2. Posiciona o filho de forma absoluta no centro */
    .coladinho {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    /* 3. (Opcional, mas recomendado) Esconde os links de navegação */
    .nav-links {
        display: none;
    }
}


/*.menu-toggle {
    display: none;
    cursor: pointer;
}*/

/*.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--light-text);
    transition: all 3.0s ease-in-out;
}*/


/* Seção Herói (Principal) */
#hero {

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1616445723447-032b4a4d3b42?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    /* Foto de um caminhão refrigerado. Substitua se tiver uma foto sua. */
}


.tech-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* z-index: 5; */
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(252, 252, 252, 0.2);

}

.circle:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
}

.circle:nth-child(2) {
    width: 300px;
    height: 300px;
    top: 60%;
    left: 80%;
}

.circle:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 70%;
    left: 20%;
}

.circle:nth-child(4) {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 70%;
}

.circle:nth-child(5) {
    width: 120px;
    height: 120px;
    top: 70%;
    left: 20%;
}

.tk {
    color: #00A9CE;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content h1 {
    margin-top: 50px;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-content h1 .highlight {
    color: var(--primary-blue);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-button {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
    color: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 10;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 169, 206, 0.4);
}


.section {
    display: flex;
    align-items: center;
}

.list {
    height: 100%;
    width: 100%;
    margin-top: 10px;
    justify-content: center;
}

.imgcontainer {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
    gap: 30px;
    padding: 50px;
    z-index: 10;
}

.service-img img {
    width: 91%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    align-items: center;
    box-shadow: 0 0 30px rgba(0, 247, 255, 0.5);
}

/*@media (max-width: 1000px;) {
    .service-img{
        width: 100%;
        background-color: red;
    }
}*/

.service-img:hover {
    transform: scale(1.1)
}


/* Seção de Serviços */
#servicos {
    background-color: #212121;
    font-family: "Rubik", sans-serif;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--dark-bg);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.service-card h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.service-card p {
    font-size: 1rem;
}

.service-card:nth-child(even) {
    border-left-color: var(--primary-red);
}

.service-card:nth-child(even) h3 {
    color: var(--primary-red);
}

/* Seção Sobre Nós */
.about-content {
    margin-top: 30px;
}

.about-text {
    font-family: "Rubik", sans-serif;
    font-weight: 400;

}

.h3 {
    color: #00A9CE;
}

.h4 {
    color: #D92525;
}


.sobreimagem {
    display: flex;
    /* Coloca os itens lado a lado */
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 37px;
    padding: 20px;
}


.about-image {
    width: 100%;
    max-width: 500px;
}

.about-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 247, 255, 0.5);
}


@media (max-width: 768px) {
    .sobreimagem {
        flex-direction: column;
    }

    .about-image {
        width: 95%;
        max-width: 350px;
    }
}

/* Seção de Contato */
#contato {
    background-color: #212121;
}

.contact-info {
    text-align: center;
    margin-top: 20px;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.contact-info a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Botão de WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Rodapé */
.footer {
    background-color: #1a1a1a;
    color: var(--light-text);
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--grey-accent);
}

/* Menu Hambúrguer para Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: var(--light-text);
    margin: 4px 0;
    transition: 0.4s;
}

/* Responsividade */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--dark-bg);
        position: absolute;
        top: 80px;
        left: 0;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 20px 0;
    }

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

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
}