/*
 * Nepali Cultural Centre UK — homepage design v3 (client mockup, 2026-10-23)
 * Loaded only on the front page. Crimson red + deep navy on warm cream,
 * editorial serif headings, rounded cards. Content = the site's real data.
 */

:root {
  --nccx-red: #c8102e;
  --nccx-red-dark: #a50d26;
  --nccx-navy: #001659;
  --nccx-navy-dark: #001248;
  --nccx-cream: #faf5ec;
  --nccx-cream-2: #f3ead9;
  --nccx-pink: #faefeb;
  --nccx-ink: #1d2436;
  --nccx-muted: #5b6376;
  --nccx-radius: 16px;
  --nccx-shadow: 0 16px 36px rgba(0, 22, 89, 0.10);
}

.nccx-home {
  background: #fff;
  color: var(--nccx-ink);
  font-family: "Roboto", system-ui, sans-serif;
}

/* ---------- Shared ---------- */

.nccx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--nccx-red);
}

.nccx-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--nccx-red);
}

.nccx-eyebrow--center::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--nccx-red);
}

.nccx-eyebrow--light {
  color: #ff8fa3;
}

.nccx-eyebrow--light::before,
.nccx-eyebrow--light::after {
  background: #ff8fa3;
}

.nccx-section-head {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.nccx-section-head--left {
  margin-left: 0;
  text-align: left;
}

.nccx-section-title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  color: var(--nccx-navy);
}

.nccx-section-title--light {
  color: #fff;
}

.nccx-section-foot {
  margin-top: 40px;
  text-align: center;
}

.nccx-btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.nccx-btn--primary {
  background: var(--nccx-red);
  color: #fff;
  box-shadow: 0 12px 24px rgba(200, 16, 46, 0.32);
}

.nccx-btn--primary:hover {
  background: var(--nccx-navy);
  color: #fff;
  transform: translateY(-2px);
}

.nccx-btn--ghost {
  background: transparent;
  color: var(--nccx-navy);
  border: 2px solid rgba(0, 22, 89, 0.22);
}

.nccx-btn--ghost:hover {
  border-color: var(--nccx-red);
  color: var(--nccx-red);
  transform: translateY(-2px);
}

.nccx-btn--light {
  background: #fff;
  color: var(--nccx-navy);
}

.nccx-btn--light:hover {
  background: var(--nccx-red);
  color: #fff;
  transform: translateY(-2px);
}

.nccx-btn--outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.nccx-btn--outline-light:hover {
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.nccx-card__link {
  margin-top: auto;
  font-weight: 700;
  color: var(--nccx-red);
  text-decoration: none;
}

.nccx-card__link:hover {
  color: var(--nccx-navy);
}

/* ---------- Hero ---------- */

.nccx-hero {
  position: relative;
  background: var(--nccx-navy-dark);
  overflow: hidden;
}

.nccx-hero__slider .carousel-item img {
  width: 100%;
  height: min(600px, 68vw);
  object-fit: cover;
}

.nccx-hero__slider .carousel-caption,
.nccx-hero__slider .carousel-indicators,
.nccx-hero__slider .carousel-control-prev,
.nccx-hero__slider .carousel-control-next {
  display: none !important;
}

.nccx-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, rgba(0, 18, 72, 0.30), rgba(0, 18, 72, 0.55));
}

.nccx-hero__eyebrow {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #ffb3c0;
}

.nccx-hero__title {
  margin: 0 0 16px;
  max-width: 820px;
  font-family: "Playfair Display", serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  line-height: 1.08;
  color: #fff;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.4);
}

.nccx-hero__title span {
  color: #ff4d6a;
}

.nccx-hero__sub {
  margin: 0 0 28px;
  max-width: 560px;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.nccx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- About ---------- */

.nccx-about {
  padding: 84px 0 76px;
  background: #fff;
}

.nccx-about__title {
  margin: 0 0 18px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.15;
  color: var(--nccx-navy);
}

.nccx-about__text {
  margin: 0 0 28px;
  font-size: 1.08rem;
  line-height: 1.78;
  color: var(--nccx-muted);
}

.nccx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nccx-collage {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 16px;
}

.nccx-collage__main {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: var(--nccx-radius);
  box-shadow: var(--nccx-shadow);
}

.nccx-collage__side {
  display: grid;
  gap: 16px;
}

.nccx-collage__side img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  border-radius: var(--nccx-radius);
  box-shadow: var(--nccx-shadow);
}

/* ---------- Page-content band ---------- */

.nccx-intro {
  padding: 0 0 64px;
}

.nccx-intro__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 36px 40px;
  background: var(--nccx-cream);
  border-radius: var(--nccx-radius);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--nccx-muted);
}

.nccx-intro__inner h2,
.nccx-intro__inner h3 {
  font-family: "Playfair Display", serif;
  color: var(--nccx-navy);
}

/* ---------- Team tabs ---------- */

.nccx-team {
  padding: 84px 0;
  background:
    radial-gradient(700px 300px at 0% 0%, rgba(200, 16, 46, 0.05), transparent 55%),
    var(--nccx-cream);
}

.nccx-tabs__nav {
  gap: 10px;
  margin-bottom: 38px;
}

.nccx-tabs__nav .nav-link {
  border-radius: 999px;
  padding: 11px 24px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--nccx-navy);
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 22, 89, 0.07);
}

.nccx-tabs__nav .nav-link.active {
  background: var(--nccx-red);
  color: #fff;
  box-shadow: 0 10px 22px rgba(200, 16, 46, 0.30);
}

.nccx-team__empty {
  text-align: center;
  color: var(--nccx-muted);
  padding: 18px 0 4px;
}

/* Team Members plugin cards → mockup style (round photo, centred) */
.nccx-team .tmm .tmm_member {
  background: #fff;
  border-radius: var(--nccx-radius);
  box-shadow: 0 10px 26px rgba(0, 22, 89, 0.08);
  padding: 26px 16px 20px;
  margin-bottom: 24px;
}

.nccx-team .tmm .tmm_member .tmm_photo {
  border-radius: 50%;
  border: 4px solid var(--nccx-cream-2);
}

.nccx-team .tmm .tmm_names {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: var(--nccx-navy);
}

.nccx-team .tmm .tmm_job {
  color: var(--nccx-red);
  font-weight: 600;
}

/* NCC member cards inside team tabs */
.nccx-team .ncc-members__grid {
  margin-top: 6px;
}

/* ---------- Services ---------- */

.nccx-services {
  padding: 84px 0;
  background: linear-gradient(180deg, #fff, var(--nccx-cream));
}

.nccx-svc {
  height: 100%;
  padding: 34px 28px 30px;
  background: #fff;
  border-radius: var(--nccx-radius);
  box-shadow: 0 10px 26px rgba(0, 22, 89, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nccx-svc:hover {
  transform: translateY(-6px);
  box-shadow: var(--nccx-shadow);
}

.nccx-svc__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.45rem;
}

.nccx-svc__icon--red { background: var(--nccx-red); }
.nccx-svc__icon--blue { background: #1d4ed8; }
.nccx-svc__icon--gold { background: #d97706; }
.nccx-svc__icon--green { background: #15803d; }

.nccx-svc__title {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.nccx-svc__title a {
  color: var(--nccx-navy);
  text-decoration: none;
}

.nccx-svc__title a:hover {
  color: var(--nccx-red);
}

.nccx-svc__text {
  margin: 0 0 16px;
  color: var(--nccx-muted);
  line-height: 1.7;
}

/* ---------- Donate band ---------- */

.nccx-donate {
  padding: 84px 0;
  background:
    radial-gradient(760px 320px at 12% 50%, rgba(255, 140, 40, 0.22), transparent 60%),
    radial-gradient(600px 300px at 88% 20%, rgba(200, 16, 46, 0.18), transparent 60%),
    linear-gradient(120deg, #241305, #120a04 70%);
}

.nccx-donate__head {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

.nccx-donate__blurb {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
}

.nccx-donate__inner {
  max-width: 720px;
  margin: 0 auto;
}

.nccx-donate .ncc-donate {
  background: #fff;
  border-radius: var(--nccx-radius);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

/* ---------- Events (navy) ---------- */

.nccx-events2 {
  padding: 84px 0;
  background: linear-gradient(180deg, var(--nccx-navy), var(--nccx-navy-dark));
}

.nccx-events2__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 42px;
}

.nccx-ev__media {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}

.nccx-ev__media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.nccx-ev:hover .nccx-ev__media img {
  transform: scale(1.06);
}

.nccx-ev__date {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
  padding: 7px 9px;
  border-radius: 10px;
  background: #fff;
  color: var(--nccx-navy);
  line-height: 1.1;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.nccx-ev__date strong {
  font-size: 1.25rem;
  color: var(--nccx-red);
}

.nccx-ev__date small {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nccx-ev__title {
  margin: 0 0 8px;
  font-family: "Playfair Display", serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
}

.nccx-ev__title a {
  color: #fff;
  text-decoration: none;
}

.nccx-ev__title a:hover {
  color: #ff8fa3;
}

.nccx-ev__meta {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.nccx-ev__meta i {
  color: #ff8fa3;
  margin-right: 6px;
}

/* ---------- News ---------- */

.nccx-news {
  padding: 84px 0;
  background: #fff;
}

.nccx-news__head .nccx-section-title {
  color: var(--nccx-navy);
}

.nccx-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: var(--nccx-radius);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 22, 89, 0.09);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nccx-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--nccx-shadow);
}

.nccx-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.nccx-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.nccx-card:hover .nccx-card__media img {
  transform: scale(1.06);
}

.nccx-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 26px;
}

.nccx-card__date {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--nccx-red);
}

.nccx-card__title {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.32;
}

.nccx-card__title a {
  color: var(--nccx-navy);
  text-decoration: none;
}

.nccx-card__title a:hover {
  color: var(--nccx-red);
}

.nccx-card__text {
  margin: 0 0 16px;
  color: var(--nccx-muted);
  line-height: 1.7;
}

/* ---------- Gallery ---------- */

.nccx-gallery {
  padding: 84px 0;
  background: var(--nccx-pink);
}

.nccx-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.nccx-gallery__item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.nccx-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.nccx-gallery__item:hover img {
  transform: scale(1.07);
}

@media (max-width: 767px) {
  .nccx-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Contact strip ---------- */

.nccx-contact {
  padding: 64px 0;
  background: #fff;
  border-top: 1px solid rgba(0, 22, 89, 0.07);
}

.nccx-contact .nccx-section-title {
  margin: 0;
}

.nccx-contact__items {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
}

.nccx-contact__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nccx-contact__item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--nccx-red);
  color: #fff;
  font-size: 1.05rem;
  flex: 0 0 auto;
}

.nccx-contact__item strong {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nccx-navy);
}

.nccx-contact__item span {
  color: var(--nccx-muted);
  font-size: 0.94rem;
}

.nccx-contact__item a {
  color: var(--nccx-muted);
  text-decoration: none;
}

.nccx-contact__item a:hover {
  color: var(--nccx-red);
}

/* ---------- Small screens ---------- */

@media (max-width: 991px) {
  .nccx-about,
  .nccx-team,
  .nccx-services,
  .nccx-donate,
  .nccx-events2,
  .nccx-news,
  .nccx-gallery {
    padding: 60px 0;
  }

  .nccx-collage {
    grid-template-columns: 1fr;
  }

  .nccx-collage__main {
    min-height: 260px;
  }
}

@media (max-width: 575px) {
  .nccx-intro__inner {
    padding: 26px 20px;
  }

  .nccx-hero__slider .carousel-item img {
    height: 340px;
  }
}
