/* Fonts */
:root {
    --default-font: "Open Sans",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Jost",  sans-serif;
    --nav-font: "Poppins",  sans-serif;
  }
  
  /* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
  :root { 
    --background-color: #ffffff; /* Background color for the entire website, including individual sections */
    --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #116837; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #4ed609; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
  }
  
  /* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
  :root {
    --nav-color: #ffffff;  /* The default color of the main navmenu links */
    --nav-hover-color: #4ed609; /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #4ed609; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
  }

.banner-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza o conteúdo */
    width: 100%;
    height: 380px;
    font-family: var(--default-font);
    color: #fff;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: hidden;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.banner-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/img/bannerTC.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(0.5px) brightness(0.2);
    z-index: 1;
    animation: fadeIn 1s ease-in;
}

.text-wrapper {
    position: relative;
    width: 100%; /* Ocupa toda a largura */
    display: flex;
    justify-content: center; /* Centraliza o texto */
    z-index: 2;
    animation: slideIn 1s ease-out;
}

.vagas-abertas {
    animation: slideIn 1s ease-in;
}

.fa-chevron-down {
    font-size: 2.5rem; /* Tamanho da seta */
    color: #28a745; /* Cor verde */
    animation: moveDown 1s infinite ease-in-out; /* Animação contínua */
    display: inline-block;
    margin-top: 10px;
}

/* Animação da seta se movendo para baixo e depois voltando */
@keyframes moveDown {
    0% {
        transform: translateY(0); /* Posição inicial */
    }
    50% {
        transform: translateY(10px); /* Movendo 10px para baixo */
    }
    100% {
        transform: translateY(0); /* Volta à posição original */
    }
}


.banner-container p {
    font-size: 2.5rem; /* Tamanho da fonte ajustado */
    font-weight: bold;
    margin: 0;
    z-index: 3;
    text-align: center; /* Centraliza o texto */
    white-space: nowrap; /* Mantém o texto em uma única linha em telas grandes */
    transition: text-shadow 0.3s ease, transform 0.3s ease;
}

.banner-container p:hover {
    transform: scale(1.05);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.7);
}

.banner-container .js {
    color: #ffeb3b;
}

.banner-container .typed-text {
    color: #20c20e;
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.banner-container .cursor {
    background: #20c20e;
    display: inline-block;
    width: 10px;
    height: 50px;
    margin-left: 5px;
    animation: blink 0.7s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    pointer-events: none;
    animation: particle-float 5s infinite ease-in-out;
}

@keyframes particle-float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-25px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Responsividade máxima */
@media (max-width: 1200px) {
    .banner-container p {
        font-size: 2.2rem; /* Reduz o tamanho da fonte */
    }
}

@media (max-width: 992px) {
    .banner-container p {
        font-size: 2rem;
        white-space: normal; /* Permite quebra de linha para telas menores */
    }
}

@media (max-width: 768px) {
    .banner-container p {
        font-size: 1.8rem;
        white-space: normal; /* Permite quebra de linha em telas médias */
    }

    .text-wrapper {
        justify-content: center; /* Centraliza o texto */
    }
}

@media (max-width: 576px) {
    .banner-container p {
        font-size: 1.5rem; /* Reduz ainda mais o tamanho da fonte */
        white-space: normal; /* Permite quebra de linha em telas pequenas */
    }

    .cursor {
        height: 30px; /* Ajuste no tamanho do cursor */
    }
}
