/* ═══════════════════════════════════════════════
   SHAOLIN WARRIOR — Summer Camp Page Styles
   ═══════════════════════════════════════════════ */

/* ─── PAGE HEADER ─── */
.camp-header {
  background:
    linear-gradient(155deg, rgba(26,18,11,0.90) 0%, rgba(155,28,28,0.65) 100%),
    url('summer-camp/IMG_7820.JPG') center 40% / cover no-repeat;
  padding: 140px 8% 72px;
  margin-top: 72px;
  position: relative;
}
.camp-header .section-tag { color: var(--gold-lt); margin-bottom: 12px; display: block; }
.camp-header h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700; color: #fff; line-height: 1.1; margin-bottom: 16px;
}
.camp-header h1 span { color: var(--gold-lt); }
.camp-header p {
  font-family: 'Noto Serif', serif; font-style: italic;
  color: rgba(245,237,216,0.85); font-size: 1.1rem;
  max-width: 580px; line-height: 1.7;
}
.header-badges {
  display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px;
}
.header-badge {
  background: rgba(201,147,58,0.2);
  border: 1px solid var(--gold);
  color: var(--gold-lt);
  padding: 7px 18px; font-family: 'Cinzel', serif;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 2px;
}


/* ─── CAMP WEEKS ─── */
#camp-weeks {
  background: var(--cream);
  padding: 80px 24px;
}
#camp-weeks .section-inner { max-width: 1100px; margin: 0 auto; }
#camp-weeks .section-tag { color: var(--crimson); }
#camp-weeks .section-title { color: var(--ink); }
#camp-weeks .section-title span { color: var(--crimson); }
#camp-weeks .title-rule {
  background: linear-gradient(90deg, var(--crimson), var(--gold));
}

.pricing-note {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: var(--ink);
  border: 1px solid rgba(201,147,58,0.35);
  border-radius: 3px;
  padding: 16px 22px; margin-bottom: 48px;
}
.pricing-note .price-main {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem; font-weight: 700; color: var(--gold-lt);
}
.pricing-note .price-main small {
  font-size: 0.72rem; color: rgba(245,237,216,0.5);
  font-family: 'Noto Sans', sans-serif; display: block;
  letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px;
}
.pricing-note .divider {
  width: 1px; height: 40px; background: rgba(201,147,58,0.3);
}
.pricing-note .sibling-disc {
  color: rgba(245,237,216,0.75); font-size: 0.9rem;
}
.pricing-note .sibling-disc strong { color: var(--gold-lt); }
.pricing-note .register-link {
  margin-left: auto;
}

.weeks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.week-card {
  background: #fff;
  border: 1px solid rgba(201,147,58,0.25);
  border-top: 3px solid var(--gold);
  padding: 28px 24px;
  box-shadow: 0 2px 12px var(--shadow);
  transition: box-shadow .25s, border-color .25s, transform .25s;
  position: relative;
}
.week-card:hover {
  box-shadow: 0 6px 24px var(--shadow);
  border-color: rgba(201,147,58,0.55);
  transform: translateY(-4px);
}
.week-number {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--crimson); margin-bottom: 8px; display: block;
}
.week-dates {
  font-family: 'Cinzel', serif; font-size: 1.05rem; font-weight: 600;
  color: var(--ink); margin-bottom: 18px; display: block;
}
.weapon-theme {
  margin-bottom: 16px;
}
.weapon-label {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--warm-mid); display: block; margin-bottom: 6px;
  font-family: 'Cinzel', serif;
}
.weapon-choices {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.weapon-choice {
  background: rgba(155,28,28,0.08);
  border: 1px solid rgba(155,28,28,0.3);
  color: var(--ink); font-size: 0.8rem;
  padding: 4px 12px; border-radius: 2px;
}
.weapon-or {
  font-size: 0.7rem; color: var(--warm-mid);
  font-style: italic; font-family: 'Noto Serif', serif;
}
.week-includes {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--parchment);
  display: flex; gap: 8px; flex-wrap: wrap;
}
.week-tag {
  font-size: 0.73rem; background: var(--parchment);
  color: var(--warm-mid); padding: 3px 9px; border-radius: 2px;
}
.chinese-chars {
  font-size: 0.75rem; color: rgba(122,92,58,0.45);
  margin-top: 10px; display: block; letter-spacing: 0.1em;
}

/* ─── PHOTO GALLERY ─── */
#camp-gallery {
  background: #fff;
  padding: 80px 24px;
}
#camp-gallery .section-inner { max-width: 1100px; margin: 0 auto; }
.camp-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 10px;
  margin-top: 48px;
}
/* Featured photos span more columns/rows */
.camp-photo-grid .photo-feat-wide { grid-column: span 2; }
.camp-photo-grid .photo-feat-tall { grid-row: span 2; }
.camp-photo-item {
  overflow: hidden; position: relative; cursor: pointer;
  background: var(--ink);
}
.camp-photo-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease, filter .4s ease;
  filter: brightness(0.92) saturate(1.05);
}
.camp-photo-item:hover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.15);
}
.camp-photo-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,18,11,0.45) 0%, transparent 50%);
  pointer-events: none;
}

/* ─── LIGHTBOX ─── */
#lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,6,3,0.93);
  align-items: center; justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 90vw; max-height: 88vh;
  object-fit: contain; border: 2px solid rgba(201,147,58,0.3);
}
#lightbox-close {
  position: absolute; top: 22px; right: 28px;
  font-size: 1.8rem; color: var(--gold-lt); cursor: pointer;
  background: none; border: none; line-height: 1; z-index: 10000;
}
#lightbox-prev, #lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(201,147,58,0.15); border: 1px solid rgba(201,147,58,0.3);
  color: var(--gold-lt); font-size: 1.5rem;
  padding: 12px 18px; cursor: pointer; z-index: 10000;
  transition: background .2s;
}
#lightbox-prev { left: 16px; }
#lightbox-next { right: 16px; }
#lightbox-prev:hover, #lightbox-next:hover { background: rgba(201,147,58,0.3); }

/* ─── DETAILS ─── */
#camp-details {
  background: var(--cream);
  padding: 80px 24px;
}
#camp-details .section-inner { max-width: 1100px; margin: 0 auto; }
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 52px;
}
.details-block {
  background: #fff;
  border-top: 3px solid var(--crimson);
  padding: 32px 30px;
  box-shadow: 0 2px 14px var(--shadow);
}
.details-block h3 {
  font-family: 'Cinzel', serif; font-size: 1rem;
  color: var(--ink); margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--parchment);
}
.detail-row {
  display: flex; gap: 12px;
  margin-bottom: 14px; align-items: flex-start;
}
.detail-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.detail-row p { font-size: 0.9rem; color: #5a4232; line-height: 1.6; margin: 0; }
.detail-row p strong { color: var(--ink); }

/* ─── POLICIES ─── */
#camp-policies {
  background: var(--ink);
  padding: 80px 24px;
}
#camp-policies .section-inner { max-width: 1000px; margin: 0 auto; }
#camp-policies .section-tag { color: var(--gold-lt); }
#camp-policies .section-title { color: var(--parchment); }
#camp-policies .section-title span { color: var(--gold-lt); }
#camp-policies .title-rule { background: linear-gradient(90deg, var(--gold), var(--crimson)); }

.policies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 44px;
}
.policy-block {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,147,58,0.2);
  padding: 26px 26px;
}
.policy-block h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(201,147,58,0.2);
}
.policy-block ul {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
}
.policy-block li {
  font-size: 0.875rem; color: rgba(245,237,216,0.7);
  padding-left: 14px; position: relative; line-height: 1.6;
}
.policy-block li::before {
  content: '·'; position: absolute; left: 0;
  color: var(--gold); font-size: 1rem;
}
.policy-block li strong { color: var(--parchment); }
.policy-block li.policy-alert { color: rgba(245,237,216,0.9); }
.policy-block li.policy-alert strong { color: #f4a3a3; }

/* ─── CTA ─── */
#camp-cta {
  background:
    linear-gradient(155deg, rgba(155,28,28,0.92) 0%, rgba(26,18,11,0.95) 100%),
    url('golden-sunset.png') center / cover no-repeat;
  text-align: center; padding: 88px 24px;
}
#camp-cta .section-tag { color: var(--gold-lt); }
#camp-cta h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--parchment); margin: 16px 0 36px;
}
.cta-info {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
  max-width: 680px; margin: 0 auto;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(201,147,58,0.3);
}
.cta-info-block {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 28px 36px; flex: 1; min-width: 240px;
}
.cta-info-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.cta-info-block strong {
  font-family: 'Cinzel', serif; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-lt); display: block; margin-bottom: 6px;
}
.cta-info-block p {
  color: rgba(245,237,216,0.75); font-size: 0.92rem;
  margin: 0; line-height: 1.6;
}
.cta-info-block a {
  color: var(--gold-lt); text-decoration: none; white-space: nowrap;
}
.cta-info-block a:hover { text-decoration: underline; }
.cta-divider {
  width: 1px; align-self: stretch;
  background: rgba(201,147,58,0.25);
}
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── RESPONSIVE ─── */
@media(max-width: 960px) {
  .camp-highlights { grid-template-columns: repeat(2, 1fr); }
  .weeks-grid { grid-template-columns: repeat(2, 1fr); }
  .details-grid { grid-template-columns: 1fr; }
  .policies-grid { grid-template-columns: 1fr; }
  .camp-photo-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }
  .camp-photo-grid .photo-feat-wide { grid-column: span 2; }
}
@media(max-width: 640px) {
  .camp-header { padding: 110px 6% 56px; }
  .camp-highlights { grid-template-columns: 1fr; }
  .weeks-grid { grid-template-columns: 1fr; }
  .pricing-note { flex-direction: column; align-items: flex-start; }
  .pricing-note .register-link { margin-left: 0; }
  .camp-photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .camp-photo-grid .photo-feat-wide { grid-column: span 1; }
  .camp-photo-grid .photo-feat-tall { grid-row: span 1; }
  .header-badges { flex-direction: column; }
}
