body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: #f5f5f2;
    color: #2d342d;
    line-height: 1.7;
}

/* HEADER */

.top-header {
    background: #dfead9;
    padding: 40px 20px 30px;
    text-align: center;
    border-bottom: 1px solid #c9d7c2;
}

.header-content h1 {
    margin: 0;
    font-size: 2.5rem;
    letter-spacing: 1px;
}

.header-content p {
    margin: 6px 0;
}

.meeting-time {
    font-weight: bold;
    margin-top: 10px;
}

/* NAVIGATION */

nav {
    background: #bfd5bb;
    text-align: center;
    padding: 14px;
}

nav a {
    color: #2d342d;
    text-decoration: none;
    margin: 0 20px;
    font-weight: 600;
}

nav a:hover {
    text-decoration: underline;
}

/* HERO SECTION */

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
    border-radius: 0 0 18px 18px;
}

.hero-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 35px 40px;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.78),
        rgba(0,0,0,0.05)
    );
    color: white;
}

.hero-text h2 {
    margin: 0 0 12px;
    font-size: 2.2rem;
}

.hero-text p {
    max-width: 700px;
    font-size: 1.05rem;
}

/* MAIN CONTAINER */

.container {
    max-width: 1350px;
    margin: auto;
    padding: 60px 24px;
}

/* LAYOUT */

.content-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* MAIN COLUMN */

.main-column {
    flex: 2;
}

/* SIDEBAR */

.sidebar {
    flex: 1;
}

/* WELCOME CARD */

.welcome-card {
    background: white;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    margin-bottom: 40px;
}

.welcome-card h2 {
    margin-top: 0;
    font-size: 2rem;
}

/* FEATURE PANEL */

.feature-panel {
    display: flex;
    gap: 30px;
    align-items: center;
    background: #edf4e9;
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.feature-image {
    flex: 0 0 220px;
}

.feature-image img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.feature-text {
    flex: 1;
    min-width: 260px;
}

.feature-text h3 {
    margin-top: 0;
    font-size: 1.7rem;
}

/* SCRIPTURE SECTION */

.bible-section {
    display: flex;
    align-items: center;
    gap: 24px;
    background: white;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.bible-section img {
    width: 230px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.bible-text p {
    margin-top: 0;
    font-style: italic;
    font-size: 1.05rem;
}

.bible-text span {
    font-weight: 600;
}

/* CHURCH SIDEBAR */

.church-art {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
    position: sticky;
    top: 25px;
}

.church-art img {
    width: 100%;
    display: block;
}

.church-caption {
    padding: 28px;
}

.church-caption h3 {
    margin-top: 0;
    font-size: 1.8rem;
}

/* CHURCHES PAGE */

/* FELLOWSHIP SECTION */

.church-intro {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-bottom: 35px;
    flex-wrap: wrap;
    background: #edf4e9;
    padding: 20px 25px;
    border-radius: 18px;
}

.intro-text {
    flex: 1;
    min-width: 280px;
}

.intro-text h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.intro-text p {
    margin: 8px 0;
}

/* WATERCOLOR IMAGE */

.intro-image {
    flex: 0 0 150px;
}

.intro-image img {
    width: 100%;
    max-width: 150px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    display: block;
}/* MT. CARMEL IMAGE */

.intro-image {
    flex: 0 0 180px;
}

.intro-image img {
    width: 100%;
    max-width: 180px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    display: block;
}
/* CHURCH GRID */

.church-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-bottom: 50px;
}

.church-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.church-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.church-card-content {
    padding: 28px;
}

.church-card-content h3 {
    margin-top: 0;
    font-size: 1.5rem;
}

.church-card-content a {
    color: #2d5a2d;
    text-decoration: underline;
    font-weight: normal;
}

.church-card-content a:hover {
    color: #1f401f;
}

.mt-carmel-wrapper {
    width: 52%;
    margin: 35px auto 50px auto;
}
/* WRITTEN DIRECTIONS */

.location-details {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #555;
}

.location-details p {
    margin: 8px 0;
}

/* FIFTH SUNDAY */

.fifth-sunday {
    background: #edf4e9;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.fifth-sunday h2 {
    margin-top: 0;
}

/* FOOTER */

footer {
    margin-top: 60px;
    background: #dfead9;
    text-align: center;
    padding: 24px;
    border-top: 1px solid #c9d7c2;
}

/* MOBILE */

@media (max-width: 950px) {

    .content-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .church-art {
        position: static;
    }

    .hero-text {
        padding: 28px 24px;
    }

    .hero-text h2 {
        font-size: 1.9rem;
    }

    .feature-panel {
        flex-direction: column;
        text-align: center;
    }

    .feature-image {
        flex: none;
        width: 100%;
        max-width: 260px;
    }

    .bible-section {
        flex-direction: column;
        text-align: center;
    }

    .bible-section img {
        width: 100%;
        max-width: 300px;
    }

    .church-intro {
        flex-direction: column;
    }

    nav a {
        display: inline-block;
        margin: 8px 12px;
    }
}

/* CONTACT PAGE */

.contact-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.contact-image-column {
    width: 280px;
    min-width: 280px;
}

.contact-image {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    display: block;
}

.contact-content {
    flex: 1;
}

.contact-email {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 20px 0;
}

.contact-email a {
    color: #2d5a2d;
    text-decoration: underline;
}

.contact-email a:hover {
    color: #1f401f;
}

@media (max-width: 768px) {
    .contact-layout {
        flex-direction: column;
    }

    .contact-image-column {
        width: 180px;
        min-width: 180px;
        margin: 0 auto;
    }
}
/* SMALL PHONE ADJUSTMENTS */

@media (max-width: 600px) {

    .top-header {
        padding: 26px 16px 20px;
    }

    .header-content h1 {
        font-size: 1.8rem;
        line-height: 1.25;
    }

    .container {
        padding: 32px 16px;
    }

    nav {
        padding: 10px 8px;
    }

    nav a {
        margin: 6px 8px;
        font-size: 0.95rem;
    }

    .hero-section img {
        height: 280px;
        object-fit: cover;
    }

    .hero-text {
    padding: 18px 16px;
}

.hero-text h2 {
    font-size: 1.35rem;
    line-height: 1.25;
    margin: 0 0 6px;
    white-space: normal;
}

.hero-text p {
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0;
}

    .hero-text p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 0;
    }

    .welcome-card,
    .feature-panel,
    .bible-section {
        padding: 22px;
        margin-bottom: 26px;
    }

    .welcome-card h2 {
        font-size: 1.65rem;
    }

    .feature-text h3 {
        font-size: 1.45rem;
    }

    .church-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 28px;
    }

    .church-card img {
        height: 220px;
    }

    .church-card-content {
        padding: 22px;
    }

    .mt-carmel-wrapper {
        width: 100%;
        margin: 24px auto 32px;
    }

    .church-intro {
        padding: 20px;
        margin-bottom: 26px;
    }

    .intro-text {
        min-width: 0;
    }

    .intro-image,
    .intro-image img {
        max-width: 150px;
    }

    .fifth-sunday {
        padding: 26px 20px;
    }

    .contact-layout {
        gap: 22px;
    }

    .contact-content {
        min-width: 0;
    }

    .contact-email {
        font-size: 1.1rem;
        overflow-wrap: anywhere;
    }
}
