/* PetroInd Brand Colors - Only overrides specific colors, preserves template structure */

:root {
  /* PetroInd Brand Colors */
  --brand-primary: #003366;
  --brand-secondary: #2C3E50;
  --brand-accent: #FF6B35;
  --brand-success: #27AE60;
}

/* Primary color overrides for buttons and accents */
.button-primary,
.btn-primary,
.button-secondary {
  background-color: var(--brand-primary) !important;
}

.button-secondary,
.button-secondary:focus {
  color: white !important;
}

.button-secondary:hover,
.btn-secondary:hover {
  background-color: var(--brand-secondary) !important;
}

.text-primary {
  color: var(--brand-primary) !important;
}

.bg-primary {
  background-color: var(--brand-primary) !important;
}

/* Accent color for highlights */
.accent-color {
  color: var(--brand-accent) !important;
}

.bg-accent {
  background-color: var(--brand-accent) !important;
}

/* Fix button text color in hero/swiper sections */
.swiper-slide .button-secondary,
.swiper-slide .button-secondary:focus,
.swiper-slide .button-secondary:active,
.swiper-slide .button-secondary:hover {
  color: #ffffff !important;
}

/* Ensure button secondary text is white in dark contexts */
.context-dark .button-secondary,
.context-dark .button-secondary:focus,
.context-dark .button-secondary:active,
.context-dark .button-secondary:hover {
  color: #ffffff !important;
}