/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background-color: #0d233a; /* Deep navy blue from the layout */
    color: #ffffff;
}

/* Header Styles */
.site-header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.mini-logo img {
    height: 50px;
    width: auto;
}

.main-nav a {
    color: #1a365d;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.main-nav a:hover, .main-nav a.active {
    color: #b89047; /* Accent Gold */
}

/* Hero & Main Content */
.hero-section {
    padding: 40px 20px;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Central Banner Card */
.banner-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    margin-bottom: 40px;
}

.main-banner-img {
    max-width: 75%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.welcome-text {
    color: #0d233a;
    margin-top: 25px;
    font-size: 2rem;
    font-weight: 500;
}

/* Info Grid Section */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
}

.info-column h2 {
    color: #d4af37; /* Muted Gold heading */
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 10px;
}

.info-column p {
    line-height: 1.6;
    color: #e2e8f0;
}

/* Event Items */
.event-item {
    display: flex;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 4px;
    align-items: center;
}

.event-icon {
    font-size: 1.5rem;
    margin-right: 15px;
}

/* Buttons */
.button-group {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
    transition: transform 0.2s, background-color 0.2s;
}

.btn-gold {
    background-color: #b89047;
    color: #ffffff;
}

.btn-gold:hover {
    background-color: #a37e3a;
    transform: translateY(-1px);
}

/* Footer */
.site-footer {
    background-color: #081625; /* Darker navy shade */
    padding: 30px 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #a0aec0;
    margin-top: 60px;
    border-top: 2px solid #b89047;
}

.site-footer p {
    margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
.homepage-photo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 15px auto;        /* Adds a clean gap above and below the image */
    border: 2px solid #D4AF37; /* A gold border to match your parish theme */
    border-radius: 4px;       /* Slightly rounds the corners of the image */
}
.about-intro-text {
    margin-bottom: 30px; /* Leaves a comfortable gap above the two columns */
    font-size: 1.1rem;   /* Makes the top intro text slightly distinct */
    line-height: 1.6;
}
/* Top Split Layout for About Page */
.about-top-grid {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.about-top-image {
    flex: 0 0 30%;
    max-width: 300px;
}

.about-intro-text {
    flex: 1;
    font-size: 1.15rem;
    line-height: 1.6;
}

.about-hero-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Make sure it stacks nicely on mobile screens */
@media (max-width: 768px) {
    .about-top-grid {
        flex-direction: column;
    }
}
/* Add spacing between paragraphs */
.info-column p {
    margin-bottom: 20px;
}

/* Style and space out the numbered list items */
.beliefs-list {
    margin-top: 15px;
    padding-left: 25px; /* Ensures the numbers line up nicely */
}

.beliefs-list li {
    margin-bottom: 18px; /* Adds a clean paragraph gap between each numbered bullet */
    line-height: 1.6;    /* Makes the text easier to read */
}
/* Increase the container and image size of the header logo */
.mini-logo img {
    height: 150px;  /* Adjust this height to make it as large as you want */
    width: auto;   /* Keeps the proportions perfect so it doesn't distort */
    display: block;
}

/* Optional: Adds a little breathing room around the larger logo if needed */
.mini-logo {
    padding: 5px 0;
}
/* 3-Column Top Layout: Image | Text | Image */
.mass-row-layout {
    display: flex;
    align-items: center;    /* Vertically aligns the text nicely with the photos */
    justify-content: space-between;
    gap: 30px;              /* Space between columns */
    margin-bottom: 45px;    /* Space below this row block */
}

.mass-side-image {
    flex: 0 0 25%;          /* Limits each image column to exactly 25% width */
    max-width: 250px;
}

.mass-row-text {
    flex: 1;                /* Let the text fill up the remaining middle space */
    text-align: center;     /* Centers the actual text lines */
    font-size: 1.15rem;
    line-height: 1.6;
}

.mass-row-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: block;
}

/* Responsive adjustment for mobile screens */
@media (max-width: 768px) {
    .mass-row-layout {
        flex-direction: column; /* Stacks column pieces cleanly on top of each other on mobile */
        gap: 20px;
    }
    .mass-side-image {
        max-width: 80% !important; /* Lets images look wider and beautiful on small screens */
    }
}
/* Style for the subtitle text under the main welcome heading */
.banner-subtext {
    font-size: 1.25rem;
    color: #222222;       /* A sharp, deep charcoal dark text color */
    margin-top: 10px;     /* Leaves a perfect gap below the main title */
    font-style: italic;   /* Gives it an elegant touch */
    line-height: 1.4;
    font-weight: 500;     /* Gives the text slightly more thickness to make it pop */
}
/* Contact Page Form Layout */
.contact-form-container {
    max-width: 650px;
    margin: 0 auto 50px auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.church-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.form-group-row {
    display: flex;
    gap: 20px;
}

.form-group label {
    font-weight: 600;
    color: #333333;
    font-size: 0.95rem;
}

.form-group input, 
.form-group textarea {
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #8b0000; /* Matches church theme accents */
}

/* Submit Button Style */
.form-submit-btn {
    background-color: #8b0000; 
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 10px;
}

.form-submit-btn:hover {
    background-color: #a01a1a;
}

/* Mobile Responsiveness for Form Row */
@media (max-width: 600px) {
    .form-group-row {
        flex-direction: column;
        gap: 20px;
    }
    .contact-form-container {
        padding: 20px;
    }
}
/* Clergy Profile Photo Style on Ministries Page */
.clergy-profile-img {
    width: 100%;
    max-width: 280px;         /* Keeps the photo at a crisp, personal size */
    height: auto;
    border-radius: 8px;        /* Softens the photo edges */
    margin-bottom: 20px;       /* Pushes the paragraph text down neatly */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: block;
}
/* Elegant horizontal divider line */
.section-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, rgba(0,0,0,0), rgba(139,0,0,0.4), rgba(0,0,0,0)); /* Fades out beautifully on the edges using your church accent color */
    margin: 40px auto; /* Generous space above and below the line */
    width: 80%;       /* Doesn't span the entire width, keeping it subtle */
}