/* =============================================
   MÍSTICA LAB_ — Main Stylesheet
   Color Palette: Deep Forest Green
   ============================================= */

/* ------------------------------------------
   1. CSS CUSTOM PROPERTIES 
------------------------------------------ */
:root {
  /* Brand Colors */
  --color-primary: #22c55e;
  /* Green 500 */
  --color-primary-light: #4ade80;
  /* Green 400 (accent) */
  --color-primary-dark: #16a34a;
  /* Green 600 */

  /* Backgrounds — , pure dark greens */
  --color-bg-darker: #020a04;
  /* Near black, green tint */
  --color-bg-dark: #0a1a0e;
  /* Very dark forest green */

  /* Text */
  --color-text-base: #cbd5e1;
  /* slate-300 */
  --color-text-muted: #64748b;
  /* slate-500 */
  --color-text-light: #94a3b8;
  /* slate-400 */

  /* Glass / border */
  --color-glass-bg: rgba(255, 255, 255, 0.03);
  --color-glass-border: rgba(255, 255, 255, 0.08);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.4s ease;
  --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ------------------------------------------
   2. MATERIAL SYMBOLS ICON FIX
------------------------------------------ */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  vertical-align: middle;
}

/* ------------------------------------------
   3. GLASSMORPHISM CARD
------------------------------------------ */
.glass {
  background: var(--color-glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-glass-border);
}

/* ------------------------------------------
   4. GRADIENT TEXT
------------------------------------------ */
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ------------------------------------------
   5. HERO MESH BACKGROUND
   — Pure dark green, zero blue
------------------------------------------ */
.bg-mesh {
  background-color: var(--color-bg-darker);
  background-image:
    radial-gradient(at 0% 0%, hsla(142, 71%, 45%, 0.22) 0, transparent 55%),
    radial-gradient(at 50% 0%, hsla(130, 60%, 30%, 0.14) 0, transparent 55%),
    radial-gradient(at 100% 0%, hsla(142, 71%, 45%, 0.22) 0, transparent 55%);
}

/* ------------------------------------------
   6. SWIPER PAGINATION
------------------------------------------ */
.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.3) !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  background: var(--color-primary) !important;
}

/* ------------------------------------------
   7. PROJECT CARDS
------------------------------------------ */
.project-card {
  background: var(--color-bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
  border-color: rgba(34, 197, 94, 0.35);
  /* primary green */
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(34, 197, 94, 0.1);
}

/* ------------------------------------------
   8. PARTNER LOGOS — forced white on dark bg
------------------------------------------ */
.partner-logo {
  /* brightness(0) → makes all pixels black, invert(1) → turns black to white */
  filter: brightness(0) invert(1) opacity(0.5);
  transition: filter var(--transition-base), transform var(--transition-base);
  width: 120px;        /* uniform width for all logos */
  height: 44px;        /* uniform height */
  object-fit: contain; /* maintain aspect ratio within the box */
  flex-shrink: 0;
}

.partner-logo:hover {
  filter: brightness(0) invert(1) opacity(1);
  transform: scale(1.08);
}

/* ------------------------------------------
   9. PARTNERS CAROUSEL (mobile / tablet)
------------------------------------------ */
.partners-swiper {
  width: 100%;
  padding: 8px 0 24px;
}

.partners-swiper .swiper-slide {
  width: auto;
  min-width: 140px;
}

.partners-swiper .partner-logo {
  max-height: 40px;
}

/* ------------------------------------------
   10. SELECTION COLOR — green
------------------------------------------ */
::selection {
  background: rgba(34, 197, 94, 0.3);
}


/* ------------------------------------------
   10. ANIMATIONS
------------------------------------------ */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse-slow-green {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-slow {
  animation: pulse-slow-green 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}