* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5f41;
    --secondary-color: #4a7c59;
    --accent-color: #d4af37;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: normal;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.quote-left,
.quote-right {
    padding: 2rem;
}

.quote-left blockquote,
.quote-right blockquote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--white);
    border-left: 4px solid var(--accent-color);
    padding-left: 1.5rem;
    margin: 0;
}

.quote-left cite,
.quote-right cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
}

.church-image-container {
    text-align: center;
}

.church-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    object-fit: cover;
}

/* Memorial Section */
.memorial-section {
    background-color: var(--secondary-color);
    padding: 3rem 0;
    text-align: center;
}

.memorial-section h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.memorial-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Services Section */
.services-section {
    padding: 4rem 0;
}

.services-section h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card .time {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.service-card .description {
    color: var(--white);
    line-height: 1.6;
}

/* About Section */
.about-section {
    background-color: var(--secondary-color);
    padding: 3rem 0;
}

.about-section h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 2rem;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 1rem;
    text-align: center;
}

/* Livestream Section */
.livestream-section {
    padding: 4rem 0;
}

.livestream-section h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.livestream-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background-color: var(--secondary-color);
    border-radius: 8px;
}

.livestream-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.livestream-container iframe[src=""] {
    display: none;
}

.livestream-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
}

.livestream-placeholder p {
    margin: 0.5rem 0;
    color: var(--white);
}

.livestream-placeholder strong {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.livestream-placeholder code {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.livestream-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* Topics Section */
.topics-section {
    background-color: var(--secondary-color);
    padding: 4rem 0;
}

.topics-section h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

.topics-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--secondary-color);
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

.topics-table thead {
    background-color: var(--primary-color);
    color: var(--white);
}

.topics-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.topics-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.topics-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.topics-table tbody tr:last-child td {
    border-bottom: none;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
}

.contact-section h2 {
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
    font-size: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--white);
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    display: block;
    width: 100%;
}

.map-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin: 0.5rem 0;
}

.visitor-count {
    color: var(--primary-color);
    /* Makes the text match the background so it's not immediately visible */
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .quote-left,
    .quote-right {
        order: 2;
    }

    .church-image-container {
        order: 1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 10px;
    }

    .quote-left blockquote,
    .quote-right blockquote {
        font-size: 1rem;
        padding-left: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .topics-table {
        font-size: 0.9rem;
    }

    .topics-table th,
    .topics-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    .hero-section {
        padding: 2rem 0;
    }

    .services-section h2,
    .topics-section h2,
    .contact-section h2 {
        font-size: 1.8rem;
    }
}

