/* ============================================
   Markham Pickleball PH — Stylesheet
   Theme: Pickleball green/yellow + PH flag accents
   ============================================ */

:root {
  /* ── Logo 3-color palette ── */
  --ph-blue:   #2868C0;   /* logo royal blue   */
  --ph-red:    #CC3E65;   /* logo rose-crimson  */
  --ph-yellow: #C8A82A;   /* logo golden yellow */

  /* Alias the old green variables to logo colors so existing rules auto-update */
  --pb-green:      #CC3E65;   /* accent / CTA  → rose */
  --pb-green-dark: #2868C0;   /* primary dark  → blue */
  --pb-yellow:     #C8A82A;

  --text-dark:  #16202e;
  --text-muted: #5a6280;
  --bg-light:   #f7f8fc;
  --bg-alt:     #edf0f8;
  --white:      #ffffff;
  --border:     #dde2ef;

  --radius: 14px;
  --shadow:       0 10px 30px rgba(40, 104, 192, 0.08);
  --shadow-hover: 0 16px 40px rgba(40, 104, 192, 0.14);
  --transition: all 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pb-green), #a82e50);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(204, 62, 101, 0.30);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(204, 62, 101, 0.42);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--pb-green-dark);
  flex-shrink: 0;
}
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.brand-text em { font-style: normal; color: var(--ph-red); }

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}
.main-nav a:hover,
.main-nav a.active { color: var(--pb-green-dark); }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--pb-green);
  transition: var(--transition);
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 130px 0 90px;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(200, 168, 42, 0.28), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(204, 62, 101, 0.28), transparent 45%),
    linear-gradient(135deg, #1a3e80, var(--ph-blue) 60%, #1e50a8);
  z-index: -1;
}
.hero-content { text-align: center; max-width: 820px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero-stats div { display: flex; flex-direction: column; align-items: center; }
.hero-stats strong { font-size: 1.8rem; color: var(--ph-yellow); }
.hero-stats span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.8); }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.tag {
  display: inline-block;
  color: var(--pb-green-dark);
  background: rgba(40, 104, 192, 0.10);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 16px; }
.section-desc { color: var(--text-muted); font-size: 1.02rem; }

/* ===== Cards Grid (About) ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card-icon {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pb-green), #a82e50);
  color: var(--white);
  font-size: 1.4rem;
}
.card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== Schedule ===== */
.schedule-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.schedule-card h3 {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  color: var(--pb-green-dark);
}
.schedule-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pb-green-dark);
  background: rgba(40, 104, 192, 0.08);
  border-left: 3px solid var(--pb-green);
  padding: 7px 12px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 6px;
}
.schedule-section-label--alt { margin-top: 18px; }

.schedule-rules {
  margin-top: 20px;
  padding: 16px 18px;
  background: #fffbf0;
  border: 1px solid #f0d98a;
  border-radius: 10px;
}
.schedule-rules-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #8a6800;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.schedule-rules ul {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.schedule-rules ul li {
  font-size: 0.84rem;
  color: var(--text-muted);
  border: none;
  padding: 0;
}
.schedule-list li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  flex-wrap: wrap;
  gap: 6px;
}
.schedule-list li:last-child { border-bottom: none; }
.schedule-list li span:first-child { color: var(--pb-green-dark); font-weight: 700; min-width: 100px; }
.schedule-list li span:last-child { color: var(--text-muted); }
.schedule-note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
}
.schedule-note a { color: var(--pb-green-dark); font-weight: 600; }

/* ===== Coaching ===== */
.coaching-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.coaching-info { display: flex; flex-direction: column; gap: 26px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item i {
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--white);
  color: var(--pb-green-dark);
  font-size: 1.15rem;
  box-shadow: var(--shadow);
}
.info-item h4 { margin-bottom: 4px; font-size: 1.02rem; }
.info-item p { color: var(--text-muted); font-size: 0.92rem; }

.coaching-form, .contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.coaching-form h3, .contact-form h3 { margin-bottom: 22px; color: var(--pb-green-dark); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg-light);
  transition: var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ph-blue);
  background: var(--white);
}
.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 20px;
}
.form-status.success { color: var(--pb-green-dark); }
.form-status.error { color: var(--ph-red); }

/* ===== Announcements ===== */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover { border-color: var(--pb-green); color: var(--pb-green-dark); }
.filter-btn.active {
  background: var(--pb-green-dark);
  border-color: var(--pb-green-dark);
  color: var(--white);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.event-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.event-card.hidden { display: none; }

.event-badge {
  position: absolute;
  top: -10px; left: 24px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
}
.badge-clinic { background: var(--pb-green-dark); }
.badge-tournament { background: var(--ph-red); }
.badge-social { background: var(--ph-blue); }

.event-date {
  display: flex; flex-direction: column; align-items: center;
  width: 64px; margin-bottom: 16px;
  border-radius: 10px;
  background: var(--bg-alt);
  padding: 8px 0;
}
.event-date strong { font-size: 0.75rem; color: var(--ph-red); letter-spacing: 0.05em; }
.event-date span { font-size: 1.4rem; font-weight: 800; color: var(--pb-green-dark); }

.event-body h3 { font-size: 1.08rem; margin-bottom: 10px; }
.event-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}

.events-note {
  text-align: center;
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.events-note a { color: var(--pb-green-dark); font-weight: 600; text-decoration: underline; }

/* ===== Contact ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.contact-card:not(.contact-card-static):hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.contact-card i {
  width: 48px; height: 48px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--pb-green-dark);
  font-size: 1.2rem;
}
.contact-card h4 { font-size: 0.98rem; margin-bottom: 3px; }
.contact-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ===== Footer ===== */
.site-footer {
  background: #0d1428;
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 0;
}
.footer-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .brand-text { color: var(--white); font-size: 1.1rem; font-weight: 700; }
.footer-brand .brand-text em { color: var(--ph-yellow); font-style: normal; }
.footer-brand p { margin-top: 12px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); max-width: 280px; }

.footer-links h4, .footer-social h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  color: var(--pb-yellow);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.92rem; color: rgba(255, 255, 255, 0.75); transition: var(--transition); }
.footer-links a:hover { color: var(--white); }

.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: var(--transition);
}
.social-icons a:hover { background: var(--pb-green); transform: translateY(-3px); }

.footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom i { color: var(--ph-red); }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--pb-green-dark);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--pb-green); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .events-grid { grid-template-columns: 1fr 1fr; }
  .coaching-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .footer-wrap { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--tall { grid-row: span 1; }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 0; width: 100%; text-align: center; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .grid-3 { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-wrap { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .footer-links, .social-icons { align-items: center; }
  .social-icons { justify-content: center; }
  .schedule-list li { flex-direction: column; align-items: flex-start; }
  .team-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--tall, .gallery-item--wide { grid-column: span 1; grid-row: span 1; }
  .join-card { flex-direction: column; text-align: center; }
  .join-actions { justify-content: center; }
  .join-flags { font-size: 3rem; }
}

/* ===== Nearby Courts ===== */
.courts-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  margin-top: 32px;
}
.courts-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pb-green-dark);
  margin-bottom: 10px;
}
.courts-intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.courts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.court-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 16px;
  transition: var(--transition);
}
.court-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.court-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #fffbe6, #fff0a0);
  color: #c47f00;
  font-size: 1.1rem;
}
.court-info h4 { font-size: 1rem; margin-bottom: 6px; }
.court-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 10px;
}
.court-info p i { margin-top: 3px; flex-shrink: 0; color: var(--ph-red); }

.court-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.court-badge--whitby  { background: #e0f0ff; color: #1a5fa8; }
.court-badge--scarborough { background: #ffe8e0; color: #a83215; }
.court-badge--toronto { background: #dce8f8; color: var(--pb-green-dark); }

.court-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--pb-green-dark);
  border: 1.5px solid var(--pb-green-dark);
  padding: 5px 12px;
  border-radius: 999px;
  transition: var(--transition);
}
.court-link:hover { background: var(--pb-green-dark); color: var(--white); }

@media (max-width: 640px) {
  .courts-grid { grid-template-columns: 1fr; }
}

/* ===== Nearby Courts ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 22px 26px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.team-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d8e6f8, #b0c8ee);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 18px;
  border: 3px solid var(--border);
}
.team-avatar--join {
  background: linear-gradient(135deg, var(--pb-yellow), #f0a800);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
}

.team-card h3 { font-size: 1.08rem; margin-bottom: 4px; }
.team-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pb-green-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.team-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}
.team-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.team-badges span {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(40, 104, 192, 0.08);
  color: var(--pb-green-dark);
  border: 1px solid rgba(40, 104, 192, 0.20);
}
.btn-outline-green {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid var(--pb-green-dark);
  color: var(--pb-green-dark);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  margin-top: 8px;
}
.btn-outline-green:hover { background: var(--pb-green-dark); color: var(--white); }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; }
.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }

.gallery-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #dde6f8, #c4d4f0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--pb-green-dark);
  cursor: pointer;
  transition: var(--transition);
}
.gallery-placeholder:hover { background: linear-gradient(135deg, #c4d4f0, #a8bce8); }
.gallery-placeholder i { font-size: 2rem; opacity: 0.7; }
.gallery-placeholder span { font-size: 0.85rem; font-weight: 600; opacity: 0.85; }

.gallery-note {
  text-align: center;
  margin-top: 30px;
  font-size: 0.95rem;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 24px;
  display: inline-block;
  width: 100%;
}
.gallery-note strong { color: var(--pb-green-dark); }

/* ===== Join CTA ===== */
.join-section { background: linear-gradient(135deg, #1a3e80, var(--ph-blue)); padding: 70px 0; }
.join-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.join-content { flex: 1; color: var(--white); }
.join-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.join-content p { color: rgba(255,255,255,0.85); margin-bottom: 28px; max-width: 600px; }
.tag-white {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}
.join-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-white {
  background: var(--white);
  color: var(--ph-blue);
  border-color: var(--white);
  font-weight: 700;
}
.btn-white:hover { background: var(--bg-light); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 999px;
  transition: var(--transition);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }
.join-flags { font-size: 5rem; display: flex; gap: 12px; flex-shrink: 0; }

/* ===== Scroll reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
