/* Simon Pope — Mackay Video, Photo & Sound
   Palette + fonts keep the original name-tag / handwritten personality,
   just with real page structure behind it. */

@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@400;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #0b0b0b;
  --bg-alt: #141414;
  --red: #e63329;
  --white: #fafafa;
  --muted: #b3b3b3;
  --border: #2a2a2a;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  position: relative;
}

/* Fine film-grain texture over the whole site — subtle, cinematic, cheap */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: none; }

h1, h2, h3, .hand {
  font-family: 'Kalam', cursive;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--white); }
h3 { font-size: 1.3rem; color: var(--red); }

p { color: var(--muted); max-width: 65ch; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,11,11,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  font-family: 'Kalam', cursive;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  text-decoration: none;
}
.logo span { color: var(--red); }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
  padding-bottom: 4px;
}
nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transition: right 0.25s ease;
}
nav.main-nav a:hover::after,
nav.main-nav a.current::after { right: 0; }
nav.main-nav a.current { color: var(--red); }
nav.main-nav a:hover { text-decoration: none; }

.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
}
.nav-cta:hover { background: #c72821; }

.nav-toggle { display: none; }

@media (max-width: 1000px) {
  nav.main-nav ul { gap: 16px; }
  nav.main-nav a { font-size: 0.9rem; }
}
@media (max-width: 760px) {
  nav.main-nav ul { gap: 16px; flex-wrap: wrap; }
  .nav-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ---------- Hero / name tag ---------- */
.hero {
  position: relative;
  padding: 56px 0 56px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

/* Cinematic letterbox bars, like a film frame */
.letterbar {
  height: 28px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font-family: 'Inter', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: #666;
  text-transform: uppercase;
}
.letterbar span.rec {
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.letterbar span.rec::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px 2px rgba(230,51,41,0.7);
  animation: blink 1.6s infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0.25; } }

/* Soft red glow drifting behind the hero content */
.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(230,51,41,0.28) 0%, rgba(230,51,41,0) 68%);
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}

/* Viewfinder corner brackets around the name tag, camera-focus style */
.viewfinder {
  position: relative;
  display: inline-block;
  padding: 34px;
}
.viewfinder::before,
.viewfinder::after,
.viewfinder i::before,
.viewfinder i::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid var(--red);
}
.viewfinder::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.viewfinder::after { top: 0; right: 0; border-left: none; border-bottom: none; }
.viewfinder i::before { bottom: 0; left: 0; border-right: none; border-top: none; }
.viewfinder i::after { bottom: 0; right: 0; border-left: none; border-top: none; }

.nametag {
  display: inline-block;
  background: var(--red);
  border-radius: 10px;
  padding: 10px;
  transform: rotate(-3deg);
  box-shadow: 0 10px 40px rgba(230,51,41,0.25), 0 10px 30px rgba(0,0,0,0.4);
  margin-bottom: 28px;
  transition: transform 0.35s ease;
}
.nametag:hover { transform: rotate(0deg) scale(1.03); }
.nametag .band {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 0 10px;
}
.nametag .inner {
  background: #fdfdfd;
  border-radius: 4px;
  padding: 18px 34px;
}
.nametag .inner .name {
  font-family: 'Kalam', cursive;
  font-weight: 700;
  color: #111;
  font-size: 2.2rem;
  transform: rotate(1deg);
}

.hero .tagline {
  font-family: 'Kalam', cursive;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--white);
  margin-bottom: 6px;
}
.hero .subtagline {
  font-size: clamp(1.5rem, 5vw, 2.4rem);
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.hero .subtagline .plus {
  color: var(--red);
  display: inline-block;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

.hero-copy {
  max-width: 640px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 1.05rem;
}

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 0 0 rgba(230,51,41,0);
}
.btn:hover {
  background: #c72821;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(230,51,41,0.4);
}
.btn.secondary {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn.secondary:hover { background: var(--white); color: #111; }

.contact-quick {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}
.contact-quick a { color: var(--white); font-weight: 600; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.alt { background: var(--bg-alt); }
section .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

/* Service grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(230,51,41,0.5);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 0 1px rgba(230,51,41,0.15);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; margin-bottom: 0; }
.card a.card-link { display: inline-block; margin-top: 12px; font-weight: 600; }

/* Decorative filmstrip divider between sections */
.filmstrip {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 18px 0;
  opacity: 0.5;
}
.filmstrip span {
  width: 26px;
  height: 16px;
  border: 1px solid #444;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, transparent 0 3px, #333 3px 4px);
}

/* Trust strip */
.trust-list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.trust-list li {
  border-left: 3px solid var(--red);
  padding-left: 16px;
  color: var(--white);
  font-size: 0.98rem;
}
.trust-list li span { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 4px; }

/* Real photos, once added */
.media-photo {
  width: 100%;
  display: block;
  border-radius: var(--radius);
}

/* Responsive video embed wrapper — keeps a YouTube/Vimeo iframe at
   16:9 and scaling correctly on any screen size. Wrap the iframe:
   <div class="video-embed"><iframe src="..." allowfullscreen></iframe></div> */
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Vertical variant — for YouTube Shorts / phone-shot 9:16 video, so it
   plays in a tall box instead of being letterboxed inside a 16:9 one.
   <div class="video-embed-vertical"><iframe src="..." allowfullscreen></iframe></div> */
.video-embed-vertical {
  position: relative;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  padding-bottom: 177.78%; /* 9:16 */
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.video-embed-vertical iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Placeholder media block — swap these for real photos/video */
.media-placeholder {
  border: 2px dashed #444;
  border-radius: var(--radius);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #777;
  font-size: 0.9rem;
  padding: 20px;
  background: repeating-linear-gradient(45deg, #161616, #161616 10px, #1b1b1b 10px, #1b1b1b 20px);
}

/* Pricing */
.pricing-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin-top: 30px;
}
.pricing-box ul { padding-left: 20px; color: var(--white); }
.pricing-box li { margin-bottom: 8px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 8px; }
.faq-item p { margin: 0; }

/* Form */
form.contact-form {
  display: grid;
  gap: 16px;
  max-width: 560px;
  margin-top: 26px;
}
form.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--white);
  font-size: 0.92rem;
}
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
}
form.contact-form textarea { min-height: 130px; resize: vertical; }
form.contact-form button {
  justify-self: start;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  color: var(--muted);
  font-size: 0.92rem;
}
footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
footer h4 { color: var(--white); font-family: 'Inter', sans-serif; font-size: 0.95rem; margin: 0 0 10px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 6px; }
footer .bottom { border-top: 1px solid var(--border); padding-top: 20px; text-align: center; font-size: 0.85rem; }

.page-header {
  padding: 56px 0 20px;
  text-align: center;
}
.page-header p { margin: 0 auto; text-align: center; }

/* Two flagship specialty cards on the homepage */
.specialty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.specialty-card {
  background: linear-gradient(160deg, var(--bg-alt), #191113);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.specialty-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230,51,41,0.5);
  box-shadow: 0 20px 46px rgba(0,0,0,0.5), 0 0 0 1px rgba(230,51,41,0.18);
}
.specialty-card .tag {
  display: inline-block;
  background: rgba(230,51,41,0.15);
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.specialty-card h3 { font-size: 1.5rem; color: var(--white); margin-bottom: 10px; }
.specialty-card p { font-size: 0.98rem; }
.specialty-card a.card-link { margin-top: 16px; font-weight: 700; }

/* Gentler section treatment for the funeral & memorial page —
   no cinematic/playful motifs, calmer palette */
.gentle .eyebrow { color: #9aa3ad; }
.gentle h2 { color: var(--white); }
.gentle .btn { background: #3d5a6c; }
.gentle .btn:hover { background: #34505f; box-shadow: 0 10px 26px rgba(61,90,108,0.35); }

/* Instagram callout banner */
.insta-callout {
  background: linear-gradient(135deg, #4f1d3d, #e63329 60%, #f5a623);
  border-radius: var(--radius);
  padding: 34px;
  text-align: center;
  margin-top: 10px;
}
.insta-callout p.lead {
  color: #fff;
  font-family: 'Kalam', cursive;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.insta-callout .btn {
  background: #111;
}
.insta-callout .btn:hover { background: #000; }

/* Code chips — sporting codes list */
.code-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.code-chips span {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}
