/*  Fonts only */
body {
  font-family: 'Manrope', sans-serif;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/*  Colours */
:root {
  --sanguine: #7a1e2e;
  --gold:     #b08a4c;
  --parchment:#faf6ee;
}

body {
  background: var(--parchment);
}

a {
  color: var(--sanguine);
}

a:hover {
  color: #5a1522;
}

.main-menu {
  background: var(--sanguine) !important;
}

ul.navigation > li > a {
  color: rgba(250, 246, 238, 0.85) !important;
}

ul.navigation > li > a:hover,
ul.navigation > li.current > a {
  color: #ffffff !important;
}
/*  Buttons */
.thm-btn,
a.thm-btn,
.btn,
a.btn {
  font-family: 'Manrope', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  border-radius: 0 !important;
  transition: all 0.3s ease !important;
  padding: 0.85rem 1.75rem !important;
}

.thm-btn.bg-cl-1,
a.thm-btn.bg-cl-1 {
  background: var(--sanguine) !important;
  border-color: var(--sanguine) !important;
  color: #faf6ee !important;
}

.thm-btn.bg-cl-1:hover,
a.thm-btn.bg-cl-1:hover {
  background: #5a1522 !important;
  border-color: #5a1522 !important;
}

.thm-btn.bg-cl-2,
a.thm-btn.bg-cl-2 {
  background: transparent !important;
  color: var(--sanguine) !important;
  border: 1px solid var(--sanguine) !important;
}

.thm-btn.bg-cl-2:hover,
a.thm-btn.bg-cl-2:hover {
  background: var(--sanguine) !important;
  color: #faf6ee !important;
}

/* Cards and hover effects */
.service-item,
.single-service-item,
.blog-post,
.single-blog-post,
.team-member,
.gallery-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 4px;
}

.service-item:hover,
.single-service-item:hover,
.blog-post:hover,
.single-blog-post:hover,
.team-member:hover,
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* Gold top border reveals on hover */
.service-item,
.single-service-item,
.blog-post,
.single-blog-post {
  position: relative;
  overflow: hidden;
  border-top: 2px solid transparent;
}

.service-item:hover,
.single-service-item:hover,
.blog-post:hover,
.single-blog-post:hover {
  border-top-color: var(--gold);
}

/* Team member photos */
.team-member img {
  transition: transform 0.4s ease;
  border-radius: 50%;
}

.team-member:hover img {
  transform: scale(1.04);
}

/* Gallery images */
.gallery-item img,
.gallery-area img {
  transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item:hover img,
.gallery-area .col-md-4:hover img {
  transform: scale(1.05);
  filter: brightness(1.05) saturate(1.1);
}

/*  Footer */
.footer-area,
.main-footer {
  background: #1a1512 !important;
  position: relative;
}

/* Gold line at top of footer */
.footer-area::before,
.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}

/* Section headings in footer */
.footer-area h3,
.footer-area h4,
.main-footer h3,
.main-footer h4 {
  font-family: 'Manrope', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2em !important;
  color: #d4b887 !important;
  margin-bottom: 1.5rem !important;
}

/* Footer links */
.footer-area a,
.main-footer a {
  color: #c5bfb2 !important;
  font-size: 1.2rem !important;
  transition: color 0.3s ease !important;
}

.footer-area a:hover,
.main-footer a:hover {
  color: #d4b887 !important;
}

/* Footer text */
.footer-area p,
.footer-area li,
.main-footer p,
.main-footer li {
  color: #c5bfb2 !important;
  font-size: 1.2rem !important;
  line-height: 1.8 !important;
}

/* Copyright bar */
.footer-bottom,
.copyright-area {
  border-top: 1px solid rgba(184, 168, 154, 0.2) !important;
  padding-top: 1.5rem !important;
  margin-top: 2rem !important;
  color: #8c8375 !important;
  font-size: 0.85rem !important;
}

/*  Section heading accents */
.sec-title h2,
.section-title h2 {
  position: relative;
  padding-bottom: 1.5rem;
}

.sec-title h2::after,
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--gold);
}

/* Centred headings get centred line */
.sec-title.text-center h2::after,
.section-title.text-center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Heading colour 
.sec-title h2,
.section-title h2 {
  color: #1a1512 !important;
  letter-spacing: -0.01em;
}*/

/* Hide the existing default underline element if present */
.sec-title .title-box,
.sec-title span.decor,
.section-title .decor,
.title-box-2 .decor {
  display: none !important;
}
/* Hide original heading decoration — the dark dot and line */
.sec-title .title-box,
.sec-title span.decor,
.section-title .decor,
.title-box-2 .decor,
.sec-title::before,
.sec-title > span,
.title-separator,
.separator,
[class*="separator"],
.sec-title .border-box,
.heading-line,
h2 + .line,
h2 + span,
h2 + p.separator {
  display: none !important;
}

/* Make gold line more prominent */
.sec-title h2::after,
.section-title h2::after {
  width: 80px !important;
  height: 3px !important;
  background: #b08a4c !important;
}

/* Hide original dark decoration */
span.decor {
  display: none !important;
}

/*Scroll animations */
.service-item,
.single-service-item,
.blog-post,
.single-blog-post,
.team-member,
.sec-title,
.section-title,
.gallery-item,
.col-md-4,
.col-md-6 {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-item.in-view,
.single-service-item.in-view,
.blog-post.in-view,
.single-blog-post.in-view,
.team-member.in-view,
.sec-title.in-view,
.section-title.in-view,
.gallery-item.in-view,
.col-md-4.in-view,
.col-md-6.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Header */

/* Top bar — church name area */
.top-bar-area {
  background: var(--parchment) !important;
  border-bottom: 1px solid #e8dfd0 !important;
  padding: 0.75rem 0 !important;
}

/* Church name text */
.top-bar-area p {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-weight: 500 !important;
  color: #1a1512 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.3 !important;
}

/* Charity number */
.top-bar-area span {
  font-family: 'Manrope', sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2em !important;
  color: var(--gold) !important;
}


/* Navigation bar */
.main-menu {
  background: var(--sanguine) !important;
  border: none !important;
  box-shadow: none !important;
}

/* Nav links */
ul.navigation > li > a {
  font-family: 'Manrope', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  color: rgba(250, 246, 238, 0.85) !important;
  transition: all 0.3s ease !important;
  padding: 1.1rem 1.25rem !important;
}
/* Desktop nav font size */
@media (min-width: 992px) {
  ul.navigation > li > a {
    font-size: 1.5rem !important;
    letter-spacing: 0.1em !important;
  }
}
/* Active and hover nav links */
ul.navigation > li > a:hover,
ul.navigation > li.current > a {
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.15) !important;
}

/* Gold bottom border on active link */
ul.navigation > li.current > a {
  border-bottom: 2px solid var(--gold) !important;
}

/* Sticky header shadow on scroll */
.header-area.sticky-header {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08) !important;
}

/*  Section backgrounds alternating */

/* Light sections — warm parchment */
.welcome-area,
.about-area,
.team-area,
.blog-area,
.latest-blog-area,
.patron-saint-area,
.vicar-message-area,
.history-area,
.contact-area {
  background: var(--parchment) !important;
}

/* Slightly darker cream — alternate sections */
.gallery-area,
.sunday-school-area,
.welcome-service-area,
.counter-area,
.donation-area {
  background: #f0ece1 !important;
}

/* Section padding consistency */
.welcome-area,
.about-area,
.team-area,
.blog-area,
.gallery-area,
.patron-saint-area,
.vicar-message-area {
  padding: 5rem 0 !important;


/*  Typography refinements */

/* Body text */
html body div p,
html body section p,
html body .container p {
  font-size: 1.15rem !important;
  line-height: 1.9 !important;
  color: #3d342e !important;
}

/* Lead paragraphs */
html body .welcome-content p,
html body .intro-text p,
html body .about-content p {
  font-size: 1.25rem !important;
  line-height: 1.95 !important;
  font-weight: 300 !important;
}

/* Section headings */
html body header .sec-title h2,
html body section .sec-title h2,
html body div .sec-title h2 {
  font-size: clamp(2rem, 3.5vw, 3rem) !important;
  line-height: 1.15 !important;
}

/* Sub headings */
html body section h3,
html body div h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem) !important;
  line-height: 1.3 !important;
}

/* List items */
html body section li,
html body div li {
  font-size: 1.15rem !important;
  line-height: 1.85 !important;
  color: #3d342e !important;
}

/* Small text */
html body section small,
html body div small {
  font-size: 0.88rem !important;
  color: #78695c !important;
}

/* Blockquotes */
html body section blockquote,
html body div blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 1.5rem !important;
  font-style: italic !important;
  border-left: 3px solid var(--gold) !important;
  padding-left: 1.5rem !important;
  margin: 2rem 0 !important;
}



::selection {
  background: var(--sanguine) !important;
  color: var(--parchment) !important;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--parchment); }
::-webkit-scrollbar-thumb {
  background: var(--stone-light, #c5bfb2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); 

.blog-post img,
.gallery img,
section img:not(.parish-img):not(header img) {
  border-radius: 4px !important;
}

html {
  scroll-behavior: smooth !important;
}
