

/* 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. */
  }

.container-tc {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap; /* Mantém os itens em uma única linha */
    margin: 0 auto;
    max-width: 80%;
    gap: 2rem;
    width: 90%;
    font-family: var(--default-font);
    padding: 3rem;
    overflow-x: auto; /* Permite scroll horizontal se necessário */
    z-index: 10;
    
    
}

.card-tc {
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem; /* Bordas mais arredondadas */
    box-shadow: 0px 18px 36px -18px rgba(0, 0, 0, 0.1),
                0px 30px 45px -30px rgba(50, 50, 93, 0.25);
    background-color: var(--nav-dropdown-background-color);
    cursor: pointer;
    width: 100%;
    max-width: 350px; /* Limita o tamanho máximo do card */
    padding: 1rem;
    min-height: 30rem;
    transition: all 0.3s ease-in-out;
    margin: 1rem; /* Espaçamento entre os cards */
    overflow: hidden; /* Garante que o conteúdo não ultrapasse os limites */
}

.card-tc:hover {
    transform: translateY(-10px); /* Animação de hover para levantar o card */
    box-shadow: 0px 20px 40px -18px rgba(0, 0, 0, 0.2),
                0px 35px 50px -30px rgba(50, 50, 93, 0.3);
}

@media (max-width: 1024px) {
    .container-tc {
        max-width: 90%;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .container-tc {
        padding: 1.5rem;
        flex-wrap: wrap; /* Permite que os itens quebrem para a próxima linha */
    }
    .card-tc {
        flex-basis: 100%; /* Um card por linha em telas menores */
        min-height: auto; /* Remove altura mínima para evitar distorções */
    }
    .content-tc > h1 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container-tc {
        padding: 1rem;
        gap: 1rem;
        flex-wrap: wrap; /* Certifica que os cards quebram para a próxima linha */
    }
    .card-tc {
        padding: 0.5rem;
        flex-basis: 100%; /* Mantém um card por linha */
    }
    .content-tc > h1 {
        font-size: 1rem;
    }
    .content-tc > p {
        font-size: 0.75rem;
    }
}

.container-tc * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: #116837; /* Definindo a cor do texto globalmente */
}

.content-tc {
    height: auto;
    padding: 1.5rem;
    flex-grow: 1;
}

.content-tc > h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: #116837; /* Cor do texto do h1 */
}

.content-tc > p {
    font-size: 0.7rem;
    line-height: 1.55;
    font-weight: 500;
    color: #6c757d; /* Cor do texto dos parágrafos */
}

.content-tc a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 800;
}

.content-tc a:hover {
    color: #116837;
}

.card-background-tc {
    height: 13rem;
    transition: all 0.2s ease-in-out;
}

.card-tc:hover .card-background-tc {
    height: 10rem;
}

.card-background-tc img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-tc:hover .action-bottom-bar a {
    opacity: 1;
}


.action-bottom-bar {
    display: flex;
    font-size: 1.125rem;
    height: 2.5rem;
    width: 100%;
}

.action-bottom-bar a {
    display: flex;
    gap: 0.4rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 800;
    opacity: 0;
    padding: 0 1.5rem;
    transition: all 0.2s ease-in-out;
}

.action-bottom-bar a:hover {
    color: var(--secondary);
}

.action-bottom-bar a:hover svg {
    color: var(--secondary);
}

.action-bottom-bar a svg {
    transition: all 0.2s ease-in-out;
}

.arrow {
    display: none;
}

.action-bottom-bar a:hover .arrow {
    display: block;
}

.action-bottom-bar a:hover .chevron {
    display: none;
}

.banner {
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .banner {
        padding: 15px;
        margin: 15px 0;
    }

    .banner img {
        border-radius: 5px;
    }
}

@media (max-width: 480px) {
    .banner {
        padding: 10px;
        margin: 10px 0;
    }
    .banner img {
        border-radius: 3px;
    }
}


.banner img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .banner {
        padding: 15px;
        margin: 15px 0;
    }

    .banner img {
        border-radius: 5px;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 500px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.btn-expandir {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: 1px solid white;
    border-radius: 20px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
   
    letter-spacing: 1px;
}

.btn-expandir:hover {
    background-color: rgba(255, 255, 255, 0.7);
    color: black;
    transform: translateX(-50%) scale(1.05);
}

.btn-expandir:active {
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateX(-50%) scale(0.95);
}

.card-background-tc {
    position: relative;
}

/* Estilos do modal */
.modal {
    display: none; /* Ocultar por padrão */
    position: fixed; /* Fixo na tela */
    z-index: 1000; /* Colocar em cima */
    left: 0;
    top: 0;
    width: 100%; /* Largura total */
    height: 100%; /* Altura total */
    overflow: auto; /* Habilitar rolagem se necessário */
    background-color: rgba(0, 0, 0, 0.7); /* Fundo semi-transparente */
}

.modal-content {
    background-color: #fff;
    margin: 10% auto; /* Centralizar verticalmente */
    padding: 30px;
    border: none;
    border-radius: 12px; /* Bordas arredondadas */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4); /* Sombra mais suave */
    width: 90%; /* Largura do modal responsiva */
    max-width: 500px; /* Largura máxima do modal */
    text-align: center; /* Centralizar texto */
    animation: fadeIn 0.3s; /* Animação de entrada */
}

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

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #d9534f; /* Cor ao passar o mouse */
    text-decoration: none;
    cursor: pointer;
}

.modal-button-container {
    display: flex;             /* Usar flexbox para centralizar */
    justify-content: center;   /* Centralizar horizontalmente */
    margin-top: 20px;         /* Espaço acima do botão */
}

.modal-button {
    background-color: #116837; /* Verde */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s; /* Efeito de transformação */
    width: 100px;              /* Largura do botão (opcional) */
}

.modal-button:hover {
    background-color: #08341c; /* Verde mais escuro */
    transform: scale(1.05);     /* Efeito de zoom ao passar o mouse */
}



.modal-message {
    margin: 20px 0; /* Espaço entre a mensagem e os botões */
    font-size: 18px;
    color: #333; /* Cor do texto da mensagem */
}

/* Responsividade */
@media (max-width: 600px) {
    .modal-content {
        padding: 20px; /* Menos padding em telas pequenas */
    }

    .modal-button {
        padding: 10px 15px; /* Ajustar tamanho dos botões em telas pequenas */
        font-size: 14px; /* Diminuir fonte em telas pequenas */
    }
}

#uploadModal {
    z-index: 1050; /* Z-index do modal de upload */
}

#loadingModal {
    z-index: 1100; /* Z-index do modal de loading */
}

.modal-loading {
    background-color: transparent; /* Fundo transparente */
    border: none; /* Remover borda */
    box-shadow: none; /* Remover sombra */
    padding: 0; /* Remover padding */
}

.loader {
    margin: 0 0 2em;
    height: 100px;
    width: 20%;
    text-align: center;
    padding: 1em;
    margin: 0 auto 1em;
    display: inline-block;
    vertical-align: top;
  }
  
.loader svg path,
.loader svg rect {
  fill: #116837;
}

