/* Marwil Safety - Professional Site Styles - High Contrast, Optimized UX */

:root {
  --marwil-navy: #1e3a5f;
  --marwil-navy-dark: #152a45;
  --marwil-blue: #2563eb;
  --marwil-blue-hover: #1d4ed8;
  --marwil-gray-50: #f8fafc;
  --marwil-gray-100: #f1f5f9;
  --marwil-gray-200: #e2e8f0;
  --marwil-gray-700: #334155;
  --marwil-gray-800: #1e293b;
  --marwil-white: #ffffff;
}

/* ========== HEADER - White background, dark text for maximum visibility ========== */
.site-header {
  background: #ffffff !important;
  border-bottom: 3px solid #2563eb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 0.25rem 1.5rem;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .site-header {
    padding: 0.25rem 2rem;
  }
}

/* Logo: prominent, text should match or exceed nav link size */
.site-header .logo-img {
  height: 6.5rem;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .site-header .logo-img {
    height: 7.5rem;
  }
}

/* Nav links - dark text on white, clear hover state */
.site-header nav a {
  color: #1e293b !important;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  transition: background 0.2s, color 0.2s;
}

.site-header nav a:hover {
  color: #2563eb !important;
  background: #eff6ff;
}

.site-header nav a.current-page {
  color: #2563eb !important;
  background: #eff6ff;
}

/* Mobile menu button - dark on white header */
.site-header button#mobile-menu-button {
  color: #1e293b !important;
}

.site-header button#mobile-menu-button:hover {
  color: #2563eb !important;
}

/* ========== MOBILE MENU - Full screen, high contrast ========== */
#mobile-menu {
  background: #1e3a5f !important;
  z-index: 9999;
}

#mobile-menu a {
  color: #ffffff !important;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}

#mobile-menu a:hover {
  background: rgba(255,255,255,0.15);
  color: #93c5fd !important;
}

#mobile-menu button {
  color: #ffffff !important;
}

/* ========== HERO SECTION ========== */
.hero-section {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #3b82f6 100%) !important;
  min-height: 380px;
  color: #ffffff;
}

.hero-section h1,
.hero-section p,
.hero-section a {
  color: #ffffff !important;
}

/* Primary button in hero: dark text on white for contrast */
.hero-section a.btn-primary {
  color: #1e3a5f !important;
}

/* ========== CARDS & SECTIONS ========== */
.pro-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.pro-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 6px 20px rgba(37,99,235,0.15);
}

.pro-section-title {
  color: #1e293b !important;
}

.pro-section-subtitle {
  color: #475569 !important;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #152a45 !important;
  color: #ffffff;
  padding: 2rem 1.5rem;
}

.site-footer p {
  color: #e2e8f0 !important;
}

.site-footer a {
  color: #93c5fd !important;
}

.site-footer a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

/* ========== BUTTONS ========== */
.btn-primary {
  background: #ffffff !important;
  color: #1e3a5f !important;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn-primary:hover {
  background: #f1f5f9 !important;
}

.btn-secondary {
  background: #2563eb !important;
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
}

.btn-secondary:hover {
  background: #1d4ed8 !important;
}
