/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a4b84;
    --secondary-color: #2c6cb0;
    --accent-color: #e67e22;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    /* Logo colors */
    --logo-gold: #d6a740;
    --logo-green: #2d4c43;
    --logo-gray: #bdbdbd;
}

.custom-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 5px;
}


body {
    font-family: 'Times New Roman', Times, serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header and Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(90deg, #fffbe7 0%, #e0f7fa 100%);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 0.7em;
    list-style: none;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0 auto;
    max-width: 1200px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    background: none;
    color: #2d3a4a;
    font-weight: 500;
    font-size: 1em;
    padding: 0.25em 0.7em;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s, transform 0.18s;
    background-clip: text;
    -webkit-background-clip: text;
    background-image: linear-gradient(90deg, #f7b733 0%, #fc4a1a 100%);
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.nav-links a:hover, .nav-links a:focus {
    background: linear-gradient(90deg, #fc4a1a 0%, #f7b733 100%);
    color: #fff;
    -webkit-text-fill-color: #fff;
    text-fill-color: #fff;
    transform: scale(1.11) translateY(-2px);
    box-shadow: 0 2px 12px rgba(252,74,26,0.08);
}

.nav-links .donate-btn {
    margin-left: 1em;
    background: linear-gradient(90deg, #f7971e 0%, #ffd200 100%);
    color: #fff;
    border-radius: 10px;
    padding: 0.4em 1.2em;
    font-weight: 600;
    font-size: 1em;
    transition: background 0.2s, box-shadow 0.2s, transform 0.18s;
    box-shadow: 0 2px 10px rgba(252,186,3,0.10);
    border: none;
    display: inline-block;
    position: relative;
    animation: donatePulse 2.2s infinite alternate;
}

@keyframes donatePulse {
    0% { box-shadow: 0 0 0 0 rgba(252,186,3,0.18); }
    100% { box-shadow: 0 0 16px 8px rgba(252,186,3,0.13); }
}

.nav-links .donate-btn:hover {
    background: linear-gradient(90deg, #ffd200 0%, #f7971e 100%);
    color: #fff;
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 4px 24px rgba(252,186,3,0.18);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: linear-gradient(90deg, #f7971e 0%, #fc4a1a 100%);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
    margin-top: 80px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Hero Section Variants */
.hero.events-hero {
    background: var(--primary-color), url('../images/events-hero.jpg');
}
.hero.bible-hero {
    background: var(--logo-green), url('../images/bible-hero.jpg');
}
.hero.live-hero {
    background: var(--primary-color), url('../images/live-hero.jpg');
}
.hero.gallery-hero {
    background: var(--logo-green), url('../images/gallery-hero.jpg');
}
.hero.contact-hero {
    background: var(--primary-color), url('../images/contact-hero.jpg');
}
.hero.donate-hero {
    background: var(--accent-color), url('../images/donate-hero.jpg');
}
.hero.events-hero, .hero.bible-hero, .hero.live-hero, .hero.gallery-hero, .hero.contact-hero, .hero.donate-hero {
    background-size: cover;
    background-position: center;
    color: var(--white);
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
    position: relative;
}
.hero.events-hero::after, .hero.bible-hero::after, .hero.live-hero::after, .hero.gallery-hero::after, .hero.contact-hero::after, .hero.donate-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26,75,132,0.7);
    z-index: 1;
}
.hero .hero-content {
    z-index: 2;
    position: relative;
}
.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.hero p {
    font-size: 1.2rem;
    font-weight: 400;
}

/* Blog Hero Section */
.hero.blog-hero {
    background: var(--primary-color), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
    position: relative;
}
.hero.blog-hero .hero-content {
    z-index: 2;
    position: relative;
}
.hero.blog-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26,75,132,0.7);
    z-index: 1;
}
.hero.blog-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.hero.blog-hero p {
    font-size: 1.2rem;
    font-weight: 400;
}

/* Sections */
section {
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

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

/* Worship Schedule */
.worship-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.schedule-item {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Live Stream */
.youtube-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Blog Section Background */
.blog-section {
    background: #f7fafd;
    padding: 4rem 5% 2rem;
    border-radius: 0 0 24px 24px;
    margin-top: -40px;
    box-shadow: 0 4px 24px rgba(26,75,132,0.06);
}

/* Blog Card Refinements */
.blog-card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(26,75,132,0.07);
    transition: box-shadow 0.3s, transform 0.3s;
    border: none;
    margin-bottom: 0;
}
.blog-card:hover {
    box-shadow: 0 8px 32px rgba(26,75,132,0.13);
    transform: translateY(-4px) scale(1.01);
}
.blog-image {
    border-radius: 14px 14px 0 0;
    height: 180px;
}
.blog-content {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
}
.blog-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}
.blog-date {
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.blog-excerpt {
    color: #444;
    font-size: 1rem;
    margin-bottom: 1.2rem;
}
.read-more {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    padding: 0.4rem 1.1rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: background 0.2s;
}
.read-more:hover {
    background: var(--secondary-color);
}
/* Blog Filters */
.blog-filters {
    margin-bottom: 2.5rem;
}
.filter-btn {
    background: #eaf1fa;
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}
.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 1100px) {
    .nav-links {
        max-width: 100vw;
        gap: 0.4em;
        font-size: 0.97em;
    }
    .nav-links .donate-btn {
        margin-left: 0.5em;
        padding: 0.4em 1em;
        font-size: 0.97em;
    }
}

@media (max-width: 900px) {
    .nav-links {
        flex-wrap: wrap;
        gap: 0.3em;
        justify-content: flex-start;
    }
    .nav-links .donate-btn {
        margin-left: 0;
        margin-top: 0.7em;
    }
}

@media (max-width: 600px) {
    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0.2em;
    }
    .nav-links .donate-btn {
        width: 100%;
        margin: 0.5em 0 0 0;
    }
}

/* Section Background Variants */
.events-section, .bible-section, .live-section, .gallery-section, .contact-section, .donate-section {
    background: linear-gradient(120deg, #f7fafd 60%, var(--logo-gray) 100%);
    padding: 4rem 5% 2rem;
    border-radius: 0 0 24px 24px;
    margin-top: -40px;
    box-shadow: 0 4px 24px rgba(26,75,132,0.06);
}

/* Card/Box Vibrancy */
.events-container, .bible-container, .live-container, .gallery-container, .contact-container, .donate-container {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(26,75,132,0.09);
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Accent Gradient Borders */
.events-section, .bible-section, .live-section, .gallery-section, .contact-section, .donate-section {
    border-bottom: 6px solid var(--logo-gold);
}

/* Buttons with Gradient */
button, .filter-btn, .read-more, .donate-btn, .live-stream-btn {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

button:hover, .filter-btn:hover, .read-more:hover, .donate-btn:hover, .live-stream-btn:hover {
    background-color: #d35400;
}

/* Headings with logo colors */
h1, .hero h1 {
    color: var(--logo-gold);
}
h2, .hero h2 {
    color: var(--logo-green);
}
h3 {
    color: var(--primary-color);
}

/* Subtle text */
.subtitle, .hero p, .blog-date, .event-date {
    color: var(--logo-gray);
}

.live-stream {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-bg);
}

.live-stream-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.live-stream-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.live-stream-btn i {
    font-size: 1.4rem;
}

.custom-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 5px;
    border-radius: 50%;
    object-fit: cover;
    background: #eee;
} 