/* ======================
   GLOBAL EYEBROW COMPONENT - RESPONSIVE DESIGN
   Based on Figma Design with Navigation Standards
   ====================== */

/* Base Eyebrow - Mobile First */
.eyebrow {
  position: relative;
  border-radius: 50px;
  border: 1px solid #fff;
  box-sizing: border-box;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: #333f5b;
  font-family: 'Avenir Next';
  
  /* Performance optimization */
  will-change: transform;
  transition: all 0.15s ease;
  
  /* Ensure minimum touch target */
  min-height: 44px;
}

/* Background blur effect (from Figma) */
.eyebrow .eyebrowChild {
  width: 100%;
  position: absolute;
  margin: 0 !important;
  height: 100%;
  top: 0%;
  right: 0%;
  bottom: 0%;
  left: 0%;
  filter: blur(10px);
  border-radius: 50px;
  background: linear-gradient(95.49deg, rgba(52, 148, 253, 0.3), rgba(243, 127, 84, 0.3));
  z-index: 0;
}

/* Content wrapper (from Figma subheadingWrapper) */
.eyebrow .contentWrapper {
  border-radius: 50px;
  background-color: #fcf9f8;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  z-index: 1;
}

/* Text content */
.eyebrow .textContent {
  position: relative;
  
  /* Keep responsive font sizing for better UX */
  font-size: clamp(12px, 1.5vw, 16px);
}

/* ======================
   SIZE VARIANTS
   ====================== */

/* Small size */
.eyebrow.size-small .contentWrapper {
  padding: clamp(6px, 1.5vw, 12px) clamp(12px, 2.5vw, 18px);
}

.eyebrow.size-small .textContent {
  font-size: clamp(10px, 1.3vw, 14px);
}

/* Medium size (default) */
.eyebrow.size-medium .contentWrapper {
  padding: clamp(8px, 2vw, 16px) clamp(16px, 3vw, 24px);
}

.eyebrow.size-medium .textContent {
  font-size: clamp(12px, 1.5vw, 16px);
}

/* Large size */
.eyebrow.size-large .contentWrapper {
  padding: clamp(12px, 2.5vw, 20px) clamp(20px, 4vw, 32px);
}

.eyebrow.size-large .textContent {
  font-size: clamp(14px, 2vw, 18px);
}

/* ======================
   VARIANT STYLES
   ====================== */

/* Default variant (as per Figma) */
.eyebrow.variant-default .eyebrowChild {
  background: linear-gradient(95.49deg, 
    rgba(52, 148, 253, 0.3) 0%, 
    rgba(243, 127, 84, 0.3) 100%
  );
}

.eyebrow.variant-default .contentWrapper {
  background-color: #fcf9f8;
  border-color: #fff;
}

/* Gradient variant - More vibrant */
.eyebrow.variant-gradient .eyebrowChild {
  background: linear-gradient(95.49deg, 
    rgba(52, 148, 253, 0.5) 0%, 
    rgba(243, 127, 84, 0.5) 100%
  );
}

.eyebrow.variant-gradient .contentWrapper {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.8);
}

/* Solid variant - Clean and minimal */
.eyebrow.variant-solid .eyebrowChild {
  background: rgba(52, 149, 255, 0.1);
}

.eyebrow.variant-solid .contentWrapper {
  background-color: rgba(52, 149, 255, 0.05);
  border-color: rgba(52, 149, 255, 0.2);
}

/* ======================
   INTERACTIVE STATES
   ====================== */

.eyebrow:hover {
  transform: translateY(-1px);
}

.eyebrow:hover .eyebrowChild {
  filter: blur(12px);
}

.eyebrow:hover .contentWrapper {
  background-color: rgba(255, 255, 255, 0.95);
  border-color: rgba(52, 149, 255, 0.3);
}

.eyebrow:focus-within {
  outline: 2px solid #3495ff;
  outline-offset: 2px;
}

/* ======================
   RESPONSIVE BREAKPOINTS
   Following Navigation Standards
   ====================== */

/* Mobile Optimization (0-1024px) */
@media (max-width: 1024px) {
  
}

/* Compact Desktop (1025-1279px) */
@media (min-width: 1025px) and (max-width: 1279px) {
  
}

/* Large Desktop (1280px+) */
@media (min-width: 1280px) {
  
}

/* Ultra-wide (1921px+) */
@media (min-width: 1921px) {
  .eyebrow.size-medium .textContent {
    font-size: 16px;
  }
  
  .eyebrow.size-medium .contentWrapper {
    padding: 16px 24px;
  }
}

/* ======================
   ACCESSIBILITY & PERFORMANCE
   ====================== */

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .eyebrow {
    transition: none;
  }
  
  .eyebrow:hover {
    transform: none;
  }
  
  .eyebrow .eyebrowChild {
    filter: blur(8px) !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .eyebrow .contentWrapper {
    border: 3px solid;
    background: white;
  }
  
  .eyebrow .eyebrowChild {
    display: none; /* Hide blur effects in high contrast */
  }
}

/* Print styles */
@media print {
  .eyebrow {
    background: white !important;
    border: 1px solid black !important;
  }
  
  .eyebrow .eyebrowChild {
    display: none;
  }
  
  .eyebrow .contentWrapper {
    background: white !important;
    border: 1px solid black !important;
  }
}