/* Cores principais baseadas em #361c11 */
:root {
    --primary-color: #361c11;
    --secondary-color: #4a2518;
    --accent-color: #5d2f1f;
    --light-bg: #f8f9fa;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
}

/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

/* Header customizado */
.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.bg-secondary-custom {
    background-color: var(--secondary-color) !important;
}

.logo-img {
    max-height: 60px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

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

.header-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.header-subtitle {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0;
}

/* Navegação */
.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #f8f9fa !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
}

.navbar-nav .nav-link.active-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #f8f9fa;
}


/* Dropdown menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.dropdown-item:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Carrossel */
.carousel-item img {
    height: 400px;
    object-fit: cover;
}

/* sofi */
.carousel-overlay-text {
    position: absolute;
    top: 10%;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.custom-caption-text {
    color: white;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.5;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* sofi */


/* Cards de notícias */
.news-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.news-image {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.news-image:hover {
    transform: scale(1.05);
}

/* soffi */
.texto-noticia {
    text-align: justify;
    overflow: hidden;
    /* Garante que o contêiner englobe a imagem */
}

/* sofi 
carrosel galeria*/

.carousel-galeria {
    width: 100%;
    margin: 0 auto;
}

.carousel-cell {
    width: 220px;
    margin-right: 15px;
    cursor: grab;
}

.galeria-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

/* Seção destaque */
.highlight-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.highlight-image {
    border-radius: 20px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.highlight-image:hover {
    transform: scale(1.02);
}

/* Botões */
.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Títulos */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-dark);
    font-weight: 600;
}

.section-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: white !important;
}

.social-icons a {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}


/* Responsividade */
@media (max-width: 768px) {
    .header-title {
        font-size: 1.2rem;
    }

    .header-subtitle {
        font-size: 0.9rem;
    }

    .carousel-item img {
        height: 250px;
    }

    .news-image {
        width: 200px;
        height: 200px;
    }

    .highlight-section {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .header-title {
        font-size: 1rem;
    }

    .header-subtitle {
        font-size: 0.8rem;
    }

    .carousel-item img {
        height: 200px;
    }

    .news-image {
        width: 150px;
        height: 150px;
    }

    .highlight-section {
        padding: 1rem;
    }

    .logo-img {
        max-height: 40px;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Formulários */
.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(54, 28, 17, 0.25);
}

/* Tabelas */
.table-custom {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.table-custom thead {
    background-color: var(--primary-color);
    color: white;
}

/* Utilitários */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-light-custom {
    background-color: var(--light-bg) !important;
}

.border-primary-custom {
    border-color: var(--primary-color) !important;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.botaogustavo:hover {
    color: white !important;
}