/* ==========================================================================
   The Smiles Genius Corp - Bootstrap 5 Theme Stylesheet
   ========================================================================== */

:root {
  --bg-dark: #000000;
  --bg-gradient-end: #0b1325;
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.1);
  --text-primary: #f8fafc;
  --text-muted: #94a3b8;
  --emerald-accent: #10b981;
  --sky-accent: #38bdf8;
  --amber-accent: #f59e0b;
  --purple-accent: #a855f7;
}

body {
  background-color: #000000;
  color: var(--text-primary);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

.main-gradient-wrapper {
  background: linear-gradient(180deg, #000000 0%, #0b1325 350px, #0b1325 100%);
  position: relative;
}

/* Ambient background lighting */

.bg-ambient-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
  background: linear-gradient(180deg, rgba(147, 51, 234, 0.1) 0%, rgba(11, 15, 25, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

.bg-blur-orb-1 {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: rgba(147, 51, 234, 0.05);
  filter: blur(120px);
  pointer-events: none;
}

.bg-blur-orb-2 {
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.05);
  filter: blur(120px);
  pointer-events: none;
}

/* Header & Glassmorphism elements */

.header-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-pill {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50rem;
  padding: 0.375rem 0.85rem;
}

/* Top Project Cards */

.portfolio-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  padding: 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
}

/* Specific Card Hover Accents */

.card-cymru:hover {
  border-color: rgba(16, 185, 129, 0.45);
  background-color: rgba(6, 78, 59, 0.2);
}

.card-medhub:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background-color: rgba(12, 74, 110, 0.2);
}

.card-trkhub:hover {
  border-color: rgba(245, 158, 11, 0.45);
  background-color: rgba(120, 53, 15, 0.2);
}

/* Thumbnail Frame */

.thumb-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background-color: #020617;
  aspect-ratio: 16 / 10;
  margin-bottom: 1rem;
}

.thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .thumb-wrapper img {
  transform: scale(1.04);
}

/* Badges */

.badge-category {
  font-family: monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 50rem;
  border: 1px solid transparent;
}

.badge-emerald {
  background-color: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.2);
}

.badge-sky {
  background-color: rgba(56, 189, 248, 0.1);
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, 0.2);
}

.badge-amber {
  background-color: rgba(245, 158, 11, 0.1);
  color: #fcd34d;
  border-color: rgba(245, 158, 11, 0.2);
}

.badge-purple {
  background-color: rgba(168, 85, 247, 0.1);
  color: #d8b4fe;
  border-color: rgba(168, 85, 247, 0.2);
}

/* Deep Dive Sections */

.deep-dive-section {
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 5rem;
}

@media (min-width: 576px) {
  .deep-dive-section {
    padding: 2.5rem;
  }
}

.section-cymru {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.25) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(2, 6, 23, 0.7) 100%);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.section-medhub {
  background: linear-gradient(135deg, rgba(12, 74, 110, 0.25) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(2, 6, 23, 0.7) 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.section-trkhub {
  background: linear-gradient(135deg, rgba(120, 53, 15, 0.25) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(2, 6, 23, 0.7) 100%);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.watermark-num {
  position: absolute;
  top: -25px;
  right: -10px;
  font-size: 140px;
  font-weight: 900;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  opacity: 0.03;
  color: #ffffff;
}

/* Custom Bullet Check Icons */

.bullet-icon {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
  font-size: 0.7rem;
}

.bullet-emerald {
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.bullet-sky {
  background-color: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: #38bdf8;
}

.bullet-amber {
  background-color: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

/* Custom Launch Buttons */

.btn-launch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.btn-launch-emerald {
  background: linear-gradient(90deg, #059669 0%, #0d9488 100%);
}

.btn-launch-emerald:hover {
  background: linear-gradient(90deg, #10b981 0%, #14b8a6 100%);
  color: #ffffff;
  box-shadow: 0 10px 20px -3px rgba(16, 185, 129, 0.3);
}

.btn-launch-sky {
  background: linear-gradient(90deg, #0284c7 0%, #2563eb 100%);
}

.btn-launch-sky:hover {
  background: linear-gradient(90deg, #0ea5e9 0%, #3b82f6 100%);
  color: #ffffff;
  box-shadow: 0 10px 20px -3px rgba(56, 189, 248, 0.3);
}

.btn-launch-amber {
  background: linear-gradient(90deg, #d97706 0%, #ea580c 100%);
}

.btn-launch-amber:hover {
  background: linear-gradient(90deg, #f59e0b 0%, #f97316 100%);
  color: #ffffff;
  box-shadow: 0 10px 20px -3px rgba(245, 158, 11, 0.3);
}

/* Tech Spec Badges */

.spec-badge {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.35rem 0.65rem;
  font-family: monospace;
  font-size: 0.65rem;
  color: #cbd5e1;
}

/* High-res Showcase Image Container */

.showcase-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background-color: #0f172a;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  aspect-ratio: 4 / 3;
}

.showcase-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

