/* Estilos personalizados para o Projeto On Crist */

/* Variáveis CSS */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --border-radius: 15px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Estilos gerais */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* Imagem da catedral no header */
.header-catedral-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.header-catedral {
    max-width: 120px;
    max-height: 80px;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.3);
    object-fit: cover;
}

.header-catedral:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.5);
}

/* Cards com efeitos */
.card {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: none;
    overflow: hidden;
}

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

.card-header {
    border-bottom: none;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Botões personalizados */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

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

/* Lista de itens */
.list-group-item {
    border: none;
    border-radius: 8px !important;
    margin-bottom: 5px;
    transition: var(--transition);
}

.list-group-item:hover {
    background-color: var(--light-color);
    transform: translateX(5px);
}

/* Ícones */
.fa-2x {
    transition: var(--transition);
}

.list-group-item:hover .fa-2x {
    transform: scale(1.1);
}

/* Melhorias nos ícones */
.fas, .far, .fab, .fal {
    /* font-display: swap; */ /* Removido - não suportado por todos os navegadores */
    transition: all 0.3s ease;
}

.fas:hover, .far:hover, .fab:hover, .fal:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Ícones com cores específicas */
.fa-church {
    color: #8B0000;
}

.fa-pray {
    color: #228B22;
}

.fa-cross {
    color: #FFD700;
}

.fa-heart {
    color: #DC143C;
}

.fa-users {
    color: #4169E1;
}

.fa-calendar-alt {
    color: #32CD32;
}

.fa-microphone {
    color: #FF8C00;
}

.fa-cog {
    color: #696969;
}

/* Efeitos especiais para ícones */
.icon-glow {
    text-shadow: 0 0 10px currentColor;
}

.icon-pulse {
    animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Header principal */
.bg-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%) !important;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #343a40 100%) !important;
}

footer a {
    transition: var(--transition);
}

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

/* Modal personalizado */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border-bottom: none;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

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

.card {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsividade */
@media (max-width: 992px) {
    .header-catedral {
        max-width: 100px;
        max-height: 70px;
    }
}

@media (max-width: 768px) {
    .header-catedral {
        max-width: 80px;
        max-height: 60px;
        margin-top: 0.5rem;
    }
    
    .header-catedral-container {
        justify-content: center;
    }
}

/* Cores especiais */
.bg-pink {
    background-color: #e91e63;
}

.text-pink {
    color: #e91e63;
}

/* Efeitos de hover para botões especiais */
.btn-outline-success:hover {
    background-color: #25d366;
    border-color: #25d366;
    color: white;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Seção de boas-vindas compacta */
.welcome-section {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 50%, #b1dfbb 100%);
    border-radius: 0 0 25px 25px;
    margin-bottom: 0;
    padding: 2rem 0 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-bottom: 3px solid #28a745;
}

.welcome-section .container {
    max-width: 90%;
    margin: 0 auto;
}

.welcome-section h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem !important;
}

.welcome-section .lead {
    font-size: 1.1rem;
    margin-bottom: 0.5rem !important;
}

.welcome-section p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem !important;
}

.catedral-image {
    max-height: 250px;
    max-width: 100%;
    width: auto;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    transition: var(--transition);
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.8);
}

.catedral-image:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,1);
}

/* Responsividade para seção de boas-vindas */
@media (max-width: 768px) {
    .welcome-section .container {
        max-width: 95%;
    }
    
    .welcome-section h2 {
        font-size: 1.5rem;
    }
    
    .welcome-section .lead {
        font-size: 1rem;
    }
    
    .welcome-section p {
        font-size: 0.9rem;
    }
    
    .catedral-image {
        max-height: 200px;
        max-width: 100%;
        margin-top: 1rem;
    }
}

/* Responsividade para tablets */
@media (max-width: 992px) and (min-width: 769px) {
    .welcome-section h2 {
        font-size: 1.7rem;
    }
    
    .welcome-section .lead {
        font-size: 1.05rem;
    }
    
    .catedral-image {
        max-height: 230px;
        max-width: 100%;
    }
}

/* Responsividade para telas muito pequenas */
@media (max-width: 576px) {
    .welcome-section h2 {
        font-size: 1.3rem;
    }
    
    .welcome-section .lead {
        font-size: 0.95rem;
    }
    
    .welcome-section p {
        font-size: 0.85rem;
    }
    
    .catedral-image {
        max-height: 180px;
        max-width: 100%;
        margin-top: 1rem;
    }
}

/* Seção principal com fundo marrom */
.main-content-section {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 50%, #8B4513 100%) !important;
    padding: 2rem 0 !important;
    margin: 0 !important;
    min-height: calc(100vh - 300px) !important;
    position: relative !important;
    z-index: 1 !important;
    border-radius: 0 0 20px 20px !important;
}

.main-content-section .container {
    background: transparent;
}

/* Ajustes para os cards no fundo marrom */
.main-content-section .card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.main-content-section .card:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Fundos coloridos para os containers */
.card-agenda {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 50%, #fdcb6e 100%) !important;
}

.card-servicos {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 50%, #b1dfbb 100%) !important;
}

.card-datas-comemorativas {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 50%, #f1b0b7 100%) !important;
}

.card-mural {
    background: linear-gradient(135deg, #e2e3e5 0%, #d6d8db 50%, #c6c8ca 100%) !important;
}

.card-informacoes {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 50%, #abdde5 100%) !important;
}

.card-funcionalidades {
    background: linear-gradient(135deg, #d6d8db 0%, #c6c8ca 50%, #b6b8ba 100%) !important;
}

/* Ajustes para o rodapé */
footer {
    background: linear-gradient(135deg, #212529 0%, #343a40 100%) !important;
    margin-top: 0;
    border-radius: 0;
    color: #ffffff !important;
}

footer h5 {
    color: #ffffff !important;
}

footer p {
    color: #ffffff !important;
}

footer a {
    color: #ffffff !important;
}

footer a:hover {
    color: #ffc107 !important;
}

/* Responsividade para seção principal */
@media (max-width: 768px) {
    .main-content-section {
        padding: 1.5rem 0;
        min-height: calc(100vh - 250px);
    }
}

/* Loading spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Alertas personalizados */
.alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Estilos para o MURAL */
.card-header.bg-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
}

.mural-placeholder {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.mural-placeholder i {
    opacity: 0.5;
    transition: var(--transition);
}

.mural-placeholder:hover i {
    opacity: 0.8;
    transform: scale(1.1);
} 