/* =====================================================================
   City Church Tirane - website styles
   Colors come from the logo: forest green, church green and lime.
===================================================================== */

:root {
  --forest-950: #0b1512;
  --forest-900: #13221e;
  --forest-800: #1a2d28;
  --forest-700: #243f37;
  --green: #2e9c60;
  --green-dark: #237a4b;
  --lime: #8cc63f;
  --lime-soft: #edf6e1;
  --cream: #f8f5ee;
  --sand: #efe8d9;
  --paper: #fffdf8;
  --ink: #16201d;
  --muted: #5b6a64;
  --line: #e4ddcd;
  --white: #ffffff;

  --font-serif: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(19, 34, 30, .06);
  --shadow: 0 18px 50px -20px rgba(19, 34, 30, .28);
  --shadow-lg: 0 30px 80px -30px rgba(11, 21, 18, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 82px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: var(--forest-900); letter-spacing: -.02em; }
p { margin: 0 0 1.1em; }
strong { color: var(--forest-800); font-weight: 700; }
button { font: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--forest-900); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 16px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.icon-sm { width: .9em; height: .9em; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; letter-spacing: .02em; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 25px -10px rgba(46, 156, 96, .7); }
.btn-primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: var(--forest-950); }
.btn-lime:hover { background: #9dd452; color: var(--forest-950); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .12); }
.btn-outline { border-color: var(--forest-800); color: var(--forest-800); }
.btn-outline:hover { background: var(--forest-800); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 245, 238, .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand img { height: 56px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--forest-800);
}
.main-nav a:hover { color: var(--green-dark); background: rgba(46, 156, 96, .08); }
.main-nav li.active > a { color: var(--green-dark); }
.main-nav li.active > a::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); margin-left: 4px; }
.nav-contact-mobile { display: none; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; min-width: 260px;
  list-style: none; margin: 0; padding: 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.has-dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; width: 100%; border-radius: 10px; padding: 10px 14px; font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(19, 34, 30, .06); }
.lang-switch a { padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.lang-switch a.on { background: var(--forest-900); color: #fff; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--forest-900); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* Header over the dark hero on the home page */
.is-over-hero:not(.scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.page-home .site-header { position: fixed; left: 0; right: 0; }
.is-over-hero:not(.scrolled) .main-nav > ul > li > a { color: rgba(255, 255, 255, .88); }
.is-over-hero:not(.scrolled) .main-nav > ul > li > a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.is-over-hero:not(.scrolled) .main-nav li.active > a { color: #fff; }
.is-over-hero:not(.scrolled) .lang-switch { background: rgba(255, 255, 255, .12); }
.is-over-hero:not(.scrolled) .lang-switch a { color: rgba(255, 255, 255, .8); }
.is-over-hero:not(.scrolled) .lang-switch a.on { background: #fff; color: var(--forest-900); }
.is-over-hero:not(.scrolled) .brand img { filter: brightness(0) invert(1); }
.is-over-hero:not(.scrolled) .nav-toggle { background: rgba(255, 255, 255, .14); }

/* ---------- Section basics ---------- */
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 70px 0; }
.section-white { background: var(--paper); }
.section-sand { background: var(--sand); }
.section-dark { background: var(--forest-900); color: rgba(255, 255, 255, .82); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark strong { color: var(--lime); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green-dark); margin-bottom: 16px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--lime); border-radius: 2px; }
.section-dark .kicker { color: var(--lime); }

.section-title { font-size: clamp(28px, 3.8vw, 42px); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .kicker::after { content: ""; width: 26px; height: 2px; background: var(--lime); border-radius: 2px; }
.section-head p { color: var(--muted); font-size: 18px; }
.section-dark .section-head p { color: rgba(255, 255, 255, .7); }

/* English only: "translated automatically" note */
.translation-note {
  display: inline-flex; align-items: flex-start; gap: 8px; margin-bottom: 24px;
  padding: 9px 14px; border-radius: var(--radius-sm); background: var(--lime-soft);
  color: var(--muted); font-size: 13px; line-height: 1.5; text-align: left;
}
.translation-note .icon { flex-shrink: 0; margin-top: 2px; color: var(--green-dark); }
.translation-note a { color: var(--green-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.section-head .translation-note { margin: 4px 0 0; }
.section-dark .translation-note { background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .7); }
.section-dark .translation-note .icon, .section-dark .translation-note a { color: var(--lime); }

.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--lime); margin: 0 auto 18px; }
.ornament::before, .ornament::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .6; }

/* ---------- Hero (home) ---------- */
.hero {
  /* Height follows the text + skyline (no full-screen height, so no empty band above the title) */
  position: relative;
  display: flex; align-items: center;
  background: var(--forest-900);
  color: #fff; overflow: hidden; isolation: isolate;
  /* --sky-lift keeps the city above the weekly bar that overlaps the hero bottom */
  --sky-lift: 24px;
  padding: calc(var(--header-h) + 28px) 0 calc(var(--sky-lift) + 19.22vw + 28px);
}
/* The whole Tirana skyline, always edge to edge, never cropped (image is 1280 x 246) */
.hero-skyline {
  position: absolute; left: 0; right: 0; bottom: var(--sky-lift); z-index: -1;
  aspect-ratio: 1280 / 246;
  background: url("../../uploads/site/skyline.png") center bottom / 100% auto no-repeat;
  opacity: .85;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 500px at 78% 18%, rgba(140, 198, 63, .18), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(46, 156, 96, .22), transparent 60%),
    linear-gradient(180deg, #0f1d19 0%, #182b26 100%);
}
.hero-light {
  position: absolute; z-index: -1; top: -20%; right: 12%; width: 2px; height: 140%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .25), transparent);
  transform: rotate(18deg); filter: blur(1px);
}
.hero-content { max-width: 820px; }
.hero .kicker { color: var(--lime); }
.hero .kicker::before { display: none; }
.hero h1 {
  font-size: clamp(40px, 6vw, 72px); color: #fff; font-weight: 700; line-height: 1.08;
  margin-bottom: 22px; letter-spacing: -.03em;
}
.hero h1 em { display: block; font-style: normal; color: var(--lime); font-weight: 600; }
.hero p { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 255, 255, .78); max-width: 600px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Weekly times bar overlapping the hero */
.weekly { position: relative; z-index: 5; margin-top: -24px; }
.weekly-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px; background: var(--line); /* the 1px gap draws the lines between items */
  border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
  border: 1px solid var(--line);
}
.weekly-item { display: flex; gap: 16px; align-items: center; padding: 26px 26px; background: var(--paper); }
.weekly-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--lime-soft); color: var(--green-dark); flex-shrink: 0; }
.weekly-icon .icon { width: 24px; height: 24px; }
.weekly-item small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.weekly-item strong { display: block; font-family: var(--font-serif); font-size: 17px; font-weight: 600; color: var(--forest-900); line-height: 1.2; }
.weekly-item span { font-size: 15px; color: var(--green-dark); font-weight: 600; }
.weekly-item.featured { background: var(--forest-900); }
.weekly-item.featured small { color: rgba(255, 255, 255, .6); }
.weekly-item.featured strong { color: #fff; }
.weekly-item.featured span { color: var(--lime); }
.weekly-item.featured .weekly-icon { background: rgba(140, 198, 63, .16); color: var(--lime); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: 28px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-media::before {
  content: ""; position: absolute; inset: -18px 40px 40px -18px; z-index: -1;
  border: 2px solid var(--lime); border-radius: 32px; opacity: .55;
}
.about-badge {
  position: absolute; right: -24px; bottom: -28px;
  background: var(--forest-900); color: #fff; border-radius: 20px; padding: 20px 24px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; max-width: 280px;
}
.about-badge .icon { width: 34px; height: 34px; color: var(--lime); }
.about-badge strong { color: #fff; font-family: var(--font-serif); font-size: 16px; display: block; line-height: 1.2; }
.about-text p.lead { font-size: 18px; line-height: 1.75; color: var(--ink); }

.about-btn { margin-top: 14px; }

/* ---------- Mission / vision / purpose ---------- */
.mvp { overflow: hidden; }
.mvp::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(600px 300px at 15% 0%, rgba(140, 198, 63, .12), transparent 70%),
              radial-gradient(600px 300px at 90% 100%, rgba(46, 156, 96, .18), transparent 70%);
}
.mvp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.mvp-card {
  position: relative; padding: 42px 36px 38px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1);
  transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.mvp-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .07); border-color: rgba(140, 198, 63, .45); }
.mvp-num { font-family: var(--font-serif); font-size: 46px; font-weight: 700; line-height: 1; color: rgba(140, 198, 63, .3); position: absolute; top: 26px; right: 28px; }
.mvp-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--lime); color: var(--forest-950); margin-bottom: 26px; }
.mvp-icon .icon { width: 28px; height: 28px; }
.mvp-card h3 { font-size: 24px; }
.mvp-card p { margin: 0; color: rgba(255, 255, 255, .78); }

/* ---------- Service cards (home) ---------- */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11;
  color: #fff; box-shadow: var(--shadow); isolation: isolate; background: var(--forest-800);
}
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.service-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 21, 18, 0) 35%, rgba(11, 21, 18, .9) 100%); }
.service-card:hover img { transform: scale(1.06); }
.service-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.service-card h3 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.service-card span { font-size: 14px; color: var(--lime); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.service-card:hover { color: #fff; }

/* ---------- Latest sermon (home) ---------- */
.latest-sermon { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: center; }
.latest-sermon .media-frame { box-shadow: var(--shadow-lg); }

/* ---------- Contact / find us ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: stretch; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.contact-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card .c-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--forest-900); color: var(--lime); display: grid; place-items: center; margin-bottom: 14px; }
.contact-card h3 { font-size: 17px; margin-bottom: 4px; }
.contact-card p, .contact-card a { margin: 0; font-size: 15px; color: var(--muted); word-break: break-word; }
.contact-card a:hover { color: var(--green-dark); }
.contact-card .big { font-family: var(--font-serif); font-size: 28px; color: var(--forest-900); font-weight: 600; line-height: 1.1; }

.parking-card {
  grid-column: 1 / -1; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--lime) 0%, #a8d86a 100%);
  border-radius: 20px; padding: 26px 28px; color: var(--forest-950);
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center;
  box-shadow: 0 20px 40px -22px rgba(110, 160, 40, .9);
}
.parking-card::after {
  content: "P"; position: absolute; right: -10px; bottom: -48px;
  font-family: var(--font-sans); font-weight: 800; font-size: 190px; line-height: 1; color: rgba(11, 21, 18, .08);
}
.parking-sign {
  width: 72px; height: 72px; border-radius: 18px; background: #1d4ed8; color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 42px; font-family: var(--font-sans);
  border: 4px solid #fff; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5);
}
.parking-card .tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: var(--forest-950); color: var(--lime); padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.parking-card h3 { color: var(--forest-950); font-size: 22px; margin-bottom: 6px; }
.parking-card p { margin: 0 0 12px; font-weight: 500; position: relative; z-index: 1; }
.parking-card p strong { color: var(--forest-950); }
.parking-card a.parking-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--forest-950); border-bottom: 2px solid var(--forest-950); padding-bottom: 2px; font-size: 15px; }
.parking-card a.parking-link:hover { color: var(--forest-700); border-color: var(--forest-700); }

.map-wrap { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); min-height: 460px; background: var(--sand); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.9); }
.map-pill {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  background: var(--paper); border-radius: 999px; padding: 10px 18px 10px 12px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: var(--forest-900);
}
.map-pill .icon { color: var(--green); }

/* Join band */
.join-band { position: relative; overflow: hidden; border-radius: 30px; background: var(--forest-900); color: #fff; padding: 70px 60px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; isolation: isolate; }
.join-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../../uploads/site/hero.png") center bottom / cover no-repeat; opacity: .16; }
.join-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 300px at 90% 0%, rgba(140, 198, 63, .25), transparent 70%); }
.join-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); }
.join-band p { color: rgba(255, 255, 255, .78); margin: 0; font-size: 18px; }
.join-actions { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.follow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: rgba(255, 255, 255, .7); font-size: 15px; }

.social { display: flex; gap: 10px; }
.social a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .14);
  transition: background .25s, transform .25s var(--ease), color .25s;
}
.social a:hover { background: var(--lime); color: var(--forest-950); transform: translateY(-3px); }

/* ---------- Inner page banner ---------- */
.page-banner {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 120px 0 110px; text-align: center; color: #fff; background: var(--forest-900);
}
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--banner) center / cover no-repeat; opacity: .38; transform: scale(1.05); }
.page-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19, 34, 30, .55), rgba(19, 34, 30, .92)), radial-gradient(600px 300px at 50% 100%, rgba(140, 198, 63, .2), transparent 70%); }
.page-banner h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); margin-bottom: 14px; }
.page-banner p { color: rgba(255, 255, 255, .78); font-size: 19px; max-width: 620px; margin: 0 auto; }
.breadcrumb { display: inline-flex; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; color: var(--lime); }
.breadcrumb a { color: rgba(255, 255, 255, .7); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Statement of faith ---------- */
.faith-layout { display: grid; grid-template-columns: 280px 1fr; gap: 60px; align-items: start; }
.faith-toc { position: sticky; top: calc(var(--header-h) + 30px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.faith-toc h2 { font-size: 17px; margin-bottom: 12px; }
.faith-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.faith-toc li { counter-increment: toc; }
.faith-toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--muted); line-height: 1.4; }
.faith-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--green); font-weight: 800; font-size: 12px; padding-top: 2px; }
.faith-toc a:hover, .faith-toc a.on { background: var(--lime-soft); color: var(--forest-900); }

.faith-list { display: grid; gap: 20px; }
.faith-item {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 40px 34px 110px; transition: box-shadow .3s, border-color .3s;
}
.faith-item:hover { box-shadow: var(--shadow); border-color: transparent; }
.faith-num { position: absolute; left: 36px; top: 36px; font-family: var(--font-serif); font-weight: 700; font-size: 36px; line-height: 1; color: var(--lime); }
.faith-item h2 { font-size: 23px; margin-bottom: 12px; }
.faith-item p { margin: 0; color: #34433e; font-size: 16px; line-height: 1.85; }

.our-church { margin-top: 60px; border-radius: 28px; background: var(--forest-900); color: rgba(255, 255, 255, .82); padding: 56px; position: relative; overflow: hidden; }
.our-church::after { content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; border-radius: 50%; border: 2px solid rgba(140, 198, 63, .3); }
.our-church h2 { color: #fff; font-size: 32px; }
.our-church strong { color: var(--lime); }
.our-church p:last-child { margin: 0; }

/* ---------- Galleries (services and tours) ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.chips a { padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .05); }
.chips a:hover { background: var(--lime); border-color: var(--lime); color: var(--forest-950); }

.gallery-section { padding: 90px 0; border-bottom: 1px solid var(--line); }
.gallery-section:nth-of-type(even) { background: var(--paper); }
.gallery-section:last-of-type { border-bottom: 0; }
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 36px; flex-wrap: wrap; }
.gallery-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0; }
.gallery-head p { color: var(--muted); margin: 10px 0 0; max-width: 560px; }
.gallery-index { font-family: var(--font-serif); font-weight: 700; color: var(--green); font-size: 15px; display: block; margin-bottom: 4px; }
.schedule-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px;
  background: var(--forest-900); color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap;
}
.schedule-pill .icon { color: var(--lime); }

.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 14px; }
.gallery-grid .g-item { position: relative; overflow: hidden; border-radius: 16px; cursor: zoom-in; background: var(--sand); grid-column: span 4; grid-row: span 2; border: 0; padding: 0; }
.gallery-grid .g-item:nth-child(6n + 1) { grid-column: span 6; grid-row: span 3; }
.gallery-grid .g-item:nth-child(6n + 2) { grid-column: span 6; grid-row: span 3; }
.gallery-grid .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.gallery-grid .g-item:hover img { transform: scale(1.05); }
.gallery-grid .g-item::after {
  content: ""; position: absolute; inset: 0; background: rgba(19, 34, 30, .35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5'/%3E%3C/svg%3E") center / 34px no-repeat;
  opacity: 0; transition: opacity .3s;
}
.gallery-grid .g-item:hover::after { opacity: 1; }
.empty-note { padding: 40px; text-align: center; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 14, 12, .94); display: flex; align-items: center; justify-content: center; padding: 40px 80px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: rgba(255, 255, 255, .7); font-size: 14px; margin-top: 14px; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: var(--lime); color: var(--forest-950); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%) rotate(180deg); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Sermons ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 50px; }
.filter-bar a { padding: 9px 20px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--forest-800); }
.filter-bar a.on, .filter-bar a:hover { background: var(--forest-900); border-color: var(--forest-900); color: #fff; }

.sermon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 28px; }
.sermon-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s var(--ease); }
.sermon-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.sermon-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.sermon-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.sermon-meta span { display: inline-flex; align-items: center; gap: 6px; }
.sermon-meta .icon { color: var(--green); width: 16px; height: 16px; }
.sermon-card h3 { font-size: 19px; margin-bottom: 8px; }
.sermon-card p { color: var(--muted); font-size: 15.5px; margin: 0; }

.media-frame { position: relative; aspect-ratio: 16 / 9; background: var(--forest-900); border-radius: 0; overflow: hidden; }
.latest-sermon .media-frame { border-radius: var(--radius); }
.media-frame iframe, .media-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-audio { padding: 30px 24px; background: linear-gradient(135deg, var(--forest-900), var(--forest-700)); display: flex; flex-direction: column; gap: 16px; align-items: center; justify-content: center; aspect-ratio: 16 / 9; }
.media-audio .icon { width: 44px; height: 44px; color: var(--lime); }
.media-audio audio { width: 100%; }
.media-link { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--forest-900), var(--forest-700)); }

/* Lazy video facade */
.media-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; cursor: pointer; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, var(--forest-700), var(--forest-950)); color: #fff; padding: 0; }
.media-facade .play {
  width: 74px; height: 74px; border-radius: 50%; background: var(--lime); color: var(--forest-950);
  display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(140, 198, 63, .18); transition: transform .3s var(--ease), box-shadow .3s;
}
.media-facade .play .icon { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.media-facade:hover .play { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(140, 198, 63, .14); }
.media-facade .facade-label { position: absolute; bottom: 16px; left: 18px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.media-facade .facade-logo { position: absolute; top: 16px; left: 18px; height: 30px; filter: brightness(0) invert(1); opacity: .55; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); font-weight: 700; color: var(--forest-800); }
.pagination .on { background: var(--forest-900); color: #fff; border-color: var(--forest-900); }

/* ---------- Donation ---------- */
.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.donate-card { background: var(--paper); border-radius: 28px; padding: 44px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.donate-card h2 { font-size: 26px; }
.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px 0 16px; }
.amount-btn { padding: 16px 0; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream); font-weight: 800; font-size: 18px; color: var(--forest-900); cursor: pointer; transition: all .2s; }
.amount-btn:hover { border-color: var(--green); }
.amount-btn.on { background: var(--forest-900); border-color: var(--forest-900); color: #fff; }
.amount-field { position: relative; margin-bottom: 18px; }
.amount-field span { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--muted); }
.amount-field input { width: 100%; padding: 16px 18px 16px 38px; border-radius: 14px; border: 1.5px solid var(--line); font: inherit; font-size: 18px; font-weight: 700; background: #fff; }
.amount-field input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(46, 156, 96, .15); }
.donate-error { margin: -6px 0 14px; color: #b42318; font-weight: 600; font-size: 14.5px; }
.donate-msg { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; margin: 4px 0 18px; background: var(--sand); color: var(--forest-800); font-weight: 600; }
.donate-msg-ok { background: var(--lime-soft); color: var(--green-dark); }
.donate-msg .icon { color: var(--green); }
.btn-paypal { width: 100%; background: #003087; color: #fff; padding: 17px; font-size: 16px; }
.btn-paypal:hover { background: #00256b; color: #fff; transform: translateY(-2px); }
.secure-note { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.donate-grid .ornament { justify-content: flex-start; }
.donate-grid .ornament::before { display: none; }
.verse { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(19px, 2vw, 24px); line-height: 1.55; color: var(--forest-900); margin: 24px 0 14px; }
.verse-ref { font-weight: 700; color: var(--green-dark); letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--forest-950); color: rgba(255, 255, 255, .65); padding: 90px 0 0; font-size: 15px; overflow: hidden; }
.footer-cross { position: absolute; right: 6%; top: -40px; width: 180px; height: 260px; opacity: .05; pointer-events: none;
  background: linear-gradient(#fff, #fff) center / 22px 100% no-repeat, linear-gradient(#fff, #fff) center 30% / 100% 22px no-repeat; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 50px; position: relative; }
.footer-brand img { height: 64px; width: auto; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-brand p { max-width: 320px; }
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: var(--lime); }
.footer-times li { display: flex; flex-direction: column; line-height: 1.4; }
.footer-times strong { color: var(--lime); font-weight: 600; font-size: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.footer-contact .icon { color: var(--lime); margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 70px; padding: 26px 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }
.footer-verse { font-family: var(--font-serif); font-style: italic; font-size: 13.5px; color: rgba(255, 255, 255, .45); }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 62px; height: 62px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7);
  transition: transform .3s var(--ease);
}
.whatsapp-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: wa-pulse 2.4s infinite; }
.whatsapp-float .icon { width: 34px; height: 34px; }
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%);
  background: var(--forest-950); color: #fff; font-size: 13.5px; font-weight: 600; white-space: nowrap;
  padding: 8px 14px; border-radius: 10px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.whatsapp-float:hover .whatsapp-tip { opacity: 1; transform: translate(0, -50%); }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .6; } 70% { transform: scale(1.5); opacity: 0; } 100% { opacity: 0; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 120px 24px; }
.notfound h1 { font-size: 96px; color: var(--lime); margin: 0; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =====================================================================
   Responsive
===================================================================== */
@media (max-width: 1100px) {
  .main-nav a { padding: 10px 10px; font-size: 14.5px; }
  .header-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }
  body { font-size: 16px; }
  .brand img { height: 46px; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; gap: 10px; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--forest-950);
    padding: 24px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: var(--forest-950); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-open .brand img { filter: brightness(0) invert(1); }
  .nav-open .lang-switch { background: rgba(255, 255, 255, .12); }
  .nav-open .lang-switch a { color: rgba(255, 255, 255, .8); }
  .nav-open .lang-switch a.on { background: #fff; color: var(--forest-900); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav > ul > li > a, .is-over-hero:not(.scrolled) .main-nav > ul > li > a { color: #fff; font-family: var(--font-serif); font-size: 21px; font-weight: 600; padding: 14px 6px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); width: 100%; justify-content: space-between; }
  .main-nav li.active > a { color: var(--lime) !important; }
  .main-nav li.active > a::after { display: none; }
  .nav-contact-mobile { display: block; }
  .has-dropdown .icon-sm { display: none; }
  .dropdown,
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown { position: static; opacity: 1; visibility: inherit; transform: none; background: transparent; border: 0; box-shadow: none; padding: 4px 0 10px 10px; min-width: 0; }
  .has-dropdown::after { display: none; }
  .dropdown a { color: rgba(255, 255, 255, .7); font-size: 15px; padding: 8px 6px; }
  .dropdown a:hover { color: var(--lime); background: transparent; }

  .section { padding: 80px 0; }
  .about-grid, .latest-sermon, .contact-grid, .donate-grid, .join-band { grid-template-columns: 1fr; }
  .about-grid { gap: 70px; }
  .mvp-grid { grid-template-columns: 1fr; }
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .weekly-grid { grid-template-columns: repeat(2, 1fr); }
  .weekly-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .faith-layout { grid-template-columns: 1fr; }
  .faith-toc { position: static; }
  .join-band { padding: 50px 34px; }
  .map-wrap { min-height: 380px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { --sky-lift: 30px; } /* keeps the city above the WhatsApp button */
  .hero-actions .btn { flex: 1 1 100%; }
  .weekly { margin-top: -20px; }
  .weekly-grid { grid-template-columns: 1fr; }
  .weekly-item { padding: 20px 22px; }
  .about-badge { right: 12px; bottom: -30px; padding: 14px 18px; }
  .about-media::before { display: none; }
  .contact-cards { grid-template-columns: 1fr; }
  .join-band > * { min-width: 0; }
  .join-band .join-actions { align-items: stretch; }
  .join-band .btn { white-space: normal; text-align: center; }
  .service-cards { gap: 12px; }
  .service-card { aspect-ratio: 3 / 4; border-radius: 16px; }
  .service-card-body { padding: 14px; }
  .service-card h3 { font-size: 15px; }
  .service-card span { font-size: 12.5px; }
  .parking-card { grid-template-columns: 1fr; padding: 24px; }
  .parking-sign { width: 58px; height: 58px; font-size: 34px; }
  .faith-item { padding: 76px 22px 26px; }
  .faith-num { left: 22px; top: 24px; font-size: 30px; }
  .faith-item h2 { font-size: 21px; }
  .our-church { padding: 36px 24px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .gallery-grid .g-item, .gallery-grid .g-item:nth-child(6n + 1), .gallery-grid .g-item:nth-child(6n + 2) { grid-column: span 1; grid-row: span 1; }
  .gallery-grid .g-item:nth-child(3n + 1) { grid-column: span 2; grid-row: span 2; }
  .gallery-section { padding: 64px 0; }
  .sermon-grid { grid-template-columns: 1fr; }
  .donate-card { padding: 28px 22px; }
  .amounts { grid-template-columns: repeat(2, 1fr); }
  .lightbox { padding: 60px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { transform: rotate(180deg); left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .whatsapp-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
  .whatsapp-tip { display: none; }
  .page-banner { padding: 80px 0 76px; }
}

/* =====================================================================
   Upcoming events "Së shpejti" (Connect Tours + home page news)
===================================================================== */
.events-section {
  position: relative; overflow: hidden; padding: 100px 0;
  background: linear-gradient(135deg, #e8f5d8 0%, #f8f5ee 50%, #fcefd2 100%);
}
.events-section::before,
.events-section::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.events-section::before { width: 560px; height: 560px; top: -220px; right: -160px; background: radial-gradient(circle, rgba(140, 198, 63, .38), transparent 70%); }
.events-section::after { width: 480px; height: 480px; bottom: -220px; left: -140px; background: radial-gradient(circle, rgba(240, 180, 41, .28), transparent 70%); }
.events-section .container { position: relative; z-index: 1; }
.events-home { padding: 90px 0 100px; }

.events-home-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.events-home-head .section-title { margin: 0; }

/* Pulsing "live" dot used in several places */
.soon-kicker i, .chip-soon i, .hero-news-tag i, .event-countdown i {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--lime); animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(140, 198, 63, .75); }
  70% { box-shadow: 0 0 0 9px rgba(140, 198, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(140, 198, 63, 0); }
}
.soon-kicker { background: var(--forest-900); color: var(--lime); padding: 8px 16px; border-radius: 999px; }
.soon-kicker::before, .section-head.center .soon-kicker::after { display: none; }

.event-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; }

.event-card {
  --accent: #8cc63f; --accent-ink: #0b1512; --accent-soft: #edf6e1; --accent-text: #4d7c0f;
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: 24px; border: 1px solid rgba(19, 34, 30, .06);
  box-shadow: 0 24px 60px -30px rgba(19, 34, 30, .45);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.event-card.accent-green { --accent: #2e9c60; --accent-ink: #fff; --accent-soft: #e3f3ea; --accent-text: #237a4b; }
.event-card.accent-gold { --accent: #f0b429; --accent-ink: #3b2a00; --accent-soft: #fdf1d6; --accent-text: #a16207; }
.event-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--accent); z-index: 3; }
.event-card:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -30px rgba(19, 34, 30, .55); }

.event-media { position: relative; aspect-ratio: 16 / 9; background: var(--forest-900); overflow: hidden; }
.event-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.event-card:hover .event-media img { transform: scale(1.05); }
.event-art {
  position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 88% 0%, var(--accent) 0%, transparent 58%), linear-gradient(160deg, #1d3a32, #0f1d19);
}
.event-art::after { content: ""; position: absolute; inset: auto 0 0 0; aspect-ratio: 1280 / 246; background: url("../../uploads/site/skyline.png") center bottom / 100% auto no-repeat; opacity: .45; }

.event-date {
  position: absolute; left: 18px; top: 22px; z-index: 2; min-width: 66px; text-align: center;
  background: #fff; border-radius: 16px; padding: 10px 12px 8px; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5);
}
.event-date strong { display: block; font-size: 28px; font-weight: 700; line-height: 1; color: var(--forest-900); }
.event-date span { display: block; margin-top: 4px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.event-countdown {
  position: absolute; right: 16px; top: 24px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px; background: rgba(11, 21, 18, .78); backdrop-filter: blur(6px);
  color: #fff; font-size: 12.5px; font-weight: 700;
}

.event-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.event-kicker { align-self: flex-start; margin-bottom: 12px; padding: 5px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.event-card h3 { font-size: 22px; margin-bottom: 12px; }
.event-meta { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--forest-800); }
.event-meta li { display: flex; align-items: center; gap: 10px; }
.event-meta .icon { width: 18px; height: 18px; color: var(--accent-text); }
.event-card p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.event-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.event-btn { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -12px var(--accent); }
.event-btn:hover { color: var(--accent-ink); transform: translateY(-2px); filter: brightness(1.05); }
.event-btn-wa { background: #fff; border-color: var(--line); color: var(--forest-800); }
.event-btn-wa .icon { color: #25d366; }
.event-btn-wa:hover { border-color: #25d366; color: var(--forest-900); }
.event-btn-wa.is-main { background: #25d366; border-color: #25d366; color: #fff; }
.event-btn-wa.is-main .icon { color: #fff; }

/* One event: show it big, side by side */
.event-list-single { grid-template-columns: 1fr; max-width: 1040px; margin: 0 auto; }
.event-list-single .event-card { flex-direction: row; }
.event-list-single .event-media { flex: 0 0 48%; aspect-ratio: auto; min-height: 340px; }
.event-list-single .event-body { padding: 38px 40px; justify-content: center; }
.event-list-single .event-card h3 { font-size: 28px; }


/* Notice at the top of the home hero */
.hero-news {
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%; margin-bottom: 22px;
  padding: 6px 16px 6px 6px; border-radius: 999px; color: #fff; font-size: 14.5px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(140, 198, 63, .5);
  box-shadow: 0 0 0 4px rgba(140, 198, 63, .08), 0 12px 34px -12px rgba(140, 198, 63, .6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .25s, border-color .25s;
}
.hero-news:hover { color: #fff; background: rgba(140, 198, 63, .16); border-color: var(--lime); }
.hero-news .icon { color: var(--lime); transition: transform .25s var(--ease); }
.hero-news:hover .icon { transform: translateX(3px); }
.hero-news-tag { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 6px 12px; border-radius: 999px; background: var(--lime); color: var(--forest-950); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-news-tag i { background: var(--forest-950); }
.hero-news-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255, 255, 255, .85); }
.hero-news-text strong { color: #fff; }

/* "Së shpejti" chip in the Connect Tours banner */
.chips a.chip-soon { display: inline-flex; align-items: center; gap: 8px; background: var(--lime); border-color: var(--lime); color: var(--forest-950); font-weight: 700; }
.chips a.chip-soon i { background: var(--forest-950); }

@media (max-width: 760px) {
  .events-section { padding: 70px 0; }
  .event-list { grid-template-columns: 1fr; }
  .event-list-single .event-card { flex-direction: column; }
  .event-list-single .event-media { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .event-list-single .event-body { padding: 24px 22px; }
  .event-list-single .event-card h3 { font-size: 22px; }
  .event-body { padding: 22px; }
  .hero-news { font-size: 13px; gap: 10px; }
}

/* =====================================================================
   Services: show max 4 photos as a mosaic, the rest open in the lightbox
===================================================================== */
.gallery-grid .g-hidden { display: none !important; }
.gallery-grid.gallery-mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; }
.gallery-grid.gallery-mosaic .g-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
.gallery-grid.gallery-mosaic.count-1 .g-item:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery-grid.gallery-mosaic.count-2 .g-item:nth-child(-n + 2) { grid-column: span 2; grid-row: span 2; }
.gallery-grid.gallery-mosaic.count-3 .g-item:nth-child(1),
.gallery-grid.gallery-mosaic.count-4 .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-grid.gallery-mosaic.count-3 .g-item:nth-child(2),
.gallery-grid.gallery-mosaic.count-3 .g-item:nth-child(3),
.gallery-grid.gallery-mosaic.count-4 .g-item:nth-child(2) { grid-column: span 2; }

.g-more {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(11, 21, 18, .62); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .02em;
  transition: background .3s;
}
.g-more strong { color: #fff; font-size: 36px; font-weight: 700; line-height: 1.1; }
.g-item:hover .g-more { background: rgba(11, 21, 18, .45); }

@media (max-width: 640px) {
  .gallery-grid.gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .gallery-grid.gallery-mosaic.count-1 .g-item:nth-child(1),
  .gallery-grid.gallery-mosaic.count-3 .g-item:nth-child(1),
  .gallery-grid.gallery-mosaic.count-4 .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery-grid.gallery-mosaic.count-2 .g-item:nth-child(-n + 2) { grid-column: span 1; grid-row: span 2; }
  .gallery-grid.gallery-mosaic.count-3 .g-item:nth-child(2),
  .gallery-grid.gallery-mosaic.count-3 .g-item:nth-child(3) { grid-column: span 1; }
  .gallery-grid.gallery-mosaic.count-4 .g-item:nth-child(2) { grid-column: span 2; }
  .g-more strong { font-size: 28px; }
}
