/* ==========================================================
   MUKI JUDO — pages.css
   All page-specific section styles: Home + Lectures
   ========================================================== */

/* ============================================================
   SHARED SECTION UTILITIES
   ============================================================ */
.section-pad       { padding-block: 80px; }
.section-pad-sm    { padding-block: 60px; }
.section-light     { background-color: var(--color-light-bg); }
.section-navy      { background-color: var(--color-navy); color: var(--color-white); }
.section-judo-blue { background-color: var(--color-judo-blue); color: var(--color-white); }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}
.section-title.on-dark { color: var(--color-white); }

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: #555;
  margin-bottom: 2.5rem;
}
.section-subtitle.on-dark { color: var(--color-text-muted); }

.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-heading); font-size: 0.9375rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  border-radius: var(--radius-button); cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap; text-decoration: none;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background-color: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}
.btn-primary:hover {
  background-color: var(--color-red-hover);
  border-color: var(--color-red-hover);
  box-shadow: 0 6px 20px rgba(192,57,43,0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-teal);
  border-color: var(--color-teal);
}
.btn-secondary:hover {
  background-color: var(--color-teal);
  color: var(--color-white);
}

.btn-lg { padding: 0.9rem 2.25rem; font-size: 1rem; }

.btn-whatsapp {
  background-color: #25D366;
  color: var(--color-white);
  border-color: #25D366;
  gap: 0.5rem;
}
.btn-whatsapp:hover {
  background-color: #1ebe5d;
  border-color: #1ebe5d;
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}
.btn-whatsapp svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ============================================================
   HERO SECTION (shared between Home + Lectures)
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background-color: var(--color-navy);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* Home hero — studio photo */
.hero-section.hero-home {
  background-image: url('../images/hero-home.jpg');
}
/* Lectures hero — stage photo */
.hero-section.hero-lectures {
  background-image: url('../images/hero-lectures.jpg');
  background-position: center 30%;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,22,40,0.88) 0%,
    rgba(10,22,40,0.65) 60%,
    rgba(10,22,40,0.45) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative; z-index: 2;
  padding-block: 120px 80px;
}

.hero-content {
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-teal);
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(0,180,216,0.4);
  border-radius: 100px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--color-white);
  line-height: 0.95;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.hero-title-accent { color: var(--color-teal); display: block; }

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 520px;
}

.hero-cta-group {
  display: flex; gap: 1rem; flex-wrap: wrap;
  align-items: center;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-indicator span {
  display: block; width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); }
}

/* ============================================================
   ACHIEVEMENTS SECTION
   ============================================================ */
.achievements-section {
  background-color: var(--color-navy);
  padding-block: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.achievement-badge {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: 1.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-card);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.2s, background 0.2s;
}
.achievement-badge:hover {
  border-color: rgba(244,197,66,0.3);
  background: rgba(244,197,66,0.05);
}

.badge-icon {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.badge-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge-year {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-gold);
  font-weight: 600;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  padding-block: 80px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.service-card {
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  background-color: var(--color-white);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
}
.service-card-dark {
  background-color: var(--color-judo-blue);
  color: var(--color-white);
  border-color: transparent;
}
.service-card-dark h3 { color: var(--color-white); }
.service-card-dark p  { color: rgba(255,255,255,0.82); }

.service-card-icon {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem; font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-navy);
}
.service-card p {
  font-size: 0.9375rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.service-features {
  margin-bottom: 1.75rem;
}
.service-features li {
  font-size: 0.9rem;
  padding: 0.4rem 0;
  padding-inline-start: 1.5rem;
  position: relative;
  color: inherit;
  opacity: 0.9;
}
.service-features li::before {
  content: '✓';
  position: absolute; inset-inline-start: 0;
  color: var(--color-teal);
  font-weight: 700;
}
.service-card-dark .service-features li::before { color: var(--color-gold); }

/* Service card with background image (JudoClab) */
.service-card-image {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.service-card-image::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(10,22,40,0.78);
  border-radius: inherit;
}
.service-card-image > * { position: relative; z-index: 1; }
.service-card-image h3,
.service-card-image p   { color: var(--color-white); }
.service-card-image p   { opacity: 0.85; }

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  background-color: var(--color-red);
  padding-block: 70px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
  text-align: center;
}

.stat-item { display: flex; flex-direction: column; align-items: center; }

.stat-number-wrap {
  display: flex; align-items: baseline; gap: 0.15rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
}
.stat-plus {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 900;
  color: rgba(255,255,255,0.7);
}
.stat-label {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* ============================================================
   VIDEO SECTION
   ============================================================ */
.video-section { padding-block: 80px; }

.video-wrapper {
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.video-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-judo-blue) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.video-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,180,216,0.12) 0%, transparent 70%);
}
.video-play-btn {
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.2s, transform 0.2s;
  position: relative; z-index: 1;
}
.video-placeholder:hover .video-play-btn {
  background: rgba(0,180,216,0.25);
  transform: scale(1.08);
}
.video-play-btn svg {
  width: 32px; height: 32px;
  color: var(--color-white);
  margin-inline-start: 4px;
}
.video-caption {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative; z-index: 1;
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials-section {
  background-color: var(--color-navy);
  padding-block: 80px;
  overflow: hidden;
}
.testimonials-section .section-title { color: var(--color-white); }

.testimonials-carousel {
  position: relative;
  max-width: 720px;
  margin: 0 auto 2rem;
  overflow: hidden;
}

.testimonial-card {
  display: none;
  padding: 2.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-card);
  animation: fadeInCard 0.4s ease;
}
.testimonial-card.is-active { display: block; }

@keyframes fadeInCard {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.testimonial-card blockquote p {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-card blockquote footer { font-size: 0.875rem; }
.testimonial-card blockquote cite {
  font-style: normal;
  color: var(--color-teal);
  font-weight: 600;
}

.carousel-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 1.5rem;
}
.carousel-btn {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.carousel-btn:hover { background: var(--color-teal); border-color: var(--color-teal); }

.carousel-dots { display: flex; gap: 0.5rem; }
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none; cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: var(--color-teal);
  transform: scale(1.3);
}

/* ============================================================
   FINAL CTA SECTION
   ============================================================ */
.final-cta-section {
  background-color: var(--color-judo-blue);
  padding-block: 90px;
}
.final-cta-section h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--color-white);
  margin-bottom: 1rem;
}
.final-cta-section p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-inline: auto;
}
.final-cta-group {
  display: flex; gap: 1rem; flex-wrap: wrap;
  align-items: center; justify-content: center;
}

/* ============================================================
   LECTURES PAGE — specific sections
   ============================================================ */

/* Two Lectures Cards */
.lectures-cards-section { padding-block: 90px; }

.lectures-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.lecture-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr;
}

.lecture-card-body {
  padding: 2.5rem 2rem;
}
.lecture-card-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.tag-hebrew {
  background: rgba(0,180,216,0.12);
  color: var(--color-teal);
  border: 1px solid rgba(0,180,216,0.3);
}
.tag-english {
  background: rgba(244,197,66,0.12);
  color: var(--color-gold);
  border: 1px solid rgba(244,197,66,0.3);
}
.tag-english-dark {
  background: rgba(244,197,66,0.18);
  color: var(--color-gold);
  border: 1px solid rgba(244,197,66,0.4);
}

.lecture-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.lecture-card-dark h3 { color: var(--color-white); }

.lecture-card-body p {
  font-size: 1rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.lecture-card-dark p { color: rgba(255,255,255,0.82); }

.lecture-bullets {
  display: flex; flex-direction: column; gap: 0.6rem;
  margin-bottom: 2rem;
}
.lecture-bullet {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.9375rem;
  color: #444;
}
.lecture-card-dark .lecture-bullet { color: rgba(255,255,255,0.85); }
.bullet-icon {
  font-size: 1.1rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.lecture-card-light { background-color: var(--color-white); border: 1px solid rgba(0,0,0,0.06); }
.lecture-card-dark  { background-color: var(--color-navy); }

/* Logos Section */
.logos-section { padding-block: 70px; }
.logos-section .section-title { margin-bottom: 0.5rem; }

.logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: center;
  margin-top: 2.5rem;
}
.logo-item {
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
  border-radius: 10px;
  background: var(--color-white);
  border: 1px solid rgba(0,0,0,0.07);
  transition: box-shadow 0.2s;
}
.logo-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.logo-item img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: filter 0.25s;
}
.logo-item:hover img { filter: grayscale(0%) opacity(1); }

/* Topics Section */
.topics-section {
  background-color: var(--color-judo-blue);
  padding-block: 80px;
}
.topics-section .section-title { color: var(--color-white); }
.topics-section .section-subtitle { color: rgba(255,255,255,0.7); }

.topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.topic-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-card);
  border: 1px solid rgba(255,255,255,0.08);
}
.topic-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}
.topic-text h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}
.topic-text p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Contact Form Section */
.lectures-form-section {
  background-color: var(--color-navy);
  padding-block: 90px;
}
.lectures-form-section .section-title { color: var(--color-white); }
.lectures-form-section .section-subtitle { color: rgba(255,255,255,0.65); }

.contact-form {
  max-width: 620px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}
.form-group input,
.form-group textarea {
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-button);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  direction: rtl;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  background: rgba(255,255,255,0.1);
}
.form-group textarea { min-height: 130px; resize: vertical; }

.form-submit-wrap { margin-top: 0.5rem; }
.form-submit-wrap .btn { width: 100%; }

.form-success {
  display: none;
  padding: 1.25rem;
  background: rgba(0,180,216,0.12);
  border: 1px solid rgba(0,180,216,0.3);
  border-radius: var(--radius-card);
  text-align: center;
  color: var(--color-teal);
  font-weight: 600;
  margin-top: 1rem;
}

/* ============================================================
   RESPONSIVE — TABLET (768px+)
   ============================================================ */
@media (min-width: 768px) {
  .achievements-grid { grid-template-columns: repeat(4, 1fr); }
  .services-grid     { grid-template-columns: repeat(2, 1fr); }
  .stats-grid        { grid-template-columns: repeat(4, 1fr); }
  .topics-grid       { grid-template-columns: repeat(2, 1fr); }
  .logos-grid        { grid-template-columns: repeat(4, 1fr); }
  .form-grid         { grid-template-columns: repeat(2, 1fr); }
  .form-group.full   { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE — DESKTOP (992px+)
   ============================================================ */
@media (min-width: 992px) {
  .lectures-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .topics-grid         { grid-template-columns: repeat(2, 1fr); }
  .logos-grid          { grid-template-columns: repeat(5, 1fr); }
}
