/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:  #1d5c96;
  --blue:  #3a7bd5;
  --light-blue: #e8f0fa;
  --gold:  #e6a817;
  --gold-light: #fad060;
  --white: #ffffff;
  --text:  #222;
  --muted: #666;
  --radius: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .04em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover { color: var(--gold-light); }
.nav-links a.nav-active { color: var(--gold); }

/* ── Hero ── */
#hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  text-align: center;
  padding: 100px 2rem 80px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: .5;
}

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .3rem .9rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
  position: relative;
}

#hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  position: relative;
}

#hero h1 span { color: var(--gold-light); }

#hero p {
  font-size: 1.15rem;
  max-width: 580px;
  margin: 0 auto 2.2rem;
  opacity: .9;
  position: relative;
}

.btn {
  display: inline-block;
  padding: .75rem 2rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  position: relative;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.25); }

.btn-gold { background: var(--gold); color: var(--navy); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); margin-left: .8rem; }

/* ── Section commons ── */
section { padding: 80px 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: .5rem;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-divider {
  width: 48px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* ── Testimonial carousel ── */
#testimonial {
  background: var(--navy);
  padding: 56px 2rem 44px;
}

.testimonial-carousel {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.t-track {
  flex: 1;
  display: grid;
}

.testimonial-block {
  grid-area: 1 / 1;
  text-align: center;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .4s, transform .4s;
  pointer-events: none;
  visibility: hidden;
}

.testimonial-block.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}

.quote-mark {
  font-size: 5rem;
  line-height: .6;
  color: var(--gold);
  font-family: Georgia, serif;
  margin-bottom: .5rem;
  opacity: .7;
}

.testimonial-block blockquote {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--white);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.4rem;
}

.testimonial-block cite {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  font-style: normal;
}

.cite-name {
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
}

.cite-detail {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}

.t-arrow {
  background: rgba(255,255,255,.1);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s;
}

.t-arrow:hover { background: var(--gold); color: var(--navy); }

.t-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.4rem;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
}

.t-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ── About ── */
#about { background: var(--white); }

.about-grid {
  max-width: 720px;
  margin: 0 auto;
}

.about-text p { color: var(--muted); margin-bottom: 1rem; }

.about-learn-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin: .8rem 0 1.6rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}

.about-learn-link:hover { color: var(--blue); border-color: var(--blue); }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--light-blue);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
}

.stat-card .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.stat-card .label { font-size: .85rem; color: var(--muted); margin-top: .2rem; }


/* ── Gallery ── */
#gallery { background: var(--light-blue); }

/* ── Gallery header row ── */
.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.gallery-search-wrap {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--white);
  border: 2px solid #c8dbf0;
  border-radius: 30px;
  padding: .5rem 1rem;
  min-width: 220px;
  transition: border-color .2s;
}

.gallery-search-wrap:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43,95,158,.12);
}

.gallery-search-wrap svg { color: var(--muted); flex-shrink: 0; }

.gallery-search-wrap input {
  border: none;
  outline: none;
  background: transparent;
  font-size: .92rem;
  color: var(--text);
  width: 100%;
  font-family: inherit;
}

.gallery-search-wrap input::placeholder { color: #aaa; }

.year-group { margin-bottom: 3rem; }

.year-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.year-label {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
  line-height: 1;
}

.year-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  border-radius: 1px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

.gallery-card {
  display: block;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  color: inherit;
}

.gallery-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.14); }

.gallery-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: linear-gradient(135deg, #c8dbf0, var(--light-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: .85rem;
  position: relative;
}

.gallery-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #c8dbf0, #dde8f5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  gap: .4rem;
  font-size: .8rem;
}

.gallery-desc {
  font-size: .82rem;
  color: var(--muted);
  margin-top: .3rem;
  line-height: 1.5;
}

.gallery-article-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .7rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--blue);
  transition: color .2s;
}

.gallery-article-link:hover { color: var(--gold); }

/* ── Video thumbnail cards ── */
.gallery-video-link {
  display: block;
  position: relative;
  overflow: hidden;
}

.gallery-video-link img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.gallery-video-link .gallery-img-placeholder {
  transition: filter .3s;
}

.gallery-video-link:hover img,
.gallery-video-link:hover .gallery-img-placeholder { filter: brightness(.75); }

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.play-btn span {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  transition: transform .2s, background .2s;
}

.play-btn span svg {
  width: 22px;
  height: 22px;
  color: var(--navy);
  margin-left: 3px; /* optical centre for triangle */
}

.gallery-video-link:hover .play-btn span {
  transform: scale(1.1);
  background: var(--gold);
}

.gallery-video-link:hover .play-btn span svg { color: var(--navy); }

.gallery-img-placeholder svg { width: 36px; height: 36px; opacity: .4; }

.gallery-info { padding: 1rem 1.1rem 1.2rem; }

.gallery-tag {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
  background: #fef8e7;
  border-radius: 10px;
  padding: .2rem .6rem;
  display: inline-block;
  margin-bottom: .4rem;
}

.gallery-info h3 { font-size: 1rem; color: var(--navy); margin-bottom: .5rem; }

.card-meta {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  color: var(--muted);
}

.card-meta svg { flex-shrink: 0; color: var(--blue); }

/* ── Upcoming Events ── */
#events { background: var(--white); }

.events-list { display: flex; flex-direction: column; gap: 1rem; max-width: 740px; }

.event-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--light-blue);
  border-radius: 12px;
  padding: 1.5rem 1.8rem;
  border-left: 4px solid var(--gold);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.event-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  padding: 1.1rem 1.4rem;
  width: 114px;
  min-width: 114px;
  text-align: center;
  flex-shrink: 0;
}

.event-month {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gold);
}

.event-day {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
}

.event-info { flex: 1; }

.event-tag {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gold);
  background: #fef8e7;
  border-radius: 10px;
  padding: .2rem .6rem;
  display: inline-block;
  margin-bottom: .5rem;
}

.event-info h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: .3rem; }

.event-info p { font-size: .9rem; color: var(--muted); line-height: 1.5; }

.event-meta {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  color: var(--muted);
}

.event-meta svg { color: var(--blue); flex-shrink: 0; }

/* ── Workshop page hero ── */
.workshop-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 2rem 64px;
}

.workshop-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.workshop-hero h1 span { color: var(--gold-light); }
.workshop-hero p { font-size: 1.1rem; opacity: .9; max-width: 560px; margin: 0 auto 2rem; }

.exercise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin: 2rem 0;
}

.exercise-card {
  background: var(--light-blue);
  border-radius: 12px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  border-top: 4px solid var(--gold);
}

.exercise-card .exercise-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .4rem;
}

.exercise-card h3 { font-size: .95rem; color: var(--navy); margin-bottom: .4rem; }
.exercise-card p { font-size: .85rem; color: var(--muted); line-height: 1.5; }

/* ── Invite Us ── */
#invite { background: var(--white); }

.invite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.invite-card {
  background: var(--light-blue);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  border-top: 4px solid var(--gold);
  transition: transform .2s, box-shadow .2s;
}

.invite-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }


.invite-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: .6rem;
}

.invite-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
}

.invite-cta {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 12px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.invite-cta p {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  margin: 0;
  flex: 1;
}

/* ── Contact ── */
#contact { background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%); color: var(--white); }

#contact h2 { color: var(--white); }
#contact .section-label { color: var(--gold-light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-text p { opacity: .85; margin-bottom: 2rem; }

.contact-ways { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }

.contact-way {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-size: .95rem;
  opacity: .9;
}

.contact-way svg { color: var(--gold); flex-shrink: 0; }

.contact-form {
  background: rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 2rem;
}

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: .4rem;
  opacity: .9;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .7rem 1rem;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: .95rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder { opacity: .5; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); }

.form-group textarea { resize: vertical; min-height: 110px; }

.form-group select option { background: var(--navy); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Footer ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 2rem;
  font-size: .88rem;
}

footer strong { color: var(--gold); }

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { padding: 0 1rem; }
  .nav-links { gap: 1.2rem; }
  .nav-links a { font-size: .85rem; }

  .contact-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .btn-outline { margin-left: 0; margin-top: .6rem; }

  .event-card { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  section { padding: 60px 1.2rem; }
  nav {
    height: auto;
    flex-wrap: wrap;
    padding: .6rem 1rem;
    gap: .3rem;
    justify-content: center;
  }
  .nav-logo { width: 100%; text-align: center; }
  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: .3rem .8rem;
    padding-bottom: .4rem;
  }
  .nav-links a { font-size: .78rem; }
}
