@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;0,700;1,400&family=Didact+Gothic&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', 'Segoe UI', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.4em;
    color: rgb(80, 80, 80);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: -1;
}

a {
    color: rgb(80, 80, 80);
    text-decoration: none;
    transition: color 0.4s ease;
}

a:hover {
    color: rgb(146, 146, 146);
}

img {
    max-width: 100%;
    height: auto;
}

.site-header {
    background: transparent;
    position: relative;
    z-index: 100;
    min-height: 113px;
}

.header-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    align-items: center;
}

.main-nav a {
    display: inline-block;
    padding: 0 18px;
    color: rgb(80, 80, 80);
    font-family: 'Didact Gothic', 'Segoe UI', Arial, sans-serif;
    font-size: 19px;
    line-height: 1.4em;
    font-weight: 400;
    transition: color 0.4s ease;
    text-decoration: none;
    white-space: nowrap;
}

.main-nav a:hover {
    color: rgb(146, 146, 146);
    text-decoration: none;
}

.main-nav a.active {
    color: rgb(146, 146, 146);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: rgb(80, 80, 80);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.content-wrapper {
    background: #fff;
    width: 100%;
    flex: 1;
    margin-top: 100px;
    margin-bottom: 100px;
}

.main-content {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 40px 50px;
}

.page-title-banner {
    text-align: center;
    padding: 20px 20px 40px;
}

.page-title {
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: rgb(80, 80, 80);
    margin-bottom: 0;
    line-height: 1.4em;
}

.quote-banner {
    text-align: center;
    padding: 20px 20px 40px;
    margin-bottom: 0;
}

.quote-banner .quote-text {
    font-family: Georgia, 'Times New Roman', 'Didot', serif;
    font-size: 36px;
    font-style: italic;
    font-weight: normal;
    line-height: 1.4em;
    margin-bottom: 6px;
    color: rgb(80, 80, 80);
}

.quote-banner .quote-ref {
    font-family: Georgia, 'Times New Roman', 'Didot', serif;
    font-size: 36px;
    font-style: italic;
    font-weight: normal;
    line-height: 1.4em;
    color: rgb(80, 80, 80);
}

.devotional-content {
    padding: 10px 0;
    line-height: 1.4em;
    font-size: 18px;
    color: rgb(80, 80, 80);
}

.devotional-content .verse-intro {
    font-style: italic;
    color: rgb(80, 80, 80);
    margin-bottom: 4px;
    font-size: 18px;
}

.devotional-content .verse-ref {
    font-weight: 600;
    color: rgb(80, 80, 80);
    margin-bottom: 20px;
    display: block;
    font-size: 18px;
}

.devotional-content p {
    margin-bottom: 16px;
}

.devotional-content .source-link {
    display: inline-block;
    margin-top: 16px;
    color: rgb(80, 80, 80);
    text-decoration: underline;
    font-size: 18px;
}

.devotional-content .source-link:hover {
    color: rgb(146, 146, 146);
}

.main-content p {
    margin-bottom: 14px;
    line-height: 1.4em;
    font-size: 18px;
}

.main-content h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: rgb(80, 80, 80);
    margin-bottom: 16px;
    line-height: 1.4em;
}

.main-content h4 {
    font-family: 'Raleway', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: rgb(80, 80, 80);
    margin-bottom: 12px;
    margin-top: 20px;
    line-height: 1.4em;
}

.bible-verse {
    padding: 8px 0;
    margin: 14px 0;
    font-style: italic;
    color: rgb(80, 80, 80);
}

.bible-verse .verse-reference {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: rgb(80, 80, 80);
    margin-top: 4px;
    font-size: 18px;
}

.belief-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.belief-list li {
    padding: 4px 0 4px 18px;
    position: relative;
    line-height: 1.4em;
}

.belief-list li::before {
    content: '-';
    position: absolute;
    left: 2px;
    color: rgb(80, 80, 80);
}

.about-image {
    float: right;
    width: 220px;
    height: 212px;
    object-fit: cover;
    margin: 0 0 16px 24px;
}

.points-list {
    list-style: none;
    counter-reset: point-counter;
    padding: 0;
}

.points-list li {
    counter-increment: point-counter;
    margin-bottom: 24px;
    padding-left: 0;
}

.points-list li .point-title {
    font-size: 18px;
    font-weight: 600;
    color: rgb(80, 80, 80);
    margin-bottom: 8px;
}

.points-list li .point-title::before {
    content: counter(point-counter) ". ";
    font-weight: 700;
}

.points-list li .point-verse {
    padding: 4px 0;
    margin-top: 6px;
    font-style: italic;
    color: rgb(80, 80, 80);
}

.points-list li .point-ref {
    display: block;
    font-style: normal;
    font-weight: 600;
    color: rgb(80, 80, 80);
    margin-top: 4px;
    font-size: 18px;
}

.schedule-intro {
    margin-bottom: 20px;
}

.schedule-intro .bible-verse {
    font-style: italic;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 16px;
}

.schedule-item {
    text-align: center;
}

.schedule-item img {
    width: 166px;
    height: 165px;
    object-fit: cover;
    display: block;
    margin: 0 auto 12px;
}

.schedule-item h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: rgb(80, 80, 80);
    margin-bottom: 8px;
    line-height: 1.4em;
}

.schedule-item p {
    font-size: 18px;
    color: rgb(80, 80, 80);
    line-height: 1.4em;
}

.links-section {
    margin-bottom: 24px;
}

.links-section h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: rgb(80, 80, 80);
    margin-bottom: 14px;
    line-height: 1.4em;
}

.links-list {
    list-style: none;
    padding: 0;
}

.links-list li {
    padding: 6px 0;
}

.links-list a {
    font-size: 18px;
    color: rgb(80, 80, 80);
    text-decoration: underline;
}

.links-list a:hover {
    color: rgb(146, 146, 146);
}

.contact-section {
    margin-bottom: 24px;
}

.contact-section h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: rgb(80, 80, 80);
    margin-bottom: 12px;
    line-height: 1.4em;
}

.contact-section p {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.4em;
}

.contact-section a {
    color: rgb(80, 80, 80);
    text-decoration: underline;
}

.contact-section a:hover {
    color: rgb(146, 146, 146);
}

.site-footer {
    background-color: rgb(80, 80, 80);
    color: rgb(168, 170, 171);
    text-align: center;
    padding: 30px 20px;
    margin-top: auto;
    font-size: 17px;
    line-height: 1.4em;
}

.site-footer a {
    color: rgb(168, 170, 171);
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-email {
    margin-bottom: 8px;
}

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

.footer-copyright {
    font-size: 15px;
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        width: 100%;
        order: 3;
        padding-top: 10px;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 2px;
    }

    .main-nav a {
        padding: 10px 10px;
    }

    .main-content {
        padding: 24px 16px;
    }

    .about-image {
        float: none;
        display: block;
        margin: 0 auto 20px auto;
        width: 180px;
        height: 174px;
    }

    .quote-banner .quote-text,
    .quote-banner .quote-ref {
        font-size: 28px;
    }

    .page-title {
        font-size: 24px;
    }

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

@media (max-width: 480px) {
    .main-content {
        padding: 16px 12px;
    }

    body {
        font-size: 16px;
    }

    .quote-banner .quote-text,
    .quote-banner .quote-ref {
        font-size: 22px;
    }

    .page-title {
        font-size: 22px;
    }

    body {
        background-attachment: scroll;
    }
}
