/* ============================================================
   CLASSIC / TRADITIONAL THEME — Saint Mary of Sorrows
   Palette: parchment bg, deep burgundy, antique gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=EB+Garamond:ital,wght@0,400;0,500;1,400&family=Cinzel:wght@400;600&display=swap');

:root {
  --burgundy:   #6B1A2B;
  --burgundy-dk:#4E1120;
  --gold:       #B8912A;
  --gold-lt:    #D4AF37;
  --parchment:  #F5F0E8;
  --parchment-dk:#EDE6D6;
  --ink:        #2C1810;
  --ink-soft:   #5C4033;
  --cream:      #FDFAF4;
}

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

body {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--burgundy-dk);
  line-height: 1.3;
}

/* ── NAVBAR ── */
.navbar {
  background: var(--burgundy-dk) !important;
  border-bottom: 3px solid var(--gold);
  padding: 0.75rem 0;
}
.navbar-brand {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  color: var(--gold-lt) !important;
  letter-spacing: 0.04em;
}
.navbar-brand small { font-family: 'EB Garamond', serif; font-style: italic; color: rgba(255,255,255,0.75); display:block; font-size:0.78rem; letter-spacing:0.12em; }
.nav-link { color: rgba(255,255,255,0.88) !important; font-family:'Cinzel',serif; font-size:0.78rem; letter-spacing:0.08em; padding: 0.5rem 0.9rem !important; }
.nav-link:hover, .nav-link.active { color: var(--gold-lt) !important; }
.dropdown-menu { background: var(--burgundy-dk); border: 1px solid var(--gold); border-radius:0; }
.dropdown-item { color: rgba(255,255,255,0.85); font-family:'EB Garamond',serif; font-size:0.95rem; }
.dropdown-item:hover { background: var(--burgundy); color: var(--gold-lt); }

/* ── ORNAMENTAL DIVIDER ── */
.ornament {
  text-align: center;
  color: var(--gold);
  font-size: 1.4rem;
  margin: 0.5rem 0 1.5rem;
  letter-spacing: 0.5rem;
}
.section-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-divider {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt), var(--gold));
  margin: 0.5rem 0 1rem;
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--burgundy-dk);
  border-bottom: 3px solid var(--gold);
  padding: 2.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B8912A' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header h1 { color: var(--gold-lt); font-size: 2.2rem; position: relative; }
.page-header .text-muted { color: rgba(255,255,255,0.6) !important; position: relative; }
.breadcrumb { background: transparent; padding: 0; position: relative; }
.breadcrumb-item a { color: var(--gold); text-decoration: none; font-family:'EB Garamond',serif; }
.breadcrumb-item.active, .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* ── HERO CAROUSEL ── */
.hero-carousel { position: relative; background: var(--ink); overflow: hidden; }
.hero-pair { display: flex; height: 540px; }
.hero-pair-left { flex: 0 0 28%; position: relative; overflow: hidden; }
.hero-pair-right { flex: 1; position: relative; overflow: hidden; }
.hero-pair-img { width:100%; height:100%; object-fit:cover; display:block; }
.hero-pair-left::after {
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(78,17,32,0.35) 0%, transparent 100%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(78,17,32,0.15) 0%, rgba(78,17,32,0.75) 100%);
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 3rem;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem; font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(78,17,32,0.7);
  line-height: 1.15;
}
.hero-subtitle { color: rgba(255,255,255,0.85); font-style:italic; font-size:1.2rem; margin-top:0.5rem; }
.hero-cta { margin-top:1.5rem; }
.carousel-indicators [data-bs-target] { background-color: var(--gold); }
.carousel-control-prev-icon, .carousel-control-next-icon { filter: drop-shadow(0 0 3px var(--burgundy-dk)); }

/* ── MASS SCHEDULE STRIP ── */
.mass-strip {
  background: var(--burgundy-dk);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: 1rem 0;
  font-family: 'Cinzel', serif;
}
.mass-strip .label { color: var(--gold-lt); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; }
.mass-strip .time { color: #fff; font-size: 1rem; }
.mass-strip .divider { color: var(--gold); opacity: 0.4; }

/* ── CARDS / MINISTRIES ── */
.ministry-card {
  background: var(--cream);
  border: 1px solid rgba(184,145,42,0.3);
  border-radius: 0;
  padding: 1.5rem 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  border-left: 4px solid var(--gold);
}
.ministry-card:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(107,26,43,0.12); }

.schedule-card { border: 1px solid rgba(184,145,42,0.3); border-radius:0; }
.schedule-card .card-header {
  background: var(--burgundy-dk);
  color: var(--gold-lt);
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  border-bottom: 2px solid var(--gold);
  border-radius: 0;
}

.icon-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--burgundy-dk);
  color: var(--gold-lt);
  font-size: 1.4rem;
}

.staff-card {
  background: var(--parchment);
  border: 1px solid rgba(184,145,42,0.25);
  border-top: 3px solid var(--gold);
  padding: 1.25rem;
  text-align: center;
}
.staff-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--burgundy-dk);
  color: var(--gold-lt);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 0.75rem;
}
.staff-title { font-family:'Cinzel',serif; font-size:0.68rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--gold); }

/* ── LOCATION PHOTO CARDS ── */
.location-photo-card { border-radius:0; overflow:hidden; border:1px solid rgba(184,145,42,0.3); border-top:3px solid var(--gold); background:#fff; }
.location-photo { width:100%; height:200px; object-fit:cover; display:block; }
.location-photo-body { padding:1rem 1.1rem 1.2rem; }

/* ── BUTTONS ── */
.btn-burgundy { background: var(--burgundy-dk); color: var(--gold-lt); border:none; font-family:'Cinzel',serif; letter-spacing:0.08em; font-size:0.82rem; }
.btn-burgundy:hover { background: var(--burgundy); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); border:none; font-family:'Cinzel',serif; letter-spacing:0.08em; font-size:0.82rem; }
.btn-gold:hover { background: var(--gold-lt); color: var(--ink); }
.btn-outline-gold { border: 1px solid var(--gold); color: var(--gold); background: transparent; font-family:'Cinzel',serif; letter-spacing:0.06em; font-size:0.78rem; }
.btn-outline-gold:hover { background: var(--gold); color: var(--ink); }
/* Map btn-navy to btn-burgundy */
.btn-navy { background: var(--burgundy-dk); color: var(--gold-lt); border:none; font-family:'Cinzel',serif; letter-spacing:0.08em; font-size:0.82rem; }
.btn-navy:hover { background: var(--burgundy); color: #fff; }

/* ── SACRAMENTS BAND ── */
.sacraments-band {
  background: var(--parchment-dk);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: 3rem 0;
}
.sacrament-icon-wrap {
  text-align: center; padding: 1.25rem 0.5rem;
  transition: transform 0.2s;
  cursor: default;
}
.sacrament-icon-wrap:hover { transform: translateY(-4px); }
.sacrament-icon-wrap a { text-decoration: none; color: inherit; }
.sacrament-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--burgundy-dk);
  color: var(--gold-lt);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 0.75rem;
  border: 2px solid var(--gold);
}
.sacrament-label { font-family:'Cinzel',serif; font-size:0.72rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--ink); }

/* ── GIVING HERO ── */
.giving-hero {
  background: var(--burgundy-dk);
  border: 1px solid var(--gold);
  padding: 2rem 1.5rem;
}
.giving-hero h4 { font-family:'Playfair Display',serif; color:var(--gold-lt); }
.giving-hero .text-muted { color:rgba(255,255,255,0.65) !important; }

/* ── FOOTER ── */
footer {
  background: var(--burgundy-dk);
  border-top: 3px solid var(--gold);
  color: rgba(255,255,255,0.8);
  font-family: 'EB Garamond', serif;
  padding: 3rem 0 1.5rem;
}
footer h6 { font-family:'Cinzel',serif; color:var(--gold-lt); letter-spacing:0.12em; font-size:0.78rem; text-transform:uppercase; margin-bottom:1rem; }
footer a { color: rgba(255,255,255,0.7); text-decoration:none; transition:color 0.15s; }
footer a:hover { color: var(--gold-lt); }
.footer-bottom { border-top: 1px solid rgba(184,145,42,0.25); padding-top: 1.25rem; margin-top: 2rem; color: rgba(255,255,255,0.4); font-size:0.88rem; }

/* ── UTILITY ── */
.text-gold { color: var(--gold) !important; }
.text-gold-lt { color: var(--gold-lt) !important; }
.bg-light-custom { background: var(--parchment) !important; }
.bg-parchment { background: var(--parchment-dk); }
.letter-spacing { letter-spacing: 0.1em; }
.list-group-item { border-color: rgba(184,145,42,0.2); }
.list-group-item-action:hover { background: var(--parchment); color: var(--burgundy-dk); }

@media (max-width: 768px) {
  .hero-pair { height: 340px; }
  .hero-title { font-size: 1.8rem; }
  .hero-pair-left { flex: 0 0 22%; }
  .hero-overlay { padding: 1.5rem; }
}
