/* ═══════════════════════════════════════════════════════════════
   aktfoto.pl — kurs.css
   Style dedykowane stronie kursu fotografii kobiecej
   ═══════════════════════════════════════════════════════════════ */

/* ─── HERO OVERRIDES — kurs ──────────────────────────────────── */
.kurs-overlay {
  background: linear-gradient(
    135deg,
    rgba(12,11,10,0.96) 0%,
    rgba(12,11,10,0.75) 50%,
    rgba(12,11,10,0.5) 100%
  );
}

/* Floating spots badge */
.kurs-spots-badge {
  position: absolute;
  top: 110px;
  right: 2rem;
  z-index: 2;
  background: rgba(12,11,10,0.85);
  border: 1px solid var(--border-strong);
  border-radius: 2rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  backdrop-filter: blur(12px);
  animation: badgePulse 3s ease-in-out infinite;
}
.kurs-spots-badge strong { color: var(--accent-light); }
.spots-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e07070;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(224,112,112,0.25);
  animation: dotPulse 1.5s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(224,112,112,0.25); }
  50%       { box-shadow: 0 0 0 6px rgba(224,112,112,0.1); }
}
@keyframes badgePulse {
  0%, 100% { border-color: var(--border-strong); }
  50%       { border-color: rgba(196,168,130,0.4); }
}
@media (max-width: 767.98px) {
  .kurs-spots-badge { top: 86px; right: 1rem; font-size: 0.72rem; }
}

/* ─── FOR WHOM SECTION ───────────────────────────────────────── */
.section-for-whom {
  padding: 6rem 0;
  background: var(--bg-primary);
}
.for-whom-grid {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.75rem;
}
.for-whom-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.for-whom-item .fas {
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.for-whom-item .fa-check-circle { color: #6dbf8a; }
.for-whom-item--no .fa-times-circle { color: #e07070; }
.for-whom-item--no { color: var(--text-muted); }

/* ─── LEARN SECTION ──────────────────────────────────────────── */
.section-learn {
  padding: 5.5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.learn-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.learn-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196,168,130,0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.learn-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.learn-card:hover::after { opacity: 1; }

.learn-card__number {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(196,168,130,0.08);
  line-height: 1;
  transition: color var(--transition);
}
.learn-card:hover .learn-card__number { color: rgba(196,168,130,0.15); }
.learn-card__icon {
  width: 42px; height: 42px;
  background: rgba(196,168,130,0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 1.1rem;
  transition: background var(--transition), border-color var(--transition);
}
.learn-card:hover .learn-card__icon {
  background: rgba(196,168,130,0.18);
  border-color: var(--accent-dark);
}
.learn-card__title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  line-height: 1.4;
}
.learn-card__desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.78;
}

/* ─── PROGRAM SECTION ────────────────────────────────────────── */
.section-program {
  padding: 5.5rem 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}
.day-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: border-color var(--transition);
}
.day-card:hover { border-color: var(--border-strong); }
.day-card--alt .day-card__header { background: linear-gradient(135deg, rgba(196,168,130,0.07) 0%, transparent 100%); }

.day-card__header {
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.day-card__day {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.day-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.day-card__subtitle {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.day-card__body { padding: 0; }

/* Schedule */
.schedule { display: flex; flex-direction: column; }
.schedule-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.schedule-item:last-child { border-bottom: none; }
.schedule-item:hover { background: rgba(196,168,130,0.025); }
.schedule-item--end { opacity: 0.65; }

.schedule-time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-dark);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  width: 44px;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.schedule-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.schedule-content strong {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}
.schedule-content span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Program note */
.program-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.program-note .fas { color: var(--accent-dark); margin-top: 2px; flex-shrink: 0; }
.program-note p { margin: 0; }

/* ─── INSTRUCTOR SECTION ─────────────────────────────────────── */
.section-instructor {
  padding: 5.5rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.instructor-creds {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 2rem;
}
.cred-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.cred-item .fas {
  width: 36px; height: 36px;
  background: rgba(196,168,130,0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.85rem;
  flex-shrink: 0;
  padding: 0.5rem;
}
.cred-item div { display: flex; flex-direction: column; gap: 0.15rem; padding-top: 2px; }
.cred-item strong { font-size: 0.88rem; font-weight: 500; color: var(--text-primary); }
.cred-item span   { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* ─── DATES TABLE ────────────────────────────────────────────── */
.section-dates {
  padding: 5.5rem 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}
.dates-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.dates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
}
.dates-table thead th {
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.dates-table tbody td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text-secondary);
  background: var(--bg-card);
}
.dates-table tbody tr:last-child td { border-bottom: none; }
.dates-table tbody tr:hover td { background: var(--bg-card-hover); }

.date-row--hot td { background: linear-gradient(135deg, rgba(196,168,130,0.04) 0%, var(--bg-card) 100%); }
.date-badge {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.date-badge--few { background: rgba(224,112,112,0.15); color: #e07070; }
.date-badge--available { background: rgba(107,191,138,0.15); color: #6dbf8a; }

.dates-table strong { display: block; color: var(--text-primary); font-size: 0.92rem; }
.date-day { font-size: 0.75rem; color: var(--text-muted); display: block; margin-top: 0.15rem; }

.variant-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  font-weight: 500;
  white-space: nowrap;
}
.variant-2day   { background: rgba(196,168,130,0.12); color: var(--accent); border: 1px solid var(--border-strong); }
.variant-1day   { background: rgba(107,191,138,0.1);  color: #6dbf8a; border: 1px solid rgba(107,191,138,0.25); }
.variant-private{ background: rgba(150,130,200,0.1);  color: #a090d0; border: 1px solid rgba(150,130,200,0.25); }

/* Spots progress bar */
.spots-bar {
  width: 80px;
  height: 4px;
  background: var(--bg-secondary);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.spots-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  border-radius: 2px;
}
.spots-text { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }

.price-tag {
  font-size: 1rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 400;
}

.btn-date-cta {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}
.btn-date-cta:hover {
  background: var(--accent-light);
  color: var(--bg-primary);
  transform: translateY(-1px);
}

/* Responsive table */
@media (max-width: 767.98px) {
  .dates-table thead { display: none; }
  .dates-table tbody tr { display: block; border-bottom: 1px solid var(--border); }
  .dates-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: none;
  }
  .dates-table tbody td::before {
    content: attr(data-label);
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    flex-shrink: 0;
    margin-right: 1rem;
  }
}

/* ─── PRICING NOTE ───────────────────────────────────────────── */
.pricing-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.pricing-note .fas { color: var(--accent-dark); margin-top: 2px; flex-shrink: 0; }
.pricing-note p { margin: 0; }

/* ─── REGISTRATION SECTION ───────────────────────────────────── */
.section-registration {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}
.course-includes-box {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .section-for-whom { padding: 4rem 0; }
  .section-learn     { padding: 4rem 0; }
  .section-program   { padding: 4rem 0; }
}
@media (max-width: 575.98px) {
  .day-card__header { padding: 1.5rem; }
  .schedule-item { padding: 0.85rem 1.25rem; }
  .learn-card { padding: 1.5rem 1.25rem; }
}
