/*
Theme Name: St. Luke's Lutheran
Theme URI: https://www.stlukes-clc.com
Author: St. Luke's Lutheran Church
Author URI: https://www.stlukes-clc.com
Description: A modern minimalist WordPress theme for St. Luke's Lutheran Church, Seattle. Colors drawn from Martin Luther's Rose seal — Prussian Blue, Crimson, Harvest Gold, and Ivory — paired with classical serif typography.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stlukes
Tags: church, minimalist, serif, confessional, lutheran
*/

/* ── Luther's Rose Palette ──────────────────────────────────────────
   Field:  Deep Prussian Blue  #1C2E4A  (the blue ground)
   Crown:  Gold / Harvest      #C8922A  (the golden ring)
   Rose:   Ivory White         #F5F0E8  (the white rose petals)
   Heart:  Crimson Red         #8B1A1A  (the red heart)
   Cross:  Near Black          #1A1A1A  (the black cross)
──────────────────────────────────────────────────────────────────── */

:root {
  --blue:          #1C2E4A;
  --blue-mid:      #243A5E;
  --blue-light:    #2E4A78;
  --gold:          #C8922A;
  --gold-light:    #E0B05C;
  --gold-pale:     #F5E6C8;
  --ivory:         #F5F0E8;
  --ivory-deep:    #EDE5D4;
  --crimson:       #8B1A1A;
  --crimson-light: #A83232;
  --cross:         #1A1A1A;
  --stone:         #3D3328;
  --parchment:     #FAF7F2;
  --muted:         #6B6050;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Crimson Pro', Georgia, serif;
  background: var(--parchment);
  color: var(--stone);
  line-height: 1.75;
  font-size: 18px;
}

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

a {
  color: var(--crimson);
  transition: color 0.2s;
}

a:hover {
  color: var(--crimson-light);
}

/* ── Typography ─────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.25;
  color: var(--blue);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.label {
  font-family: 'Crimson Pro', serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}

/* ── Layout Helpers ─────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
}

.section {
  padding: 80px 0;
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn,
.wp-block-button__link,
input[type="submit"],
button[type="submit"] {
  display: inline-block;
  padding: 13px 28px;
  font-family: 'Crimson Pro', serif;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--gold);
  color: var(--blue);
}

.btn-primary:hover {
  background: var(--gold-light);
  color: var(--blue);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(245, 240, 232, 0.35);
}

.btn-ghost:hover {
  border-color: rgba(245, 240, 232, 0.7);
  color: var(--ivory);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--ivory);
}

/* ── Site Header ─────────────────────────────────────────────────── */
.site-header {
  background: var(--blue);
  color: var(--ivory);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 0 48px;
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1.5px solid var(--blue-light);
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.seal-ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-mid);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-title {
  color: var(--ivory);
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 400;
  text-decoration: none;
  display: block;
}

.site-description {
  color: var(--gold-light);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Crimson Pro', serif;
  display: block;
}

/* ── Navigation ─────────────────────────────────────────────────── */
.main-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-navigation a {
  color: var(--ivory);
  opacity: 0.75;
  text-decoration: none;
  font-family: 'Crimson Pro', serif;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: opacity 0.2s, color 0.2s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
  opacity: 1;
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}

.main-navigation .current-menu-item > a {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* Hamburger (mobile) */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(245,240,232,0.3);
  color: var(--ivory);
  padding: 8px 12px;
  font-family: 'Crimson Pro', serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

/* ── Header CTA ─────────────────────────────────────────────────── */
.header-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 8px 20px;
  font-family: 'Crimson Pro', serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--gold);
  color: var(--blue);
}

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  background: var(--blue);
  min-height: 520px;
  display: grid;
  grid-template-columns: 1fr 420px;
  overflow: hidden;
}

.hero-content {
  padding: 80px 56px 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 3.4rem;
  color: var(--ivory);
  line-height: 1.12;
  margin-bottom: 20px;
  font-weight: 400;
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero p {
  color: rgba(245, 240, 232, 0.75);
  font-size: 1.15rem;
  max-width: 420px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-panel {
  background: var(--blue-mid);
  border-left: 1px solid var(--blue-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 48px;
  gap: 32px;
}

.worship-block {
  border-left: 2px solid var(--gold);
  padding-left: 20px;
}

.worship-block .label {
  margin-bottom: 8px;
}

.worship-time {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--ivory);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 4px;
}

.worship-detail {
  color: rgba(245, 240, 232, 0.6);
  font-size: 0.95rem;
}

.panel-divider {
  height: 1px;
  background: var(--blue-light);
}

/* ── Welcome Strip ─────────────────────────────────────────────── */
.welcome-strip {
  background: var(--gold-pale);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--ivory-deep);
  padding: 20px 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.welcome-strip p {
  font-size: 1rem;
  color: var(--stone);
  font-style: italic;
}

.welcome-strip strong {
  font-style: normal;
  color: var(--crimson);
}

/* ── About Section ──────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text .address {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--ivory-deep);
  border-left: 3px solid var(--blue);
  font-size: 0.95rem;
  line-height: 1.8;
}

.staff-card {
  background: var(--ivory);
  border: 1px solid var(--ivory-deep);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.staff-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.staff-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
}

.staff-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--blue);
  margin-bottom: 2px;
}

.staff-role {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.staff-phone a {
  color: var(--crimson);
  font-size: 0.9rem;
  text-decoration: none;
}

.staff-divider {
  height: 1px;
  background: var(--ivory-deep);
}

/* ── Confession Strip ───────────────────────────────────────────── */
.confession-strip {
  background: var(--crimson);
  color: var(--ivory);
  padding: 64px;
  position: relative;
  overflow: hidden;
}

.confession-strip::before {
  content: '✠';
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8rem;
  opacity: 0.07;
  color: var(--ivory);
  font-family: serif;
}

.confession-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}

.confession-strip .label {
  color: rgba(245, 240, 232, 0.6);
  margin-bottom: 12px;
}

.confession-strip h2 {
  font-size: 1.8rem;
  color: var(--ivory);
  margin-bottom: 12px;
}

.confession-strip p {
  color: rgba(245, 240, 232, 0.8);
  font-size: 1.05rem;
  max-width: 580px;
}

.confession-badge {
  background: rgba(245, 240, 232, 0.1);
  border: 1px solid rgba(245, 240, 232, 0.3);
  padding: 20px 28px;
  text-align: center;
  flex-shrink: 0;
}

.badge-abbr {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--gold-light);
  line-height: 1;
}

.badge-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
  margin-top: 6px;
  font-family: 'Crimson Pro', serif;
  display: block;
}

/* ── Location Section ───────────────────────────────────────────── */
.location-section {
  background: var(--blue);
  padding: 80px 64px;
  color: var(--ivory);
}

.location-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.location-section h2 {
  color: var(--ivory);
  margin-bottom: 20px;
}

.location-section p {
  color: rgba(245, 240, 232, 0.7);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.location-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.loc-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.loc-icon {
  width: 36px;
  height: 36px;
  background: rgba(200, 146, 42, 0.15);
  border: 1px solid rgba(200, 146, 42, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.loc-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.loc-text strong {
  display: block;
  color: var(--ivory);
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 400;
  margin-bottom: 2px;
}

.loc-text span {
  color: rgba(245, 240, 232, 0.6);
  font-size: 0.9rem;
}

.map-embed {
  background: var(--blue-mid);
  border: 1px solid var(--blue-light);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}

/* ── Content Area ───────────────────────────────────────────────── */
.content-area {
  padding: 80px 0;
}

.entry-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ivory-deep);
}

.entry-title {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.entry-meta {
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.entry-content h2 { font-size: 1.8rem; margin: 2rem 0 1rem; }
.entry-content h3 { font-size: 1.4rem; margin: 1.5rem 0 0.75rem; }
.entry-content p  { margin-bottom: 1.2rem; }
.entry-content ul,
.entry-content ol { margin: 0 0 1.2rem 2rem; }
.entry-content blockquote {
  border-left: 3px solid var(--gold);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: var(--gold-pale);
  font-style: italic;
  color: var(--stone);
}

/* ── Sidebar ────────────────────────────────────────────────────── */
.widget-area .widget {
  margin-bottom: 40px;
}

.widget-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--blue);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

/* ── Blog / Posts ───────────────────────────────────────────────── */
.post-card {
  background: var(--ivory);
  border: 1px solid var(--ivory-deep);
  padding: 32px;
  margin-bottom: 32px;
}

.post-card .entry-title {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.post-card .entry-title a {
  color: var(--blue);
  text-decoration: none;
}

.post-card .entry-title a:hover {
  color: var(--crimson);
}

.post-card .entry-excerpt {
  color: var(--muted);
  font-size: 1rem;
  margin: 12px 0 20px;
}

/* ── Comments ───────────────────────────────────────────────────── */
.comment-list { list-style: none; }

.comment-body {
  padding: 24px 0;
  border-bottom: 1px solid var(--ivory-deep);
}

.comment-author .fn {
  font-family: 'Playfair Display', serif;
  color: var(--blue);
  font-size: 1rem;
}

.comment-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--ivory-deep);
  background: var(--ivory);
  padding: 10px 14px;
  font-family: 'Crimson Pro', serif;
  font-size: 1rem;
  color: var(--stone);
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--gold);
}

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer {
  background: #111820;
  color: rgba(245, 240, 232, 0.55);
  padding: 48px 64px 32px;
  border-top: 2px solid var(--gold);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .footer-site-name {
  color: var(--ivory);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: block;
  font-weight: 400;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-col h4 {
  color: var(--ivory);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li a {
  color: rgba(245, 240, 232, 0.5);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 0.8rem;
}

.footer-cross {
  color: var(--gold);
  opacity: 0.5;
  font-size: 1.2rem;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 40px; }
  .hero h1 { font-size: 2.8rem; }
  .hero-panel { padding: 48px 36px; }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: auto;
    padding: 16px 24px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .menu-toggle { display: block; }

  .main-navigation {
    display: none;
    grid-column: 1 / -1;
    order: 3;
  }

  .main-navigation.is-open { display: flex; }
  .main-navigation ul { flex-direction: column; gap: 16px; padding: 16px 0; }
  .main-navigation a { opacity: 1; }

  .hero { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .hero-content { padding: 56px 32px; }
  .hero h1 { font-size: 2.4rem; }

  .welcome-strip { padding: 16px 32px; flex-direction: column; align-items: flex-start; }

  .about-grid,
  .location-inner { grid-template-columns: 1fr; gap: 40px; }

  .confession-strip { padding: 48px 32px; }
  .confession-inner { grid-template-columns: 1fr; }
  .confession-badge { display: none; }

  .location-section { padding: 60px 32px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer { padding: 40px 32px 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .section { padding: 56px 0; }
  .container { padding: 0 24px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  .hero-content { padding: 48px 24px; }
}
