/* Mobile navbar hamburger styles and logic */
@media (max-width: 670px) {
    .navbar-inline {
        position: relative;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        width: 100%;
    }
    .logo-title-group {
        order: 1;
        flex: 1;
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: flex-start;
    }
    .church-title-inline {
        font-size: 1.1rem;
        line-height: 1.2;
        text-align: left;
    }
    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        padding: 0;
        margin: 0;
        order: 2;
        position: relative;
        width: 56px;
        height: 56px;
        background: linear-gradient(135deg, #f57c00 0%, #ff8f00 100%);
        border-radius: 50%;
        box-shadow: 0 4px 16px rgba(245, 124, 0, 0.3);
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
        z-index: 1000;
        border: none;
        outline: none;
    }
    
    .hamburger:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(245, 124, 0, 0.4);
    }
    
    .hamburger.active {
        transform: rotate(45deg) scale(1.1);
        background: linear-gradient(135deg, #ff8f00 0%, #f57c00 100%);
    }
    .nav-links-inline {
        display: none;
        flex-direction: column;
        gap: 1rem;
        position: fixed;
        top: 150px;
        right: 20px;
        width: 280px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 30px 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        z-index: 999;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        transform: translateY(-20px);
        opacity: 0;
        max-height: 70vh;
        overflow-y: auto;
    }
    .nav-links-inline.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }
    .hamburger span {
        width: 24px;
        height: 3px;
        background: #fff;
        margin: 0;
        transition: all 0.3s ease;
        position: absolute;
        border-radius: 2px;
    }
    
    .hamburger span:nth-child(1) {
        transform: rotate(0deg);
    }
    
    .hamburger span:nth-child(2) {
        transform: rotate(90deg);
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        transform: rotate(45deg);
    }
    
    .nav-links-inline a {
        color: #f57c00;
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 700;
        padding: 16px 24px;
        border-radius: 12px;
        transition: all 0.3s ease;
        background: rgba(228, 156, 136, 0.087);
        border: 1px solid rgba(185, 123, 47, 0.2);
        text-align: center;
        margin: 8px 0;
    }
    
    .nav-links-inline a:hover {
        color: #f57c00;
        background: rgba(245, 124, 0, 0.1);
        border-color: #f57c00;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(245, 124, 0, 0.2);
    }
}
/* Gallery images responsive styling */
.gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.gallery-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    object-fit: cover;
}

@media (max-width: 700px) {
    .gallery-images {
        grid-template-columns: 1fr;
    }
}
/* Banner section styles */
.banner {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}
.banner-img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(26,35,126,0.12);
    object-fit: cover;
}
.nav-links-inline {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2.5rem;
    margin-top: 0.5rem;
    width: auto;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}
/* Logo and title inline group */
.logo-title-group {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
/* Inline navbar with logo, title, and links */
.navbar-inline {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0.5rem 0;
    width: 100%;
    position: relative;
}
.church-title-inline {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-right: 2rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(26,35,126,0.5), 0 1px 0 #222;
}
.logo-img {
    height: 110px;
    width: 110px;
    margin-right: 1rem;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #f5f6fa;
    box-shadow: 0 8px 32px rgba(26,35,126,0.22);
    object-fit: cover;
    display: block;
    margin: 0 auto;
}
/* Church title above navigation */
.church-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 12px 0 0 0;
    letter-spacing: 1px;
    color: #333;
}

/* Logo image styling */
/* Horizontal line above navigation */
.nav-separator {
    margin: 16px 0;
    border: none;
    border-top: 2px solid #ccc;
}

/* Gospel quote and reference styling */
.gospel-quote {
    font-style: normal;
    font-size: 1.1rem;
    color: #444;
}
.gospel-ref {
    font-style: italic;
    color: #888;
}

/* Hero banner image styling */
.hero-banner {
    max-width: 100%;
    border-radius: 12px;
}

/* Ministry images styling */
.ministry-img {
    max-width: 220px;
    border-radius: 12px;
    margin: 8px;
}
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    color: #222;
}
header {
    background: #1a237e; /* Deep blue */
    color: #fff;
    padding: 0.5rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-right: 2rem;
    letter-spacing: 1px;
    list-style: none;
    display: flex;
    gap: 2rem;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: #ff9800; /* Accent placeholder */
}
.hero {
    background: linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 100%); /* Placeholder gradient */
    text-align: center;
    padding: 6rem 2rem 4rem 2rem;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}
.cta-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #ff9800; /* Accent placeholder */
    color: #fff;
    border-radius: 30px;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: background 0.2s;
}
.cta-btn:hover {
    background: #e65100;
}
.about, .contact {
    max-width: 900px;
    margin: 3rem auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    padding: 2.5rem;
}
.about h2, .contact h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}
input, textarea {
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
}
button[type="submit"] {
    padding: 0.8rem 2rem;
    background: #333; /* Placeholder color */
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;
}
button[type="submit"]:hover {
    background: #ff9800;
}

/* Donation section styles */
.donation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.donation-method {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.donation-method:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.donation-method h3 {
    color: #1a237e;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.donate-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #1a237e;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
    margin-top: 1rem;
}

.donate-btn:hover {
    background: #ff9800;
}

/* Service list styling */
.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    text-align: center;
}

.service-item h3 {
    color: #1a237e;
    margin-bottom: 1rem;
}

/* Ministry images grid */
.ministry-imgs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    justify-items: center;
}

/* Hide hamburger on desktop */
@media (min-width: 701px) {
    .hamburger {
        display: none;
    }
}
/* Donation page styles */
.donate-page {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 80vh;
}

.donate-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.donate-page h1 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.donate-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.donation-main {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.primary-donation h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.primary-donation p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.donate-btn-large {
    display: inline-block;
    background: linear-gradient(135deg, #1a237e 0%, #3f51b5 100%);
    color: white;
    padding: 1.2rem 3rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(26, 35, 126, 0.3);
    margin-bottom: 3rem;
}

.donate-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(26, 35, 126, 0.4);
    background: linear-gradient(135deg, #3f51b5 0%, #1a237e 100%);
}

.donation-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

.feature h3 {
    color: #1a237e;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #666;
    font-size: 0.9rem;
}

.donation-methods {
    margin-bottom: 3rem;
}

.donation-methods h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.method-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #1a237e;
}

.method-card h3 {
    color: #1a237e;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.method-card p {
    color: #666;
    margin-bottom: 1rem;
}

.method-btn {
    display: inline-block;
    background: #1a237e;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.method-btn:hover {
    background: #3f51b5;
    transform: translateY(-2px);
}

.mailing-address {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #2c3e50;
}

.giving-info {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.giving-info h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.info-item h3 {
    color: #1a237e;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.info-item ul {
    list-style: none;
    padding: 0;
}

.info-item li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.info-item li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1a237e;
    font-weight: bold;
}

/* Mobile responsiveness for donation page */
@media (max-width: 768px) {
    .donate-page h1 {
        font-size: 2rem;
    }
    
    .donation-main {
        padding: 2rem 1rem;
    }
    
    .donate-btn-large {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .donation-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .method-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .giving-info {
        padding: 2rem 1rem;
    }
}

footer {
    text-align: center;
    padding: 2rem 0 1rem 0;
        background: #cccccc; /* Medium gray */
    color: #222;
    font-size: 1rem;
    margin-top: 3rem;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}
@media (max-width: 700px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    .about, .contact {
        padding: 1.2rem;
    }
    .hero h1 {
        font-size: 2.1rem;
    }
    
    /* Mobile content adjustments */
    .hero {
        padding: 4rem 1rem 2rem 1rem;
    }
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    .hero p {
        font-size: 1.1rem;
        line-height: 1.5;
    }
    .logo-img {
        height: 80px;
        width: 80px;
    }
    .church-title-inline {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    /* Mobile sections */
    .about, .contact, .charities-page, .services-page, .mission-vision-page {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }
    
    /* Mobile donation options */
    .donation-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Mobile service list */
    .service-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Mobile ministry images */
    .ministry-imgs {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

@media (min-width: 701px) {
    .nav-links-inline {
        display: flex !important;
        flex-direction: row !important;
        gap: 2.5rem;
        justify-content: flex-end;
        align-items: center;
        width: 100%;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .nav-links-inline li {
        display: inline-block !important;
        margin: 0 0.5rem;
        width: auto !important;
        text-align: left !important;
    }
    .nav-links-inline a {
        background: none !important;
        color: #f57c00 !important;
        font-weight: 700;
        font-size: 1.1rem;
        border-radius: 0;
        padding: 0.5rem 1rem;
        transition: color 0.2s;
        width: auto !important;
        display: inline-block !important;
    }
    .nav-links-inline a:hover, .nav-links-inline a:focus {
        color: #f57c00;
        background: none;
    }
}
