@charset "UTF-8";

:root {
    --primary-color: #2c5e92;
    --secondary-color: #d4af37;
    --light-color: #f8f9fa;
    --dark-color: #1a3a5f;
    --text-color: #333;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 5px;
}

/* CSS Document */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

strong {
    color: #2a5298;
}

em {
    color: #987123;
}

h1 {
    color: #891732;
}

h2 {
    color: #987123;
}

blockquote {
    background-color: #fdfaf2;
    border-left: 5px solid #d4af37;
    margin: 1.5em 10px;
    padding: 1.5em 20px;
    font-style: italic;
    color: #555;
    quotes: '\201C''\201D''\2018''\2019';
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.05);
}

.institucional h2 {
    color: #d4af37;
}

.institucional h5 {
    color: #3F48CC;
}

/* CABEÇALHO */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 30px 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 100px;
    height: 100px;
    background: #cdcdcd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.parish-name h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    margin-left: 10px;
}

.parish-name p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-left: 10px;
    color: #fff;
}

/* NAV-BAR */
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

.navbar-toggler-icon.toggler-branco {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* SEÇÃO HERO */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('https://pnspsmatao.com.br/assets/images/pnsps-matao-frente.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 5rem 1rem;
    margin-bottom: 2rem;
}

.hero h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #e6c127;
    transform: translateY(-3px);
}

/* SEÇÃO A PARÓQUIA */
.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

section {
    padding: 1rem 0;
}

.bg-light {
    background-color: var(--light-color);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

/* SEÇÃO EVENTOS */
/* Estilo para o contêiner dos cartões */
.event-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

/* Estilo para cada cartão de evento */
.event-card {
    width: calc(33.333% - 14px);
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
}

/* Estilo da Imagem */
.event-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Estilo dos Detalhes */
.event-details {
    padding: 15px;
}

.event-details h3 {
    margin-top: 0;
    font-size: 1.4em;
    color: #333;
}

.event-category {
    display: inline-block;
    background-color: #e6f7ff;
    color: #1890ff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    margin-bottom: 10px;
}

.event-date-location {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 5px;
}

.event-date-location i {
    margin-right: 5px;
    color: #1890ff;
}

/* SEÇÃO CONTATO */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 30px;
}

/* PÁGINA NOSSA HISTÓRIA */
.titulo-pagina-historia {
    border-left: 5px solid #0d6efd;
    padding-left: 15px;
}

.secao-historia-historia h2 {
    margin-top: 2.5rem;
}

.imagem-destaque-historia {
    max-height: 400px;
    object-fit: cover;
}

.citacao-historia {
    background-color: #f8f9fa;
    border-left: 4px solid #6c757d;
    padding: 15px;
    font-style: italic;
}


/* PÁGINA AGENDA */
.container-agenda {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.agenda-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.agenda-card {
    width: calc(33.333% - 14px);
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.agenda-card:hover {
    transform: translateY(-5px);
}

.agenda-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.agenda-details {
    padding: 15px;
}

.agenda-details h3 {
    margin-top: 0;
    font-size: 1.4em;
}

/* Estilos da Paginação */
.pagination {
    display: flex;
    justify-content: center;
    padding: 30px 0;
    list-style: none;
    margin: 20px 0;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.pagination li a:hover {
    background-color: #f0f0f0;
}

.pagination li.active a,
.pagination li.active span {
    background-color: #1890ff;
    color: white;
    border-color: #1890ff;
}

/* RODAPÉ */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 2rem;
    }

    nav ul {
        gap: 10px;
    }
}

.diocese-info {
    display: flex;
}

.diocese-info img {
    width: 60px;
    height: auto;
}

.diocese-info h3 {
    margin-left: 15px;
    margin-top: 50px;
    align-self: center;
    font-size: 1.2rem;
}

.institucional {
    display: block;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 1rem;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav ul li {
        width: 100%;
    }

    nav a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav a:last-child {
        border-bottom: none;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .institucional-img {
        display: block;
    }
}

/* Estilo para Responsividade */
@media (max-width: 992px) {

    /* 2 cartões por linha em tablets */
    .event-card {
        width: calc(50% - 10px);
    }

    .institucional {
        display: block;
    }
}

@media (max-width: 600px) {

    /* 1 cartão por linha em celulares */
    .event-card {
        width: 100%;
    }

    .institucional-img {
        display: block;
    }
}