/* Church of Jasper - Elegant White, Burgundy & Grey Theme */
:root {
  --burgundy: #800020;
  --burgundy-dark: #5c0018;
  --burgundy-light: #a33a4a;
  --grey: #4a4a4a;
  --grey-light: #6b6b6b;
  --grey-lighter: #e8e8e8;
  --off-white: #fafafa;
  --white: #ffffff;
  --text: #2c2c2c;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --radius: 8px;
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.7;
  font-size: 17px;
}

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

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

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

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--burgundy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-link img {
  height: 62px;
  width: auto;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--burgundy);
  font-weight: 700;
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.75rem;
  color: var(--grey);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.main-nav a {
  display: block;
  padding: 0.55rem 0.9rem;
  color: var(--grey);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--burgundy);
  color: var(--white);
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--burgundy);
  color: var(--burgundy);
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
  color: var(--white);
  padding: 4.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.hero .tagline {
  font-size: 1.2rem;
  opacity: 0.95;
  margin-bottom: 1.75rem;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  border: 2px solid transparent;
}

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

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

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

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

/* Sections */
.section {
  padding: 3.5rem 1.5rem;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--burgundy);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--grey);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--burgundy);
  margin: 0 auto 2rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--burgundy);
  transition: transform 0.2s;
}

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

.card h3 {
  font-family: var(--font-serif);
  color: var(--burgundy);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.card p {
  color: var(--grey);
  font-size: 0.98rem;
}

/* Service times highlight */
.service-box {
  background: var(--white);
  border: 1px solid var(--grey-lighter);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow);
}

.service-box h3 {
  font-family: var(--font-serif);
  color: var(--burgundy);
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}

.service-time {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--grey-lighter);
}

.service-time:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-time strong {
  display: block;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.service-time span {
  color: var(--grey);
  font-size: 0.95rem;
}

/* About / content blocks */
.content-block {
  max-width: 780px;
  margin: 0 auto;
}

.content-block p {
  margin-bottom: 1.15rem;
  color: var(--grey);
}

.content-block h2 {
  font-family: var(--font-serif);
  color: var(--burgundy);
  margin: 2rem 0 0.85rem;
  font-size: 1.5rem;
}

.quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--burgundy);
  text-align: center;
  padding: 1.5rem;
  border-left: 4px solid var(--burgundy);
  background: var(--white);
  margin: 2rem 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-serif);
  color: var(--burgundy);
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.65rem;
  color: var(--grey);
}

.contact-info a {
  font-weight: 600;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 320px;
  background: var(--grey-lighter);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Local SEO locations */
.location-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.location-item {
  background: var(--white);
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--burgundy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.location-item h4 {
  color: var(--burgundy);
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.location-item p {
  font-size: 0.9rem;
  color: var(--grey);
}

/* Footer */
.site-footer {
  background: var(--burgundy-dark);
  color: rgba(255,255,255,0.9);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  display: block;
  padding: 0.3rem 0;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Social icons */
.social-links {
  display: flex;
  gap: 0.85rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 1.1rem;
  transition: background 0.2s;
}

.social-links a:hover {
  background: rgba(255,255,255,0.25);
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

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

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--burgundy);
    box-shadow: var(--shadow);
  }

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

  .main-nav ul {
    flex-direction: column;
    padding: 0.75rem;
  }

  .main-nav a {
    padding: 0.75rem 1rem;
  }

  .header-inner {
    position: relative;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero {
    padding: 3.25rem 1.25rem;
  }
}

/* Schema / SEO friendly subtle */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
