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

:root {
    --primary-color: #1a3a5c;
    --primary-dark: #0d2137;
    --primary-light: #2c5f8d;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Lora', Georgia, 'Times New Roman', serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--text-light);
}

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

/* Header */
header {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Logo */
.logo-church {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arc-svg {
    width: 340px;
    height: 70px;
}

.arc-text-svg {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 700;
    fill: var(--text-light);
    letter-spacing: 1px;
}

.middle-text {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.4rem;
    color: var(--text-light);
    margin-top: -5px;
}

.bottom-text {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.3rem;
    color: var(--text-light);
    opacity: 0.9;
}

.cross-container {
    position: relative;
    width: 50px;
    height: 50px;
    margin: 0.8rem auto 0;
}

.cross-vertical {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 12px;
    height: 50px;
    background-color: var(--text-light);
}

.cross-horizontal {
    position: absolute;
    left: 0;
    top: 35%;
    transform: translateY(-50%);
    width: 50px;
    height: 12px;
    background-color: var(--text-light);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    font-family: 'Cinzel', serif;
    color: var(--text-light);
    text-decoration: none;
    transition: opacity 0.3s;
    font-size: 0.95rem;
    letter-spacing: 0.05rem;
}

nav a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 5rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.hero-description {
    font-style: italic;
    opacity: 0.95;
}

.hero-quote {
    font-size: 1.3rem !important;
    font-style: italic;
    margin-top: 2.5rem !important;
    font-weight: 600;
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 2rem;
}

/* Faith Base Section */
.faith-base {
    padding: 5rem 2rem;
    background: var(--text-light);
}

.faith-base h2 {
    font-family: 'Cinzel', serif;
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3.5rem;
    letter-spacing: 0.1rem;
}

.faith-item {
    max-width: 850px;
    margin: 0 auto 2rem auto;
    padding: 2rem 2.5rem;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
}

.faith-item h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.faith-item p {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
    text-align: justify;
    color: var(--text-dark);
}

.faith-item ul {
    list-style: none;
    margin-top: 1rem;
}

.faith-item li {
    padding: 0.6rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.faith-item li:last-child {
    border-bottom: none;
}

.faith-item strong {
    color: var(--primary-color);
}

.welcome-message {
    max-width: 850px;
    margin: 3rem auto 0 auto;
    padding: 2rem;
    background: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.welcome-message p {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    margin: 0;
    letter-spacing: 0.02rem;
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background: var(--bg-light);
}

.services h2 {
    font-family: 'Cinzel', serif;
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    letter-spacing: 0.1rem;
}

.virtual-info {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-text {
    text-align: center;
    font-size: 1.1rem;
    color: var(--primary-light);
    margin-bottom: 3rem;
    font-style: italic;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--text-light);
    padding: 2rem;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: box-shadow 0.3s;
}

.service-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.service-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

/* Gallery Section */
.gallery {
    padding: 4rem 2rem;
    background: var(--bg-light);
}

.gallery h2 {
    font-family: 'Cinzel', serif;
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    letter-spacing: 0.1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background: var(--text-light);
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #ccc;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: color 0.3s;
}

.prev:hover, .next:hover {
    color: #ccc;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--text-light);
    text-align: center;
    padding: 2rem;
}

footer .disclaimer {
    font-style: italic;
    opacity: 0.85;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

footer .copyright {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .arc-svg {
        width: 300px;
        height: 60px;
    }

    .arc-text-svg {
        font-size: 20px;
    }

    .middle-text {
        font-size: 1.1rem;
    }

    .bottom-text {
        font-size: 0.95rem;
    }

    .cross-container {
        width: 40px;
        height: 40px;
        margin: 0.5rem auto 0;
    }

    .cross-vertical {
        width: 10px;
        height: 40px;
    }

    .cross-horizontal {
        width: 40px;
        height: 10px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

    .hero-quote {
        font-size: 1.15rem !important;
    }

    .faith-item {
        padding: 1.5rem;
    }

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

    .gallery {
        padding: 2.5rem 0.8rem;
    }

    .gallery h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
        padding: 0 0.3rem;
    }

    .gallery-item {
        border-radius: 3px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    }

    .gallery-item:hover {
        transform: none;
    }

    .gallery-item img {
        height: 140px;
    }

    .lightbox-content {
        max-width: 100%;
        max-height: 70%;
    }

    .prev, .next {
        font-size: 28px;
        padding: 15px 8px;
        background: rgba(0,0,0,0.3);
        border-radius: 3px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

    .close {
        font-size: 35px;
        right: 15px;
        top: 10px;
        background: rgba(0,0,0,0.3);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 120px;
}
