/* Vicki Schramko — Funeral Celebrant
   Lifted from Modern Stark (Playfair Display + Libre Baskerville)
   Rewritten clean, no Genesis / WP dependencies */

@import url('https://fonts.googleapis.com/css?family=Playfair+Display&display=swap');
@import url('https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400i,700&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 14px;
  line-height: 26px;
  color: #333;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #3498db; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: normal;
  color: #333;
}
h1 { font-size: 42px; line-height: 1.2; margin: 0.4em 0; }
h2 { font-size: 36px; line-height: 1.2; margin: 0.5em 0; }
h3 { font-size: 22px; margin: 0.5em 0; }
p { margin: 0 0 1em; }

.wrap { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid #eeeef0; }
.site-header .wrap { padding: 20px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-title { margin: 0; font-size: 28px; font-family: 'Playfair Display', Georgia, serif; font-weight: normal; color: #333; }
.site-title a { color: #333; }
.site-description { margin: 2px 0 0; font-family: 'Libre Baskerville', serif; font-size: 13px; color: #555; font-style: italic; }
.nav-primary ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.nav-primary a { font-family: 'Playfair Display', serif; font-size: 17px; color: #333; }
.nav-primary a:hover { color: #e775a7; text-decoration: none; }

/* Inner page header — topfold banner */
.inner-header {
  background: #e775a7 url(/img/topfold.jpg) no-repeat center top;
  background-size: cover;
  border-bottom: none;
  min-height: 180px;
}
.inner-header .wrap {
  min-height: 180px;
  align-items: flex-end;
  padding-bottom: 24px;
}
.inner-header .site-title,
.inner-header .site-title a,
.inner-header .site-description { color: #fff; }
.inner-header .nav-primary a { color: #fff; }
.inner-header .nav-primary a:hover { color: #333; text-decoration: none; }

/* Hero — homepage topfold */
.top-fold {
  background: #e775a7 url(/img/topfold.jpg) no-repeat center top;
  background-size: cover;
}
.top-fold .wrap {
  text-align: center;
  padding: 80px 20px 70px;
}
.large-headline { font-size: 48px; margin: 0 0 20px; color: #fff; }
.top-fold p { max-width: 720px; margin: 0 auto 16px; font-size: 16px; line-height: 28px; color: #fff; }

/* Content blocks */
.home-block { padding: 40px 0; }
.home-block.centered { text-align: center; }
.home-block p { font-size: 16px; line-height: 28px; }

/* Pink CTA */
.cta-wrap { text-align: center; padding: 20px 0 60px; }
.cta-pink {
  display: inline-block;
  background: #e775a7;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  padding: 18px 36px;
  border-radius: 2px;
  transition: background 0.3s ease;
}
.cta-pink:hover { background: #d65a92; color: #fff; text-decoration: none; }

/* About section */
.about-section {
  background: #eeeef0 url(/img/about-bg.jpg) no-repeat top right;
  background-position-y: top;
}
.about-section .wrap { padding: 60px 20px; }
.columned { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.columned .column { flex: 1 1 300px; }
.signature img { margin-bottom: 16px; }
.signature p { font-size: 15px; line-height: 24px; }

/* Testimonials */
.testimonial-section {
  background: #eeeef0 url(/img/testimonial-bg.jpg) no-repeat top left;
  background-attachment: fixed;
}
.testimonial-section .wrap { padding: 60px 20px; }
.testimonial-section h2 { text-align: center; }
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 30px; }
.testimonial-box {
  background: rgba(255,255,255,0.88);
  border-left: 4px solid #e775a7;
  padding: 24px 28px;
  font-style: italic;
}
.testimonial-box p:last-child { margin-bottom: 0; font-style: normal; font-weight: 700; }

/* Contact page */
.contact-block { padding: 40px 0; }
.contact-block h3 { margin: 20px 0 10px; font-family: 'Playfair Display', serif; }
.contact-phone { font-size: 22px; margin: 8px 0; }
.contact-email { font-size: 18px; color: #555; letter-spacing: 0.02em; }

/* Legal pages */
.legal { max-width: 780px; }
.legal h1 { font-size: 36px; margin-bottom: 30px; }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal p, .legal li { font-size: 15px; line-height: 26px; }
.legal ul { padding-left: 20px; }

/* Footer */
.site-footer { background: #333; color: #fff; margin-top: 40px; }
.site-footer .wrap { padding: 24px 20px; text-align: center; }
.site-footer p { font-size: 13px; color: #fff; margin: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #f7a6c9; }

@media (max-width: 700px) {
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  .large-headline { font-size: 34px; }
  .site-header .wrap { flex-direction: column; text-align: center; }
  .inner-header .wrap { align-items: center; justify-content: center; text-align: center; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-section { background-attachment: scroll; }
}
