/*
Theme Name: Grace Fellowship
Description: Dynamic one-page church theme with editable page sections, Services & Events, smooth scrolling, and mobile navigation.
Version: 9.1
*/
:root{--gf-primary-color:#4c8e2b}*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Segoe UI",Arial,sans-serif;color:#333;background:#f9f9f9;line-height:1.6}
.site-header{background:var(--gf-primary-color);color:#fff;padding:1rem 2rem;position:sticky;top:0;z-index:1000}
.header-inner{max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.site-branding h1{margin:0;font-size:1.5rem}.site-branding h1 a{color:#fff;text-decoration:none}.site-description{margin:.15rem 0 0}
.menu-toggle{display:none;border:0;background:transparent;color:#fff;font-size:1.8rem;cursor:pointer;padding:.25rem .5rem}
.main-navigation ul{list-style:none;display:flex;flex-wrap:wrap;gap:.35rem;margin:0;padding:0}.main-navigation li{margin:0}
.main-navigation a{color:#fff;text-decoration:none;display:block;padding:.45rem .7rem;border-radius:4px;transition:background .2s}
.main-navigation a:hover{background:rgba(255,255,255,.2)}
.main-navigation .current-menu-item>a,.main-navigation .current-menu-ancestor>a,.main-navigation .current_page_item>a,.main-navigation .current_page_ancestor>a{background:transparent}
section{padding:4rem 2rem;max-width:900px;margin:auto;scroll-margin-top:105px}
section h2{margin:0 0 1.5rem;font-size:2rem;color:var(--gf-primary-color)}p{margin:0 0 1rem}
.hero{background-position:center;background-size:cover;background-repeat:no-repeat;color:#fff;min-height:calc(100vh - 80px);max-width:none;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:4rem 2rem;position:relative;overflow:hidden}
.hero-content{position:relative;z-index:2;max-width:1000px}
.hero-video{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover}
.hero-overlay{position:absolute;z-index:1;inset:0;background:rgba(0,0,0,.32)}
.hero h2{font-size:3.5rem;margin-bottom:.5rem;color:#fff}.hero p{font-size:1.4rem;font-weight:300}
.cta{background:var(--gf-primary-color);color:#fff;display:inline-block;padding:.8rem 1.6rem;border-radius:30px;text-decoration:none;margin-top:1.5rem}
.content-image{max-width:100%;height:auto;margin:0 0 1.5rem}.dynamic-section-inner{max-width:900px;margin:auto}
.services-list{display:grid;gap:1.5rem}.service-item{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 1px 5px rgba(0,0,0,.08)}
.service-item h3{margin-top:0;color:var(--gf-primary-color)}.service-item img{max-width:100%;height:auto;margin-bottom:1rem}
.site-footer{text-align:center;background:#222;color:#ddd;padding:2rem}.site-footer p{margin-bottom:.5rem}.site-footer a{color:#fff}
@media(max-width:760px){
.site-header{padding:.8rem 1rem}.menu-toggle{display:block}.main-navigation{display:none;position:absolute;left:0;right:0;top:100%;background:var(--gf-primary-color);padding:.5rem 1rem 1rem;box-shadow:0 4px 10px rgba(0,0,0,.15)}
.main-navigation.is-open{display:block}.main-navigation ul{display:block}.main-navigation li{margin:.15rem 0}.main-navigation a{padding:.7rem .8rem}
.hero{min-height:calc(100vh - 65px)}.hero h2{font-size:2.5rem}section{padding:3rem 1.25rem;scroll-margin-top:80px}
}