@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Quicksand:wght@300..700&display=swap');
@import url('https://fonts.cdnfonts.com/css/hero-new');

:root {
    --primary-color: #131b1a;
    --secundary-color: #19291e;
    --terciary-color: #283c28;
    --quartenary-color: #3f5638;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    border: none;
}

body {
    min-height: 100vh;
    background: var(--quartenary-color);
    overflow-x: hidden;
}

.header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    justify-content: center;
    align-items: center;
}

.header section {
    font-family: "Quicksand", sans-serif;
    display: flex;
    justify-content: space-around;
    align-items: center; /* Centraliza verticalmente os itens */
    padding: 1rem 0; /* Aumenta o padding superior/inferior */
    border: 2px solid #131b1a;
    width: 60%;
    border-radius: 50px;
    margin-top: 2rem;
    height: auto; /* Altura fixa para o menu */
    min-height: 60px;
    transition: all 0.6s ease;
}

.header section a {
    font-family: "Quicksand", sans-serif;
    transition: all 0.6s ease;

}

.header section a:hover {
    color: #039987;
}

.header section:hover {
    background-color: var(--primary-color);
    opacity: 80%;
    box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.5);
    border: 2px solid black;
}

section .Logo {
    font-size: 1.4rem;
    font-family: "Bebas Neue", sans-serif;
}

.Logo h2 {
    color: #039987;
    font-weight: 300;
    line-height: 2rem;
    transition: all 0.6s ease;
}

.Logo h2:hover {
    color: #fff;
    transition: all 0.4s ease;
}

.navbar {
    display: flex;
    z-index: 2;
    gap: 3rem;
}

.navbar a {
    position: relative;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem; /* Garante que a borda não ultrapasse o link */
    backface-visibility: hidden; /* Elimina tremidos em animações */
    -webkit-font-smoothing: antialiased; /* Melhora a renderização no Chrome/Safari */
}

.navbar a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%; /* Inicia ocupando toda a largura */
    height: 0.2px;
    background: white;
    transform: scaleX(0); /* Inicia invisível */
    transform-origin: right; /* Animação começa da esquerda */
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.navbar a:hover::after {
    transform: scaleX(1); /* Expandir até 100% */
    transform-origin: left; /* Animação inversa */
}

/* Efeito ao sair do hover (borda "saindo" pela direita) */
.navbar a:not(:hover)::after {
    transform-origin: right; /* Animação de saída pela direita */
    transition: transform 0.3s ease;
}

.background-home {
    position: fixed;
    top: 0;
    left: 0;
    width: 101vw;
    height: 100vh;
    background: url('./images/HeaderBackGround.svg') no-repeat center;
    background-size: cover;
    z-index: -1; /* Coloca atrás de todo o conteúdo */
    opacity: 100%; /* Ajuste conforme necessário */
}

.home-container {
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100vh;
    height: 100vh;
}

.home-container h1, p {
    color: #fff;
}

.home-container h1 {
    font-family: 'Hero New', sans-serif;
    font-size: 6rem;
    font-weight: 100;
    line-height: 6rem;
}

.home-container p {
    display: flex;
    padding-top: 3rem;
    font-family: "Quicksand", sans-serif;
    opacity: 50%;
}

.home-container .video-container video {
    border: 2px solid rgb(0, 0, 0);
    width: auto;
}

#começo {
    display: flex; /* Ativa flexbox */
    justify-content: space-between; /* Separa texto e vídeo nas extremidades */
    align-items: center; /* Centraliza verticalmente */
    width: 60%;
    max-width: 1200px; /* Ajuste conforme necessário */
    margin: 0 auto; /* Centraliza a section */
    padding: 20px 0; /* Espaçamento lateral */
}

.text-container {
    flex: 0 1 50%; /* Ocupa o espaço disponível */
    max-width: 800px; /* Limita a largura do texto */
}

.text-container span {
    color: #039987;
}

.video-container {
    flex: 0 0 auto; /* Não cresce, não encolhe */
    margin-top: 40rem;
    margin-left: 42.5rem; /* Afasta o vídeo do texto */
}

/* Fim do Home */
/* Início do Plants */

.plants-explore {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    gap: 5rem;
    border-top-right-radius: 3rem;
    border-top-left-radius: 3rem;
    background-color: var(--primary-color);
}

.plants-image-explore {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    height: 50vw;
    transition: all 0.8s ease;
}

.plants-image-explore:hover {
    background-color: var(--secundary-color);
    transform: scale(1.0, 1.0, 1);
    width: 100%;
    height: 50vh;
}

.plants-image-explore img {
    border: 1px solid var(--terciary-color);
}

.plants-image-explore .text-image-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.text-image-content h1 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 3rem;
    color: #fff;
    text-align: center;
    text-shadow: 6px 6px 6px rgba(0, 0, 0, 0.5); /* Sombra para destacar o texto */
}

.text-image-content p {
    font-family: "Quicksand", sans-serif;
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
    padding: 0 2rem; /* Adiciona espaçamento lateral */
    line-height: 1.5; /* Melhora a legibilidade */
    word-wrap: break-word; /* Quebra palavras longas */
}

/* Fim do Plants */
#logging {
    height: 100vh;
    background: var(--primary-color);
}

.title-logging {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    flex-direction: column;
}

.title-logging .mix-color {
    font-size: 4rem;
    font-weight: 100;
    margin-top: 6rem;
}

.title-logging .mix-color {
    background: linear-gradient(to left, #039987, #313130);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.card .content p {
    color: black;
}

.card {
    display: flex;
    justify-content: center;
    width: 350px;
    height: 300px;
    position: relative;
    background-color: var(--quartenary-color);
    border-radius: 20px;
    box-shadow: 0px 35px 80px rgba(0, 0, 0, 0.15);
    transition: 0.8s;
    top: 10rem;
}

.card:hover {
    height: 600px;
}

.card .image-box {
    position: absolute;
    width: 250px;
    height: auto;
    top: 0px;
    transition: all 0.8s ease;
}

.card:hover .image-box {
    top: -100px;
    scale: 0.75;
}

.card .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card .content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: absolute;
    top: 250px;
    width: 100%;
    padding: 0 30px;
    text-align: center;
    height: 30px;
    overflow: hidden;
    transition: all 0.8s ease;
}

.card:hover .content {
    top: 130px;
    height: 400px;
}

/* FIM DO LOGGING */
/* INICIO DO SPECIES */
#species {
    height: 100vh;
}

.speciess {
    height: 100vh;
    width: 90%;
    display: grid;
    background-color: transparent;
    margin: auto;
    justify-content: center;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
    padding-left: 8%;
}

.speciess .cube-content {
    height: 700px;
    width: 90%;
    cursor: pointer;
    display: grid;
    transition: all 0.5s ease;
}

.speciess .cube-content:hover {
    transform: scale(1.05);
}

.cube-content h2 {
    color: #fff;
    position: absolute;
    font-family: "Quicksand", sans-serif;
    display: flex;
    font-weight: 300;
    margin: 4rem 10rem;
    font-size: 6rem;
    width: 0%;
    height: 0%;
}
