/* ============================================================
   Shoqata Çamëria në Kanada — Chameria Association in Canada
   Design system: dignified, official, heritage
   ============================================================ */

:root {
  --red: #9e1b1b;            /* deep Albanian red */
  --red-bright: #c22026;
  --red-dark: #6f1111;
  --black: #1a1512;
  --ink: #2b2420;
  --ink-soft: #5a4f47;
  --ivory: #faf6ef;
  --ivory-dark: #f1e9dc;
  --gold: #c9a227;
  --gold-soft: #e2cf8f;
  --white: #ffffff;
  --border: #e0d5c3;

  --olive: #55632e;
  --olive-mid: #3f4a20;
  --olive-deep: #232a14;

  --font-serif: "Playfair Display", "Georgia", "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1120px;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(26, 21, 18, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
}

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

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

h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--black); line-height: 1.25; font-weight: 700; }

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

/* ---------- Language switching ----------
   <html> carries class lang-en or lang-sq.
   Blocks marked .en / .sq show only in their language. */
.sq { display: none; }
html.lang-sq .sq { display: block; }
html.lang-sq .en { display: none; }
span.sq, strong.sq, em.sq { display: none; }
html.lang-sq span.sq, html.lang-sq strong.sq, html.lang-sq em.sq { display: inline; }
html.lang-sq span.en, html.lang-sq strong.en, html.lang-sq em.en { display: none; }

/* ---------- Top ribbon ---------- */
.top-ribbon {
  background: var(--black);
  color: var(--gold-soft);
  font-size: 13.5px;
  letter-spacing: 0.04em;
}
.top-ribbon .container {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 36px; flex-wrap: wrap; gap: 4px 16px; padding-top: 4px; padding-bottom: 4px;
}
.top-ribbon a { color: var(--gold-soft); }
.top-ribbon a:hover { color: var(--white); }

/* ---------- Header / navigation ---------- */
header.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(26,21,18,0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 84px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img.logo { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.brand .brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 20px; color: var(--black); line-height: 1.2; }
.brand .brand-sub { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); font-weight: 600; }

nav.main-nav ul { display: flex; list-style: none; gap: 4px; align-items: center; }
nav.main-nav a {
  display: block; padding: 10px 14px; font-weight: 600; font-size: 15.5px;
  color: var(--ink); border-radius: var(--radius);
  letter-spacing: 0.01em;
}
nav.main-nav a:hover { color: var(--red); background: var(--ivory); }
nav.main-nav a.active { color: var(--red); box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
nav.main-nav a.nav-cta {
  background: var(--red); color: var(--white); margin-left: 10px;
  padding: 10px 20px; border-radius: 4px;
}
nav.main-nav a.nav-cta:hover { background: var(--red-dark); color: var(--white); box-shadow: none; }

.lang-toggle {
  display: inline-flex; border: 1.5px solid var(--border); border-radius: 4px; overflow: hidden;
  margin-left: 12px; flex-shrink: 0;
}
.lang-toggle button {
  border: 0; background: var(--white); color: var(--ink-soft);
  font-family: var(--font-sans); font-weight: 700; font-size: 13px;
  padding: 7px 12px; cursor: pointer; letter-spacing: 0.05em;
}
.lang-toggle button.on { background: var(--red); color: var(--white); }

.nav-burger {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-burger span { display: block; width: 26px; height: 3px; background: var(--black); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); text-align: center;
  background:
    linear-gradient(rgba(26, 32, 15, 0.72), rgba(43, 51, 24, 0.86)),
    radial-gradient(1200px 520px at 50% 0%, var(--olive), var(--olive-deep) 72%);
  padding: 96px 24px 104px;
  overflow: hidden;
}
/* Olive-branch garland watermark behind the hero titles */
.hero::before {
  content: ""; position: absolute; top: 6px; left: 0; right: 0; margin: 0 auto;
  width: min(1400px, 94%); height: 220px; z-index: 0; pointer-events: none;
  background: url("../img/hero-olives.svg") center top / contain no-repeat;
  opacity: 0.5;
}
.hero > * { position: relative; z-index: 1; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; z-index: 2;
  background: linear-gradient(90deg, var(--red) 33%, var(--black) 33% 66%, var(--gold) 66%);
}
.hero .kicker {
  display: inline-block; font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-soft); border: 1px solid rgba(226,207,143,0.5);
  padding: 8px 18px; border-radius: 999px; margin-bottom: 26px; font-weight: 600;
}
.hero h1 {
  color: var(--white); font-size: clamp(34px, 5.4vw, 58px);
  max-width: 900px; margin: 0 auto 20px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.4);
}
.hero p.lead {
  font-size: clamp(17px, 2vw, 21px); max-width: 760px; margin: 0 auto 36px;
  color: #f3e9dc; font-weight: 400;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero.hero-page { padding: 72px 24px 78px; }
.hero.hero-page h1 { font-size: clamp(30px, 4.4vw, 46px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 700; font-size: 16px; letter-spacing: 0.02em;
  padding: 14px 32px; border-radius: 4px; border: 2px solid transparent;
  cursor: pointer; transition: all .18s ease; font-family: var(--font-sans);
}
.btn-primary { background: var(--red-bright); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); transform: translateY(-1px); }
.btn-outline-light { border-color: rgba(255,255,255,0.75); color: var(--white); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-outline { border-color: var(--red); color: var(--red); background: transparent; }
.btn-outline:hover { background: var(--red); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: #b8921d; color: var(--black); }

/* ---------- Sections ---------- */
section.block { padding: 76px 0; }
section.block.tint { background: var(--ivory-dark); }
section.block.dark { background: var(--black); color: #efe6d8; }
section.block.dark h2, section.block.dark h3 { color: var(--white); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .eyebrow {
  font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--red); font-weight: 700; display: block; margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(27px, 3.6vw, 38px); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 17.5px; }
.section-head .rule {
  width: 72px; height: 3px; margin: 18px auto 0;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

/* ---------- 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: 32px; }

.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 4px 16px rgba(26,21,18,0.06);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .card-media { aspect-ratio: 16/10; overflow: hidden; background: var(--ivory-dark); }
.card .card-media img { width: 100%; height: 100%; object-fit: cover; }
.card .card-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15.5px; flex: 1; }
.card .card-link { margin-top: 16px; font-weight: 700; font-size: 15px; }
.card .card-link::after { content: " →"; }

.badge-date {
  display: inline-block; background: var(--red); color: var(--white);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 3px; margin-bottom: 12px;
}

/* ---------- Pillars (mission) ---------- */
.pillar { text-align: center; padding: 34px 26px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.pillar .pillar-ico {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--ivory-dark); display: flex; align-items: center; justify-content: center;
  color: var(--red); border: 2px solid var(--gold-soft);
}
.pillar .pillar-ico svg { width: 30px; height: 30px; }
.pillar h3 { font-size: 20px; margin-bottom: 10px; }
.pillar p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--gold), var(--red));
}
.tl-item { position: relative; padding: 0 0 42px 22px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -33px; top: 7px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--ivory); border: 4px solid var(--red);
}
.tl-item .tl-year {
  font-family: var(--font-serif); font-weight: 700; font-size: 22px; color: var(--red);
  display: block; margin-bottom: 6px;
}
.tl-item h3 { font-size: 20px; margin-bottom: 8px; }
.tl-item p { color: var(--ink-soft); font-size: 16px; }

/* ---------- Quote / memorial ---------- */
.memorial {
  border-left: 5px solid var(--gold);
  background: linear-gradient(90deg, rgba(201,162,39,0.10), transparent 70%);
  padding: 30px 34px; margin: 44px auto; max-width: 860px; border-radius: 0 var(--radius) var(--radius) 0;
}
.memorial p { font-family: var(--font-serif); font-size: 21px; font-style: italic; color: var(--black); line-height: 1.6; }
.memorial cite { display: block; margin-top: 14px; font-style: normal; font-size: 15px; color: var(--ink-soft); letter-spacing: 0.04em; }

/* ---------- Prose (long-form history) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: clamp(25px, 3vw, 33px); margin: 52px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 22px; margin: 36px 0 14px; }
.prose p { margin-bottom: 18px; color: var(--ink); }
.prose ul { margin: 0 0 18px 24px; }
.prose li { margin-bottom: 8px; }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.stat .stat-num { font-family: var(--font-serif); font-size: clamp(34px, 4.4vw, 52px); font-weight: 700; color: var(--gold); display: block; }
.stat .stat-label { font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: #d8cbb8; margin-top: 6px; }

/* ---------- Video grid ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.video-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 16px rgba(26,21,18,0.06); }
.video-card .video-frame { position: relative; aspect-ratio: 16/9; background: var(--black); }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card .video-title { padding: 16px 18px; font-weight: 600; font-size: 15px; color: var(--ink); }

/* ---------- Join form ---------- */
.form-shell {
  background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  box-shadow: var(--shadow); padding: 46px 48px; max-width: 780px; margin: 0 auto;
  border-top: 5px solid var(--red);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: 14.5px; margin-bottom: 7px; color: var(--black); }
.form-field label .req { color: var(--red); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-sans); font-size: 16px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 4px; background: var(--ivory);
  transition: border-color .15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--red); background: var(--white);
}
.form-check { display: flex; align-items: flex-start; gap: 10px; grid-column: 1 / -1; font-size: 15px; color: var(--ink-soft); }
.form-check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--red); }
.form-note { font-size: 13.5px; color: var(--ink-soft); margin-top: 18px; }

.membership-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 54px; }
.tier {
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; text-align: center; position: relative;
}
.tier.featured { border-color: var(--gold); box-shadow: var(--shadow); }
.tier .tier-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--black); font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.tier h3 { font-size: 20px; margin-bottom: 6px; }
.tier .tier-price { font-family: var(--font-serif); font-size: 38px; font-weight: 700; color: var(--red); }
.tier .tier-per { font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; }
.tier ul { list-style: none; text-align: left; margin: 18px 0 0; }
.tier li { padding: 7px 0 7px 26px; position: relative; font-size: 15px; color: var(--ink-soft); border-top: 1px dashed var(--border); }
.tier li::before { content: "✓"; position: absolute; left: 2px; color: var(--gold); font-weight: 700; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.contact-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px; text-align: center;
}
.contact-card .cc-ico {
  width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--red); color: var(--white); display: flex; align-items: center; justify-content: center;
}
.contact-card .cc-ico svg { width: 26px; height: 26px; }
.contact-card h3 { font-size: 19px; margin-bottom: 8px; }
.contact-card p, .contact-card a { font-size: 16px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(rgba(30,10,8,0.85), rgba(30,10,8,0.85)),
    radial-gradient(900px 400px at 50% 100%, #8a1a1a, #2c0a08 75%);
  color: var(--white); text-align: center; padding: 80px 24px;
}
.cta-band h2 { color: var(--white); font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 14px; }
.cta-band p { color: #eadfce; max-width: 640px; margin: 0 auto 32px; font-size: 18px; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--black); color: #cfc3b1; font-size: 15px; }
footer .footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding: 64px 0 48px; }
footer h4 { color: var(--white); font-size: 17px; margin-bottom: 18px; letter-spacing: 0.03em; }
footer ul { list-style: none; }
footer li { margin-bottom: 10px; }
footer a { color: #cfc3b1; }
footer a:hover { color: var(--gold-soft); }
footer .footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
footer .footer-brand img { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; }
footer .footer-brand .fb-name { font-family: var(--font-serif); color: var(--white); font-weight: 700; font-size: 18px; line-height: 1.25; }
footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; font-size: 13.5px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #a39683;
}
footer .footer-credits {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding: 15px 0 24px; text-align: center;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px;
  font-size: 13.5px; color: #9a8d7b; letter-spacing: 0.02em;
}
footer .footer-credits a { color: var(--gold-soft); font-weight: 600; }
footer .footer-credits a:hover { color: var(--white); }
footer .footer-credits .cred-sep { color: #5f5647; }
.flag-stripe { height: 6px; background: linear-gradient(90deg, var(--red) 33%, var(--black) 33% 66%, var(--gold) 66%); }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.notice {
  background: #fdf3e3; border: 1px solid var(--gold-soft); border-radius: var(--radius);
  padding: 16px 20px; font-size: 15px; color: #6b5310; max-width: 780px; margin: 26px auto 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .video-grid, .membership-tiers, .contact-cards { grid-template-columns: 1fr 1fr; }
  footer .footer-top { grid-template-columns: 1fr 1fr; }
  .brand .brand-name { font-size: 17px; }
}
@media (max-width: 860px) {
  .nav-burger { display: block; }
  nav.main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 3px solid var(--red); box-shadow: var(--shadow);
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; }
  nav.main-nav a { padding: 13px 10px; border-bottom: 1px solid var(--ivory-dark); border-radius: 0; }
  nav.main-nav a.active { box-shadow: inset 4px 0 0 var(--red); padding-left: 16px; }
  nav.main-nav a.nav-cta { margin: 12px 0 0; text-align: center; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .video-grid, .membership-tiers, .contact-cards, .stats-band { grid-template-columns: 1fr; }
  footer .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-shell { padding: 34px 24px; }
  section.block { padding: 56px 0; }
  .hero { padding: 70px 20px 78px; }
}
