/* ═══════════════════════════════════════════
   quick-cards.css — Quick link cards below hero
   Change this file to update: the 5 feature
   cards (Explore, Tours, Deals, Guides, Flights)
═══════════════════════════════════════════ */

.quick-wrap {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  max-width: 1200px;
  margin: -36px auto 0;
  padding: 0 32px;
}

/* ── Glass card ── */
.q-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;

  /* Glassmorphism */
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);

  /* Floating shadow + soft purple glow */
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 40px rgba(139, 92, 246, 0.08);

  transition:
    transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.32s ease,
    border-color 0.32s ease,
    background 0.32s ease;
}

/* Mouse-follow radial light — positioned via JS */
.q-card::before {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.18) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  left: var(--mx, 50%);
  top: var(--my, 50%);
  z-index: 0;
}

.q-card:hover::before {
  opacity: 1;
}

/* Hover state */
.q-card:hover {
  transform: translateY(-8px) scale(1.03);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(139, 92, 246, 0.15),
    0 0 60px rgba(139, 92, 246, 0.20);
}

/* ── Icon container ── */
.q-ico {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.q-card:hover .q-ico {
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Icon backgrounds — keep original colours, add glow */
.ico-g  { background: linear-gradient(135deg, #d1fae5, #6ee7b7); }
.ico-b  { background: linear-gradient(135deg, #dbeafe, #93c5fd); }
.ico-o  { background: linear-gradient(135deg, #fee2e2, #fca5a5); }
.ico-p  { background: linear-gradient(135deg, #ede9fe, #c4b5fd); }
.ico-sky{ background: linear-gradient(135deg, #e0f2fe, #7dd3fc); }

/* ── Text ── */
.q-card > div:not(.q-ico) {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.q-card h4 {
  font-size: 13px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 5px;
  letter-spacing: -0.1px;
  line-height: 1.2;
}

.q-card p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.45;
}

/* ── Arrow ── */
.q-arrow {
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  position: relative;
  z-index: 1;
}

.q-card:hover .q-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .quick-wrap {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .quick-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 16px;
    margin-top: -20px;
  }
  .q-ico { width: 44px; height: 44px; font-size: 20px; }
  .q-card { padding: 16px 14px; gap: 11px; }
}
