/*
    Theme Name: Fundo Nacional de Emprego - FUNEA 
    Theme URI: https://funea.gov.ao
    Author: Claudio Rodrigues 
    Author URI: https: //cajwebdev.com
    Description: Fundo Nacional de Emprego - FUNEA tem como objectivo geral Financiar projectos de entidades 
    do Sistema Nacional de Formação Profissional e do Ensino Técnico-Profissional;

    Version: 1.0 Text Domain: funea.gov.ao E mais um site desenvolvido pelo Web Developer Cláudio Rodrigues.

*/

/* Substitua background-attachment: fixed por uma solução mais performática */
#dominio {
  position: relative;
  background-image: url("assets/images/Prancheta 1.png");
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
}

/* Alternativa usando transform para paralaxe */
.parallax-container {
  position: relative;
  overflow: hidden;
}
.style-horizontal {
	height: 9rem !important;
}
.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%; /* Altura maior que o container */
  background-size: cover;
  background-position: center;
  transform: translateZ(0);
  z-index: -1;
}

/* Estilos para FAQs em uma coluna */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.faq-button {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
}

.faq-button:hover {
    color: var(--primary-color);
}

.faq-title {
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    position: relative;
    width: 24px;
    height: 24px;
}

.faq-icon .icon-plus,
.faq-icon .icon-minus {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.faq-button.collapsed .icon-minus {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-90deg);
}

.faq-button:not(.collapsed) .icon-plus {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-body {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    line-height: 1.6;
}

.faq-body p {
    margin-bottom: 1rem;
}

.faq-body p:last-child {
    margin-bottom: 0;
}

.faq-view-all {
    margin-top: 2rem;
}

.faq-view-all .button {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-view-all .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .faq-button {
        padding: 1.25rem;
    }

    .faq-title {
        font-size: 1rem;
    }

    .faq-body {
        padding: 0 1.25rem 1.25rem;
    }
}

/* Animações */
.collapse {
    transition: all 0.35s ease;
}

.collapsing {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

/* Estilos para a Seção de Requisitos */
.section-requirements {
    padding: 3rem 0;
    margin-top: 2rem;
}

.section-requirements .section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    position: relative;
}

.section-requirements .section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.requirements-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 2rem;
}

.requirements-intro {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.requirements-intro .intro-text {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.requirement-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.requirement-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.requirement-section h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.requirement-section h4 em {
    margin-right: 10px;
    font-size: 1.4rem;
}

.requirement-section p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.requirement-section ul {
    list-style: none;
    padding-left: 1.5rem;
    margin: 0;
}

.requirement-section ul li {
    position: relative;
    padding: 0.5rem 0;
    color: #555;
}

.requirement-section ul li:before {
    content: '\2022';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

@media (max-width: 768px) {
    .requirements-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .requirement-section h4 {
        font-size: 1.1rem;
    }

    .requirements-intro .intro-text {
        font-size: 1rem;
    }
}

/* Estilos para o Carousel de Projetos */
.section-projects {
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.project-carousel {
	position: relative;
	padding: 20px 0;
	display: flex;
}

.project-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 255px;
    width: calc(20% - 20px) !important; /* Para 5 itens */
    margin: 0 10px;
}

.project-inner {
    padding: 0.5rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.project-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-title {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.3;
}

.project-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-title a:hover {
    color: var(--primary-color);
}

/* Controles do Owl Carousel */
.owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    pointer-events: none;
}

.owl-prev,
.owl-next {
    position: absolute;
    pointer-events: auto;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem !important;
    color: var(--primary-color) !important;
    transition: all 0.3s ease !important;
    z-index: 2;
}

.owl-prev {
    left: -20px;
}

.owl-next {
    right: -20px;
}

.owl-prev:hover,
.owl-next:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

/* Status dos projetos com cores */
.project-card.status-ongoing .project-icon {
    color: #f59e0b;
}

.project-card.status-completed .project-icon {
    color: #10b981;
}

.project-card.status-planning .project-icon {
    color: #6366f1;
}

.project-card.status-funded .project-icon {
    color: #0ea5e9;
}

/* Responsividade */
@media (max-width: 1200px) {
    .project-card {
        width: calc(25% - 20px) !important; /* 4 itens */
    }
}

@media (max-width: 992px) {
    .project-card {
        width: calc(33.33% - 20px) !important; /* 3 itens */
    }
}

@media (max-width: 768px) {
    .project-card {
        width: calc(50% - 20px) !important; /* 2 itens */
    }
}

@media (max-width: 576px) {
    .project-card {
        width: calc(100% - 20px) !important; /* 1 item */
    }
}
