/* Estilos Gerais */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.section-title {
    position: relative;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin-bottom: 2rem;
}

/* Cabeçalho */
.navbar-brand {
    font-weight: 700;
    font-size: 1.2rem;
}

/* Banner da Página */
.page-banner {
    background-color: var(--primary-color);
    background-image: url('../images/banner-pattern.png');
    background-blend-mode: multiply;
    padding: 60px 0;
    color: white;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    background-color: transparent;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

/* Seção Hero */
.hero-section {
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Cards e Boxes */
.feature-box {
    padding: 2rem;
    border-radius: 5px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Eventos */
.event-card {
    border: none;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.event-date {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: 700;
}

.event-day {
    font-size: 1.5rem;
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Horários de Missa */
.mass-schedule-tabs .nav-link {
    color: var(--dark-color);
    border-radius: 30px;
    padding: 10px 20px;
    margin: 0 5px;
    font-weight: 500;
}

.mass-schedule-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.mass-schedule {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mass-schedule:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.mass-day {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.mass-time {
    margin-bottom: 0.25rem;
}

.mass-location {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Sacramentos */
.sacrament-nav .nav-link {
    color: var(--dark-color);
    border-radius: 30px;
    padding: 10px 20px;
    margin: 0 5px;
    font-weight: 500;
}

.sacrament-nav .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.sacrament-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

/* Pastorais */
.pastoral-nav .nav-link {
    color: var(--dark-color);
    border-radius: 30px;
    padding: 10px 20px;
    margin: 0 5px;
    font-weight: 500;
}

.pastoral-nav .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.pastoral-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-content {
    width: 45%;
    padding: 1.5rem;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.timeline-date {
    width: 10%;
    text-align: center;
    font-weight: 700;
    color: var(--primary-color);
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* Galeria */
.gallery-item {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 5px;
}

.gallery-item img {
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Formulário de Contato */
.contact-info-item {
    margin-bottom: 2rem;
}

.contact-info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Rodapé */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

footer h5 {
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: none;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Serviços */
.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
}

/* Responsividade */
@media (max-width: 991.98px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        justify-content: flex-start;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
    }
    
    .timeline-date {
        position: absolute;
        left: 0;
        width: 80px;
        text-align: right;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: row;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 80px;
        margin-right: 0;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
}
