:root {
    --primary-color: #4a90e2;
    --secondary-color: #f5f5f5;
    --text-color: #333;
    --spacing-unit: 1rem;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 76px;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

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

.hero-section {
    position: relative;
    padding: calc(var(--spacing-unit) * 1) 0;
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    color: #ffffff;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/img/Banner_R_3.jpeg');
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: var(--spacing-unit);
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0 auto 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.feature-list i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.mission-vision {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mission-box, .vision-box {
    padding: 2rem;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.mission-box h4, .vision-box h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-list, .schedule-list {
    list-style: none;
    padding: 0;
}

.contact-list li, .schedule-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-list i {
    color: var(--primary-color);
}

.contact-form .form-control {
    border-radius: 5px;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

footer {
    border-top: 1px solid #eee;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .mission-vision {
        gap: 1rem;
    }

    .service-card {
        margin-bottom: 1rem;
    }
}

/* Dashboard Styles */
.dashboard-card {
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.dashboard-card .card-title {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.dashboard-card .card-title i {
    font-size: 1.5rem;
}

.list-group-item {
    border: none;
    border-bottom: 1px solid #eee;
    margin-bottom: 0.5rem;
    padding: 1rem;
    transition: background-color 0.3s ease;
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item:hover {
    background-color: var(--secondary-color);
}

.list-group-item small {
    color: #666;
}

/* Login Page Styles */
.card.shadow {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-control {
    border-radius: 5px;
    padding: 0.75rem;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* News Styles */
.news-card {
    transition: transform 0.2s ease-in-out;
    height: 100%;
}

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

.news-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .card-img-top {
    transform: scale(1.05);
}

.news-meta {
    font-size: 0.9rem;
    color: #6c757d;
}

.news-meta small {
    margin-right: 1rem;
}

.news-meta i {
    margin-right: 0.3rem;
}

/* Single News Page */
.news-header {
    margin-bottom: 2rem;
}

.news-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.news-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.news-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.news-footer {
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-buttons span {
    color: #666;
    margin-right: 0.5rem;
}

.breadcrumb {
    background-color: transparent;
    padding: 0.75rem 0;
}

.breadcrumb-item a {
    color: #0d6efd;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* Admin News Management */
.admin-actions {
    margin-top: 1rem;
}

.admin-actions .btn {
    margin-right: 0.5rem;
}

/* Footer */
.footer {
    margin-top: 3rem;
}

/* Links do navbar */
.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    transition: color 0.2s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #0d6efd;
}

.navbar-nav .nav-link.active {
    color: #0d6efd;
    font-weight: 500;
}

/* Estilos para página individual de notícia */
.news-article {
    max-width: 800px;
    margin: 0 auto;
}

.news-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.news-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.news-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.share-buttons .btn {
    margin-left: 0.5rem;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    body {
        padding-top: 66px;
    }
    
    .news-title {
        font-size: 2rem;
    }
    
    .news-meta span {
        display: block;
        margin-bottom: 0.5rem;
    }
}

/* Estilos para o logo */
.navbar-brand {
    padding: 0;
    margin-left: -1px;
}

.navbar-brand img {
    height: 150.5px;
    width: auto;
}

.navbar .container {
    padding-left: 0;
}

/* Estilos do Calendário */
.calendario {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    padding: 20px;
    margin-top: 20px;
}

.calendario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendario-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.dia-semana {
    text-align: center;
    font-weight: bold;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

.dia {
    min-height: 100px;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    background: white;
}

.dia.hoje {
    background: #e9ecef;
}

.dia.outro-mes {
    background: #f8f9fa;
    color: #adb5bd;
}

.evento-item {
    font-size: 0.8rem;
    margin-bottom: 5px;
    padding: 3px 5px;
    background: #e9ecef;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.evento-item:hover {
    background: #dee2e6;
}

.modal-eventos {
    max-height: 80vh;
    overflow-y: auto;
}

/* Estilos da Seção de Localização */
#localizacao {
    background-color: #fff;
    padding: 80px 0;
    position: relative;
}

#localizacao .section-title {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#localizacao .section-divider {
    width: 80px;
    height: 3px;
    background: #007bff;
    margin: 0 auto 3rem;
}

#localizacao .card {
    border: none;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

#localizacao .card:hover {
    transform: translateY(-5px);
}

#localizacao .card-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

#localizacao .card-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

#localizacao .list-unstyled {
    margin: 0;
    padding: 0;
}

#localizacao .list-unstyled li {
    margin-bottom: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
}

#localizacao .list-unstyled li i {
    color: #007bff;
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

#localizacao iframe {
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    #localizacao {
        padding: 60px 0;
    }
    
    #localizacao .card {
        margin-bottom: 2rem;
    }
    
    #localizacao iframe {
        height: 300px;
    }
}

/* Estilos das Barras de Rolagem */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
    border: 3px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Ajuste para o modal */
.modal-body::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
    border: 2px solid #f1f1f1;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Ajuste para o calendário */
.calendario-grid::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.calendario-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.calendario-grid::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
    border: 2px solid #f1f1f1;
}

.calendario-grid::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Estilos para a seção de equipe */
.team-card {
    transition: transform 0.3s ease-in-out;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card .card-img-top {
    border: 8px solid #f8f9fa;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.team-card .card-title {
    margin-top: 1rem;
    font-weight: 600;
}

.team-card .card-text {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Cores para tipos de eventos */
.badge-tipo-palestra {
    background-color: #4CAF50 !important; /* Verde */
}

.badge-tipo-curso {
    background-color: #2196F3 !important; /* Azul */
}

.badge-tipo-beneficente {
    background-color: #F44336 !important; /* Vermelho */
}

.badge-tipo-confraternizacao {
    background-color: #FF9800 !important; /* Laranja */
}

.badge-tipo-cantina {
    background-color: #9C27B0 !important; /* Roxo */
}

.badge-tipo-outros {
    background-color: #607D8B !important; /* Cinza */
}

/* Estilos da Biblioteca */
.biblioteca-card {
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.biblioteca-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.biblioteca-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.biblioteca-card .card-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.biblioteca-card .card-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.biblioteca-card .card-text strong {
    color: var(--primary-color);
}

.biblioteca-card .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
}

.biblioteca-card .btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

/* Estilos dos Formulários */
.form-label {
    font-weight: 500;
    color: var(--text-color);
}

.form-select, .form-control {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.75rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-select:focus, .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.form-select option {
    padding: 0.5rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Estilos para Mensagens de Erro e Sucesso */
.alert {
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.alert-danger {
    background-color: #fff5f5;
    border-color: #feb2b2;
    color: #c53030;
}

.alert-success {
    background-color: #f0fff4;
    border-color: #9ae6b4;
    color: #2f855a;
}

/* Responsividade para a Biblioteca */
@media (max-width: 768px) {
    .biblioteca-card {
        margin-bottom: 1rem;
    }
    
    .biblioteca-card .card-title {
        font-size: 1.1rem;
    }
    
    .biblioteca-card .card-text {
        font-size: 0.85rem;
    }
    
    .form-select, .form-control {
        padding: 0.5rem;
    }
}

/* Estilos do Submenu */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.dropdown-item:active {
    background-color: #e9ecef;
}

.navbar-nav .dropdown-menu {
    margin-top: 0.5rem;
}

@media (max-width: 991.98px) {
    .dropdown-menu {
        border: none;
        box-shadow: none;
        background-color: transparent;
    }
    
    .dropdown-item {
        padding-left: 2rem;
    }
    
    .dropdown-item:hover {
        transform: none;
        background-color: rgba(0,0,0,0.05);
    }
} 