/* ============================================
   FUNERAL LIVE STREAMS — SHARED STYLESHEET
   funerallivestreams.co.uk
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');

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

:root {
  --ink:        #1a1814;
  --white:      #f7f4ef;
  --parchment:  #ede8df;
  --gold:       #b8956a;
  --gold-light: #d4af87;
  --muted:      #6b6560;
  --border:     rgba(26,24,20,0.12);
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(247,244,239,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}
.nav-logo img { height: 32px; width: auto; }
.nav-logo span {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.25rem !important;
  letter-spacing: 0.1em !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold) !important; }
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); transition: all 0.3s;
}

/* ── MOBILE NAV ── */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.85rem 2rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-cta { margin: 0.5rem 2rem; display: block; text-align: center; }
}

/* ── SHARED UTILITIES ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}
.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.section-body {
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.92rem;
}
.btn-primary {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none; cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold); transform: translateY(-1px); }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  padding: 0.9rem 2.2rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.25s;
}
.btn-secondary:hover { border-color: var(--ink); }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--ink);
  color: var(--white);
  padding: 1rem 2rem;
  display: flex; justify-content: center;
  align-items: center; gap: 2.5rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; opacity: 0.8;
}

/* ── FOOTER ── */
footer {
  background: #111;
  color: rgba(247,244,239,0.5);
  padding: 3.5rem 2rem 2rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}
.footer-logo {
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 0.85rem;
}
.footer-logo img { height: 28px; width: auto; filter: invert(1) brightness(2); }
.footer-logo span {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--white);
}
.footer-desc { font-size: 0.8rem; line-height: 1.75; max-width: 320px; }
.footer-col h4 {
  font-size: 0.65rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  font-size: 0.8rem;
  color: rgba(247,244,239,0.5);
  text-decoration: none; transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: center; font-size: 0.72rem;
  flex-wrap: wrap; gap: 0.5rem;
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-bar { gap: 1rem; }
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 7rem 2rem 3.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.page-hero p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
