/* ===========================================
   Pages CSS - Multi-page specific styles
   =========================================== */

/* ===========================================
   Explore Cards (Home Page)
   =========================================== */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.explore-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
  height: 320px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.explore-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(11, 29, 51, 0.25);
}

.explore-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.explore-card:hover .explore-card-bg {
  transform: scale(1.05);
}

.explore-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(11, 29, 51, 0.85) 0%,
    rgba(11, 29, 51, 0.3) 50%,
    rgba(11, 29, 51, 0.1) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.explore-card-overlay h3 {
  font-size: 28px;
  margin-bottom: 6px;
  color: var(--white);
}

.explore-card-overlay p {
  font-size: 14px;
  font-weight: 300;
  opacity: 0.8;
  margin-bottom: 16px;
}

.explore-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  transition: gap 0.3s ease;
}

.explore-card:hover .explore-card-cta {
  gap: 12px;
}

.explore-card-cta svg {
  width: 16px;
  height: 16px;
}

/* ===========================================
   Video Grid (Resources Page)
   =========================================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 48px auto 0;
}

.video-grid iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: none;
}

/* ===========================================
   Reference Card (Resources Page)
   =========================================== */
.ref-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid var(--light-bg);
}

.ref-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--cream);
  border-radius: 50%;
  margin-bottom: 20px;
  color: var(--sky);
}

.ref-card-icon svg {
  width: 24px;
  height: 24px;
}

.ref-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  text-transform: none;
}

.ref-card p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-weight: 300;
  font-size: 16px;
}

.ref-card-cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.ref-card-cta:hover {
  background: var(--navy-slate);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===========================================
   Responsive - Pages
   =========================================== */
@media (max-width: 768px) {
  .explore-grid {
    grid-template-columns: 1fr;
  }

  .explore-card {
    height: 260px;
  }

  .explore-card-overlay h3 {
    font-size: 24px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .ref-card {
    padding: 32px 24px;
  }
}
