/* =========================================================
   GEODATIS MODULE 03 PROGRAM REGULER — ISOLATED STYLING
   Theme: Vibrant Modern Tech, Geodatis Teal & Multi-Accent
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  /* GEODATIS Brand Palette */
  --geo-teal: #14A096;               /* Primary Geodatis Teal */
  --geo-teal-dark: #0E726B;          /* Deep Teal */
  --geo-teal-light: #E6F6F5;         /* Light Teal Tint Background */
  --geo-teal-glow: rgba(20, 160, 150, 0.3);

  /* Kelas Bisa Cyan Accent */
  --kb-cyan: #06B6D4;                /* Electric Cyan Accent */
  --kb-cyan-dark: #0284C7;
  --kb-cyan-glow: rgba(6, 182, 212, 0.35);
  --kb-cyan-soft: #ECFEFF;

  /* Additional Vibrant Accents (Anti-Monoton) */
  --indigo-accent: #6366F1;
  --purple-accent: #8B5CF6;
  --amber-accent: #F59E0B;

  /* Bright Background Palette */
  --geo-bg: #F8FAFC;                /* Clean Canvas Light Background */
  --geo-card-bg: #FFFFFF;           /* Crisp White Card Base */
  --geo-dark-obsidian: #0F172A;     /* Deep Slate Text/Header */
  --geo-text-main: #1E293B;         /* High-Contrast Body Text */
  --geo-text-muted: #64748B;       /* Muted Subtitles */
  --geo-border: #E2E8F0;           /* Soft Border Divider */

  /* Radius & Transitions */
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 16px 32px rgba(20, 160, 150, 0.12);
  --transition-bounce: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* BASE RESET & CONTAINER */
body {
  background-color: var(--geo-bg);
  color: var(--geo-text-main);
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.geodatis-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* BADGES */
.badge-emerald {
  background: var(--geo-teal-light);
  color: var(--geo-teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid rgba(20, 160, 150, 0.3);
  display: inline-block;
  box-shadow: 0 0 10px var(--geo-teal-glow);
}

.badge-dark {
  background: var(--geo-dark-obsidian);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.badge-accent {
  background: linear-gradient(135deg, var(--geo-teal) 0%, var(--kb-cyan) 100%);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 30px;
  box-shadow: 0 4px 12px var(--kb-cyan-glow);
  display: inline-block;
}

/* =========================================================
   1. HERO STAGE & HORIZONTAL POSTER GRID
   ========================================================= */
.reguler-hero {
  background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.15) 0%, transparent 60%),
              linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
  padding: 56px 0 64px 0;
  border-bottom: 2px solid var(--geo-border);
}

.hero-text-block.text-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px auto;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.18;
  margin: 12px 0 10px 0;
  letter-spacing: -0.8px;
  color: var(--geo-dark-obsidian);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--geo-text-muted);
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.hero-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--geo-teal-dark);
  background: #FFFFFF;
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid rgba(20, 160, 150, 0.3);
  box-shadow: var(--shadow-sm);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--kb-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--kb-cyan);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(6, 182, 212, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

/* POSTER GRID HORIZONTAL SYSTEM */
.poster-grid-wrapper {
  margin-top: 24px;
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.domino-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--geo-border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  aspect-ratio: 3/4;
}

.domino-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--geo-teal);
  box-shadow: var(--shadow-hover);
}

.domino-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.domino-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.9) 100%);
  padding: 16px 12px 12px 12px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.domino-overlay h4 {
  margin: 4px 0 0 0;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.3;
}

/* =========================================================
   2. SECTION GENERAL & KATALOG PROGRAM (2 KOLOM WIDE)
   ========================================================= */
.geodatis-section {
  padding: 64px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px auto;
}

.section-header h2 {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--geo-dark-obsidian);
  margin: 0 0 10px 0;
  letter-spacing: -0.6px;
}

.section-header p {
  color: var(--geo-text-muted);
  font-size: 0.96rem;
  margin: 0;
}

/* KATALOG GRID 2 KOLOM WIDE CARDS */
.katalog-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.katalog-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1.5px solid var(--geo-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* VARIASI WARNA AKSEN ATAS (DYNAMISM) */
.katalog-card:nth-child(1) { border-top: 5px solid var(--geo-teal); }
.katalog-card:nth-child(2) { border-top: 5px solid var(--kb-cyan); }
.katalog-card:nth-child(3) { border-top: 5px solid var(--indigo-accent); }
.katalog-card:nth-child(4) { border-top: 5px solid var(--purple-accent); }
.katalog-card:nth-child(5) { border-top: 5px solid var(--amber-accent); }

.katalog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-head-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.prog-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--geo-dark-obsidian);
  margin: 0 0 12px 0;
}

.prog-freq {
  background: var(--geo-bg);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--geo-dark-obsidian);
  margin-bottom: 16px;
  border: 1px solid var(--geo-border);
}

.prog-desc {
  font-size: 0.92rem;
  color: var(--geo-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   3. RANGKUMAN FASILITAS GRID
   ========================================================= */
.light-accent-bg {
  background: var(--geo-teal-light);
  border-top: 1px solid rgba(20, 160, 150, 0.15);
  border-bottom: 1px solid rgba(20, 160, 150, 0.15);
}

.fasilitas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.fasilitas-card {
  background: #FFFFFF;
  border: 1.5px solid var(--geo-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
}

.fasilitas-card:hover {
  transform: translateY(-4px);
  border-color: var(--geo-teal);
}

.fasilitas-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: linear-gradient(135deg, var(--geo-teal) 0%, var(--kb-cyan) 100%);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 900;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px var(--geo-teal-glow);
}

.fasilitas-body h4 {
  margin: 0 0 6px 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--geo-dark-obsidian);
}

.fasilitas-body p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--geo-text-muted);
  line-height: 1.5;
}

/* =========================================================
   4. STANDALONE CTA KATALOG EVENT ACTIVE
   ========================================================= */
.cta-event-section {
  padding: 60px 0;
}

.cta-event-card {
  background: linear-gradient(135deg, var(--geo-dark-obsidian) 0%, #1E293B 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  color: #FFFFFF;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.15);
}

.cta-event-info h2 {
  font-size: 1.8rem;
  font-weight: 900;
  color: #FFFFFF;
  margin: 12px 0 8px 0;
  letter-spacing: -0.5px;
}

.cta-event-info p {
  font-size: 0.95rem;
  color: #94A3B8;
  margin: 0;
  max-width: 620px;
}

.btn-event-katalog {
  background: linear-gradient(135deg, var(--geo-teal) 0%, var(--kb-cyan) 100%);
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 16px 32px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  box-shadow: 0 6px 20px var(--geo-teal-glow);
  transition: var(--transition-bounce);
}

.btn-event-katalog:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(6, 182, 212, 0.4);
}

/* =========================================================
   5. LIGHTBOX / POPUP MODAL STYLING
   ========================================================= */
.poster-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.poster-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.poster-modal-content {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 780px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.poster-modal-overlay.active .poster-modal-content {
  transform: scale(1);
}

.btn-close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--geo-dark-obsidian);
  color: #FFFFFF;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.btn-close-modal:hover {
  background: #EF4444;
  transform: scale(1.1);
}

.modal-body-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.modal-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-info-wrapper {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-info-wrapper h3 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--geo-dark-obsidian);
  margin: 12px 0 8px 0;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--geo-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
  .katalog-grid-2col {
    grid-template-columns: 1fr;
  }

  .cta-event-card,
  .modal-body-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-event-card {
    flex-direction: column;
  }
}
