/* Variáveis CSS */
:root {
    --primary-color: #473f1acc;
    --secondary-color: #676b2d;
    --accent-color: #8d963cab;
    --light-bg: #f8f9fa;
    --dark-text: #333;
    --border-color: #ddd;
    --white: #fff;
}

/* Navbar */
.navbar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-weight: bold;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: slideDown 0.8s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    animation: slideUp 0.8s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: bold;
}

.btn-primary:hover {
    background-color: #c99456;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
}

/* Seção Sobre */
.sobre {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.sobre h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.sobre-text h3 {
    color: var(--secondary-color);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.sobre-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.sobre-valores {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.valor {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.valor i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.valor h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.valor p {
    color: #666;
    font-size: 0.95rem;
}

/* Seção de Cultos */
.cultos {
    padding: 80px 20px;
    background-color: var(--white);
}

.cultos h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 50px;
}

.cultos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.culto-card {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    border-left: 5px solid var(--accent-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.culto-day {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.culto-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.culto-hora {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.culto-hora i {
    margin-right: 8px;
}

.culto-desc {
    color: #666;
    font-size: 0.95rem;
}

/* Seção Notícias */
.noticias {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.noticias h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.noticia-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.noticia-image {
    width: 100%;
    height: 200px;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.noticia-content {
    padding: 20px;
}

.noticia-date {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.noticia-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.noticia-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.noticia-link {
    color: var(--accent-color);
    font-weight: bold;
    transition: color 0.3s ease;
}

.noticia-link:hover {
    color: var(--secondary-color);
}

/* Seção de Contato */
.contato {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.contato h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.contato-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-item i {
    font-size: 1.5rem;
    margin-top: 5px;
}

.info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    color: var(--dark-text);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--accent-color);
}

.form-group button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 12px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-group button:hover {
    background-color: #c99456;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
    font-size: 0.95rem;
}

.footer p {
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgb(42, 51, 43);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

/* Notificações */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    font-weight: bold;
    z-index: 2000;
    animation: slideInRight 0.3s ease;
}

.notification.success {
    background-color: #4caf50;
    color: var(--white);
}

.notification.error {
    background-color: #f44336;
    color: var(--white);
}

.notification.info {
    background-color: #2196f3;
    color: var(--white);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(300px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        padding: 20px;
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .sobre-content {
        grid-template-columns: 1fr;
    }

    .contato-container {
        grid-template-columns: 1fr;
    }

    .sobre h2,
    .cultos h2,
    .noticias h2,
    .contato h2 {
        font-size: 2rem;
    }

    .cultos-grid,
    .noticias-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 1.2rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .sobre h2,
    .cultos h2,
    .noticias h2,
    .contato h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
