:root{
  --burgundy:#6d1522;
  --burgundy-dark:#471018;
  --gold:#caa24f;
  --cream:#f8f3e9;
  --text:#2a2323;
  --muted:#746b6b;
  --white:#fff;
  --border:#eadfd4;
  --max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"DM Sans",Arial,sans-serif;
  color:var(--text);
  line-height:1.6;
  background:#fff;
}
img{max-width:100%;display:block}
a{color:inherit}
.container{width:min(calc(100% - 36px),var(--max));margin:auto}

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid rgba(0,0,0,.06);
}

.nav-wrap{
  min-height:96px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
}

.brand img{
  width:90px;
  height:90px;
  object-fit:contain;
}

.brand-text{display:flex;flex-direction:column;line-height:1.08}
.brand-name{
  font-family:"Playfair Display",Georgia,serif;
  font-size:1.5rem;
  color:var(--burgundy);
}
.brand-sub{
  font-size:.82rem;
  color:var(--muted);
  margin-top:5px;
}

.site-nav{
  display:flex;
  align-items:center;
  gap:24px;
}

.site-nav a{
  text-decoration:none;
  font-weight:700;
  font-size:.95rem;
}

.nav-button{
  background:var(--burgundy);
  color:#fff;
  padding:11px 18px;
  border-radius:999px;
}

.menu-toggle{
  display:none;
  border:0;
  background:transparent;
  font-size:1.8rem;
  color:var(--burgundy);
  cursor:pointer;
}

.hero{
  min-height:700px;
  position:relative;
  display:flex;
  align-items:center;
  color:#fff;
  background:
    linear-gradient(rgba(42,8,13,.58),rgba(42,8,13,.72)),
    url("church-hero-v2.jpg") center center / cover no-repeat;
}

.hero-shade{
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 70% 25%,rgba(202,162,79,.2),transparent 35%);
}

.hero-inner{
  position:relative;
  z-index:2;
  padding:90px 0;
  max-width:820px;
}

.hero-logo{
  width:190px;
  height:190px;
  object-fit:contain;
  margin-bottom:22px;
  filter:drop-shadow(0 10px 24px rgba(0,0,0,.22));
}

.eyebrow{
  margin:0 0 12px;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.78rem;
  font-weight:800;
  color:#efd088;
}

.burgundy{color:var(--burgundy)}

.hero h1,
.section h2,
.visit-strip h2{
  font-family:"Playfair Display",Georgia,serif;
  line-height:1.08;
}

.hero h1{
  margin:0;
  font-size:clamp(3rem,7vw,6rem);
}

.hero-text{
  max-width:640px;
  font-size:1.2rem;
  color:rgba(255,255,255,.9);
  margin:24px 0 30px;
}

.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--burgundy);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  padding:14px 22px;
  border-radius:999px;
  border:2px solid var(--burgundy);
}

.button:hover{background:var(--burgundy-dark)}

.outline{
  background:transparent;
  border-color:#fff;
}
.outline:hover{background:rgba(255,255,255,.12)}

.visit-strip{
  background:var(--cream);
  border-bottom:1px solid var(--border);
}

.visit-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
}

.visit-grid>div{
  padding:28px;
  border-right:1px solid var(--border);
}

.visit-grid>div:last-child{border-right:0}

.mini-title{
  display:block;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.72rem;
  font-weight:800;
  color:var(--gold);
  margin-bottom:8px;
}

.visit-grid h2{
  font-size:1.2rem;
  margin:0 0 4px;
}

.visit-grid p{
  margin:0;
  color:var(--muted);
}

.section{padding:95px 0}
.section h2{
  margin:0 0 22px;
  font-size:clamp(2.2rem,4vw,4rem);
  color:var(--burgundy-dark);
}

.section-intro{
  max-width:700px;
  color:var(--muted);
  margin-bottom:34px;
}

.two-col{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:64px;
  align-items:center;
}

.pastor-card{
  overflow:hidden;
  border-radius:22px;
  background:var(--burgundy);
  color:#fff;
  box-shadow:0 18px 45px rgba(64,16,24,.16);
}

.photo-placeholder{
  min-height:330px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#e7dccc,#c9b79d);
  color:#6d5b50;
  font-weight:800;
}

.pastor-copy{padding:26px 28px 30px}
.pastor-copy h3{font-size:1.55rem;margin:4px 0 8px}
.pastor-copy p{margin:0;color:rgba(255,255,255,.8)}
.gold{color:#efd088}

.soft-bg{background:#fbf8f3}

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:20px;
  padding:28px;
}

.card span{
  color:var(--gold);
  font-weight:800;
  font-size:.82rem;
}

.card h3{
  color:var(--burgundy);
  margin:12px 0 8px;
}

.card p{
  margin:0;
  color:var(--muted);
}

.dark-section{
  background:var(--burgundy-dark);
  color:#fff;
}

.dark-section h2{color:#fff}
.dark-section p{color:rgba(255,255,255,.8)}

.media-card{
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 18px 45px rgba(0,0,0,.22);
}

.media-card img{
  width:100%;
  height:100%;
  min-height:340px;
  object-fit:cover;
}

.event-list{display:grid;gap:16px}

.event{
  display:grid;
  grid-template-columns:100px 1fr;
  align-items:center;
  gap:22px;
  padding:22px 24px;
  border:1px solid var(--border);
  border-radius:18px;
}

.event-date{
  text-align:center;
  padding:18px 10px;
  background:var(--cream);
  border-radius:14px;
  color:var(--burgundy);
  font-weight:800;
}

.event h3{margin:0 0 6px}
.event p{margin:0;color:var(--muted)}

.give-section{
  background:linear-gradient(135deg,var(--burgundy),var(--burgundy-dark));
  color:#fff;
}

.give-section h2{color:#fff}

.give-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}

.give-wrap>div{max-width:760px}
.give-wrap p{color:rgba(255,255,255,.82)}

.light-button{
  background:#fff;
  color:var(--burgundy);
  border-color:#fff;
}

.contact-card{
  background:var(--cream);
  border:1px solid var(--border);
  border-radius:20px;
  padding:30px;
}

.social-links{
  display:flex;
  gap:16px;
  margin-top:20px;
}

.social-links a{
  color:var(--burgundy);
  font-weight:800;
}

.site-footer{
  background:#211a1a;
  color:rgba(255,255,255,.72);
  padding:32px 0;
}

.footer-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.footer-brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.footer-brand img{
  width:70px;
  height:70px;
  object-fit:contain;
}

.footer-brand strong{color:#fff}
.footer-brand p,.site-footer p{margin:3px 0 0;font-size:.88rem}

@media(max-width:900px){
  .menu-toggle{display:block}
  .site-nav{
    display:none;
    position:absolute;
    top:96px;
    left:18px;
    right:18px;
    background:#fff;
    padding:18px;
    border-radius:16px;
    box-shadow:0 18px 45px rgba(0,0,0,.15);
    flex-direction:column;
    align-items:stretch;
  }
  .site-nav.open{display:flex}
  .brand img{width:74px;height:74px}
  .two-col,.cards,.visit-grid{grid-template-columns:1fr}
  .visit-grid>div{
    border-right:0;
    border-bottom:1px solid var(--border);
  }
  .visit-grid>div:last-child{border-bottom:0}
  .give-wrap,.footer-wrap{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media(max-width:600px){
  .brand-text{display:none}
  .brand img{width:68px;height:68px}
  .hero{min-height:620px}
  .hero-logo{width:150px;height:150px}
  .section{padding:70px 0}
  .event{grid-template-columns:1fr}
  .event-date{width:100px}
}


/* Full-width church banner: show the complete uploaded image without cropping */
.hero-banner-section {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
  overflow: hidden;
}

.hero-banner-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  margin: 0;
  object-fit: contain;
}

/* The banner already contains its own artwork and text, so no overlay is needed. */
@media (max-width: 600px) {
  .hero-banner-image {
    width: 100%;
    height: auto;
  }
}

/* Pastor portrait and YouTube logo */
.pastor-photo {
  display:block;
  width:100%;
  height:auto;
}
.media-card {
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
  background:#fff;
  min-height:340px;
}
.media-card img.sermons-logo {
  display:block;
  width:min(100%, 380px);
  height:auto;
  min-height:0;
  object-fit:contain;
}
