* {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 10px;
    font-family: 'Times New Roman', Times, serif;
    background-color: #2b2b2b;
    color: #000;
    -webkit-text-size-adjust: 100%;
}

/* 10-Second Background Carousel */
#BackgroundContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}
.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.bg-slide.active {
    opacity: 1;
}
#Overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: -1;
}
#Content {
    max-width: 700px;
    width: 100% !important;
    margin: 10px auto;
    background: rgba(255, 255, 255, 0.96);
    padding: 20px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
table {
    width: 100% !important;
    border-collapse: collapse;
}
td {
    padding: 5px !important;
    height: auto !important;
}
img {
    max-width: 100%;
    height: auto;
}

/* Touch Action Buttons for Mobile */
.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #800000;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 12px 18px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.05rem;
    min-height: 48px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    flex: 1 1 200px;
    max-width: 280px;
    text-align: center;
    transition: background-color 0.2s ease;
}
.contact-btn:active, .contact-btn:hover {
    background-color: #5c0000;
}

/* Announcement Box */
.announcement-box {
    background-color: #ffffff;
    color: #ff0000;
    padding: 15px 12px;
    border: 2px solid #ff0000;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
    line-height: 1.5;
}
.announcement-box h2 {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
}

/* Service Schedule */
.service-item {
    margin: 1.2rem 0;
    font-size: 20px;
    line-height: 1.4;
}
.highlight-yellow {
    background-color: #ffff00;
    padding: 2px 4px;
}
.highlight-green {
    background-color: #ccffcc;
    padding: 2px 4px;
}
.blue-text {
    color: #0000cd;
    margin-bottom: 2rem;
}

/* Bank Details Card & Tap to Copy */
.bank-box {
    background-color: #fbf9f4;
    border: 1px dashed #b8860b;
    border-radius: 8px;
    padding: 18px 12px;
    margin: 25px 0;
    text-align: center;
}
.bank-card {
    background: #ffffff;
    border: 1px solid #dcd3c1;
    border-radius: 6px;
    padding: 15px;
    display: inline-block;
    margin: 12px 0 5px;
    text-align: left;
    width: 100%;
    max-width: 440px;
}
.bank-card div {
    margin-bottom: 6px;
    font-size: 1rem;
}
.copy-btn {
    display: block;
    width: 100%;
    background-color: #800000;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    font-family: inherit;
    cursor: pointer;
    margin-top: 10px;
    min-height: 48px;
    transition: background-color 0.2s ease;
}
.copy-btn:active {
    background-color: #2c5e3b;
}

/* Spiritual Resources */
.resource-links p {
    margin: 10px 0;
    font-size: 18px;
}
.resource-links a {
    color: #0000ee;
    text-decoration: underline;
    display: inline-block;
    padding: 4px 0;
}

/* Mobile Layout Tweaks */
@media (max-width: 600px) {
    body {
        padding: 4px;
    }
    #Content {
        padding: 12px 8px;
        margin: 5px auto;
    }
    .service-item {
        font-size: 17px;
        margin: 1rem 0;
    }
    .header-title-large {
        font-size: 22px !important;
    }
    .header-title-small {
        font-size: 14px !important;
    }
    .resource-links p {
        font-size: 16px;
    }
    .contact-btn {
        flex: 1 1 100%;
        max-width: 100%;
    }
}