/* Landing page shared styles (SIOS, and future event LPs) */

.lp-hero { line-height: 0; }

.lp-hero-banner {
  width: 100%;
  height: auto;
  display: block;
}

.lp-info {
  background: #f4f6fb;
  padding: 48px 0;
}

.lp-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.lp-info-card {
  background: linear-gradient(160deg, #2f6fc9, #1a4fa0);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.lp-info-card-location { gap: 4px; }

.lp-pin { font-size: 20px; }

.lp-info-label {
  font-weight: 700;
  font-size: 15px;
}

.lp-info-value {
  font-size: 14px;
  opacity: 0.95;
}

.lp-info-value.small { font-size: 12px; }

.lp-about {
  max-width: 820px;
  text-align: center;
  color: #222;
}

.lp-about h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px;
}

.lp-about p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 16px;
  color: #444;
}

.lp-about .btn { margin-top: 12px; }

.lp-countdown {
  background: var(--purple-dark);
  padding: 48px 0;
  text-align: center;
}

.lp-countdown h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 28px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 28px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}

.countdown-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--pink-light);
}

.countdown-label {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 4px;
}

.lp-program, .lp-pricing {
  background: var(--white);
  padding: 56px 0;
}

.lp-program h2, .lp-pricing h2, .lp-speakers h2, .lp-gallery h2 {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #222;
  margin: 0 0 32px;
}

.lp-table-wrap {
  overflow-x: auto;
  margin-bottom: 28px;
}

.lp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 640px;
}

.lp-table th {
  background: var(--purple-dark);
  color: var(--white);
  text-align: left;
  padding: 12px 14px;
  font-weight: 600;
}

.lp-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  color: #333;
}

.lp-table tbody tr:nth-child(even) { background: #f8f8fb; }

.lp-table-break td {
  font-style: italic;
  color: #888;
  background: #fafafa;
}

.lp-table-highlight td {
  background: #fdeef2;
  font-weight: 600;
}

.lp-table-pricing th, .lp-table-pricing td { text-align: center; }
.lp-table-pricing th:first-child, .lp-table-pricing td:first-child { text-align: left; }

.lp-speakers {
  background: #f4f6fb;
  padding: 56px 0;
}

.lp-speakers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lp-speaker-card {
  background: var(--white);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.lp-speaker-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  margin: 0 auto 12px;
  display: block;
}

.lp-speaker-name {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  margin: 0 0 6px;
}

.lp-speaker-flag {
  font-size: 12px;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
}

.lp-speaker-flag img { width: 18px; height: auto; border-radius: 2px; }

.lp-pricing .btn { display: block; width: fit-content; margin: 0 auto; }
.lp-program .lp-table-wrap { margin-top: 8px; }

.lp-gallery {
  background: var(--white);
  padding: 56px 0;
}

.lp-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 45px;
  grid-auto-flow: dense;
  gap: 8px;
}

.lp-mosaic-item {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  cursor: zoom-in;
}

.lp-mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  transition: transform 0.3s ease;
}

.lp-mosaic-item:hover img {
  transform: scale(1.06);
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 25, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.lightbox-overlay.open { display: flex; }

.lightbox-image {
  max-width: 88vw;
  max-height: 86vh;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-close {
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 26px;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 30px;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 13px;
  opacity: 0.8;
  letter-spacing: 0.5px;
}

@media (max-width: 860px) {
  .lp-info-grid { grid-template-columns: 1fr 1fr; }
  .lp-speakers-grid { grid-template-columns: 1fr 1fr; }
  .lp-mosaic-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .lp-mosaic-item { grid-column: span 1 !important; grid-row: span 1 !important; }
  .countdown { gap: 12px; }
  .countdown-number { font-size: 28px; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 22px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; }
}
