/* Variáveis e Tipografia */
:root {
    --cor-primaria: #2c5e3b; /* Verde floresta - ajuste conforme o PSD */
    --cor-secundaria: #eab308; /* Amarelo terroso - ajuste conforme o PSD */
    --nav-bg: #ffffff; /* Fundo do nav */
}

body {
    font-family: 'Ubuntu', sans-serif;
    color: #333;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Fraunces', serif;
    font-weight: 600;
}

/* Navbar */
.navbar {
    background-color: var(--nav-bg) !important;
}

.navbar-nav .nav-link {
    color: var(--cor-primaria) !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--cor-secundaria) !important;
}

/* Efeito Parallax */
.parallax-hero {
    /* Substitua a URL abaixo pela imagem tratada de agricultura/pesca do PSD */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/hero-bg.jpg');
    min-height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

/* Ajustes de Seções */
section {
    padding: 80px 0;
}

.bg-light-gray {
    background-color: #f8f9fa;
}

.bg-projetos {
    position: relative;
    background-image: url('banner-comunidade.jpg'); /* Altere para a imagem preferida se necessário */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito parallax opcional */
}

.bg-projetos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--cor-primaria); /* Cor primária sem transparência */
    z-index: 1;
}

.bg-projetos > .container {
    position: relative;
    z-index: 2;
}

.card-projeto {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

/* Galeria de imagens */
.img-hover {
    transition: transform 0.3s ease;
}

.img-hover:hover {
    transform: scale(1.08);
}

/* Configurações do Carrossel Hero */
.hero-carousel, #heroCarousel, .carousel-inner {
    height: 100vh; /* Ocupa 100% da altura da tela */
}

.carousel-item img {
    object-fit: cover;
    height: 100vh;
    width: 100%;
}

.carousel-caption {
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* Camada escura sobre a imagem para garantir a leitura do texto */
.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.content-z-index {
    z-index: 3;
    position: relative;
    width: 100%;
    max-width: 800px;
}