/* 
 * Vercel-specific CSS fixes 
 * This file contains fixes for styling issues that appear only in Vercel deployment
 */

/* Fix for logo images that might not be loading properly */
.logo-container img {
  max-width: 100%;
  height: auto;
}

/* Make sure all images have a fallback */
img:not([src]), 
img[src=""] {
  visibility: hidden;
}

/* Explicit navbar styling for Vercel */
.navbar {
  background: linear-gradient(90deg, #1e54a7 0%, #6f42c1 100%) !important;
  padding: 15px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar-brand img {
  max-height: 40px;
  width: auto;
}

.navbar-brand span {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

/* Make BrazeMigrator text more visible */
.text-blue {
  color: #ffffff !important;
  text-shadow: 0px 2px 4px rgba(0,0,0,0.4);
}

.text-purple {
  color: #ffffff !important;
  text-shadow: 0px 2px 4px rgba(0,0,0,0.4);
}

/* Enhance expert badge styling */
.expert-badge {
  font-size: 0.85rem;
  background-color: rgba(255,255,255,0.2);
  padding: 4px 10px;
  border-radius: 4px;
  margin-left: 10px;
  color: #ffffff;
  font-weight: 500;
  text-shadow: 0px 1px 2px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.3);
}

/* Ensure nav links are visible */
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #ffffff !important;
}

/* Ensure header is properly styled */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Fix potential path issues for background images */
[class*="bg-image"] {
  background-image: none !important; /* Override any problematic background images */
}

/* Override for specific logo classes if needed */
.braze-logo, .sfmc-logo, .brazemigrator-logo, .red-hibbert-logo {
  max-width: 150px;
  height: auto;
}

.custom-warning p strong,
.hero-section h1 {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 3px 8px;
    border-radius: 4px;
    /* BrazeMigrator: Fixes text visibility against complex backgrounds */
} 