:root {
    --primary-color: #385843;
    /* Hunter Green */
    --secondary-color: #9a6e53;
    /* Earthy Brown */
    --text-color: #333;
    --light-bg: #f4f4f4;
    --white: #ffffff;
    --dark-bg: #1a1a1a;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

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

.btn-primary:hover {
    background-color: #8a624a;
}

/* Header */
.main-header {
 background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--white);
}

.logo img {
    height: 80px;
    margin-right: 10px;
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    font-weight: 600;
    color: var(--white);
}

.main-nav a:hover {
    color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    margin-top: 80px;
    overflow: hidden;
}

.carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    /* Flexbox for centering content */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Overlay */
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 20px;
}

.slide-content h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.slide-content .btn {
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    border-radius: 50%;
    transition: background 0.3s;
}

.carousel-control:hover {
    background: var(--secondary-color);
}

.result {
    left: 20px;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 15px auto 0;
}

/* About */
.about-section {
    background-color: var(--white);
}

.about-section .section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

/* Worship */
.worship-section {
    background-color: var(--light-bg);
}

.worship-content {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.worship-content ul {
    font-size: 1.2rem;
}

.worship-content li {
    margin-bottom: 15px;
}

/* Events */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.event-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.event-details {
    padding: 20px;
}

.event-date {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.event-details h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Contact */
.contact-section {
    background-color: var(--primary-color);
    color: var(--white);
}

.contact-section .section-title {
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info {
    font-size: 1.1rem;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    color: var(--white);
    font-size: 2rem;
    margin-right: 20px;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.contact-map iframe {
    border-radius: 10px;
}

/* Footer */
.main-footer {
    background-color: var(--dark-bg);
    color: #888;
    padding: 30px 0;
    text-align: center;
}

.admin-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.8rem;
    opacity: 0.5;
}

.admin-link:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav ul {
        display: none;
        /* Add JS toggle later */
    }

    .mobile-menu-btn {
        display: block;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

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

.solid-header {
    background-color: var(--primary-color) !important;
    position: sticky !important;
    top: 0;
}

/* Estilos para Blocos do TinyMCE (Cards de Horário) */
.worship-card {
    background: #fdfdfd;
    border-left: 5px solid var(--secondary-color);
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.worship-card h4 {
    margin: 0 0 5px 0;
    color: var(--primary-color);
    font-size: 1.1em;
}

.worship-card p {
    margin: 0;
    color: #555;
    font-size: 0.95em;
}

/* Ajuste de contraste para header escuro */
.solid-header .main-nav a,
.solid-header .logo,
.solid-header .mobile-menu-btn {
 color: var(--white) !important;
}
