/*
Theme Name: Zoe Christian Centre
Theme URI: https://zoechristiancentre.co.uk
Author: Princhipeh Designs
Description: Custom WordPress theme for Zoe Christian Centre - Loving God Loving Others to build a healthy community.
Version: 1.0.0
Text Domain: zoe-theme
*/

/* ========== CSS Variables ========== */
:root {
    --primary: #852CD5;
    --primary-dark: #6B15B8;
    --primary-light: #a855f7;
    --cream: #fcfaf8;
    --cream-alt: #fbf8f4;
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --border: #e5e5e5;
    --font-body: 'Raleway', sans-serif;
    --font-accent: 'Lora', serif;
}

/* ========== Reset & Base ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== Header ========== */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary);
    color: var(--text-white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: var(--text-white);
}

.header-top .social-links a {
    margin-left: 12px;
    font-size: 1rem;
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    max-height: 60px;
    width: auto;
}

.site-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* ========== Navigation ========== */
.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav ul li {
    position: relative;
}

.main-nav ul li a {
    display: block;
    padding: 10px 18px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover,
.main-nav ul li.current-menu-item a {
    color: var(--primary);
}

/* Dropdown */
.main-nav ul li ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 200px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--primary);
    flex-direction: column;
    z-index: 100;
}

.main-nav ul li:hover ul.sub-menu {
    display: flex;
}

.main-nav ul li ul.sub-menu li a {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.main-nav .donate-btn a {
    background: var(--primary);
    color: var(--text-white) !important;
    border-radius: 25px;
    padding: 10px 25px;
}

.main-nav .donate-btn a:hover {
    background: var(--primary-dark);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    padding: 5px;
}

/* ========== Hero Section ========== */
.hero-section {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-white);
    overflow: hidden;
}

/* Slider backgrounds */
.hero-slides {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-section .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(107, 21, 184, 0.7), rgba(133, 44, 213, 0.5));
    z-index: 1;
}

/* Slider Navigation Arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-nav.prev { left: 25px; }
.hero-nav.next { right: 25px; }

/* Slider Dots */
.hero-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot.active {
    background: var(--text-white);
    border-color: var(--text-white);
    transform: scale(1.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 20px;
}

/* Hero content fade transition */
.hero-content h1,
.hero-content p {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-content.transitioning h1,
.hero-content.transitioning p {
    opacity: 0;
    transform: translateY(15px);
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-family: var(--font-accent);
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--text-white);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-outline:hover {
    background: var(--text-white);
    color: var(--primary);
}

.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--text-white);
}

/* ========== Section Styles ========== */
.section {
    padding: 80px 0;
}

.section-cream {
    background-color: var(--cream);
}

.section-cream-alt {
    background-color: var(--cream-alt);
}

.section-purple {
    background-color: var(--primary);
    color: var(--text-white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-purple .section-title h2,
.section-purple .section-title p {
    color: var(--text-white);
}

/* ========== Intro / Welcome ========== */
.intro-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 800px;
    margin: -80px auto 0;
    position: relative;
    z-index: 10;
}

.intro-card h2 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* ========== Services Grid ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.service-card .card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-card .card-content {
    padding: 25px;
}

.service-card h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========== Worship Times ========== */
.worship-times {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.worship-time-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 35px 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.worship-time-card .day {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.worship-time-card .time {
    font-size: 1.1rem;
    font-family: var(--font-accent);
    margin-bottom: 5px;
}

.worship-time-card .label {
    font-size: 0.85rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== Mission / Vision ========== */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.mission-text h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.mission-text ul {
    list-style: none;
    padding: 0;
}

.mission-text ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.mission-text ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.mission-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ========== Pastor Profile ========== */
.pastor-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.pastor-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pastor-info h2 {
    color: var(--primary);
    margin-bottom: 10px;
}

.pastor-info .title {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
}

.pastor-info blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ========== Blog / News ========== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card .card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.blog-card .card-content {
    padding: 20px;
}

.blog-card .card-date {
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.blog-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.blog-card h3 a {
    color: var(--text-dark);
}

.blog-card h3 a:hover {
    color: var(--primary);
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========== CTA Section ========== */
.cta-section {
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: var(--text-white);
    margin-bottom: 15px;
    font-size: 2.2rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* ========== Donation Page ========== */
.donation-section {
    max-width: 600px;
    margin: 0 auto;
}

.donation-amounts {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.donation-amounts .amount-btn {
    flex: 1;
    min-width: 80px;
    padding: 12px 20px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.donation-amounts .amount-btn:hover,
.donation-amounts .amount-btn.active {
    background: var(--primary);
    color: var(--text-white);
}

.donation-progress {
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: var(--border);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar .progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 6px;
    transition: width 0.5s ease;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ========== Forms ========== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(133, 44, 213, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* ========== Events ========== */
.event-card {
    display: flex;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 25px;
}

.event-date-box {
    background: var(--primary);
    color: var(--text-white);
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.event-date-box .month {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-date-box .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-content {
    padding: 20px 25px;
    flex: 1;
}

.event-content h3 {
    margin-bottom: 5px;
}

.event-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.event-meta span {
    margin-right: 15px;
}

/* ========== Page Header / Banner ========== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--text-white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--text-white);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header .breadcrumb {
    font-size: 0.9rem;
    opacity: 0.8;
}

.page-header .breadcrumb a {
    color: var(--text-white);
}

/* ========== About Page ========== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content p {
    color: var(--text-light);
    line-height: 1.8;
}

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

.belief-card {
    background: var(--cream);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid var(--primary);
}

.belief-card p {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin: 0;
}

/* ========== Leaders Grid ========== */
.leaders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.leader-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.leader-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
}

.leader-info {
    padding: 20px 25px 25px;
}

.leader-info h3 {
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.leader-role {
    display: inline-block;
    color: var(--primary);
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.leader-info p {
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .leaders-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .leaders-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== About Page Sections ========== */
.about-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.about-section-grid.reverse {
    direction: rtl;
}

.about-section-grid.reverse > * {
    direction: ltr;
}

.about-section-grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-section-grid h2 {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.about-section-grid p {
    color: var(--text-light);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .about-section-grid,
    .about-section-grid.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}

/* ========== Gallery (Masonry) ========== */
.gallery-grid {
    columns: 3;
    column-gap: 15px;
}

.gallery-grid .gallery-item {
    break-inside: avoid;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-grid .gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-grid .gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.85);
}

.gallery-grid .gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(133, 44, 213, 0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 15px;
}

.gallery-grid .gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-grid .gallery-item .gallery-overlay i {
    color: #fff;
    font-size: 1.3rem;
    background: rgba(255,255,255,0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

@media (max-width: 992px) {
    .gallery-grid {
        columns: 2;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        columns: 1;
    }
}

/* ========== Footer ========== */
.site-footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-widget p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-widget .contact-info li {
    list-style: none;
    padding: 5px 0;
    font-size: 0.9rem;
}

.footer-widget .contact-info li i {
    color: var(--primary);
    margin-right: 10px;
    width: 16px;
}

.footer-recent-posts li {
    list-style: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-recent-posts li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-recent-posts li a:hover {
    color: var(--primary-light);
}

.footer-recent-posts .post-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: var(--text-white);
    font-size: 0.9rem;
}

.newsletter-form button {
    padding: 10px 20px;
    background: var(--primary);
    color: var(--text-white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 8px;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-light);
}

/* ========== Scroll to Top ========== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 999;
}

.scroll-top.visible {
    display: flex;
}

.scroll-top:hover {
    background: var(--primary-dark);
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
    .services-grid,
    .worship-times,
    .blog-grid,
    .beliefs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mission-grid,
    .pastor-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-section {
        height: 450px;
    }

    .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hero-nav.prev { left: 15px; }
    .hero-nav.next { right: 15px; }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

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

    .main-nav ul {
        flex-direction: column;
        padding: 10px 0;
    }

    .main-nav ul li a {
        padding: 12px 20px;
    }

    .main-nav ul li ul.sub-menu {
        position: static;
        box-shadow: none;
        border-top: none;
        background: var(--cream);
    }

    .main-nav ul li:hover ul.sub-menu {
        display: flex;
    }

    .services-grid,
    .worship-times,
    .blog-grid,
    .beliefs-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .section {
        padding: 50px 0;
    }

    .intro-card {
        margin-top: -50px;
        padding: 25px;
    }

    .event-card {
        flex-direction: column;
    }

    .donation-amounts .amount-btn {
        min-width: 60px;
    }

    .header-top {
        display: none;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }

    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }
}
