/* Breslau Indian Community — shared stylesheet */

:root {
  --maroon: #7a1f2b;
  --maroon-dark: #591620;
  --saffron: #ff9933;
  --green: #138808;
  --canada-red: #c8102e;
  --navy: #0b1f4b;
  --cream: #faf6f0;
  --cream-2: #f3ece1;
  --ink: #2a2220;
  --ink-soft: #5b5049;
  --gold: #c79a4b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(40, 20, 10, 0.10);
  --shadow-sm: 0 4px 14px rgba(40, 20, 10, 0.08);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  color: var(--maroon-dark);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--maroon-dark);
  color: #f4e6c8;
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  padding-bottom: 6px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { text-decoration: none; opacity: 0.9; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { opacity: 1; text-decoration: underline; }
.topbar a svg { flex-shrink: 0; }
.topbar .topbar-links { display: flex; gap: 18px; }

/* ---------- Header / Nav ---------- */
header.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid #eee2d4;
  background: #fff;
}
.brand-text {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 1.28rem;
  color: var(--maroon-dark);
  letter-spacing: 0.2px;
}
.brand-text span {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--maroon);
  border-color: var(--saffron);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--maroon-dark);
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--canada-red);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: #a80d24; }
.btn-outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-outline-dark {
  background: transparent;
  border-color: var(--maroon);
  color: var(--maroon);
}
.btn-outline-dark:hover { background: var(--maroon); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  min-height: 78vh;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,10,10,0.55) 0%, rgba(20,8,8,0.78) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--saffron);
  margin-bottom: 14px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 780px;
  margin-bottom: 18px;
}
.hero p.lead {
  max-width: 620px;
  font-size: 1.15rem;
  color: #f2e9da;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.page-hero {
  min-height: 42vh;
}

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--canada-red);
  margin-bottom: 10px;
  display: block;
}
.section-head {
  max-width: 700px;
  margin-bottom: 46px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

.bg-cream2 { background: var(--cream-2); }
.bg-maroon {
  background: var(--maroon-dark);
  color: #f4e6c8;
}
.bg-maroon h2, .bg-maroon h3 { color: #fff; }

/* ---------- Cards / grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}
.grid-2.cards { align-items: stretch; }
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--saffron);
}
.card .icon {
  font-size: 1.9rem;
  margin-bottom: 14px;
  display: inline-block;
}
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); margin-bottom: 0; font-size: 0.97rem; }

.stripe-row {
  height: 6px;
  background: linear-gradient(90deg, var(--saffron) 0 33.3%, #fff 33.3% 66.6%, var(--green) 66.6% 100%);
}

/* ---------- Event cards ---------- */
.event-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.event-card .event-badge {
  background: var(--maroon-dark);
  color: var(--saffron);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 20px;
}
.event-card .event-body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.event-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.event-card p { color: var(--ink-soft); font-size: 0.95rem; flex: 1; }
.event-meta {
  display: flex;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--maroon);
  font-weight: 600;
  margin-top: 14px;
  flex-wrap: wrap;
}

.note-box {
  background: var(--cream-2);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 18px 22px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  aspect-ratio: 4/3;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-grid figure:hover img { transform: scale(1.06); }
.gallery-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(20,8,8,0.85), transparent);
  color: #fff;
  font-size: 0.85rem;
  padding: 30px 14px 12px;
}

/* ---------- Values list ---------- */
.values-list { list-style: none; margin: 0; padding: 0; }
.values-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #e7ddcd;
}
.values-list li:last-child { border-bottom: none; }
.values-list .num {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: var(--saffron);
  font-weight: 700;
  min-width: 40px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item .ic {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--maroon);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.contact-item h4 { margin: 0 0 4px; font-size: 1rem; font-family: "Inter", sans-serif; font-weight: 700; color: var(--ink); }
.contact-item p { margin: 0; color: var(--ink-soft); }
.contact-item a { color: var(--maroon); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.contact-item a:hover { text-decoration: underline; }
.contact-item a svg { flex-shrink: 0; }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 340px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--canada-red);
  color: #fff;
  text-align: center;
  padding: 60px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe3e3; max-width: 560px; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy);
  color: #cfd6ea;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-grid h4 {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { text-decoration: none; color: #cfd6ea; display: inline-flex; align-items: center; gap: 6px; }
.footer-grid a:hover { color: var(--saffron); }
.footer-grid a svg { flex-shrink: 0; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand .brand-mark { width: 46px; height: 46px; border: none; padding: 3px; }
.footer-brand span {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
}
.footer-note { max-width: 340px; color: #a9b3cf; font-size: 0.92rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: #8f9ac0;
}
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.social-row a:hover { background: var(--canada-red); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    display: none;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 24px 20px;
  }
  nav.main-nav li { border-bottom: 1px solid #eee; }
  nav.main-nav a { display: block; padding: 14px 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .topbar .topbar-links { gap: 12px; }
}
